ERC-721
NFT
Overview
Max Total Supply
10,000 MICE
Holders
962
Market
Volume (24H)
0.0644 ETH
Min Price (24H)
$195.72 @ 0.064400 ETH
Max Price (24H)
$195.72 @ 0.064400 ETH
Other Info
Token Contract
Balance
0 MICELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Anonymice
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Anonymice.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./ICheeth.sol"; import "./AnonymiceLibrary.sol"; contract Anonymice is ERC721Enumerable { /* ___ _ / _ \ (_) / /_\ \_ __ ___ _ __ _ _ _ __ ___ _ ___ ___ | _ | '_ \ / _ \| '_ \| | | | '_ ` _ \| |/ __/ _ \ | | | | | | | (_) | | | | |_| | | | | | | | (_| __/ \_| |_/_| |_|\___/|_| |_|\__, |_| |_| |_|_|\___\___| __/ | |___/ */ using AnonymiceLibrary for uint8; struct Trait { string traitName; string traitType; string pixels; uint256 pixelCount; } //Mappings mapping(uint256 => Trait[]) public traitTypes; mapping(string => bool) hashToMinted; mapping(uint256 => string) internal tokenIdToHash; //uint256s uint256 MAX_SUPPLY = 10000; uint256 MINTS_PER_TIER = 2000; uint256 SEED_NONCE = 0; //string arrays string[] LETTERS = [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" ]; //uint arrays uint16[][8] TIERS; //address address cheethAddress; address _owner; constructor() ERC721("Anonymice", "MICE") { _owner = msg.sender; //Declare all the rarity tiers //Hat TIERS[0] = [50, 150, 200, 300, 400, 500, 600, 900, 1200, 5700]; //whiskers TIERS[1] = [200, 800, 1000, 3000, 5000]; //Neck TIERS[2] = [300, 800, 900, 1000, 7000]; //Earrings TIERS[3] = [50, 200, 300, 300, 9150]; //Eyes TIERS[4] = [50, 100, 400, 450, 500, 700, 1800, 2000, 2000, 2000]; //Mouth TIERS[5] = [1428, 1428, 1428, 1429, 1429, 1429, 1429]; //Nose TIERS[6] = [2000, 2000, 2000, 2000, 2000]; //Character TIERS[7] = [20, 70, 721, 1000, 1155, 1200, 1300, 1434, 1541, 1559]; } /* __ __ _ _ _ ___ _ _ | \/ (_)_ _| |_(_)_ _ __ _ | __| _ _ _ __| |_(_)___ _ _ ___ | |\/| | | ' \ _| | ' \/ _` | | _| || | ' \/ _| _| / _ \ ' \(_-< |_| |_|_|_||_\__|_|_||_\__, | |_| \_,_|_||_\__|\__|_\___/_||_/__/ |___/ */ /** * @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 9 character string. //The last 8 digits are random, the first is 0, due to the mouse not being burned. string memory currentHash = "0"; for (uint8 i = 0; i < 8; i++) { SEED_NONCE++; uint16 _randinput = uint16( uint256( keccak256( abi.encodePacked( block.timestamp, block.difficulty, _t, _a, _c, SEED_NONCE ) ) ) % 10000 ); currentHash = string( abi.encodePacked(currentHash, rarityGen(_randinput, i)) ); } if (hashToMinted[currentHash]) return hash(_t, _a, _c + 1); return currentHash; } /** * @dev Returns the current cheeth cost of minting. */ function currentCheethCost() public view returns (uint256) { uint256 _totalSupply = totalSupply(); if (_totalSupply <= 2000) return 0; if (_totalSupply > 2000 && _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); require(!AnonymiceLibrary.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 mintMouse() public { if (totalSupply() < MINTS_PER_TIER) return mintInternal(); //Burn this much cheeth ICheeth(cheethAddress).burnFrom(msg.sender, currentCheethCost()); return mintInternal(); } /** * @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(); } /* ____ ___ ____ ___ _____ __ __ ____ __ ______ ____ ___ ____ _____ | \ / _] / || \ | || | || \ / ] || |/ \ | \ / ___/ | D ) / [_ | o || \ | __|| | || _ | / /| | | || || _ ( \_ | / | _]| || D | | |_ | | || | |/ / |_| |_| | || O || | |\__ | | \ | [_ | _ || | | _] | : || | / \_ | | | || || | |/ \ | | . \| || | || | | | | || | \ | | | | || || | |\ | |__|\_||_____||__|__||_____| |__| \__,_||__|__|\____| |__| |____|\___/ |__|__| \___| */ /** * @dev Helper function to reduce pixel size within contract */ function letterToNumber(string memory _inputLetter) internal view returns (uint8) { for (uint8 i = 0; i < LETTERS.length; i++) { if ( keccak256(abi.encodePacked((LETTERS[i]))) == keccak256(abi.encodePacked((_inputLetter))) ) return (i + 1); } revert(); } /** * @dev Hash to SVG function */ function hashToSVG(string memory _hash) public view returns (string memory) { string memory svgString; bool[24][24] memory placedPixels; for (uint8 i = 0; i < 9; i++) { uint8 thisTraitIndex = AnonymiceLibrary.parseInt( AnonymiceLibrary.substring(_hash, i, i + 1) ); for ( uint16 j = 0; j < traitTypes[i][thisTraitIndex].pixelCount; j++ ) { string memory thisPixel = AnonymiceLibrary.substring( traitTypes[i][thisTraitIndex].pixels, j * 4, j * 4 + 4 ); uint8 x = letterToNumber( AnonymiceLibrary.substring(thisPixel, 0, 1) ); uint8 y = letterToNumber( AnonymiceLibrary.substring(thisPixel, 1, 2) ); if (placedPixels[x][y]) continue; svgString = string( abi.encodePacked( svgString, "<rect class='c", AnonymiceLibrary.substring(thisPixel, 2, 4), "' x='", x.toString(), "' y='", y.toString(), "'/>" ) ); placedPixels[x][y] = true; } } svgString = string( abi.encodePacked( '<svg id="mouse-svg" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 24 24"> ', svgString, "<style>rect{width:1px;height:1px;} #mouse-svg{shape-rendering: crispedges;} .c00{fill:#000000}.c01{fill:#B1ADAC}.c02{fill:#D7D7D7}.c03{fill:#FFA6A6}.c04{fill:#FFD4D5}.c05{fill:#B9AD95}.c06{fill:#E2D6BE}.c07{fill:#7F625A}.c08{fill:#A58F82}.c09{fill:#4B1E0B}.c10{fill:#6D2C10}.c11{fill:#D8D8D8}.c12{fill:#F5F5F5}.c13{fill:#433D4B}.c14{fill:#8D949C}.c15{fill:#05FF00}.c16{fill:#01C700}.c17{fill:#0B8F08}.c18{fill:#421C13}.c19{fill:#6B392A}.c20{fill:#A35E40}.c21{fill:#DCBD91}.c22{fill:#777777}.c23{fill:#848484}.c24{fill:#ABABAB}.c25{fill:#BABABA}.c26{fill:#C7C7C7}.c27{fill:#EAEAEA}.c28{fill:#0C76AA}.c29{fill:#0E97DB}.c30{fill:#10A4EC}.c31{fill:#13B0FF}.c32{fill:#2EB9FE}.c33{fill:#54CCFF}.c34{fill:#50C0F2}.c35{fill:#54CCFF}.c36{fill:#72DAFF}.c37{fill:#B6EAFF}.c38{fill:#FFFFFF}.c39{fill:#954546}.c40{fill:#0B87F7}.c41{fill:#FF2626}.c42{fill:#180F02}.c43{fill:#2B2319}.c44{fill:#FBDD4B}.c45{fill:#F5B923}.c46{fill:#CC8A18}.c47{fill:#3C2203}.c48{fill:#53320B}.c49{fill:#7B501D}.c50{fill:#FFE646}.c51{fill:#FFD627}.c52{fill:#F5B700}.c53{fill:#242424}.c54{fill:#4A4A4A}.c55{fill:#676767}.c56{fill:#F08306}.c57{fill:#FCA30E}.c58{fill:#FEBC0E}.c59{fill:#FBEC1C}.c60{fill:#14242F}.c61{fill:#B06837}.c62{fill:#8F4B0E}.c63{fill:#D88227}.c64{fill:#B06837}</style></svg>" ) ); return svgString; } /** * @dev Hash to metadata function */ function hashToMetadata(string memory _hash) public view returns (string memory) { string memory metadataString; for (uint8 i = 0; i < 9; i++) { uint8 thisTraitIndex = AnonymiceLibrary.parseInt( AnonymiceLibrary.substring(_hash, i, i + 1) ); metadataString = string( abi.encodePacked( metadataString, '{"trait_type":"', traitTypes[i][thisTraitIndex].traitType, '","value":"', traitTypes[i][thisTraitIndex].traitName, '"}' ) ); if (i != 8) metadataString = string(abi.encodePacked(metadataString, ",")); } 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,", AnonymiceLibrary.encode( bytes( string( abi.encodePacked( '{"name": "Anonymice #', AnonymiceLibrary.toString(_tokenId), '", "description": "Anonymice is a collection of 10,000 unique mice. All the metadata and images are generated and stored 100% on-chain. No IPFS, no API. Just the Ethereum blockchain.", "image": "data:image/svg+xml;base64,', AnonymiceLibrary.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( "1", AnonymiceLibrary.substring(tokenHash, 1, 9) ) ); } 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; } /* ___ __ __ ____ ___ ____ _____ __ __ ____ __ ______ ____ ___ ____ _____ / \ | |__| || \ / _]| \ | || | || \ / ] || |/ \ | \ / ___/ | || | | || _ | / [_ | D ) | __|| | || _ | / /| | | || || _ ( \_ | O || | | || | || _]| / | |_ | | || | |/ / |_| |_| | || O || | |\__ | | || ` ' || | || [_ | \ | _] | : || | / \_ | | | || || | |/ \ | | | \ / | | || || . \ | | | || | \ | | | | || || | |\ | \___/ \_/\_/ |__|__||_____||__|\_| |__| \__,_||__|__|\____| |__| |____|\___/ |__|__| \___| */ /** * @dev Clears the traits. */ function clearTraits() public onlyOwner { for (uint256 i = 0; i < 9; i++) { delete traitTypes[i]; } } /** * @dev Add a trait type * @param _traitTypeIndex The trait type index * @param traits Array of traits to add */ function addTraitType(uint256 _traitTypeIndex, Trait[] memory traits) public onlyOwner { for (uint256 i = 0; i < traits.length; i++) { traitTypes[_traitTypeIndex].push( Trait( traits[i].traitName, traits[i].traitType, traits[i].pixels, traits[i].pixelCount ) ); } return; } /** * @dev Sets the cheeth ERC20 address * @param _cheethAddress The cheeth address */ function setCheethAddress(address _cheethAddress) public onlyOwner { cheethAddress = _cheethAddress; } /** * @dev Transfers ownership * @param _newOwner The new owner */ function transferOwnership(address _newOwner) public onlyOwner { _owner = _newOwner; } /** * @dev Modifier to only allow owner to call functions */ modifier onlyOwner() { require(_owner == msg.sender); _; } }
// 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); }
// 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 "../../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 "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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 "../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; library AnonymiceLibrary { 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 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 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; } }
// contracts/ICheeth.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ICheeth is IERC20 { function burnFrom(address account, uint256 amount) external; }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"},{"components":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"},{"internalType":"string","name":"pixels","type":"string"},{"internalType":"uint256","name":"pixelCount","type":"uint256"}],"internalType":"struct Anonymice.Trait[]","name":"traits","type":"tuple[]"}],"name":"addTraitType","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":"currentCheethCost","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":[],"name":"mintMouse","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":[{"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":"_cheethAddress","type":"address"}],"name":"setCheethAddress","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":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"traitTypes","outputs":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"},{"internalType":"string","name":"pixels","type":"string"},{"internalType":"uint256","name":"pixelCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052612710600d556107d0600e556000600f556040518061034001604052806040518060400160405280600181526020017f610000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f620000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f630000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f640000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f650000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f660000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f670000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f680000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f690000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f6a0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f6b0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f6c0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f6d0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f6e0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f6f0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f700000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f710000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f720000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f730000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f740000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f750000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f760000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f770000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f780000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f790000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f7a00000000000000000000000000000000000000000000000000000000000000815250815250601090601a6200062f92919062000c82565b503480156200063d57600080fd5b506040518060400160405280600981526020017f416e6f6e796d69636500000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d494345000000000000000000000000000000000000000000000000000000008152508160009080519060200190620006c292919062000ce9565b508060019080519060200190620006db92919062000ce9565b50505033601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806101400160405280603261ffff168152602001609661ffff16815260200160c861ffff16815260200161012c61ffff16815260200161019061ffff1681526020016101f461ffff16815260200161025861ffff16815260200161038461ffff1681526020016104b061ffff16815260200161164461ffff168152506011600060088110620007da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600a620007eb92919062000d7a565b506040518060a0016040528060c861ffff16815260200161032061ffff1681526020016103e861ffff168152602001610bb861ffff16815260200161138861ffff1681525060116001600881106200086c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b019060056200087d92919062000e2b565b506040518060a0016040528061012c61ffff16815260200161032061ffff16815260200161038461ffff1681526020016103e861ffff168152602001611b5861ffff168152506011600260088110620008ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b019060056200091092919062000e2b565b506040518060a00160405280603261ffff16815260200160c861ffff16815260200161012c61ffff16815260200161012c61ffff1681526020016123be61ffff16815250601160036008811062000990577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01906005620009a192919062000e2b565b50604051806101400160405280603261ffff168152602001606461ffff16815260200161019061ffff1681526020016101c261ffff1681526020016101f461ffff1681526020016102bc61ffff16815260200161070861ffff1681526020016107d061ffff1681526020016107d061ffff1681526020016107d061ffff16815250601160046008811062000a5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600a62000a6f92919062000d7a565b506040518060e0016040528061059461ffff16815260200161059461ffff16815260200161059461ffff16815260200161059561ffff16815260200161059561ffff16815260200161059561ffff16815260200161059561ffff16815250601160056008811062000b09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600762000b1a92919062000edc565b506040518060a001604052806107d061ffff1681526020016107d061ffff1681526020016107d061ffff1681526020016107d061ffff1681526020016107d061ffff16815250601160066008811062000b9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600562000bad92919062000e2b565b50604051806101400160405280601461ffff168152602001604661ffff1681526020016102d161ffff1681526020016103e861ffff16815260200161048361ffff1681526020016104b061ffff16815260200161051461ffff16815260200161059a61ffff16815260200161060561ffff16815260200161061761ffff16815250601160076008811062000c6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190600a62000c7b92919062000d7a565b506200107f565b82805482825590600052602060002090810192821562000cd6579160200282015b8281111562000cd557825182908051906020019062000cc492919062000ce9565b509160200191906001019062000ca3565b5b50905062000ce5919062000f8d565b5090565b82805462000cf7906200101a565b90600052602060002090601f01602090048101928262000d1b576000855562000d67565b82601f1062000d3657805160ff191683800117855562000d67565b8280016001018555821562000d67579182015b8281111562000d6657825182559160200191906001019062000d49565b5b50905062000d76919062000fb5565b5090565b82805482825590600052602060002090600f0160109004810192821562000e185791602002820160005b8382111562000de657835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000da4565b801562000e165782816101000a81549061ffff021916905560020160208160010104928301926001030262000de6565b505b50905062000e27919062000fb5565b5090565b82805482825590600052602060002090600f0160109004810192821562000ec95791602002820160005b8382111562000e9757835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000e55565b801562000ec75782816101000a81549061ffff021916905560020160208160010104928301926001030262000e97565b505b50905062000ed8919062000fb5565b5090565b82805482825590600052602060002090600f0160109004810192821562000f7a5791602002820160005b8382111562000f4857835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000f06565b801562000f785782816101000a81549061ffff021916905560020160208160010104928301926001030262000f48565b505b50905062000f89919062000fb5565b5090565b5b8082111562000fb1576000818162000fa7919062000fd4565b5060010162000f8e565b5090565b5b8082111562000fd057600081600090555060010162000fb6565b5090565b50805462000fe2906200101a565b6000825580601f1062000ff6575062001017565b601f01602090049060005260206000209081019062001016919062000fb5565b5b50565b600060028204905060018216806200103357607f821691505b602082108114156200104a576200104962001050565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615e9a806200108f6000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c80634f6ccce7116100f9578063b88d4fde11610097578063d93dfe8811610071578063d93dfe881461053f578063e985e9c51461055b578063f2fde38b1461058b578063fc3e4ddb146105a7576101c3565b8063b88d4fde146104d7578063c4ef71c7146104f3578063c87b56dd1461050f576101c3565b806370a08231116100d357806370a082311461043d57806389ce30741461046d57806395d89b411461049d578063a22cb465146104bb576101c3565b80634f6ccce7146103ad5780636352211e146103dd57806366e338701461040d576101c3565b806318160ddd116101665780632fb098d2116101405780632fb098d21461031057806341a366881461034357806342842e0e14610361578063438b63001461037d576101c3565b806318160ddd146102a657806323b872dd146102c45780632f745c59146102e0576101c3565b8063081812fc116101a2578063081812fc1461024657806308be26bb14610276578063095ea7b314610280578063098afd4b1461029c576101c3565b80625ea307146101c857806301ffc9a7146101f857806306fdde0314610228575b600080fd5b6101e260048036038101906101dd9190613d8d565b6105c3565b6040516101ef91906154fa565b60405180910390f35b610212600480360381019061020d9190613cfa565b6106db565b60405161021f91906154df565b60405180910390f35b610230610755565b60405161023d91906154fa565b60405180910390f35b610260600480360381019061025b9190613d8d565b6107e7565b60405161026d919061542d565b60405180910390f35b61027e61086c565b005b61029a60048036038101906102959190613cbe565b61092b565b005b6102a4610a43565b005b6102ae610ade565b6040516102bb9190615756565b60405180910390f35b6102de60048036038101906102d99190613bb8565b610aeb565b005b6102fa60048036038101906102f59190613cbe565b610b4b565b6040516103079190615756565b60405180910390f35b61032a60048036038101906103259190613e0a565b610bf0565b60405161033a949392919061551c565b60405180910390f35b61034b610dd5565b6040516103589190615756565b60405180910390f35b61037b60048036038101906103769190613bb8565b610ea1565b005b61039760048036038101906103929190613b53565b610ec1565b6040516103a491906154bd565b60405180910390f35b6103c760048036038101906103c29190613d8d565b610fbb565b6040516103d49190615756565b60405180910390f35b6103f760048036038101906103f29190613d8d565b611052565b604051610404919061542d565b60405180910390f35b61042760048036038101906104229190613d4c565b611104565b60405161043491906154fa565b60405180910390f35b61045760048036038101906104529190613b53565b611292565b6040516104649190615756565b60405180910390f35b61048760048036038101906104829190613d4c565b61134a565b60405161049491906154fa565b60405180910390f35b6104a5611712565b6040516104b291906154fa565b60405180910390f35b6104d560048036038101906104d09190613c82565b6117a4565b005b6104f160048036038101906104ec9190613c07565b611925565b005b61050d60048036038101906105089190613d8d565b611987565b005b61052960048036038101906105249190613d8d565b6119df565b60405161053691906154fa565b60405180910390f35b61055960048036038101906105549190613db6565b611a73565b005b61057560048036038101906105709190613b7c565b611cc1565b60405161058291906154df565b60405180910390f35b6105a560048036038101906105a09190613b53565b611d55565b005b6105c160048036038101906105bc9190613b53565b611df3565b005b60606000600c600084815260200190815260200160002080546105e590615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461061190615bbf565b801561065e5780601f106106335761010080835404028352916020019161065e565b820191906000526020600020905b81548152906001019060200180831161064157829003601f168201915b5050505050905061dead73ffffffffffffffffffffffffffffffffffffffff1661068784611052565b73ffffffffffffffffffffffffffffffffffffffff1614156106d2576106b08160016009611e91565b6040516020016106c0919061539b565b60405160208183030381529060405290505b80915050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074e575061074d82611fff565b5b9050919050565b60606000805461076490615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461079090615bbf565b80156107dd5780601f106107b2576101008083540402835291602001916107dd565b820191906000526020600020905b8154815290600101906020018083116107c057829003601f168201915b5050505050905090565b60006107f2826120e1565b610831576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610828906156b6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e54610877610ade565b101561088a5761088561214d565b610929565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc6790336108d1610dd5565b6040518363ffffffff1660e01b81526004016108ee929190615494565b600060405180830381600087803b15801561090857600080fd5b505af115801561091c573d6000803e3d6000fd5b5050505061092861214d565b5b565b600061093682611052565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906156f6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109c6612209565b73ffffffffffffffffffffffffffffffffffffffff1614806109f557506109f4816109ef612209565b611cc1565b5b610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b90615636565b60405180910390fd5b610a3e8383612211565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a9d57600080fd5b60005b6009811015610adb57600a60008281526020019081526020016000206000610ac89190613730565b8080610ad390615c1c565b915050610aa0565b50565b6000600880549050905090565b610afc610af6612209565b826122ca565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290615716565b60405180910390fd5b610b468383836123a8565b505050565b6000610b5683611292565b8210610b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8e90615576565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600a6020528160005260406000208181548110610c0c57600080fd5b906000526020600020906004020160009150915050806000018054610c3090615bbf565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5c90615bbf565b8015610ca95780601f10610c7e57610100808354040283529160200191610ca9565b820191906000526020600020905b815481529060010190602001808311610c8c57829003601f168201915b505050505090806001018054610cbe90615bbf565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90615bbf565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b505050505090806002018054610d4c90615bbf565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7890615bbf565b8015610dc55780601f10610d9a57610100808354040283529160200191610dc5565b820191906000526020600020905b815481529060010190602001808311610da857829003601f168201915b5050505050908060030154905084565b600080610de0610ade565b90506107d08111610df5576000915050610e9e565b6107d081118015610e085750610fa08111155b15610e1e57670de0b6b3a7640000915050610e9e565b610fa081118015610e3157506117708111155b15610e4757671bc16d674ec80000915050610e9e565b61177081118015610e5a5750611f408111155b15610e70576729a2241af62c0000915050610e9e565b611f4081118015610e8357506127108111155b15610e9957673782dace9d900000915050610e9e565b600080fd5b90565b610ebc83838360405180602001604052806000815250611925565b505050565b60606000610ece83611292565b905060008167ffffffffffffffff811115610f12577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f405781602001602082028036833780820191505090505b50905060005b82811015610fb057610f588582610b4b565b828281518110610f91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610fa890615c1c565b915050610f46565b508092505050919050565b6000610fc5610ade565b8210611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90615736565b60405180910390fd5b60088281548110611040577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290615676565b60405180910390fd5b80915050919050565b60608060005b60098160ff16101561126957600061113d611138868460ff16600186611130919061594d565b60ff16611e91565b612604565b905082600a60008460ff1681526020019081526020016000208260ff1681548110611191577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600101600a60008560ff1681526020019081526020016000208360ff16815481106111f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160405160200161121693929190615259565b604051602081830303815290604052925060088260ff1614611255578260405160200161124391906151cd565b60405160208183030381529060405292505b50808061126190615c65565b91505061110a565b508060405160200161127b919061534c565b604051602081830303815290604052915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa90615656565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606080611355613754565b60005b60098160ff1610156116e557600061138b611386878460ff1660018661137e919061594d565b60ff16611e91565b612604565b905060005b600a60008460ff1681526020019081526020016000208260ff16815481106113e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600301548161ffff1610156116d0576000611520600a60008660ff1681526020019081526020016000208460ff1681548110611454577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600201805461147090615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461149c90615bbf565b80156114e95780601f106114be576101008083540402835291602001916114e9565b820191906000526020600020905b8154815290600101906020018083116114cc57829003601f168201915b50505050506004846114fb91906159b5565b61ffff166004808661150d91906159b5565b61151791906158bf565b61ffff16611e91565b905060006115396115348360006001611e91565b61275a565b9050600061155261154d8460016002611e91565b61275a565b9050868260ff1660188110611590577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518160ff16601881106115d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151156115e2575050506116bd565b876115f08460026004611e91565b6115fc8460ff1661283f565b6116088460ff1661283f565b60405160200161161b94939291906151ef565b60405160208183030381529060405297506001878360ff166018811061166a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518260ff16601881106116aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020190151590811515815250505050505b80806116c890615bf1565b915050611390565b505080806116dd90615c65565b915050611358565b50816040516020016116f7919061531f565b60405160208183030381529060405291508192505050919050565b60606001805461172190615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461174d90615bbf565b801561179a5780601f1061176f5761010080835404028352916020019161179a565b820191906000526020600020905b81548152906001019060200180831161177d57829003601f168201915b5050505050905090565b6117ac612209565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611811906155f6565b60405180910390fd5b8060056000611827612209565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118d4612209565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161191991906154df565b60405180910390a35050565b611936611930612209565b836122ca565b611975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196c90615716565b60405180910390fd5b611981848484846129ec565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff166119a782611052565b73ffffffffffffffffffffffffffffffffffffffff16146119c757600080fd5b6119d43361dead836123a8565b6119dc61214d565b50565b60606119ea826120e1565b6119f357600080fd5b60006119fe836105c3565b9050611a4c611a0c8461283f565b611a1d611a188461134a565b612a48565b611a2684611104565b604051602001611a38939291906152c2565b604051602081830303815290604052612a48565b604051602001611a5c9190615379565b604051602081830303815290604052915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611acd57600080fd5b60005b8151811015611cbc57600a60008481526020019081526020016000206040518060800160405280848481518110611b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600001518152602001848481518110611b7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151602001518152602001848481518110611bc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151604001518152602001848481518110611c0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516060015181525090806001815401808255809150506001900390600052602060002090600402016000909190919091506000820151816000019080519060200190611c62929190613782565b506020820151816001019080519060200190611c7f929190613782565b506040820151816002019080519060200190611c9c929190613782565b506060820151816003015550508080611cb490615c1c565b915050611ad0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611daf57600080fd5b80601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e4d57600080fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600084905060008484611ea69190615a86565b67ffffffffffffffff811115611ee5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f175781602001600182028036833780820191505090505b50905060008590505b84811015611ff257828181518110611f61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828783611f799190615a86565b81518110611fb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080611fea90615c1c565b915050611f20565b5080925050509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120ca57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120da57506120d982612bf3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000612157610ade565b9050600d54811061216757600080fd5b61217033612c5d565b1561217a57600080fd5b600081905061218b81336000612c70565b600c600083815260200190815260200160002090805190602001906121b1929190613782565b506001600b600c60008481526020019081526020016000206040516121d691906152ab565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506122053382612dc9565b5050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228483611052565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122d5826120e1565b612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b90615616565b60405180910390fd5b600061231f83611052565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061238e57508373ffffffffffffffffffffffffffffffffffffffff16612376846107e7565b73ffffffffffffffffffffffffffffffffffffffff16145b8061239f575061239e8185611cc1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123c882611052565b73ffffffffffffffffffffffffffffffffffffffff161461241e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612415906156d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561248e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612485906155d6565b60405180910390fd5b612499838383612f97565b6124a4600082612211565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f49190615a86565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461254b91906158f7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808290506000805b82518160ff16101561274f576030838260ff1681518110612658577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156126c457506039838260ff16815181106126b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b1561273c57600a826126d69190615a4b565b91506030838260ff1681518110612716577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61272e9190615aba565b82612739919061594d565b91505b808061274790615c65565b91505061260e565b508092505050919050565b600080600090505b6010805490508160ff16101561283457826040516020016127839190615192565b6040516020818303038152906040528051906020012060108260ff16815481106127d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020016040516020016127f091906152ab565b60405160208183030381529060405280519060200120141561282157600181612819919061594d565b91505061283a565b808061282c90615c65565b915050612762565b50600080fd5b919050565b60606000821415612887576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129e7565b600082905060005b600082146128b95780806128a290615c1c565b915050600a826128b29190615984565b915061288f565b60008167ffffffffffffffff8111156128fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561292d5781602001600182028036833780820191505090505b5090505b600085146129e0576001826129469190615a86565b9150600a856129559190615cbd565b603061296191906158f7565b60f81b81838151811061299d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d99190615984565b9450612931565b8093505050505b919050565b6129f78484846123a8565b612a03848484846130ab565b612a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3990615596565b60405180910390fd5b50505050565b6060600082511415612a6b57604051806020016040528060008152509050612bee565b6000604051806060016040528060408152602001615e256040913990506000600360028551612a9a91906158f7565b612aa49190615984565b6004612ab091906159f1565b90506000602082612ac191906158f7565b67ffffffffffffffff811115612b00577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b325781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612bad576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612b46565b600389510660018114612bc75760028114612bd757612be2565b613d3d60f01b6002830352612be2565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b6060600a8210612c7f57600080fd5b60006040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905060005b60088160ff161015612d6c57600f6000815480929190612cdb90615c1c565b919050555060006127104244898989600f54604051602001612d02969594939291906153bd565b6040516020818303038152906040528051906020012060001c612d259190615cbd565b905082612d368261ffff1684613242565b604051602001612d479291906151a9565b6040516020818303038152906040529250508080612d6490615c65565b915050612cbc565b50600b81604051612d7d9190615192565b908152602001604051809103902060009054906101000a900460ff1615612dbd57612db58585600186612db091906158f7565b612c70565b915050612dc2565b809150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3090615696565b60405180910390fd5b612e42816120e1565b15612e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e79906155b6565b60405180910390fd5b612e8e60008383612f97565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ede91906158f7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612fa28383836133a0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fe557612fe0816133a5565b613024565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130235761302283826133ee565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613067576130628161355b565b6130a6565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130a5576130a4828261369e565b5b5b505050565b60006130cc8473ffffffffffffffffffffffffffffffffffffffff1661371d565b15613235578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130f5612209565b8786866040518563ffffffff1660e01b81526004016131179493929190615448565b602060405180830381600087803b15801561313157600080fd5b505af192505050801561316257506040513d601f19601f8201168201806040525081019061315f9190613d23565b60015b6131e5573d8060008114613192576040519150601f19603f3d011682016040523d82523d6000602084013e613197565b606091505b506000815114156131dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d490615596565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061323a565b600190505b949350505050565b60606000805b60118460ff1660088110613285577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01805490508160ff16101561339457600060118560ff16600881106132d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b018260ff168154811061330f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff1686101580156133575750808361335091906158bf565b61ffff1686105b15613372576133688260ff1661283f565b935050505061339a565b808361337e91906158bf565b925050808061338c90615c65565b915050613248565b50600080fd5b92915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133fb84611292565b6134059190615a86565b90506000600760008481526020019081526020016000205490508181146134ea576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061356f9190615a86565b90506000600960008481526020019081526020016000205490506000600883815481106135c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061360d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613682577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006136a983611292565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b50805460008255600402906000526020600020908101906137519190613808565b50565b6040518061030001604052806018905b61376c613857565b8152602001906001900390816137645790505090565b82805461378e90615bbf565b90600052602060002090601f0160209004810192826137b057600085556137f7565b82601f106137c957805160ff19168380011785556137f7565b828001600101855582156137f7579182015b828111156137f65782518255916020019190600101906137db565b5b509050613804919061387a565b5090565b5b8082111561385357600080820160006138229190613897565b6001820160006138329190613897565b6002820160006138429190613897565b600382016000905550600401613809565b5090565b604051806103000160405280601890602082028036833780820191505090505090565b5b8082111561389357600081600090555060010161387b565b5090565b5080546138a390615bbf565b6000825580601f106138b557506138d4565b601f0160209004906000526020600020908101906138d3919061387a565b5b50565b60006138ea6138e5846157a2565b615771565b9050808382526020820190508260005b8581101561392a57813585016139108882613a82565b8452602084019350602083019250506001810190506138fa565b5050509392505050565b6000613947613942846157ce565b615771565b90508281526020810184848401111561395f57600080fd5b61396a848285615b7d565b509392505050565b6000613985613980846157fe565b615771565b90508281526020810184848401111561399d57600080fd5b6139a8848285615b7d565b509392505050565b6000813590506139bf81615dc8565b92915050565b600082601f8301126139d657600080fd5b81356139e68482602086016138d7565b91505092915050565b6000813590506139fe81615ddf565b92915050565b600081359050613a1381615df6565b92915050565b600081519050613a2881615df6565b92915050565b600082601f830112613a3f57600080fd5b8135613a4f848260208601613934565b91505092915050565b600082601f830112613a6957600080fd5b8135613a79848260208601613972565b91505092915050565b600060808284031215613a9457600080fd5b613a9e6080615771565b9050600082013567ffffffffffffffff811115613aba57600080fd5b613ac684828501613a58565b600083015250602082013567ffffffffffffffff811115613ae657600080fd5b613af284828501613a58565b602083015250604082013567ffffffffffffffff811115613b1257600080fd5b613b1e84828501613a58565b6040830152506060613b3284828501613b3e565b60608301525092915050565b600081359050613b4d81615e0d565b92915050565b600060208284031215613b6557600080fd5b6000613b73848285016139b0565b91505092915050565b60008060408385031215613b8f57600080fd5b6000613b9d858286016139b0565b9250506020613bae858286016139b0565b9150509250929050565b600080600060608486031215613bcd57600080fd5b6000613bdb868287016139b0565b9350506020613bec868287016139b0565b9250506040613bfd86828701613b3e565b9150509250925092565b60008060008060808587031215613c1d57600080fd5b6000613c2b878288016139b0565b9450506020613c3c878288016139b0565b9350506040613c4d87828801613b3e565b925050606085013567ffffffffffffffff811115613c6a57600080fd5b613c7687828801613a2e565b91505092959194509250565b60008060408385031215613c9557600080fd5b6000613ca3858286016139b0565b9250506020613cb4858286016139ef565b9150509250929050565b60008060408385031215613cd157600080fd5b6000613cdf858286016139b0565b9250506020613cf085828601613b3e565b9150509250929050565b600060208284031215613d0c57600080fd5b6000613d1a84828501613a04565b91505092915050565b600060208284031215613d3557600080fd5b6000613d4384828501613a19565b91505092915050565b600060208284031215613d5e57600080fd5b600082013567ffffffffffffffff811115613d7857600080fd5b613d8484828501613a58565b91505092915050565b600060208284031215613d9f57600080fd5b6000613dad84828501613b3e565b91505092915050565b60008060408385031215613dc957600080fd5b6000613dd785828601613b3e565b925050602083013567ffffffffffffffff811115613df457600080fd5b613e00858286016139c5565b9150509250929050565b60008060408385031215613e1d57600080fd5b6000613e2b85828601613b3e565b9250506020613e3c85828601613b3e565b9150509250929050565b6000613e52838361515d565b60208301905092915050565b613e6781615aee565b82525050565b613e7e613e7982615aee565b615c8f565b82525050565b6000613e8f82615853565b613e998185615881565b9350613ea48361582e565b8060005b83811015613ed5578151613ebc8882613e46565b9750613ec783615874565b925050600181019050613ea8565b5085935050505092915050565b613eeb81615b00565b82525050565b6000613efc8261585e565b613f068185615892565b9350613f16818560208601615b8c565b613f1f81615daa565b840191505092915050565b6000613f3582615869565b613f3f81856158a3565b9350613f4f818560208601615b8c565b613f5881615daa565b840191505092915050565b6000613f6e82615869565b613f7881856158b4565b9350613f88818560208601615b8c565b80840191505092915050565b60008154613fa181615bbf565b613fab81866158b4565b94506001821660008114613fc65760018114613fd75761400a565b60ff1983168652818601935061400a565b613fe08561583e565b60005b8381101561400257815481890152600182019150602081019050613fe3565b838801955050505b50505092915050565b60006140206005836158b4565b91507f2720793d270000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000614060602b836158a3565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006140c66032836158a3565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061412c601c836158a3565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061416c6005836158b4565b91507f2720783d270000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006141ac600f836158b4565b91507f222c2261747472696275746573223a00000000000000000000000000000000006000830152600f82019050919050565b60006141ec6001836158b4565b91507f2c000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b600061422c600e836158b4565b91507f3c7265637420636c6173733d27630000000000000000000000000000000000006000830152600e82019050919050565b600061426c6024836158a3565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142d26019836158a3565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006143126015836158b4565b91507f7b226e616d65223a2022416e6f6e796d696365202300000000000000000000006000830152601582019050919050565b6000614352600f836158b4565b91507f7b2274726169745f74797065223a2200000000000000000000000000000000006000830152600f82019050919050565b6000614392602c836158a3565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006143f96104ec836158b4565b91507f3c7374796c653e726563747b77696474683a3170783b6865696768743a31707860008301527f3b7d20236d6f7573652d7376677b73686170652d72656e646572696e673a206360208301527f7269737065646765733b7d202e6330307b66696c6c3a233030303030307d2e6360408301527f30317b66696c6c3a234231414441437d2e6330327b66696c6c3a23443744374460608301527f377d2e6330337b66696c6c3a234646413641367d2e6330347b66696c6c3a234660808301527f46443444357d2e6330357b66696c6c3a234239414439357d2e6330367b66696c60a08301527f6c3a234532443642457d2e6330377b66696c6c3a233746363235417d2e63303860c08301527f7b66696c6c3a234135384638327d2e6330397b66696c6c3a233442314530427d60e08301527f2e6331307b66696c6c3a233644324331307d2e6331317b66696c6c3a234438446101008301527f3844387d2e6331327b66696c6c3a234635463546357d2e6331337b66696c6c3a6101208301527f233433334434427d2e6331347b66696c6c3a233844393439437d2e6331357b666101408301527f696c6c3a233035464630307d2e6331367b66696c6c3a233031433730307d2e636101608301527f31377b66696c6c3a233042384630387d2e6331387b66696c6c3a2334323143316101808301527f337d2e6331397b66696c6c3a233642333932417d2e6332307b66696c6c3a23416101a08301527f33354534307d2e6332317b66696c6c3a234443424439317d2e6332327b66696c6101c08301527f6c3a233737373737377d2e6332337b66696c6c3a233834383438347d2e6332346101e08301527f7b66696c6c3a234142414241427d2e6332357b66696c6c3a234241424142417d6102008301527f2e6332367b66696c6c3a234337433743377d2e6332377b66696c6c3a234541456102208301527f4145417d2e6332387b66696c6c3a233043373641417d2e6332397b66696c6c3a6102408301527f233045393744427d2e6333307b66696c6c3a233130413445437d2e6333317b666102608301527f696c6c3a233133423046467d2e6333327b66696c6c3a233245423946457d2e636102808301527f33337b66696c6c3a233534434346467d2e6333347b66696c6c3a2335304330466102a08301527f327d2e6333357b66696c6c3a233534434346467d2e6333367b66696c6c3a23376102c08301527f32444146467d2e6333377b66696c6c3a234236454146467d2e6333387b66696c6102e08301527f6c3a234646464646467d2e6333397b66696c6c3a233935343534367d2e6334306103008301527f7b66696c6c3a233042383746377d2e6334317b66696c6c3a234646323632367d6103208301527f2e6334327b66696c6c3a233138304630327d2e6334337b66696c6c3a233242326103408301527f3331397d2e6334347b66696c6c3a234642444434427d2e6334357b66696c6c3a6103608301527f234635423932337d2e6334367b66696c6c3a234343384131387d2e6334377b666103808301527f696c6c3a233343323230337d2e6334387b66696c6c3a233533333230427d2e636103a08301527f34397b66696c6c3a233742353031447d2e6335307b66696c6c3a2346464536346103c08301527f367d2e6335317b66696c6c3a234646443632377d2e6335327b66696c6c3a23466103e08301527f35423730307d2e6335337b66696c6c3a233234323432347d2e6335347b66696c6104008301527f6c3a233441344134417d2e6335357b66696c6c3a233637363736377d2e6335366104208301527f7b66696c6c3a234630383330367d2e6335377b66696c6c3a234643413330457d6104408301527f2e6335387b66696c6c3a234645424330457d2e6335397b66696c6c3a234642456104608301527f4331437d2e6336307b66696c6c3a233134323432467d2e6336317b66696c6c3a6104808301527f234230363833377d2e6336327b66696c6c3a233846344230457d2e6336337b666104a08301527f696c6c3a234438383232377d2e6336347b66696c6c3a234230363833377d3c2f6104c08301527f7374796c653e3c2f7376673e00000000000000000000000000000000000000006104e08301526104ec82019050919050565b6000614a246003836158b4565b91507f272f3e00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000614a646038836158a3565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614aca60dd836158b4565b91507f222c20226465736372697074696f6e223a2022416e6f6e796d6963652069732060008301527f6120636f6c6c656374696f6e206f662031302c30303020756e69717565206d6960208301527f63652e20416c6c20746865206d6574616461746120616e6420696d616765732060408301527f6172652067656e65726174656420616e642073746f7265642031303025206f6e60608301527f2d636861696e2e204e6f20495046532c206e6f204150492e204a75737420746860808301527f6520457468657265756d20626c6f636b636861696e2e222c2022696d6167652260a08301527f3a2022646174613a696d6167652f7376672b786d6c3b6261736536342c00000060c083015260dd82019050919050565b6000614bee602a836158a3565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c546029836158a3565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cba6002836158b4565b91507f227d0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000614cfa6070836158b4565b91507f3c7376672069643d226d6f7573652d7376672220786d6c6e733d22687474703a60008301527f2f2f7777772e77332e6f72672f323030302f737667222070726573657276654160208301527f7370656374526174696f3d22784d696e594d696e206d6565742220766965774260408301527f6f783d22302030203234203234223e20000000000000000000000000000000006060830152607082019050919050565b6000614dac6020836158a3565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614dec6001836158b4565b91507f7d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614e2c602c836158a3565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614e926001836158b4565b91507f5b000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614ed26029836158a3565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f38600b836158b4565b91507f222c2276616c7565223a220000000000000000000000000000000000000000006000830152600b82019050919050565b6000614f786001836158b4565b91507f5d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614fb86021836158a3565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061501e601d836158b4565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b600061505e6031836158a3565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006150c46001836158b4565b91507f31000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000615104602c836158a3565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b61516681615b66565b82525050565b61517581615b66565b82525050565b61518c61518782615b66565b615cb3565b82525050565b600061519e8284613f63565b915081905092915050565b60006151b58285613f63565b91506151c18284613f63565b91508190509392505050565b60006151d98284613f63565b91506151e4826141df565b915081905092915050565b60006151fb8287613f63565b91506152068261421f565b91506152128286613f63565b915061521d8261415f565b91506152298285613f63565b915061523482614013565b91506152408284613f63565b915061524b82614a17565b915081905095945050505050565b60006152658286613f63565b915061527082614345565b915061527c8285613f94565b915061528782614f2b565b91506152938284613f94565b915061529e82614cad565b9150819050949350505050565b60006152b78284613f94565b915081905092915050565b60006152cd82614305565b91506152d98286613f63565b91506152e482614abd565b91506152f08285613f63565b91506152fb8261419f565b91506153078284613f63565b915061531282614ddf565b9150819050949350505050565b600061532a82614ced565b91506153368284613f63565b9150615341826143eb565b915081905092915050565b600061535782614e85565b91506153638284613f63565b915061536e82614f6b565b915081905092915050565b600061538482615011565b91506153908284613f63565b915081905092915050565b60006153a6826150b7565b91506153b28284613f63565b915081905092915050565b60006153c9828961517b565b6020820191506153d9828861517b565b6020820191506153e9828761517b565b6020820191506153f98286613e6d565b601482019150615409828561517b565b602082019150615419828461517b565b602082019150819050979650505050505050565b60006020820190506154426000830184613e5e565b92915050565b600060808201905061545d6000830187613e5e565b61546a6020830186613e5e565b615477604083018561516c565b81810360608301526154898184613ef1565b905095945050505050565b60006040820190506154a96000830185613e5e565b6154b6602083018461516c565b9392505050565b600060208201905081810360008301526154d78184613e84565b905092915050565b60006020820190506154f46000830184613ee2565b92915050565b600060208201905081810360008301526155148184613f2a565b905092915050565b600060808201905081810360008301526155368187613f2a565b9050818103602083015261554a8186613f2a565b9050818103604083015261555e8185613f2a565b905061556d606083018461516c565b95945050505050565b6000602082019050818103600083015261558f81614053565b9050919050565b600060208201905081810360008301526155af816140b9565b9050919050565b600060208201905081810360008301526155cf8161411f565b9050919050565b600060208201905081810360008301526155ef8161425f565b9050919050565b6000602082019050818103600083015261560f816142c5565b9050919050565b6000602082019050818103600083015261562f81614385565b9050919050565b6000602082019050818103600083015261564f81614a57565b9050919050565b6000602082019050818103600083015261566f81614be1565b9050919050565b6000602082019050818103600083015261568f81614c47565b9050919050565b600060208201905081810360008301526156af81614d9f565b9050919050565b600060208201905081810360008301526156cf81614e1f565b9050919050565b600060208201905081810360008301526156ef81614ec5565b9050919050565b6000602082019050818103600083015261570f81614fab565b9050919050565b6000602082019050818103600083015261572f81615051565b9050919050565b6000602082019050818103600083015261574f816150f7565b9050919050565b600060208201905061576b600083018461516c565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561579857615797615d7b565b5b8060405250919050565b600067ffffffffffffffff8211156157bd576157bc615d7b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156157e9576157e8615d7b565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561581957615818615d7b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006158ca82615b38565b91506158d583615b38565b92508261ffff038211156158ec576158eb615cee565b5b828201905092915050565b600061590282615b66565b915061590d83615b66565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561594257615941615cee565b5b828201905092915050565b600061595882615b70565b915061596383615b70565b92508260ff0382111561597957615978615cee565b5b828201905092915050565b600061598f82615b66565b915061599a83615b66565b9250826159aa576159a9615d1d565b5b828204905092915050565b60006159c082615b38565b91506159cb83615b38565b92508161ffff04831182151516156159e6576159e5615cee565b5b828202905092915050565b60006159fc82615b66565b9150615a0783615b66565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a4057615a3f615cee565b5b828202905092915050565b6000615a5682615b70565b9150615a6183615b70565b92508160ff0483118215151615615a7b57615a7a615cee565b5b828202905092915050565b6000615a9182615b66565b9150615a9c83615b66565b925082821015615aaf57615aae615cee565b5b828203905092915050565b6000615ac582615b70565b9150615ad083615b70565b925082821015615ae357615ae2615cee565b5b828203905092915050565b6000615af982615b46565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615baa578082015181840152602081019050615b8f565b83811115615bb9576000848401525b50505050565b60006002820490506001821680615bd757607f821691505b60208210811415615beb57615bea615d4c565b5b50919050565b6000615bfc82615b38565b915061ffff821415615c1157615c10615cee565b5b600182019050919050565b6000615c2782615b66565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615c5a57615c59615cee565b5b600182019050919050565b6000615c7082615b70565b915060ff821415615c8457615c83615cee565b5b600182019050919050565b6000615c9a82615ca1565b9050919050565b6000615cac82615dbb565b9050919050565b6000819050919050565b6000615cc882615b66565b9150615cd383615b66565b925082615ce357615ce2615d1d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615dd181615aee565b8114615ddc57600080fd5b50565b615de881615b00565b8114615df357600080fd5b50565b615dff81615b0c565b8114615e0a57600080fd5b50565b615e1681615b66565b8114615e2157600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201f1c4dca79d0df13679c78c0fbac03a0580c67f1d2ba833cae776aaf3d3bd9f064736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c35760003560e01c80634f6ccce7116100f9578063b88d4fde11610097578063d93dfe8811610071578063d93dfe881461053f578063e985e9c51461055b578063f2fde38b1461058b578063fc3e4ddb146105a7576101c3565b8063b88d4fde146104d7578063c4ef71c7146104f3578063c87b56dd1461050f576101c3565b806370a08231116100d357806370a082311461043d57806389ce30741461046d57806395d89b411461049d578063a22cb465146104bb576101c3565b80634f6ccce7146103ad5780636352211e146103dd57806366e338701461040d576101c3565b806318160ddd116101665780632fb098d2116101405780632fb098d21461031057806341a366881461034357806342842e0e14610361578063438b63001461037d576101c3565b806318160ddd146102a657806323b872dd146102c45780632f745c59146102e0576101c3565b8063081812fc116101a2578063081812fc1461024657806308be26bb14610276578063095ea7b314610280578063098afd4b1461029c576101c3565b80625ea307146101c857806301ffc9a7146101f857806306fdde0314610228575b600080fd5b6101e260048036038101906101dd9190613d8d565b6105c3565b6040516101ef91906154fa565b60405180910390f35b610212600480360381019061020d9190613cfa565b6106db565b60405161021f91906154df565b60405180910390f35b610230610755565b60405161023d91906154fa565b60405180910390f35b610260600480360381019061025b9190613d8d565b6107e7565b60405161026d919061542d565b60405180910390f35b61027e61086c565b005b61029a60048036038101906102959190613cbe565b61092b565b005b6102a4610a43565b005b6102ae610ade565b6040516102bb9190615756565b60405180910390f35b6102de60048036038101906102d99190613bb8565b610aeb565b005b6102fa60048036038101906102f59190613cbe565b610b4b565b6040516103079190615756565b60405180910390f35b61032a60048036038101906103259190613e0a565b610bf0565b60405161033a949392919061551c565b60405180910390f35b61034b610dd5565b6040516103589190615756565b60405180910390f35b61037b60048036038101906103769190613bb8565b610ea1565b005b61039760048036038101906103929190613b53565b610ec1565b6040516103a491906154bd565b60405180910390f35b6103c760048036038101906103c29190613d8d565b610fbb565b6040516103d49190615756565b60405180910390f35b6103f760048036038101906103f29190613d8d565b611052565b604051610404919061542d565b60405180910390f35b61042760048036038101906104229190613d4c565b611104565b60405161043491906154fa565b60405180910390f35b61045760048036038101906104529190613b53565b611292565b6040516104649190615756565b60405180910390f35b61048760048036038101906104829190613d4c565b61134a565b60405161049491906154fa565b60405180910390f35b6104a5611712565b6040516104b291906154fa565b60405180910390f35b6104d560048036038101906104d09190613c82565b6117a4565b005b6104f160048036038101906104ec9190613c07565b611925565b005b61050d60048036038101906105089190613d8d565b611987565b005b61052960048036038101906105249190613d8d565b6119df565b60405161053691906154fa565b60405180910390f35b61055960048036038101906105549190613db6565b611a73565b005b61057560048036038101906105709190613b7c565b611cc1565b60405161058291906154df565b60405180910390f35b6105a560048036038101906105a09190613b53565b611d55565b005b6105c160048036038101906105bc9190613b53565b611df3565b005b60606000600c600084815260200190815260200160002080546105e590615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461061190615bbf565b801561065e5780601f106106335761010080835404028352916020019161065e565b820191906000526020600020905b81548152906001019060200180831161064157829003601f168201915b5050505050905061dead73ffffffffffffffffffffffffffffffffffffffff1661068784611052565b73ffffffffffffffffffffffffffffffffffffffff1614156106d2576106b08160016009611e91565b6040516020016106c0919061539b565b60405160208183030381529060405290505b80915050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074e575061074d82611fff565b5b9050919050565b60606000805461076490615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461079090615bbf565b80156107dd5780601f106107b2576101008083540402835291602001916107dd565b820191906000526020600020905b8154815290600101906020018083116107c057829003601f168201915b5050505050905090565b60006107f2826120e1565b610831576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610828906156b6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e54610877610ade565b101561088a5761088561214d565b610929565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc6790336108d1610dd5565b6040518363ffffffff1660e01b81526004016108ee929190615494565b600060405180830381600087803b15801561090857600080fd5b505af115801561091c573d6000803e3d6000fd5b5050505061092861214d565b5b565b600061093682611052565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099e906156f6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109c6612209565b73ffffffffffffffffffffffffffffffffffffffff1614806109f557506109f4816109ef612209565b611cc1565b5b610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b90615636565b60405180910390fd5b610a3e8383612211565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a9d57600080fd5b60005b6009811015610adb57600a60008281526020019081526020016000206000610ac89190613730565b8080610ad390615c1c565b915050610aa0565b50565b6000600880549050905090565b610afc610af6612209565b826122ca565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290615716565b60405180910390fd5b610b468383836123a8565b505050565b6000610b5683611292565b8210610b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8e90615576565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600a6020528160005260406000208181548110610c0c57600080fd5b906000526020600020906004020160009150915050806000018054610c3090615bbf565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5c90615bbf565b8015610ca95780601f10610c7e57610100808354040283529160200191610ca9565b820191906000526020600020905b815481529060010190602001808311610c8c57829003601f168201915b505050505090806001018054610cbe90615bbf565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90615bbf565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b505050505090806002018054610d4c90615bbf565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7890615bbf565b8015610dc55780601f10610d9a57610100808354040283529160200191610dc5565b820191906000526020600020905b815481529060010190602001808311610da857829003601f168201915b5050505050908060030154905084565b600080610de0610ade565b90506107d08111610df5576000915050610e9e565b6107d081118015610e085750610fa08111155b15610e1e57670de0b6b3a7640000915050610e9e565b610fa081118015610e3157506117708111155b15610e4757671bc16d674ec80000915050610e9e565b61177081118015610e5a5750611f408111155b15610e70576729a2241af62c0000915050610e9e565b611f4081118015610e8357506127108111155b15610e9957673782dace9d900000915050610e9e565b600080fd5b90565b610ebc83838360405180602001604052806000815250611925565b505050565b60606000610ece83611292565b905060008167ffffffffffffffff811115610f12577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f405781602001602082028036833780820191505090505b50905060005b82811015610fb057610f588582610b4b565b828281518110610f91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610fa890615c1c565b915050610f46565b508092505050919050565b6000610fc5610ade565b8210611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90615736565b60405180910390fd5b60088281548110611040577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290615676565b60405180910390fd5b80915050919050565b60608060005b60098160ff16101561126957600061113d611138868460ff16600186611130919061594d565b60ff16611e91565b612604565b905082600a60008460ff1681526020019081526020016000208260ff1681548110611191577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600101600a60008560ff1681526020019081526020016000208360ff16815481106111f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160405160200161121693929190615259565b604051602081830303815290604052925060088260ff1614611255578260405160200161124391906151cd565b60405160208183030381529060405292505b50808061126190615c65565b91505061110a565b508060405160200161127b919061534c565b604051602081830303815290604052915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa90615656565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606080611355613754565b60005b60098160ff1610156116e557600061138b611386878460ff1660018661137e919061594d565b60ff16611e91565b612604565b905060005b600a60008460ff1681526020019081526020016000208260ff16815481106113e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600301548161ffff1610156116d0576000611520600a60008660ff1681526020019081526020016000208460ff1681548110611454577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600201805461147090615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461149c90615bbf565b80156114e95780601f106114be576101008083540402835291602001916114e9565b820191906000526020600020905b8154815290600101906020018083116114cc57829003601f168201915b50505050506004846114fb91906159b5565b61ffff166004808661150d91906159b5565b61151791906158bf565b61ffff16611e91565b905060006115396115348360006001611e91565b61275a565b9050600061155261154d8460016002611e91565b61275a565b9050868260ff1660188110611590577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518160ff16601881106115d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151156115e2575050506116bd565b876115f08460026004611e91565b6115fc8460ff1661283f565b6116088460ff1661283f565b60405160200161161b94939291906151ef565b60405160208183030381529060405297506001878360ff166018811061166a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518260ff16601881106116aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020190151590811515815250505050505b80806116c890615bf1565b915050611390565b505080806116dd90615c65565b915050611358565b50816040516020016116f7919061531f565b60405160208183030381529060405291508192505050919050565b60606001805461172190615bbf565b80601f016020809104026020016040519081016040528092919081815260200182805461174d90615bbf565b801561179a5780601f1061176f5761010080835404028352916020019161179a565b820191906000526020600020905b81548152906001019060200180831161177d57829003601f168201915b5050505050905090565b6117ac612209565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611811906155f6565b60405180910390fd5b8060056000611827612209565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118d4612209565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161191991906154df565b60405180910390a35050565b611936611930612209565b836122ca565b611975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196c90615716565b60405180910390fd5b611981848484846129ec565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff166119a782611052565b73ffffffffffffffffffffffffffffffffffffffff16146119c757600080fd5b6119d43361dead836123a8565b6119dc61214d565b50565b60606119ea826120e1565b6119f357600080fd5b60006119fe836105c3565b9050611a4c611a0c8461283f565b611a1d611a188461134a565b612a48565b611a2684611104565b604051602001611a38939291906152c2565b604051602081830303815290604052612a48565b604051602001611a5c9190615379565b604051602081830303815290604052915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611acd57600080fd5b60005b8151811015611cbc57600a60008481526020019081526020016000206040518060800160405280848481518110611b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600001518152602001848481518110611b7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151602001518152602001848481518110611bc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151604001518152602001848481518110611c0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516060015181525090806001815401808255809150506001900390600052602060002090600402016000909190919091506000820151816000019080519060200190611c62929190613782565b506020820151816001019080519060200190611c7f929190613782565b506040820151816002019080519060200190611c9c929190613782565b506060820151816003015550508080611cb490615c1c565b915050611ad0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611daf57600080fd5b80601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e4d57600080fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600084905060008484611ea69190615a86565b67ffffffffffffffff811115611ee5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f175781602001600182028036833780820191505090505b50905060008590505b84811015611ff257828181518110611f61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828783611f799190615a86565b81518110611fb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080611fea90615c1c565b915050611f20565b5080925050509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120ca57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120da57506120d982612bf3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000612157610ade565b9050600d54811061216757600080fd5b61217033612c5d565b1561217a57600080fd5b600081905061218b81336000612c70565b600c600083815260200190815260200160002090805190602001906121b1929190613782565b506001600b600c60008481526020019081526020016000206040516121d691906152ab565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506122053382612dc9565b5050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228483611052565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122d5826120e1565b612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b90615616565b60405180910390fd5b600061231f83611052565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061238e57508373ffffffffffffffffffffffffffffffffffffffff16612376846107e7565b73ffffffffffffffffffffffffffffffffffffffff16145b8061239f575061239e8185611cc1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123c882611052565b73ffffffffffffffffffffffffffffffffffffffff161461241e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612415906156d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561248e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612485906155d6565b60405180910390fd5b612499838383612f97565b6124a4600082612211565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f49190615a86565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461254b91906158f7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808290506000805b82518160ff16101561274f576030838260ff1681518110612658577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156126c457506039838260ff16815181106126b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b1561273c57600a826126d69190615a4b565b91506030838260ff1681518110612716577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61272e9190615aba565b82612739919061594d565b91505b808061274790615c65565b91505061260e565b508092505050919050565b600080600090505b6010805490508160ff16101561283457826040516020016127839190615192565b6040516020818303038152906040528051906020012060108260ff16815481106127d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020016040516020016127f091906152ab565b60405160208183030381529060405280519060200120141561282157600181612819919061594d565b91505061283a565b808061282c90615c65565b915050612762565b50600080fd5b919050565b60606000821415612887576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129e7565b600082905060005b600082146128b95780806128a290615c1c565b915050600a826128b29190615984565b915061288f565b60008167ffffffffffffffff8111156128fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561292d5781602001600182028036833780820191505090505b5090505b600085146129e0576001826129469190615a86565b9150600a856129559190615cbd565b603061296191906158f7565b60f81b81838151811061299d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d99190615984565b9450612931565b8093505050505b919050565b6129f78484846123a8565b612a03848484846130ab565b612a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3990615596565b60405180910390fd5b50505050565b6060600082511415612a6b57604051806020016040528060008152509050612bee565b6000604051806060016040528060408152602001615e256040913990506000600360028551612a9a91906158f7565b612aa49190615984565b6004612ab091906159f1565b90506000602082612ac191906158f7565b67ffffffffffffffff811115612b00577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b325781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612bad576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612b46565b600389510660018114612bc75760028114612bd757612be2565b613d3d60f01b6002830352612be2565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b6060600a8210612c7f57600080fd5b60006040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905060005b60088160ff161015612d6c57600f6000815480929190612cdb90615c1c565b919050555060006127104244898989600f54604051602001612d02969594939291906153bd565b6040516020818303038152906040528051906020012060001c612d259190615cbd565b905082612d368261ffff1684613242565b604051602001612d479291906151a9565b6040516020818303038152906040529250508080612d6490615c65565b915050612cbc565b50600b81604051612d7d9190615192565b908152602001604051809103902060009054906101000a900460ff1615612dbd57612db58585600186612db091906158f7565b612c70565b915050612dc2565b809150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3090615696565b60405180910390fd5b612e42816120e1565b15612e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e79906155b6565b60405180910390fd5b612e8e60008383612f97565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ede91906158f7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612fa28383836133a0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fe557612fe0816133a5565b613024565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130235761302283826133ee565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613067576130628161355b565b6130a6565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130a5576130a4828261369e565b5b5b505050565b60006130cc8473ffffffffffffffffffffffffffffffffffffffff1661371d565b15613235578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130f5612209565b8786866040518563ffffffff1660e01b81526004016131179493929190615448565b602060405180830381600087803b15801561313157600080fd5b505af192505050801561316257506040513d601f19601f8201168201806040525081019061315f9190613d23565b60015b6131e5573d8060008114613192576040519150601f19603f3d011682016040523d82523d6000602084013e613197565b606091505b506000815114156131dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d490615596565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061323a565b600190505b949350505050565b60606000805b60118460ff1660088110613285577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01805490508160ff16101561339457600060118560ff16600881106132d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b018260ff168154811061330f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff1686101580156133575750808361335091906158bf565b61ffff1686105b15613372576133688260ff1661283f565b935050505061339a565b808361337e91906158bf565b925050808061338c90615c65565b915050613248565b50600080fd5b92915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133fb84611292565b6134059190615a86565b90506000600760008481526020019081526020016000205490508181146134ea576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061356f9190615a86565b90506000600960008481526020019081526020016000205490506000600883815481106135c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061360d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613682577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006136a983611292565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b50805460008255600402906000526020600020908101906137519190613808565b50565b6040518061030001604052806018905b61376c613857565b8152602001906001900390816137645790505090565b82805461378e90615bbf565b90600052602060002090601f0160209004810192826137b057600085556137f7565b82601f106137c957805160ff19168380011785556137f7565b828001600101855582156137f7579182015b828111156137f65782518255916020019190600101906137db565b5b509050613804919061387a565b5090565b5b8082111561385357600080820160006138229190613897565b6001820160006138329190613897565b6002820160006138429190613897565b600382016000905550600401613809565b5090565b604051806103000160405280601890602082028036833780820191505090505090565b5b8082111561389357600081600090555060010161387b565b5090565b5080546138a390615bbf565b6000825580601f106138b557506138d4565b601f0160209004906000526020600020908101906138d3919061387a565b5b50565b60006138ea6138e5846157a2565b615771565b9050808382526020820190508260005b8581101561392a57813585016139108882613a82565b8452602084019350602083019250506001810190506138fa565b5050509392505050565b6000613947613942846157ce565b615771565b90508281526020810184848401111561395f57600080fd5b61396a848285615b7d565b509392505050565b6000613985613980846157fe565b615771565b90508281526020810184848401111561399d57600080fd5b6139a8848285615b7d565b509392505050565b6000813590506139bf81615dc8565b92915050565b600082601f8301126139d657600080fd5b81356139e68482602086016138d7565b91505092915050565b6000813590506139fe81615ddf565b92915050565b600081359050613a1381615df6565b92915050565b600081519050613a2881615df6565b92915050565b600082601f830112613a3f57600080fd5b8135613a4f848260208601613934565b91505092915050565b600082601f830112613a6957600080fd5b8135613a79848260208601613972565b91505092915050565b600060808284031215613a9457600080fd5b613a9e6080615771565b9050600082013567ffffffffffffffff811115613aba57600080fd5b613ac684828501613a58565b600083015250602082013567ffffffffffffffff811115613ae657600080fd5b613af284828501613a58565b602083015250604082013567ffffffffffffffff811115613b1257600080fd5b613b1e84828501613a58565b6040830152506060613b3284828501613b3e565b60608301525092915050565b600081359050613b4d81615e0d565b92915050565b600060208284031215613b6557600080fd5b6000613b73848285016139b0565b91505092915050565b60008060408385031215613b8f57600080fd5b6000613b9d858286016139b0565b9250506020613bae858286016139b0565b9150509250929050565b600080600060608486031215613bcd57600080fd5b6000613bdb868287016139b0565b9350506020613bec868287016139b0565b9250506040613bfd86828701613b3e565b9150509250925092565b60008060008060808587031215613c1d57600080fd5b6000613c2b878288016139b0565b9450506020613c3c878288016139b0565b9350506040613c4d87828801613b3e565b925050606085013567ffffffffffffffff811115613c6a57600080fd5b613c7687828801613a2e565b91505092959194509250565b60008060408385031215613c9557600080fd5b6000613ca3858286016139b0565b9250506020613cb4858286016139ef565b9150509250929050565b60008060408385031215613cd157600080fd5b6000613cdf858286016139b0565b9250506020613cf085828601613b3e565b9150509250929050565b600060208284031215613d0c57600080fd5b6000613d1a84828501613a04565b91505092915050565b600060208284031215613d3557600080fd5b6000613d4384828501613a19565b91505092915050565b600060208284031215613d5e57600080fd5b600082013567ffffffffffffffff811115613d7857600080fd5b613d8484828501613a58565b91505092915050565b600060208284031215613d9f57600080fd5b6000613dad84828501613b3e565b91505092915050565b60008060408385031215613dc957600080fd5b6000613dd785828601613b3e565b925050602083013567ffffffffffffffff811115613df457600080fd5b613e00858286016139c5565b9150509250929050565b60008060408385031215613e1d57600080fd5b6000613e2b85828601613b3e565b9250506020613e3c85828601613b3e565b9150509250929050565b6000613e52838361515d565b60208301905092915050565b613e6781615aee565b82525050565b613e7e613e7982615aee565b615c8f565b82525050565b6000613e8f82615853565b613e998185615881565b9350613ea48361582e565b8060005b83811015613ed5578151613ebc8882613e46565b9750613ec783615874565b925050600181019050613ea8565b5085935050505092915050565b613eeb81615b00565b82525050565b6000613efc8261585e565b613f068185615892565b9350613f16818560208601615b8c565b613f1f81615daa565b840191505092915050565b6000613f3582615869565b613f3f81856158a3565b9350613f4f818560208601615b8c565b613f5881615daa565b840191505092915050565b6000613f6e82615869565b613f7881856158b4565b9350613f88818560208601615b8c565b80840191505092915050565b60008154613fa181615bbf565b613fab81866158b4565b94506001821660008114613fc65760018114613fd75761400a565b60ff1983168652818601935061400a565b613fe08561583e565b60005b8381101561400257815481890152600182019150602081019050613fe3565b838801955050505b50505092915050565b60006140206005836158b4565b91507f2720793d270000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000614060602b836158a3565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006140c66032836158a3565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061412c601c836158a3565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061416c6005836158b4565b91507f2720783d270000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006141ac600f836158b4565b91507f222c2261747472696275746573223a00000000000000000000000000000000006000830152600f82019050919050565b60006141ec6001836158b4565b91507f2c000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b600061422c600e836158b4565b91507f3c7265637420636c6173733d27630000000000000000000000000000000000006000830152600e82019050919050565b600061426c6024836158a3565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142d26019836158a3565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006143126015836158b4565b91507f7b226e616d65223a2022416e6f6e796d696365202300000000000000000000006000830152601582019050919050565b6000614352600f836158b4565b91507f7b2274726169745f74797065223a2200000000000000000000000000000000006000830152600f82019050919050565b6000614392602c836158a3565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006143f96104ec836158b4565b91507f3c7374796c653e726563747b77696474683a3170783b6865696768743a31707860008301527f3b7d20236d6f7573652d7376677b73686170652d72656e646572696e673a206360208301527f7269737065646765733b7d202e6330307b66696c6c3a233030303030307d2e6360408301527f30317b66696c6c3a234231414441437d2e6330327b66696c6c3a23443744374460608301527f377d2e6330337b66696c6c3a234646413641367d2e6330347b66696c6c3a234660808301527f46443444357d2e6330357b66696c6c3a234239414439357d2e6330367b66696c60a08301527f6c3a234532443642457d2e6330377b66696c6c3a233746363235417d2e63303860c08301527f7b66696c6c3a234135384638327d2e6330397b66696c6c3a233442314530427d60e08301527f2e6331307b66696c6c3a233644324331307d2e6331317b66696c6c3a234438446101008301527f3844387d2e6331327b66696c6c3a234635463546357d2e6331337b66696c6c3a6101208301527f233433334434427d2e6331347b66696c6c3a233844393439437d2e6331357b666101408301527f696c6c3a233035464630307d2e6331367b66696c6c3a233031433730307d2e636101608301527f31377b66696c6c3a233042384630387d2e6331387b66696c6c3a2334323143316101808301527f337d2e6331397b66696c6c3a233642333932417d2e6332307b66696c6c3a23416101a08301527f33354534307d2e6332317b66696c6c3a234443424439317d2e6332327b66696c6101c08301527f6c3a233737373737377d2e6332337b66696c6c3a233834383438347d2e6332346101e08301527f7b66696c6c3a234142414241427d2e6332357b66696c6c3a234241424142417d6102008301527f2e6332367b66696c6c3a234337433743377d2e6332377b66696c6c3a234541456102208301527f4145417d2e6332387b66696c6c3a233043373641417d2e6332397b66696c6c3a6102408301527f233045393744427d2e6333307b66696c6c3a233130413445437d2e6333317b666102608301527f696c6c3a233133423046467d2e6333327b66696c6c3a233245423946457d2e636102808301527f33337b66696c6c3a233534434346467d2e6333347b66696c6c3a2335304330466102a08301527f327d2e6333357b66696c6c3a233534434346467d2e6333367b66696c6c3a23376102c08301527f32444146467d2e6333377b66696c6c3a234236454146467d2e6333387b66696c6102e08301527f6c3a234646464646467d2e6333397b66696c6c3a233935343534367d2e6334306103008301527f7b66696c6c3a233042383746377d2e6334317b66696c6c3a234646323632367d6103208301527f2e6334327b66696c6c3a233138304630327d2e6334337b66696c6c3a233242326103408301527f3331397d2e6334347b66696c6c3a234642444434427d2e6334357b66696c6c3a6103608301527f234635423932337d2e6334367b66696c6c3a234343384131387d2e6334377b666103808301527f696c6c3a233343323230337d2e6334387b66696c6c3a233533333230427d2e636103a08301527f34397b66696c6c3a233742353031447d2e6335307b66696c6c3a2346464536346103c08301527f367d2e6335317b66696c6c3a234646443632377d2e6335327b66696c6c3a23466103e08301527f35423730307d2e6335337b66696c6c3a233234323432347d2e6335347b66696c6104008301527f6c3a233441344134417d2e6335357b66696c6c3a233637363736377d2e6335366104208301527f7b66696c6c3a234630383330367d2e6335377b66696c6c3a234643413330457d6104408301527f2e6335387b66696c6c3a234645424330457d2e6335397b66696c6c3a234642456104608301527f4331437d2e6336307b66696c6c3a233134323432467d2e6336317b66696c6c3a6104808301527f234230363833377d2e6336327b66696c6c3a233846344230457d2e6336337b666104a08301527f696c6c3a234438383232377d2e6336347b66696c6c3a234230363833377d3c2f6104c08301527f7374796c653e3c2f7376673e00000000000000000000000000000000000000006104e08301526104ec82019050919050565b6000614a246003836158b4565b91507f272f3e00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000614a646038836158a3565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614aca60dd836158b4565b91507f222c20226465736372697074696f6e223a2022416e6f6e796d6963652069732060008301527f6120636f6c6c656374696f6e206f662031302c30303020756e69717565206d6960208301527f63652e20416c6c20746865206d6574616461746120616e6420696d616765732060408301527f6172652067656e65726174656420616e642073746f7265642031303025206f6e60608301527f2d636861696e2e204e6f20495046532c206e6f204150492e204a75737420746860808301527f6520457468657265756d20626c6f636b636861696e2e222c2022696d6167652260a08301527f3a2022646174613a696d6167652f7376672b786d6c3b6261736536342c00000060c083015260dd82019050919050565b6000614bee602a836158a3565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c546029836158a3565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cba6002836158b4565b91507f227d0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000614cfa6070836158b4565b91507f3c7376672069643d226d6f7573652d7376672220786d6c6e733d22687474703a60008301527f2f2f7777772e77332e6f72672f323030302f737667222070726573657276654160208301527f7370656374526174696f3d22784d696e594d696e206d6565742220766965774260408301527f6f783d22302030203234203234223e20000000000000000000000000000000006060830152607082019050919050565b6000614dac6020836158a3565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614dec6001836158b4565b91507f7d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614e2c602c836158a3565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614e926001836158b4565b91507f5b000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614ed26029836158a3565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f38600b836158b4565b91507f222c2276616c7565223a220000000000000000000000000000000000000000006000830152600b82019050919050565b6000614f786001836158b4565b91507f5d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614fb86021836158a3565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061501e601d836158b4565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b600061505e6031836158a3565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006150c46001836158b4565b91507f31000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000615104602c836158a3565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b61516681615b66565b82525050565b61517581615b66565b82525050565b61518c61518782615b66565b615cb3565b82525050565b600061519e8284613f63565b915081905092915050565b60006151b58285613f63565b91506151c18284613f63565b91508190509392505050565b60006151d98284613f63565b91506151e4826141df565b915081905092915050565b60006151fb8287613f63565b91506152068261421f565b91506152128286613f63565b915061521d8261415f565b91506152298285613f63565b915061523482614013565b91506152408284613f63565b915061524b82614a17565b915081905095945050505050565b60006152658286613f63565b915061527082614345565b915061527c8285613f94565b915061528782614f2b565b91506152938284613f94565b915061529e82614cad565b9150819050949350505050565b60006152b78284613f94565b915081905092915050565b60006152cd82614305565b91506152d98286613f63565b91506152e482614abd565b91506152f08285613f63565b91506152fb8261419f565b91506153078284613f63565b915061531282614ddf565b9150819050949350505050565b600061532a82614ced565b91506153368284613f63565b9150615341826143eb565b915081905092915050565b600061535782614e85565b91506153638284613f63565b915061536e82614f6b565b915081905092915050565b600061538482615011565b91506153908284613f63565b915081905092915050565b60006153a6826150b7565b91506153b28284613f63565b915081905092915050565b60006153c9828961517b565b6020820191506153d9828861517b565b6020820191506153e9828761517b565b6020820191506153f98286613e6d565b601482019150615409828561517b565b602082019150615419828461517b565b602082019150819050979650505050505050565b60006020820190506154426000830184613e5e565b92915050565b600060808201905061545d6000830187613e5e565b61546a6020830186613e5e565b615477604083018561516c565b81810360608301526154898184613ef1565b905095945050505050565b60006040820190506154a96000830185613e5e565b6154b6602083018461516c565b9392505050565b600060208201905081810360008301526154d78184613e84565b905092915050565b60006020820190506154f46000830184613ee2565b92915050565b600060208201905081810360008301526155148184613f2a565b905092915050565b600060808201905081810360008301526155368187613f2a565b9050818103602083015261554a8186613f2a565b9050818103604083015261555e8185613f2a565b905061556d606083018461516c565b95945050505050565b6000602082019050818103600083015261558f81614053565b9050919050565b600060208201905081810360008301526155af816140b9565b9050919050565b600060208201905081810360008301526155cf8161411f565b9050919050565b600060208201905081810360008301526155ef8161425f565b9050919050565b6000602082019050818103600083015261560f816142c5565b9050919050565b6000602082019050818103600083015261562f81614385565b9050919050565b6000602082019050818103600083015261564f81614a57565b9050919050565b6000602082019050818103600083015261566f81614be1565b9050919050565b6000602082019050818103600083015261568f81614c47565b9050919050565b600060208201905081810360008301526156af81614d9f565b9050919050565b600060208201905081810360008301526156cf81614e1f565b9050919050565b600060208201905081810360008301526156ef81614ec5565b9050919050565b6000602082019050818103600083015261570f81614fab565b9050919050565b6000602082019050818103600083015261572f81615051565b9050919050565b6000602082019050818103600083015261574f816150f7565b9050919050565b600060208201905061576b600083018461516c565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561579857615797615d7b565b5b8060405250919050565b600067ffffffffffffffff8211156157bd576157bc615d7b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156157e9576157e8615d7b565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561581957615818615d7b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006158ca82615b38565b91506158d583615b38565b92508261ffff038211156158ec576158eb615cee565b5b828201905092915050565b600061590282615b66565b915061590d83615b66565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561594257615941615cee565b5b828201905092915050565b600061595882615b70565b915061596383615b70565b92508260ff0382111561597957615978615cee565b5b828201905092915050565b600061598f82615b66565b915061599a83615b66565b9250826159aa576159a9615d1d565b5b828204905092915050565b60006159c082615b38565b91506159cb83615b38565b92508161ffff04831182151516156159e6576159e5615cee565b5b828202905092915050565b60006159fc82615b66565b9150615a0783615b66565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a4057615a3f615cee565b5b828202905092915050565b6000615a5682615b70565b9150615a6183615b70565b92508160ff0483118215151615615a7b57615a7a615cee565b5b828202905092915050565b6000615a9182615b66565b9150615a9c83615b66565b925082821015615aaf57615aae615cee565b5b828203905092915050565b6000615ac582615b70565b9150615ad083615b70565b925082821015615ae357615ae2615cee565b5b828203905092915050565b6000615af982615b46565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615baa578082015181840152602081019050615b8f565b83811115615bb9576000848401525b50505050565b60006002820490506001821680615bd757607f821691505b60208210811415615beb57615bea615d4c565b5b50919050565b6000615bfc82615b38565b915061ffff821415615c1157615c10615cee565b5b600182019050919050565b6000615c2782615b66565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615c5a57615c59615cee565b5b600182019050919050565b6000615c7082615b70565b915060ff821415615c8457615c83615cee565b5b600182019050919050565b6000615c9a82615ca1565b9050919050565b6000615cac82615dbb565b9050919050565b6000819050919050565b6000615cc882615b66565b9150615cd383615b66565b925082615ce357615ce2615d1d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615dd181615aee565b8114615ddc57600080fd5b50565b615de881615b00565b8114615df357600080fd5b50565b615dff81615b0c565b8114615e0a57600080fd5b50565b615e1681615b66565b8114615e2157600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201f1c4dca79d0df13679c78c0fbac03a0580c67f1d2ba833cae776aaf3d3bd9f064736f6c63430008000033
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.