ERC-721
Overview
Max Total Supply
205 MIN_1
Holders
110
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MIN_1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Flow
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./GenerativeArtNFTWithClaiming.sol"; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title Flow * @author minimizer <[email protected]>; https://minimizer.art/ * * minimizer's second project. Holders of Waves, the genesis project, deployed to * 0x46f1c444a9b10173c52ee7351eBa1e49C8bC5851 on mainnet, can mint for free. */ contract Flow is GenerativeArtNFTWithClaiming { constructor(string memory baseURI_, address claimContractAddress_) GenerativeArtNFTWithClaiming( "Flow", // token name "MIN_1", // token symbol, minimizer's 2nd project baseURI_, // address of base URI, while minting is active 888, // max supply 5, // max mint at once 1, // preminted tokens 80000000000000000, // price (0.08 ETH) 500, // 5% royalty claimContractAddress_, // address of the Waves contract "MIN_0" // symbol of the Waves contract, to check successful deployment ) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC721.sol"; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title IERC721WithTotalSupply * @author minimizer <[email protected]>; https://minimizer.art/ * * Simple interface which extends IERC721, adds totalSupply() * as a subset of IERC721Enumerable. */ interface IERC721WithTotalSupply is IERC721 { function totalSupply() external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title HTML5AndJavascriptCodeGenerator * @author minimizer <[email protected]>; https://minimizer.art/ * * Utility library to generate a full stand-alone HTML page for a * generative pure JavaScript/HTML5 Canvas artwork. * * Given the token name, token id, hash and rendering code, can produce * results in plain-text or in base64 (useful for transfering, e.g Etherscan) */ library HTML5AndJavascriptCodeGenerator { using Strings for uint; using Strings for bytes32; // Retreive the rendering code in plain text, for a given token, by combining the token id // and hash with the rendering code. This assumes the language is javascript. function fullRenderingCode(string memory name_, uint tokenId_, bytes32 tokenHash_, string memory renderingCode_) public pure returns (string memory) { return bytes(renderingCode_).length == 0 ? "" : string(abi.encodePacked(bytes("<!DOCTYPE html><html><head><title>"), bytes(name_), bytes(" #"), bytes(tokenId_.toString()), bytes("</title></head><body style='padding:0;margin:0;border:0;justify-content:center;display:flex;background-color:black'><canvas /><script>"), bytes("const tokenData={tokenId:"), bytes(tokenId_.toString()), bytes(",hash:'"), uint(tokenHash_).toHexString(), bytes("'};"), bytes(renderingCode_), bytes("</script></body></html>"))); } // Similar to the above plain-text version, this retrieves the rendering code in Base64 encoding. This is // useful in cases where the encoding is required or helpful for transmission. function fullRenderingCodeInBase64(string memory name_, uint tokenId_, bytes32 tokenHash_, string memory renderingCode_) public pure returns (string memory) { return Base64.encode(bytes(fullRenderingCode(name_, tokenId_, tokenHash_, renderingCode_))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./GenerativeArtNFT.sol"; import "./ClaimTracker.sol"; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title GenerativeArtNFT * @author minimizer <[email protected]>; https://minimizer.art/ * * Extention of GenerativeArtNFT which implements claiming. References another * contract and allows each token held of that contract to be used to mint * one token of this contract. * * As a deployment safety check, constructor requires both the address * and symbol of the claim contract. If they don't match, the constructor fails. */ contract GenerativeArtNFTWithClaiming is GenerativeArtNFT, ClaimTracker { bool public isClaimingActive = false; constructor(string memory name_, string memory symbol_, string memory initialWeb2BaseURI_, uint maxSupply_, uint maxMintAtOnce_, uint numberToPremint_, uint initialPrice_,uint96 royaltyBasisPoints_, address claimContractAddress_, string memory claimContractSymbol_) GenerativeArtNFT(name_, symbol_, initialWeb2BaseURI_, maxSupply_, maxMintAtOnce_, numberToPremint_, initialPrice_, royaltyBasisPoints_) ClaimTracker(claimContractAddress_) { require( keccak256(bytes(claimContractSymbol())) == keccak256(bytes(claimContractSymbol_)) , "Address/symbol mismatch" ); } // Owner can activate claiming. function setClaimingActive(bool isClaimingActive_) public onlyOwner onlyWhenNotFrozen { isClaimingActive = isClaimingActive_; } // Anyone can mint using claim tokens which they own once, provided claiming // is active and supply remains. function claimMintTokens(uint[] memory tokenIds_) public { require(isClaimingActive, "Claiming inactive"); _claimTokens(tokenIds_); _mintTokens(tokenIds_.length); } // Convenience providing the name of the claim contract function claimContractName() public view returns (string memory) { return ERC721(claimContractAddress).name(); } // Convenience providing the symbol of the claim contract function claimContractSymbol() public view returns (string memory) { return ERC721(claimContractAddress).symbol(); } // Requires claiming to be deactivated in addition to other criteria // specified in the superclass function freeze(string memory confirmation_) public override /*onlyOwner: checked in super class*/ { require(!isClaimingActive, "Claiming active"); super.freeze(confirmation_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./Freezable.sol"; import "./HTML5AndJavascriptCodeGenerator.sol"; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title GenerativeArtNFT * @author minimizer <[email protected]>; https://minimizer.art/ * * Generic smart contract intended to allow for high-quality implementation of * generative art NFT based on pure JavaScript/HTML5 Canvas. This contract can * create a self-contained HTML file with all included artwork code. * * Key features: * - Contract initializes with a pre-determined supply and number of * tokens to pre-mint. * - Owner can set price, max tokens to mint at once and whether sale is active. * - Generates a unique hash for each mint, which the art uses to source entropy. * This hash is based on the contract address, token id as well as the minter's * address and block number. * - The artwork's code is saved on the contract. * - Full art rendering code (HTML+JavaScript) for each token can be generated. * - Owner can freeze contract, after which the artwork or URIs are immutable. * - Contract implements simple version of ERC-2981 with one royalty percentage * for all tokens. * - Owner can reduce supply of tokens available to be minted. * - Gas optimization: token creation block number and token creation address * are stored in such a way to save on gas costs: * 1) Since sequential tokens minted in the same transaction will share the * block number, it is only saved for the first one. Higher numbered * tokens will look back until they find a saved one. * 2) The minter's address will be the same as the owner's address until * the token is transfered. Therefore it is not saved at mint time, * but rather only at the time of the first transfer. * * Earlier version of this contract, designed for use with p5js or similar * libraries, is deployed to mainnet for Waves * (contract 0x46f1c444a9b10173c52ee7351eBa1e49C8bC5851). */ contract GenerativeArtNFT is IERC2981, ERC721, Ownable, Freezable { using SafeMath for uint; using Strings for uint; using Strings for bytes; //to save gas, block numbers are only stored for the first of a series of mints mapping (uint => uint) private _tokenCreationBlockNumbers; //to save gas, the minter's address is only stored the first time token is transferred mapping (uint => address) private _tokenCreationAddresses; string public baseURI; string public renderingCode; uint public totalSupply = 0; uint public maxSupply; uint public maxMintAtOnce; uint public price = 0; bool public isSaleActive = false; uint96 private _royaltyBasisPoints; constructor(string memory name_, string memory symbol_, string memory baseURI_, uint maxSupply_, uint maxMintAtOnce_, uint numberToPremint_, uint initialPrice_, uint96 royaltyBasisPoints_) ERC721(name_, symbol_) { setBaseURI(baseURI_); maxSupply = maxSupply_; maxMintAtOnce = maxMintAtOnce_; mintTokens(numberToPremint_); price = initialPrice_; setRoyaltyInBasisPoints(royaltyBasisPoints_); } // Provide the hash of the token id. This runs the keccak256 hashing algorithm over contract // address, block number of mint, address of minter, and token id to produce a unique value. function tokenHash(uint tokenId_) public view returns(bytes32) { require(tokenId_ < totalSupply, "Invalid token"); return bytes32(keccak256(abi.encodePacked(address(this), tokenCreationBlockNumbers(tokenId_), tokenCreationAddresses(tokenId_), tokenId_))); } // Block number of when the token was minted. Multiple tokens minted together // will share a block number, which is only stored once for the first token. // The logic will look backwards to find the appropriate value. function tokenCreationBlockNumbers(uint tokenId_) public view returns(uint) { for(uint i = tokenId_; i>0; i--) { if(_tokenCreationBlockNumbers[i]>0) { return _tokenCreationBlockNumbers[i]; } } return _tokenCreationBlockNumbers[0]; } // Minter's address. Since this matches the owner's address up until when // the token is transferred, at the time of the first transfer the owner's // address will be saved as the minter. function tokenCreationAddresses(uint tokenId_) public view returns(address) { address savedAddress = _tokenCreationAddresses[tokenId_]; return savedAddress != address(0) ? savedAddress : ownerOf(tokenId_); } // Mint the specified number of tokens to the caller. Sale must be active, // and number of tokens must be less than max mint at once as well as // remaining supply. Exact payment required. // Owner can mint more than the max mint at once and while the sale is not active. // Owner (or anyone else) cannot exceed max supply. function mintTokens(uint numTokens_) public payable { require(msg.sender == owner() || numTokens_ > 0, "Invalid num tokens"); require(msg.sender == owner() || numTokens_ <= maxMintAtOnce, "Exceeds max mint"); require(msg.sender == owner() || isSaleActive, "Sale inactive"); require(msg.value == numTokens_.mul(price), "Incorrect payment"); _mintTokens(numTokens_); } // Internal mint method can be used by derived classes. function _mintTokens(uint numTokens_) internal { require(totalSupply + numTokens_ <= maxSupply, "Exceeds supply"); // Store this once for all the mints. // When looking up later we will work our way back to it. _tokenCreationBlockNumbers[totalSupply] = block.number; for(uint i = 0; i < numTokens_; i++) { _safeMint(msg.sender, totalSupply); totalSupply = totalSupply + 1; } } // Convenience method, allowing access to all tokens of a given address. // Not gas efficient, not for use from other contracts function tokensOfOwner(address owner_) external view returns(uint[] memory ) { uint tokenCount = balanceOf(owner_); uint[] memory result = new uint[](tokenCount); uint index = 0; for (uint i = 0; i < totalSupply; i++) { if(ownerOf(i) == owner_) { result[index] = i; index += 1; } } return result; } // Owner can set how many tokens can be minted at once. Only relevant when supply remains. function setMaxMintAtOnce(uint maxMintAtOnce_) public onlyOwner { maxMintAtOnce = maxMintAtOnce_; } // Owner can activate the sale. Only relevant when supply remains. function setSaleActive(bool isSaleActive_) public onlyOwner onlyWhenNotFrozen { isSaleActive = isSaleActive_; } // Owner can set the price of future mints. function setPrice(uint price_) public onlyOwner { price = price_; } // Owner can set the max supply, only to reduce. // This must be a number lower than current max supply // and larger than or equal to current supply function setMaxSupply(uint maxSupply_) public onlyOwner { require(maxSupply_ < maxSupply && maxSupply_ >= totalSupply, "Invalid max supply"); maxSupply = maxSupply_; } // Owner can store rendering code (in javascript) which will be persisted forever to re-produce the art // Once contract is frozen this can no longer be changed. function setRenderingCode(string memory renderingCode_) public onlyOwner onlyWhenNotFrozen { renderingCode = renderingCode_; } // Owner can set the base URI // Once contract is frozen this can no longer be changed. function setBaseURI(string memory baseURI_) public onlyOwner onlyWhenNotFrozen { baseURI = baseURI_; } // Set the royalty amount, specified in basis points // All tokens have the same royalty amount // Used by ERC-2981 implementation // Royalty info can be changed after the contract is frozen function setRoyaltyInBasisPoints(uint96 royaltyBasisPoints_) public onlyOwner { _royaltyBasisPoints = royaltyBasisPoints_; } // Implementation of royaltyInfo for ERC-2981 function royaltyInfo(uint256, uint256 salePrice_) external view override returns (address, uint256) { return (owner(), (salePrice_ * _royaltyBasisPoints) / 10000); } // Owner can transfer accumulated funds from contract. function withdrawAll() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } // Owner can freeze the contract, subsequently specified fields are immutable. function freeze(string memory confirmation_) public virtual onlyOwner { require(!isSaleActive, "Sale active"); require(keccak256(bytes(confirmation_)) == keccak256(bytes("confirmed to freeze")), 'Invalid confirmation'); _freeze(); } // Retrieve the rendering code in plain text, for a given token, by combining the token id // and hash with the rendering code. This assumes the language is javascript. function renderingCodeForToken(uint tokenId_) public view returns (string memory) { return HTML5AndJavascriptCodeGenerator.fullRenderingCode(name(), tokenId_, tokenHash(tokenId_), renderingCode); } // Similar to the above plain-text version, this retrieves the rendering code in Base64 encoding. This is // useful in cases where the encoding is required or helpful for transmission. function renderingCodeForTokenInBase64(uint tokenId_) public view returns (string memory) { return HTML5AndJavascriptCodeGenerator.fullRenderingCodeInBase64(name(), tokenId_, tokenHash(tokenId_), renderingCode); } // Retrieve the URI which provides the metadata for this token. This is the standard ERC-721 interface function _baseURI() internal view override returns (string memory) { return baseURI; } // Contract supports ERC-721 and ERC-2981 function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return super.supportsInterface(interfaceId) || type(IERC2981).interfaceId == interfaceId; } // Using the ERC-721 hook to save the owner as the original minter and preserve // the entropy details function _beforeTokenTransfer(address from_, address /*to is unused*/, uint256 tokenId_) internal virtual override { //if there is currently no minter address, the current owner is the minter //we need to remember that so the hash doesn't change so let's store it if(_tokenCreationAddresses[tokenId_]==address(0) && from_ != address(0)) { _tokenCreationAddresses[tokenId_] = from_; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title Freezable * @author minimizer <[email protected]>; https://minimizer.art/ * * Generic interface that provides a modifier allowing "freezing" * * Implementors of this contract will need to call _freeze() when appropriate, after which * any methods using the modifier onlyWhenNotFrozen are no longer accessible */ contract Freezable { bool public frozen = false; modifier onlyWhenNotFrozen() { require(frozen == false, "Freezable: Cannot perform operation once contract is frozen."); _; } function _freeze() internal { frozen = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/structs/Bitmaps.sol"; import "./IERC721WithTotalSupply.sol"; /* _ _ _ * _ __ ___ (_)_ __ (_)_ __ ___ (_)_______ _ __ * | '_ ` _ \| | '_ \| | '_ ` _ \| |_ / _ \ '__| * | | | | | | | | | | | | | | | | |/ / __/ | * |_| |_| |_|_|_| |_|_|_| |_| |_|_/___\___|_| * * @title ClaimTracker * @author minimizer <[email protected]>; https://minimizer.art/ * * Utility contract for claiming. References another contract of which each token * can be claimed once. Uses BitMap for efficient tracking of claimed tokens. * * Uses interface "IERC721WithTotalSupply" which is designed for contracts which * have a totalSupply() but may not have implemented the full IERC721Metadata. */ contract ClaimTracker { using BitMaps for BitMaps.BitMap; address public claimContractAddress; BitMaps.BitMap private _claimed; constructor(address claimContractAddress_) { claimContractAddress = claimContractAddress_; require( IERC165(claimContractAddress_).supportsInterface(type(IERC721).interfaceId), "Not valid contract" ); require( _contract().totalSupply()>=0 ); //making sure contract supports the totalSupply() method, to be used later } // Returns a global list of all unclaimed tokens. // This method is not gas efficient and should not be called from another contract. function allUnclaimedTokens() public view returns (uint[] memory) { return _tokensOfClaimStatus(false); } // Returns a global list of all claimed tokens. // This method is not gas efficient and should not be called from another contract. function allClaimedTokens() public view returns (uint[] memory) { return _tokensOfClaimStatus(true); } // Returns a list of all unclaimed tokens owned by the caller. // This method is not gas efficient and should not be called from another contract. function claimableTokens() public view returns (uint[] memory) { IERC721WithTotalSupply claimContract = _contract(); uint tokenCount = claimContract.totalSupply(); uint[] memory initialResult = new uint[](claimContract.balanceOf(msg.sender)); uint index = 0; for (uint i = 0; i < tokenCount; i++) { if(claimContract.ownerOf(i) == msg.sender && !_claimed.get(i)) { initialResult[index] = i; index += 1; } } return _shortenArray(initialResult, index); } // Main method to be used by other contracts. Designed to allow claiming once // per token, given the caller is the owner. function _claimTokens(uint[] memory tokenIds_) internal { IERC721WithTotalSupply claimContract = _contract(); for (uint i = 0; i < tokenIds_.length; i++) { uint tokenId = tokenIds_[i]; require(claimContract.ownerOf(tokenId) == msg.sender, "Token not owned"); require(!_claimed.get(tokenId), "Token already claimed"); _claimed.set(tokenId); } } function _tokensOfClaimStatus(bool claimedStatus_) private view returns (uint[] memory) { uint[] memory initialResult = new uint[](_contract().totalSupply()); uint index = 0; for (uint i = 0; i < initialResult.length; i++) { if(_claimed.get(i)==claimedStatus_) { initialResult[index] = i; index += 1; } } return _shortenArray(initialResult, index); } function _shortenArray(uint[] memory currentArray_, uint newLength_) private pure returns (uint[] memory) { uint[] memory newArray_ = new uint[](newLength_); for (uint i = 0; i < newLength_; i++) { newArray_[i] = currentArray_[i]; } return newArray_; } function _contract() private view returns (IERC721WithTotalSupply) { return IERC721WithTotalSupply(claimContractAddress); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/structs/BitMaps.sol) pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": { "/contracts/HTML5AndJavascriptCodeGenerator.sol": { "HTML5AndJavascriptCodeGenerator": "0xCD593aA419b16dfee72b8eD35dB5EB8aC4aB18cC" } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"claimContractAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"allClaimedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allUnclaimedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimContractName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimContractSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"}],"name":"claimMintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimableTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"confirmation_","type":"string"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isClaimingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAtOnce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens_","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderingCode","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"renderingCodeForToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"renderingCodeForTokenInBase64","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isClaimingActive_","type":"bool"}],"name":"setClaimingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintAtOnce_","type":"uint256"}],"name":"setMaxMintAtOnce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"renderingCode_","type":"string"}],"name":"setRenderingCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"royaltyBasisPoints_","type":"uint96"}],"name":"setRoyaltyInBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isSaleActive_","type":"bool"}],"name":"setSaleActive","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":"tokenId_","type":"uint256"}],"name":"tokenCreationAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenCreationBlockNumbers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600660146101000a81548160ff0219169083151502179055506000600b556000600e556000600f60006101000a81548160ff0219169083151502179055506000601260006101000a81548160ff0219169083151502179055503480156200006c57600080fd5b5060405162007b4d38038062007b4d833981810160405281019062000092919062001320565b6040518060400160405280600481526020017f466c6f77000000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4d494e5f31000000000000000000000000000000000000000000000000000000815250836103786005600167011c37937e0800006101f4886040518060400160405280600581526020017f4d494e5f30000000000000000000000000000000000000000000000000000000815250818a8a8a8a8a8a8a8a878781600090805190602001906200016c9291906200106e565b508060019080519060200190620001859291906200106e565b505050620001a86200019c6200041e60201b60201c565b6200042660201b60201c565b620001b986620004ec60201b60201c565b84600c8190555083600d81905550620001d883620005f060201b60201c565b81600e81905550620001f0816200081660201b60201c565b505050505050505080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f80ac58cd000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620002949190620013c3565b602060405180830381865afa158015620002b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d891906200141d565b6200031a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031190620014b0565b60405180910390fd5b60006200032c620008d960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000377573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039d91906200150d565b1015620003a957600080fd5b508080519060200120620003c26200090360201b60201c565b80519060200120146200040c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000403906200158f565b60405180910390fd5b50505050505050505050505062001d98565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004fc6200041e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000522620009a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200057b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005729062001601565b60405180910390fd5b60001515600660149054906101000a900460ff16151514620005d4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005cb9062001699565b60405180910390fd5b8060099080519060200190620005ec9291906200106e565b5050565b62000600620009a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806200063a5750600081115b6200067c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000673906200170b565b60405180910390fd5b6200068c620009a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480620006c85750600d548111155b6200070a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000701906200177d565b60405180910390fd5b6200071a620009a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480620007605750600f60009054906101000a900460ff165b620007a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200079990620017ef565b60405180910390fd5b620007be600e5482620009cd60201b620027791790919060201c565b341462000802576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007f99062001861565b60405180910390fd5b6200081381620009e560201b60201c565b50565b620008266200041e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200084c620009a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620008a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200089c9062001601565b60405180910390fd5b80600f60016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000973573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906200099e919062001883565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008183620009dd919062001903565b905092915050565b600c5481600b54620009f8919062001964565b111562000a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a339062001a11565b60405180910390fd5b4360076000600b5481526020019081526020016000208190555060005b8181101562000aa35762000a7633600b5462000aa760201b60201c565b6001600b5462000a87919062001964565b600b81905550808062000a9a9062001a33565b91505062000a59565b5050565b62000ac982826040518060200160405280600081525062000acd60201b60201c565b5050565b62000adf838362000b3b60201b60201c565b62000af4600084848462000d3560201b60201c565b62000b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b2d9062001af7565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000bae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ba59062001b69565b60405180910390fd5b62000bbf8162000edf60201b60201c565b1562000c02576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000bf99062001bdb565b60405180910390fd5b62000c166000838362000f4b60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000c68919062001964565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000d31600083836200104660201b60201c565b5050565b600062000d638473ffffffffffffffffffffffffffffffffffffffff166200104b60201b6200278f1760201c565b1562000ed2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000d956200041e60201b60201c565b8786866040518563ffffffff1660e01b815260040162000db9949392919062001c7c565b6020604051808303816000875af192505050801562000df857506040513d601f19601f8201168201806040525081019062000df5919062001d01565b60015b62000e81573d806000811462000e2b576040519150601f19603f3d011682016040523d82523d6000602084013e62000e30565b606091505b5060008151141562000e79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000e709062001af7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000ed7565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614801562000fe85750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156200104157826008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546200107c9062001d62565b90600052602060002090601f016020900481019282620010a05760008555620010ec565b82601f10620010bb57805160ff1916838001178555620010ec565b82800160010185558215620010ec579182015b82811115620010eb578251825591602001919060010190620010ce565b5b509050620010fb9190620010ff565b5090565b5b808211156200111a57600081600090555060010162001100565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62001187826200113c565b810181811067ffffffffffffffff82111715620011a957620011a86200114d565b5b80604052505050565b6000620011be6200111e565b9050620011cc82826200117c565b919050565b600067ffffffffffffffff821115620011ef57620011ee6200114d565b5b620011fa826200113c565b9050602081019050919050565b60005b83811015620012275780820151818401526020810190506200120a565b8381111562001237576000848401525b50505050565b6000620012546200124e84620011d1565b620011b2565b90508281526020810184848401111562001273576200127262001137565b5b6200128084828562001207565b509392505050565b600082601f830112620012a0576200129f62001132565b5b8151620012b28482602086016200123d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620012e882620012bb565b9050919050565b620012fa81620012db565b81146200130657600080fd5b50565b6000815190506200131a81620012ef565b92915050565b600080604083850312156200133a576200133962001128565b5b600083015167ffffffffffffffff8111156200135b576200135a6200112d565b5b620013698582860162001288565b92505060206200137c8582860162001309565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620013bd8162001386565b82525050565b6000602082019050620013da6000830184620013b2565b92915050565b60008115159050919050565b620013f781620013e0565b81146200140357600080fd5b50565b6000815190506200141781620013ec565b92915050565b60006020828403121562001436576200143562001128565b5b6000620014468482850162001406565b91505092915050565b600082825260208201905092915050565b7f4e6f742076616c696420636f6e74726163740000000000000000000000000000600082015250565b6000620014986012836200144f565b9150620014a58262001460565b602082019050919050565b60006020820190508181036000830152620014cb8162001489565b9050919050565b6000819050919050565b620014e781620014d2565b8114620014f357600080fd5b50565b6000815190506200150781620014dc565b92915050565b60006020828403121562001526576200152562001128565b5b60006200153684828501620014f6565b91505092915050565b7f416464726573732f73796d626f6c206d69736d61746368000000000000000000600082015250565b6000620015776017836200144f565b915062001584826200153f565b602082019050919050565b60006020820190508181036000830152620015aa8162001568565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620015e96020836200144f565b9150620015f682620015b1565b602082019050919050565b600060208201905081810360008301526200161c81620015da565b9050919050565b7f467265657a61626c653a2043616e6e6f7420706572666f726d206f706572617460008201527f696f6e206f6e636520636f6e74726163742069732066726f7a656e2e00000000602082015250565b600062001681603c836200144f565b91506200168e8262001623565b604082019050919050565b60006020820190508181036000830152620016b48162001672565b9050919050565b7f496e76616c6964206e756d20746f6b656e730000000000000000000000000000600082015250565b6000620016f36012836200144f565b91506200170082620016bb565b602082019050919050565b600060208201905081810360008301526200172681620016e4565b9050919050565b7f45786365656473206d6178206d696e7400000000000000000000000000000000600082015250565b6000620017656010836200144f565b915062001772826200172d565b602082019050919050565b60006020820190508181036000830152620017988162001756565b9050919050565b7f53616c6520696e61637469766500000000000000000000000000000000000000600082015250565b6000620017d7600d836200144f565b9150620017e4826200179f565b602082019050919050565b600060208201905081810360008301526200180a81620017c8565b9050919050565b7f496e636f7272656374207061796d656e74000000000000000000000000000000600082015250565b6000620018496011836200144f565b9150620018568262001811565b602082019050919050565b600060208201905081810360008301526200187c816200183a565b9050919050565b6000602082840312156200189c576200189b62001128565b5b600082015167ffffffffffffffff811115620018bd57620018bc6200112d565b5b620018cb8482850162001288565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200191082620014d2565b91506200191d83620014d2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620019595762001958620018d4565b5b828202905092915050565b60006200197182620014d2565b91506200197e83620014d2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620019b657620019b5620018d4565b5b828201905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b6000620019f9600e836200144f565b915062001a0682620019c1565b602082019050919050565b6000602082019050818103600083015262001a2c81620019ea565b9050919050565b600062001a4082620014d2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001a765762001a75620018d4565b5b600182019050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062001adf6032836200144f565b915062001aec8262001a81565b604082019050919050565b6000602082019050818103600083015262001b128162001ad0565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062001b516020836200144f565b915062001b5e8262001b19565b602082019050919050565b6000602082019050818103600083015262001b848162001b42565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062001bc3601c836200144f565b915062001bd08262001b8b565b602082019050919050565b6000602082019050818103600083015262001bf68162001bb4565b9050919050565b62001c0881620012db565b82525050565b62001c1981620014d2565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001c488262001c1f565b62001c54818562001c2a565b935062001c6681856020860162001207565b62001c71816200113c565b840191505092915050565b600060808201905062001c93600083018762001bfd565b62001ca2602083018662001bfd565b62001cb1604083018562001c0e565b818103606083015262001cc5818462001c3b565b905095945050505050565b62001cdb8162001386565b811462001ce757600080fd5b50565b60008151905062001cfb8162001cd0565b92915050565b60006020828403121562001d1a5762001d1962001128565b5b600062001d2a8482850162001cea565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062001d7b57607f821691505b6020821081141562001d925762001d9162001d33565b5b50919050565b615da58062001da86000396000f3fe6080604052600436106102c95760003560e01c8063841718a611610175578063b88d4fde116100dc578063dddc541b11610095578063f2fde38b1161006f578063f2fde38b14610b20578063fb8e666814610b49578063fd65528514610b74578063fef2ca6014610b9f576102c9565b8063dddc541b14610a91578063e6a86fb014610aba578063e985e9c514610ae3576102c9565b8063b88d4fde1461095b578063bab8fe4014610984578063c87b56dd146109af578063ce9bc9e1146109ec578063d3e4701514610a29578063d5abeb0114610a66576102c9565b806397304ced1161012e57806397304ced146108585780639dbb025414610874578063a035b1fe1461089f578063a22cb465146108ca578063a3864397146108f3578063a6ec699514610930576102c9565b8063841718a61461075c5780638462151c14610785578063853828b6146107c25780638da5cb5b146107d957806391b7f5ed1461080457806395d89b411461082d576102c9565b806342842e0e116102345780636352211e116101ed57806370a08231116101c757806370a08231146106a0578063715018a6146106dd578063721ca6dd146106f4578063797163ab1461071f576102c9565b80636352211e1461060f5780636c0360eb1461064c5780636f8b44b014610677576102c9565b806342842e0e146105135780634321b9be1461053c5780634657a4ed1461056757806351e2acc31461059257806355f804b3146105bb578063564566a8146105e4576102c9565b806318160ddd1161028657806318160ddd146104045780631e1021ec1461042f57806323b872dd146104585780632a55205a1461048157806330ea4199146104bf5780633732ad1c146104e8576102c9565b806301ffc9a7146102ce578063054f7d9c1461030b57806306fdde0314610336578063081812fc14610361578063095ea7b31461039e57806310b13a99146103c7575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613e3e565b610bc8565b6040516103029190613e86565b60405180910390f35b34801561031757600080fd5b50610320610c42565b60405161032d9190613e86565b60405180910390f35b34801561034257600080fd5b5061034b610c55565b6040516103589190613f3a565b60405180910390f35b34801561036d57600080fd5b5061038860048036038101906103839190613f92565b610ce7565b6040516103959190614000565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c09190614047565b610d6c565b005b3480156103d357600080fd5b506103ee60048036038101906103e99190613f92565b610e84565b6040516103fb9190614000565b60405180910390f35b34801561041057600080fd5b50610419610f0a565b6040516104269190614096565b60405180910390f35b34801561043b57600080fd5b50610456600480360381019061045191906141e6565b610f10565b005b34801561046457600080fd5b5061047f600480360381019061047a919061422f565b610ffc565b005b34801561048d57600080fd5b506104a860048036038101906104a39190614282565b61105c565b6040516104b69291906142c2565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190614317565b6110b3565b005b3480156104f457600080fd5b506104fd6111a2565b60405161050a9190613e86565b60405180910390f35b34801561051f57600080fd5b5061053a6004803603810190610535919061422f565b6111b5565b005b34801561054857600080fd5b506105516111d5565b60405161055e9190614000565b60405180910390f35b34801561057357600080fd5b5061057c6111fb565b6040516105899190614402565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613f92565b61120c565b005b3480156105c757600080fd5b506105e260048036038101906105dd91906141e6565b611292565b005b3480156105f057600080fd5b506105f961137e565b6040516106069190613e86565b60405180910390f35b34801561061b57600080fd5b5061063660048036038101906106319190613f92565b611391565b6040516106439190614000565b60405180910390f35b34801561065857600080fd5b50610661611443565b60405161066e9190613f3a565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613f92565b6114d1565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614424565b6115a9565b6040516106d49190614096565b60405180910390f35b3480156106e957600080fd5b506106f2611661565b005b34801561070057600080fd5b506107096116e9565b6040516107169190613f3a565b60405180910390f35b34801561072b57600080fd5b5061074660048036038101906107419190613f92565b611786565b6040516107539190614096565b60405180910390f35b34801561076857600080fd5b50610783600480360381019061077e9190614317565b6117fe565b005b34801561079157600080fd5b506107ac60048036038101906107a79190614424565b6118ed565b6040516107b99190614402565b60405180910390f35b3480156107ce57600080fd5b506107d76119e2565b005b3480156107e557600080fd5b506107ee611aa7565b6040516107fb9190614000565b60405180910390f35b34801561081057600080fd5b5061082b60048036038101906108269190613f92565b611ad1565b005b34801561083957600080fd5b50610842611b57565b60405161084f9190613f3a565b60405180910390f35b610872600480360381019061086d9190613f92565b611be9565b005b34801561088057600080fd5b50610889611dd9565b6040516108969190614402565b60405180910390f35b3480156108ab57600080fd5b506108b4611dea565b6040516108c19190614096565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190614451565b611df0565b005b3480156108ff57600080fd5b5061091a60048036038101906109159190613f92565b611e06565b60405161092791906144aa565b60405180910390f35b34801561093c57600080fd5b50610945611e90565b6040516109529190613f3a565b60405180910390f35b34801561096757600080fd5b50610982600480360381019061097d9190614566565b611f1e565b005b34801561099057600080fd5b50610999611f80565b6040516109a69190614402565b60405180910390f35b3480156109bb57600080fd5b506109d660048036038101906109d19190613f92565b6121f4565b6040516109e39190613f3a565b60405180910390f35b3480156109f857600080fd5b50610a136004803603810190610a0e9190613f92565b61229b565b604051610a209190613f3a565b60405180910390f35b348015610a3557600080fd5b50610a506004803603810190610a4b9190613f92565b612337565b604051610a5d9190613f3a565b60405180910390f35b348015610a7257600080fd5b50610a7b6123d3565b604051610a889190614096565b60405180910390f35b348015610a9d57600080fd5b50610ab86004803603810190610ab3919061462d565b6123d9565b005b348015610ac657600080fd5b50610ae16004803603810190610adc91906141e6565b612489565b005b348015610aef57600080fd5b50610b0a6004803603810190610b05919061465a565b6124e5565b604051610b179190613e86565b60405180910390f35b348015610b2c57600080fd5b50610b476004803603810190610b429190614424565b612579565b005b348015610b5557600080fd5b50610b5e612671565b604051610b6b9190613f3a565b60405180910390f35b348015610b8057600080fd5b50610b8961270e565b604051610b969190614096565b60405180910390f35b348015610bab57600080fd5b50610bc66004803603810190610bc19190614762565b612714565b005b6000610bd3826127b2565b80610c3b5750817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600660149054906101000a900460ff1681565b606060008054610c64906147da565b80601f0160208091040260200160405190810160405280929190818152602001828054610c90906147da565b8015610cdd5780601f10610cb257610100808354040283529160200191610cdd565b820191906000526020600020905b815481529060010190602001808311610cc057829003601f168201915b5050505050905090565b6000610cf282612894565b610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d289061487e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d7782611391565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf90614910565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e07612900565b73ffffffffffffffffffffffffffffffffffffffff161480610e365750610e3581610e30612900565b6124e5565b5b610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906149a2565b60405180910390fd5b610e7f8383612908565b505050565b6000806008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f0057610efb83611391565b610f02565b805b915050919050565b600b5481565b610f18612900565b73ffffffffffffffffffffffffffffffffffffffff16610f36611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8390614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff16151514610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990614aa0565b60405180910390fd5b80600a9080519060200190610ff8929190613d2f565b5050565b61100d611007612900565b826129c1565b61104c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104390614b32565b60405180910390fd5b611057838383612a9f565b505050565b600080611067611aa7565b612710600f60019054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168561109e9190614b81565b6110a89190614c0a565b915091509250929050565b6110bb612900565b73ffffffffffffffffffffffffffffffffffffffff166110d9611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461112f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112690614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90614aa0565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b601260009054906101000a900460ff1681565b6111d083838360405180602001604052806000815250611f1e565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606112076000612d06565b905090565b611214612900565b73ffffffffffffffffffffffffffffffffffffffff16611232611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90614a0e565b60405180910390fd5b80600d8190555050565b61129a612900565b73ffffffffffffffffffffffffffffffffffffffff166112b8611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90614aa0565b60405180910390fd5b806009908051906020019061137a929190613d2f565b5050565b600f60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561143a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143190614cad565b60405180910390fd5b80915050919050565b60098054611450906147da565b80601f016020809104026020016040519081016040528092919081815260200182805461147c906147da565b80156114c95780601f1061149e576101008083540402835291602001916114c9565b820191906000526020600020905b8154815290600101906020018083116114ac57829003601f168201915b505050505081565b6114d9612900565b73ffffffffffffffffffffffffffffffffffffffff166114f7611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490614a0e565b60405180910390fd5b600c54811080156115605750600b548110155b61159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690614d19565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161190614dab565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611669612900565b73ffffffffffffffffffffffffffffffffffffffff16611687611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490614a0e565b60405180910390fd5b6116e76000612e4d565b565b6060601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015611758573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117819190614e3b565b905090565b6000808290505b60008111156117e1576000600760008381526020019081526020016000205411156117ce5760076000828152602001908152602001600020549150506117f9565b80806117d990614e84565b91505061178d565b50600760008081526020019081526020016000205490505b919050565b611806612900565b73ffffffffffffffffffffffffffffffffffffffff16611824611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461187a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187190614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff161515146118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c790614aa0565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b606060006118fa836115a9565b905060008167ffffffffffffffff811115611918576119176140bb565b5b6040519080825280602002602001820160405280156119465781602001602082028036833780820191505090505b5090506000805b600b548110156119d6578573ffffffffffffffffffffffffffffffffffffffff1661197782611391565b73ffffffffffffffffffffffffffffffffffffffff1614156119c357808383815181106119a7576119a6614eae565b5b6020026020010181815250506001826119c09190614edd565b91505b80806119ce90614f33565b91505061194d565b50819350505050919050565b6119ea612900565b73ffffffffffffffffffffffffffffffffffffffff16611a08611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5590614a0e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611aa4573d6000803e3d6000fd5b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ad9612900565b73ffffffffffffffffffffffffffffffffffffffff16611af7611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4490614a0e565b60405180910390fd5b80600e8190555050565b606060018054611b66906147da565b80601f0160208091040260200160405190810160405280929190818152602001828054611b92906147da565b8015611bdf5780601f10611bb457610100808354040283529160200191611bdf565b820191906000526020600020905b815481529060010190602001808311611bc257829003601f168201915b5050505050905090565b611bf1611aa7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c2a5750600081115b611c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6090614fc8565b60405180910390fd5b611c71611aa7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611cac5750600d548111155b611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290615034565b60405180910390fd5b611cf3611aa7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d385750600f60009054906101000a900460ff165b611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e906150a0565b60405180910390fd5b611d8c600e548261277990919063ffffffff16565b3414611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc49061510c565b60405180910390fd5b611dd681612f13565b50565b6060611de56001612d06565b905090565b600e5481565b611e02611dfb612900565b8383612fc2565b5050565b6000600b548210611e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4390615178565b60405180910390fd5b30611e5683611786565b611e5f84610e84565b84604051602001611e739493929190615201565b604051602081830303815290604052805190602001209050919050565b600a8054611e9d906147da565b80601f0160208091040260200160405190810160405280929190818152602001828054611ec9906147da565b8015611f165780601f10611eeb57610100808354040283529160200191611f16565b820191906000526020600020905b815481529060010190602001808311611ef957829003601f168201915b505050505081565b611f2f611f29612900565b836129c1565b611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614b32565b60405180910390fd5b611f7a8484848461312f565b50505050565b60606000611f8c61318b565b905060008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fff9190615264565b905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161203c9190614000565b602060405180830381865afa158015612059573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207d9190615264565b67ffffffffffffffff811115612096576120956140bb565b5b6040519080825280602002602001820160405280156120c45781602001602082028036833780820191505090505b5090506000805b838110156121e0573373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121239190614096565b602060405180830381865afa158015612140573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216491906152a6565b73ffffffffffffffffffffffffffffffffffffffff1614801561219857506121968160116131b590919063ffffffff16565b155b156121cd57808383815181106121b1576121b0614eae565b5b6020026020010181815250506001826121ca9190614edd565b91505b80806121d890614f33565b9150506120cb565b506121eb82826131f1565b94505050505090565b60606121ff82612894565b61223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590615345565b60405180910390fd5b60006122486132a3565b905060008151116122685760405180602001604052806000815250612293565b8061227284613335565b6040516020016122839291906153a1565b6040516020818303038152906040525b915050919050565b606073cd593aa419b16dfee72b8ed35db5eb8ac4ab18cc633d5e8e836122bf610c55565b846122c986611e06565b600a6040518563ffffffff1660e01b81526004016122ea94939291906154c2565b600060405180830381865af4158015612307573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906123309190614e3b565b9050919050565b606073cd593aa419b16dfee72b8ed35db5eb8ac4ab18cc6383708d3f61235b610c55565b8461236586611e06565b600a6040518563ffffffff1660e01b815260040161238694939291906154c2565b600060405180830381865af41580156123a3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906123cc9190614e3b565b9050919050565b600c5481565b6123e1612900565b73ffffffffffffffffffffffffffffffffffffffff166123ff611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614612455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244c90614a0e565b60405180910390fd5b80600f60016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b601260009054906101000a900460ff16156124d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d090615561565b60405180910390fd5b6124e281613496565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612581612900565b73ffffffffffffffffffffffffffffffffffffffff1661259f611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec90614a0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c906155f3565b60405180910390fd5b61266e81612e4d565b50565b6060601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa1580156126e0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127099190614e3b565b905090565b600d5481565b601260009054906101000a900460ff16612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a9061565f565b60405180910390fd5b61276c816135f2565b6127768151612f13565b50565b600081836127879190614b81565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061287d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061288d575061288c82613791565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661297b83611391565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129cc82612894565b612a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a02906156f1565b60405180910390fd5b6000612a1683611391565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a8557508373ffffffffffffffffffffffffffffffffffffffff16612a6d84610ce7565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a965750612a9581856124e5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612abf82611391565b73ffffffffffffffffffffffffffffffffffffffff1614612b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0c90615783565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90615815565b60405180910390fd5b612b908383836137fb565b612b9b600082612908565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612beb9190615835565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c429190614edd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d018383836138f4565b505050565b60606000612d1261318b565b73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d809190615264565b67ffffffffffffffff811115612d9957612d986140bb565b5b604051908082528060200260200182016040528015612dc75781602001602082028036833780820191505090505b5090506000805b8251811015612e3957841515612dee8260116131b590919063ffffffff16565b15151415612e265780838381518110612e0a57612e09614eae565b5b602002602001018181525050600182612e239190614edd565b91505b8080612e3190614f33565b915050612dce565b50612e4482826131f1565b92505050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c5481600b54612f249190614edd565b1115612f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5c906158b5565b60405180910390fd5b4360076000600b5481526020019081526020016000208190555060005b81811015612fbe57612f9633600b546138f9565b6001600b54612fa59190614edd565b600b819055508080612fb690614f33565b915050612f82565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302890615921565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131229190613e86565b60405180910390a3505050565b61313a848484612a9f565b61314684848484613917565b613185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317c906159b3565b60405180910390fd5b50505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b606060008267ffffffffffffffff81111561320f5761320e6140bb565b5b60405190808252806020026020018201604052801561323d5781602001602082028036833780820191505090505b50905060005b838110156132985784818151811061325e5761325d614eae565b5b602002602001015182828151811061327957613278614eae565b5b602002602001018181525050808061329090614f33565b915050613243565b508091505092915050565b6060600980546132b2906147da565b80601f01602080910402602001604051908101604052809291908181526020018280546132de906147da565b801561332b5780601f106133005761010080835404028352916020019161332b565b820191906000526020600020905b81548152906001019060200180831161330e57829003601f168201915b5050505050905090565b6060600082141561337d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613491565b600082905060005b600082146133af57808061339890614f33565b915050600a826133a89190614c0a565b9150613385565b60008167ffffffffffffffff8111156133cb576133ca6140bb565b5b6040519080825280601f01601f1916602001820160405280156133fd5781602001600182028036833780820191505090505b5090505b6000851461348a576001826134169190615835565b9150600a8561342591906159d3565b60306134319190614edd565b60f81b81838151811061344757613446614eae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134839190614c0a565b9450613401565b8093505050505b919050565b61349e612900565b73ffffffffffffffffffffffffffffffffffffffff166134bc611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614613512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350990614a0e565b60405180910390fd5b600f60009054906101000a900460ff1615613562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355990615a50565b60405180910390fd5b6040518060400160405280601381526020017f636f6e6669726d656420746f20667265657a6500000000000000000000000000815250805190602001208180519060200120146135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de90615abc565b60405180910390fd5b6135ef613a9f565b50565b60006135fc61318b565b905060005b825181101561378c57600083828151811061361f5761361e614eae565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016136799190614096565b602060405180830381865afa158015613696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ba91906152a6565b73ffffffffffffffffffffffffffffffffffffffff1614613710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370790615b28565b60405180910390fd5b6137248160116131b590919063ffffffff16565b15613764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375b90615b94565b60405180910390fd5b613778816011613abc90919063ffffffff16565b50808061378490614f33565b915050613601565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156138975750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156138ef57826008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b505050565b613913828260405180602001604052806000815250613afa565b5050565b60006139388473ffffffffffffffffffffffffffffffffffffffff1661278f565b15613a92578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613961612900565b8786866040518563ffffffff1660e01b81526004016139839493929190615c09565b6020604051808303816000875af19250505080156139bf57506040513d601f19601f820116820180604052508101906139bc9190615c6a565b60015b613a42573d80600081146139ef576040519150601f19603f3d011682016040523d82523d6000602084013e6139f4565b606091505b50600081511415613a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a31906159b3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a97565b600190505b949350505050565b6001600660146101000a81548160ff021916908315150217905550565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b613b048383613b55565b613b116000848484613917565b613b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b47906159b3565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bbc90615ce3565b60405180910390fd5b613bce81612894565b15613c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0590615d4f565b60405180910390fd5b613c1a600083836137fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c6a9190614edd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d2b600083836138f4565b5050565b828054613d3b906147da565b90600052602060002090601f016020900481019282613d5d5760008555613da4565b82601f10613d7657805160ff1916838001178555613da4565b82800160010185558215613da4579182015b82811115613da3578251825591602001919060010190613d88565b5b509050613db19190613db5565b5090565b5b80821115613dce576000816000905550600101613db6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e1b81613de6565b8114613e2657600080fd5b50565b600081359050613e3881613e12565b92915050565b600060208284031215613e5457613e53613ddc565b5b6000613e6284828501613e29565b91505092915050565b60008115159050919050565b613e8081613e6b565b82525050565b6000602082019050613e9b6000830184613e77565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613edb578082015181840152602081019050613ec0565b83811115613eea576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f0c82613ea1565b613f168185613eac565b9350613f26818560208601613ebd565b613f2f81613ef0565b840191505092915050565b60006020820190508181036000830152613f548184613f01565b905092915050565b6000819050919050565b613f6f81613f5c565b8114613f7a57600080fd5b50565b600081359050613f8c81613f66565b92915050565b600060208284031215613fa857613fa7613ddc565b5b6000613fb684828501613f7d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fea82613fbf565b9050919050565b613ffa81613fdf565b82525050565b60006020820190506140156000830184613ff1565b92915050565b61402481613fdf565b811461402f57600080fd5b50565b6000813590506140418161401b565b92915050565b6000806040838503121561405e5761405d613ddc565b5b600061406c85828601614032565b925050602061407d85828601613f7d565b9150509250929050565b61409081613f5c565b82525050565b60006020820190506140ab6000830184614087565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140f382613ef0565b810181811067ffffffffffffffff82111715614112576141116140bb565b5b80604052505050565b6000614125613dd2565b905061413182826140ea565b919050565b600067ffffffffffffffff821115614151576141506140bb565b5b61415a82613ef0565b9050602081019050919050565b82818337600083830152505050565b600061418961418484614136565b61411b565b9050828152602081018484840111156141a5576141a46140b6565b5b6141b0848285614167565b509392505050565b600082601f8301126141cd576141cc6140b1565b5b81356141dd848260208601614176565b91505092915050565b6000602082840312156141fc576141fb613ddc565b5b600082013567ffffffffffffffff81111561421a57614219613de1565b5b614226848285016141b8565b91505092915050565b60008060006060848603121561424857614247613ddc565b5b600061425686828701614032565b935050602061426786828701614032565b925050604061427886828701613f7d565b9150509250925092565b6000806040838503121561429957614298613ddc565b5b60006142a785828601613f7d565b92505060206142b885828601613f7d565b9150509250929050565b60006040820190506142d76000830185613ff1565b6142e46020830184614087565b9392505050565b6142f481613e6b565b81146142ff57600080fd5b50565b600081359050614311816142eb565b92915050565b60006020828403121561432d5761432c613ddc565b5b600061433b84828501614302565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61437981613f5c565b82525050565b600061438b8383614370565b60208301905092915050565b6000602082019050919050565b60006143af82614344565b6143b9818561434f565b93506143c483614360565b8060005b838110156143f55781516143dc888261437f565b97506143e783614397565b9250506001810190506143c8565b5085935050505092915050565b6000602082019050818103600083015261441c81846143a4565b905092915050565b60006020828403121561443a57614439613ddc565b5b600061444884828501614032565b91505092915050565b6000806040838503121561446857614467613ddc565b5b600061447685828601614032565b925050602061448785828601614302565b9150509250929050565b6000819050919050565b6144a481614491565b82525050565b60006020820190506144bf600083018461449b565b92915050565b600067ffffffffffffffff8211156144e0576144df6140bb565b5b6144e982613ef0565b9050602081019050919050565b6000614509614504846144c5565b61411b565b905082815260208101848484011115614525576145246140b6565b5b614530848285614167565b509392505050565b600082601f83011261454d5761454c6140b1565b5b813561455d8482602086016144f6565b91505092915050565b600080600080608085870312156145805761457f613ddc565b5b600061458e87828801614032565b945050602061459f87828801614032565b93505060406145b087828801613f7d565b925050606085013567ffffffffffffffff8111156145d1576145d0613de1565b5b6145dd87828801614538565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61460a816145e9565b811461461557600080fd5b50565b60008135905061462781614601565b92915050565b60006020828403121561464357614642613ddc565b5b600061465184828501614618565b91505092915050565b6000806040838503121561467157614670613ddc565b5b600061467f85828601614032565b925050602061469085828601614032565b9150509250929050565b600067ffffffffffffffff8211156146b5576146b46140bb565b5b602082029050602081019050919050565b600080fd5b60006146de6146d98461469a565b61411b565b90508083825260208201905060208402830185811115614701576147006146c6565b5b835b8181101561472a57806147168882613f7d565b845260208401935050602081019050614703565b5050509392505050565b600082601f830112614749576147486140b1565b5b81356147598482602086016146cb565b91505092915050565b60006020828403121561477857614777613ddc565b5b600082013567ffffffffffffffff81111561479657614795613de1565b5b6147a284828501614734565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147f257607f821691505b60208210811415614806576148056147ab565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614868602c83613eac565b91506148738261480c565b604082019050919050565b600060208201905081810360008301526148978161485b565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006148fa602183613eac565b91506149058261489e565b604082019050919050565b60006020820190508181036000830152614929816148ed565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061498c603883613eac565b915061499782614930565b604082019050919050565b600060208201905081810360008301526149bb8161497f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149f8602083613eac565b9150614a03826149c2565b602082019050919050565b60006020820190508181036000830152614a27816149eb565b9050919050565b7f467265657a61626c653a2043616e6e6f7420706572666f726d206f706572617460008201527f696f6e206f6e636520636f6e74726163742069732066726f7a656e2e00000000602082015250565b6000614a8a603c83613eac565b9150614a9582614a2e565b604082019050919050565b60006020820190508181036000830152614ab981614a7d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614b1c603183613eac565b9150614b2782614ac0565b604082019050919050565b60006020820190508181036000830152614b4b81614b0f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b8c82613f5c565b9150614b9783613f5c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bd057614bcf614b52565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c1582613f5c565b9150614c2083613f5c565b925082614c3057614c2f614bdb565b5b828204905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614c97602983613eac565b9150614ca282614c3b565b604082019050919050565b60006020820190508181036000830152614cc681614c8a565b9050919050565b7f496e76616c6964206d617820737570706c790000000000000000000000000000600082015250565b6000614d03601283613eac565b9150614d0e82614ccd565b602082019050919050565b60006020820190508181036000830152614d3281614cf6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614d95602a83613eac565b9150614da082614d39565b604082019050919050565b60006020820190508181036000830152614dc481614d88565b9050919050565b6000614dde614dd984614136565b61411b565b905082815260208101848484011115614dfa57614df96140b6565b5b614e05848285613ebd565b509392505050565b600082601f830112614e2257614e216140b1565b5b8151614e32848260208601614dcb565b91505092915050565b600060208284031215614e5157614e50613ddc565b5b600082015167ffffffffffffffff811115614e6f57614e6e613de1565b5b614e7b84828501614e0d565b91505092915050565b6000614e8f82613f5c565b91506000821415614ea357614ea2614b52565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614ee882613f5c565b9150614ef383613f5c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f2857614f27614b52565b5b828201905092915050565b6000614f3e82613f5c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f7157614f70614b52565b5b600182019050919050565b7f496e76616c6964206e756d20746f6b656e730000000000000000000000000000600082015250565b6000614fb2601283613eac565b9150614fbd82614f7c565b602082019050919050565b60006020820190508181036000830152614fe181614fa5565b9050919050565b7f45786365656473206d6178206d696e7400000000000000000000000000000000600082015250565b600061501e601083613eac565b915061502982614fe8565b602082019050919050565b6000602082019050818103600083015261504d81615011565b9050919050565b7f53616c6520696e61637469766500000000000000000000000000000000000000600082015250565b600061508a600d83613eac565b915061509582615054565b602082019050919050565b600060208201905081810360008301526150b98161507d565b9050919050565b7f496e636f7272656374207061796d656e74000000000000000000000000000000600082015250565b60006150f6601183613eac565b9150615101826150c0565b602082019050919050565b60006020820190508181036000830152615125816150e9565b9050919050565b7f496e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b6000615162600d83613eac565b915061516d8261512c565b602082019050919050565b6000602082019050818103600083015261519181615155565b9050919050565b60008160601b9050919050565b60006151b082615198565b9050919050565b60006151c2826151a5565b9050919050565b6151da6151d582613fdf565b6151b7565b82525050565b6000819050919050565b6151fb6151f682613f5c565b6151e0565b82525050565b600061520d82876151c9565b60148201915061521d82866151ea565b60208201915061522d82856151c9565b60148201915061523d82846151ea565b60208201915081905095945050505050565b60008151905061525e81613f66565b92915050565b60006020828403121561527a57615279613ddc565b5b60006152888482850161524f565b91505092915050565b6000815190506152a08161401b565b92915050565b6000602082840312156152bc576152bb613ddc565b5b60006152ca84828501615291565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061532f602f83613eac565b915061533a826152d3565b604082019050919050565b6000602082019050818103600083015261535e81615322565b9050919050565b600081905092915050565b600061537b82613ea1565b6153858185615365565b9350615395818560208601613ebd565b80840191505092915050565b60006153ad8285615370565b91506153b98284615370565b91508190509392505050565b600082825260208201905092915050565b60006153e182613ea1565b6153eb81856153c5565b93506153fb818560208601613ebd565b61540481613ef0565b840191505092915050565b61541881613f5c565b82525050565b61542781614491565b82525050565b60008190508160005260206000209050919050565b6000815461544f816147da565b61545981866153c5565b945060018216600081146154745760018114615486576154b9565b60ff19831686526020860193506154b9565b61548f8561542d565b60005b838110156154b157815481890152600182019150602081019050615492565b808801955050505b50505092915050565b600060808201905081810360008301526154dc81876153d6565b90506154eb602083018661540f565b6154f8604083018561541e565b818103606083015261550a8184615442565b905095945050505050565b7f436c61696d696e67206163746976650000000000000000000000000000000000600082015250565b600061554b600f83613eac565b915061555682615515565b602082019050919050565b6000602082019050818103600083015261557a8161553e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155dd602683613eac565b91506155e882615581565b604082019050919050565b6000602082019050818103600083015261560c816155d0565b9050919050565b7f436c61696d696e6720696e616374697665000000000000000000000000000000600082015250565b6000615649601183613eac565b915061565482615613565b602082019050919050565b600060208201905081810360008301526156788161563c565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006156db602c83613eac565b91506156e68261567f565b604082019050919050565b6000602082019050818103600083015261570a816156ce565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061576d602583613eac565b915061577882615711565b604082019050919050565b6000602082019050818103600083015261579c81615760565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157ff602483613eac565b915061580a826157a3565b604082019050919050565b6000602082019050818103600083015261582e816157f2565b9050919050565b600061584082613f5c565b915061584b83613f5c565b92508282101561585e5761585d614b52565b5b828203905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b600061589f600e83613eac565b91506158aa82615869565b602082019050919050565b600060208201905081810360008301526158ce81615892565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061590b601983613eac565b9150615916826158d5565b602082019050919050565b6000602082019050818103600083015261593a816158fe565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061599d603283613eac565b91506159a882615941565b604082019050919050565b600060208201905081810360008301526159cc81615990565b9050919050565b60006159de82613f5c565b91506159e983613f5c565b9250826159f9576159f8614bdb565b5b828206905092915050565b7f53616c6520616374697665000000000000000000000000000000000000000000600082015250565b6000615a3a600b83613eac565b9150615a4582615a04565b602082019050919050565b60006020820190508181036000830152615a6981615a2d565b9050919050565b7f496e76616c696420636f6e6669726d6174696f6e000000000000000000000000600082015250565b6000615aa6601483613eac565b9150615ab182615a70565b602082019050919050565b60006020820190508181036000830152615ad581615a99565b9050919050565b7f546f6b656e206e6f74206f776e65640000000000000000000000000000000000600082015250565b6000615b12600f83613eac565b9150615b1d82615adc565b602082019050919050565b60006020820190508181036000830152615b4181615b05565b9050919050565b7f546f6b656e20616c726561647920636c61696d65640000000000000000000000600082015250565b6000615b7e601583613eac565b9150615b8982615b48565b602082019050919050565b60006020820190508181036000830152615bad81615b71565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bdb82615bb4565b615be58185615bbf565b9350615bf5818560208601613ebd565b615bfe81613ef0565b840191505092915050565b6000608082019050615c1e6000830187613ff1565b615c2b6020830186613ff1565b615c386040830185614087565b8181036060830152615c4a8184615bd0565b905095945050505050565b600081519050615c6481613e12565b92915050565b600060208284031215615c8057615c7f613ddc565b5b6000615c8e84828501615c55565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ccd602083613eac565b9150615cd882615c97565b602082019050919050565b60006020820190508181036000830152615cfc81615cc0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d39601c83613eac565b9150615d4482615d03565b602082019050919050565b60006020820190508181036000830152615d6881615d2c565b905091905056fea264697066735822122008310e917f21994434b31dfe84b5144386735c9534337e1466c4a9ebec58d9a564736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000046f1c444a9b10173c52ee7351eba1e49c8bc5851000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f6d696e696d697a65722e6172742f6d657461646174612f312f00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102c95760003560e01c8063841718a611610175578063b88d4fde116100dc578063dddc541b11610095578063f2fde38b1161006f578063f2fde38b14610b20578063fb8e666814610b49578063fd65528514610b74578063fef2ca6014610b9f576102c9565b8063dddc541b14610a91578063e6a86fb014610aba578063e985e9c514610ae3576102c9565b8063b88d4fde1461095b578063bab8fe4014610984578063c87b56dd146109af578063ce9bc9e1146109ec578063d3e4701514610a29578063d5abeb0114610a66576102c9565b806397304ced1161012e57806397304ced146108585780639dbb025414610874578063a035b1fe1461089f578063a22cb465146108ca578063a3864397146108f3578063a6ec699514610930576102c9565b8063841718a61461075c5780638462151c14610785578063853828b6146107c25780638da5cb5b146107d957806391b7f5ed1461080457806395d89b411461082d576102c9565b806342842e0e116102345780636352211e116101ed57806370a08231116101c757806370a08231146106a0578063715018a6146106dd578063721ca6dd146106f4578063797163ab1461071f576102c9565b80636352211e1461060f5780636c0360eb1461064c5780636f8b44b014610677576102c9565b806342842e0e146105135780634321b9be1461053c5780634657a4ed1461056757806351e2acc31461059257806355f804b3146105bb578063564566a8146105e4576102c9565b806318160ddd1161028657806318160ddd146104045780631e1021ec1461042f57806323b872dd146104585780632a55205a1461048157806330ea4199146104bf5780633732ad1c146104e8576102c9565b806301ffc9a7146102ce578063054f7d9c1461030b57806306fdde0314610336578063081812fc14610361578063095ea7b31461039e57806310b13a99146103c7575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613e3e565b610bc8565b6040516103029190613e86565b60405180910390f35b34801561031757600080fd5b50610320610c42565b60405161032d9190613e86565b60405180910390f35b34801561034257600080fd5b5061034b610c55565b6040516103589190613f3a565b60405180910390f35b34801561036d57600080fd5b5061038860048036038101906103839190613f92565b610ce7565b6040516103959190614000565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c09190614047565b610d6c565b005b3480156103d357600080fd5b506103ee60048036038101906103e99190613f92565b610e84565b6040516103fb9190614000565b60405180910390f35b34801561041057600080fd5b50610419610f0a565b6040516104269190614096565b60405180910390f35b34801561043b57600080fd5b50610456600480360381019061045191906141e6565b610f10565b005b34801561046457600080fd5b5061047f600480360381019061047a919061422f565b610ffc565b005b34801561048d57600080fd5b506104a860048036038101906104a39190614282565b61105c565b6040516104b69291906142c2565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190614317565b6110b3565b005b3480156104f457600080fd5b506104fd6111a2565b60405161050a9190613e86565b60405180910390f35b34801561051f57600080fd5b5061053a6004803603810190610535919061422f565b6111b5565b005b34801561054857600080fd5b506105516111d5565b60405161055e9190614000565b60405180910390f35b34801561057357600080fd5b5061057c6111fb565b6040516105899190614402565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613f92565b61120c565b005b3480156105c757600080fd5b506105e260048036038101906105dd91906141e6565b611292565b005b3480156105f057600080fd5b506105f961137e565b6040516106069190613e86565b60405180910390f35b34801561061b57600080fd5b5061063660048036038101906106319190613f92565b611391565b6040516106439190614000565b60405180910390f35b34801561065857600080fd5b50610661611443565b60405161066e9190613f3a565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613f92565b6114d1565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614424565b6115a9565b6040516106d49190614096565b60405180910390f35b3480156106e957600080fd5b506106f2611661565b005b34801561070057600080fd5b506107096116e9565b6040516107169190613f3a565b60405180910390f35b34801561072b57600080fd5b5061074660048036038101906107419190613f92565b611786565b6040516107539190614096565b60405180910390f35b34801561076857600080fd5b50610783600480360381019061077e9190614317565b6117fe565b005b34801561079157600080fd5b506107ac60048036038101906107a79190614424565b6118ed565b6040516107b99190614402565b60405180910390f35b3480156107ce57600080fd5b506107d76119e2565b005b3480156107e557600080fd5b506107ee611aa7565b6040516107fb9190614000565b60405180910390f35b34801561081057600080fd5b5061082b60048036038101906108269190613f92565b611ad1565b005b34801561083957600080fd5b50610842611b57565b60405161084f9190613f3a565b60405180910390f35b610872600480360381019061086d9190613f92565b611be9565b005b34801561088057600080fd5b50610889611dd9565b6040516108969190614402565b60405180910390f35b3480156108ab57600080fd5b506108b4611dea565b6040516108c19190614096565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190614451565b611df0565b005b3480156108ff57600080fd5b5061091a60048036038101906109159190613f92565b611e06565b60405161092791906144aa565b60405180910390f35b34801561093c57600080fd5b50610945611e90565b6040516109529190613f3a565b60405180910390f35b34801561096757600080fd5b50610982600480360381019061097d9190614566565b611f1e565b005b34801561099057600080fd5b50610999611f80565b6040516109a69190614402565b60405180910390f35b3480156109bb57600080fd5b506109d660048036038101906109d19190613f92565b6121f4565b6040516109e39190613f3a565b60405180910390f35b3480156109f857600080fd5b50610a136004803603810190610a0e9190613f92565b61229b565b604051610a209190613f3a565b60405180910390f35b348015610a3557600080fd5b50610a506004803603810190610a4b9190613f92565b612337565b604051610a5d9190613f3a565b60405180910390f35b348015610a7257600080fd5b50610a7b6123d3565b604051610a889190614096565b60405180910390f35b348015610a9d57600080fd5b50610ab86004803603810190610ab3919061462d565b6123d9565b005b348015610ac657600080fd5b50610ae16004803603810190610adc91906141e6565b612489565b005b348015610aef57600080fd5b50610b0a6004803603810190610b05919061465a565b6124e5565b604051610b179190613e86565b60405180910390f35b348015610b2c57600080fd5b50610b476004803603810190610b429190614424565b612579565b005b348015610b5557600080fd5b50610b5e612671565b604051610b6b9190613f3a565b60405180910390f35b348015610b8057600080fd5b50610b8961270e565b604051610b969190614096565b60405180910390f35b348015610bab57600080fd5b50610bc66004803603810190610bc19190614762565b612714565b005b6000610bd3826127b2565b80610c3b5750817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600660149054906101000a900460ff1681565b606060008054610c64906147da565b80601f0160208091040260200160405190810160405280929190818152602001828054610c90906147da565b8015610cdd5780601f10610cb257610100808354040283529160200191610cdd565b820191906000526020600020905b815481529060010190602001808311610cc057829003601f168201915b5050505050905090565b6000610cf282612894565b610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d289061487e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d7782611391565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf90614910565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e07612900565b73ffffffffffffffffffffffffffffffffffffffff161480610e365750610e3581610e30612900565b6124e5565b5b610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c906149a2565b60405180910390fd5b610e7f8383612908565b505050565b6000806008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f0057610efb83611391565b610f02565b805b915050919050565b600b5481565b610f18612900565b73ffffffffffffffffffffffffffffffffffffffff16610f36611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8390614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff16151514610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990614aa0565b60405180910390fd5b80600a9080519060200190610ff8929190613d2f565b5050565b61100d611007612900565b826129c1565b61104c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104390614b32565b60405180910390fd5b611057838383612a9f565b505050565b600080611067611aa7565b612710600f60019054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168561109e9190614b81565b6110a89190614c0a565b915091509250929050565b6110bb612900565b73ffffffffffffffffffffffffffffffffffffffff166110d9611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461112f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112690614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90614aa0565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b601260009054906101000a900460ff1681565b6111d083838360405180602001604052806000815250611f1e565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606112076000612d06565b905090565b611214612900565b73ffffffffffffffffffffffffffffffffffffffff16611232611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90614a0e565b60405180910390fd5b80600d8190555050565b61129a612900565b73ffffffffffffffffffffffffffffffffffffffff166112b8611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff16151514611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90614aa0565b60405180910390fd5b806009908051906020019061137a929190613d2f565b5050565b600f60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561143a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143190614cad565b60405180910390fd5b80915050919050565b60098054611450906147da565b80601f016020809104026020016040519081016040528092919081815260200182805461147c906147da565b80156114c95780601f1061149e576101008083540402835291602001916114c9565b820191906000526020600020905b8154815290600101906020018083116114ac57829003601f168201915b505050505081565b6114d9612900565b73ffffffffffffffffffffffffffffffffffffffff166114f7611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490614a0e565b60405180910390fd5b600c54811080156115605750600b548110155b61159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159690614d19565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161190614dab565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611669612900565b73ffffffffffffffffffffffffffffffffffffffff16611687611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490614a0e565b60405180910390fd5b6116e76000612e4d565b565b6060601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015611758573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117819190614e3b565b905090565b6000808290505b60008111156117e1576000600760008381526020019081526020016000205411156117ce5760076000828152602001908152602001600020549150506117f9565b80806117d990614e84565b91505061178d565b50600760008081526020019081526020016000205490505b919050565b611806612900565b73ffffffffffffffffffffffffffffffffffffffff16611824611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461187a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187190614a0e565b60405180910390fd5b60001515600660149054906101000a900460ff161515146118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c790614aa0565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b606060006118fa836115a9565b905060008167ffffffffffffffff811115611918576119176140bb565b5b6040519080825280602002602001820160405280156119465781602001602082028036833780820191505090505b5090506000805b600b548110156119d6578573ffffffffffffffffffffffffffffffffffffffff1661197782611391565b73ffffffffffffffffffffffffffffffffffffffff1614156119c357808383815181106119a7576119a6614eae565b5b6020026020010181815250506001826119c09190614edd565b91505b80806119ce90614f33565b91505061194d565b50819350505050919050565b6119ea612900565b73ffffffffffffffffffffffffffffffffffffffff16611a08611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5590614a0e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611aa4573d6000803e3d6000fd5b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ad9612900565b73ffffffffffffffffffffffffffffffffffffffff16611af7611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4490614a0e565b60405180910390fd5b80600e8190555050565b606060018054611b66906147da565b80601f0160208091040260200160405190810160405280929190818152602001828054611b92906147da565b8015611bdf5780601f10611bb457610100808354040283529160200191611bdf565b820191906000526020600020905b815481529060010190602001808311611bc257829003601f168201915b5050505050905090565b611bf1611aa7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c2a5750600081115b611c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6090614fc8565b60405180910390fd5b611c71611aa7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611cac5750600d548111155b611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290615034565b60405180910390fd5b611cf3611aa7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d385750600f60009054906101000a900460ff165b611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e906150a0565b60405180910390fd5b611d8c600e548261277990919063ffffffff16565b3414611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc49061510c565b60405180910390fd5b611dd681612f13565b50565b6060611de56001612d06565b905090565b600e5481565b611e02611dfb612900565b8383612fc2565b5050565b6000600b548210611e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4390615178565b60405180910390fd5b30611e5683611786565b611e5f84610e84565b84604051602001611e739493929190615201565b604051602081830303815290604052805190602001209050919050565b600a8054611e9d906147da565b80601f0160208091040260200160405190810160405280929190818152602001828054611ec9906147da565b8015611f165780601f10611eeb57610100808354040283529160200191611f16565b820191906000526020600020905b815481529060010190602001808311611ef957829003601f168201915b505050505081565b611f2f611f29612900565b836129c1565b611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614b32565b60405180910390fd5b611f7a8484848461312f565b50505050565b60606000611f8c61318b565b905060008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fff9190615264565b905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161203c9190614000565b602060405180830381865afa158015612059573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207d9190615264565b67ffffffffffffffff811115612096576120956140bb565b5b6040519080825280602002602001820160405280156120c45781602001602082028036833780820191505090505b5090506000805b838110156121e0573373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121239190614096565b602060405180830381865afa158015612140573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216491906152a6565b73ffffffffffffffffffffffffffffffffffffffff1614801561219857506121968160116131b590919063ffffffff16565b155b156121cd57808383815181106121b1576121b0614eae565b5b6020026020010181815250506001826121ca9190614edd565b91505b80806121d890614f33565b9150506120cb565b506121eb82826131f1565b94505050505090565b60606121ff82612894565b61223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590615345565b60405180910390fd5b60006122486132a3565b905060008151116122685760405180602001604052806000815250612293565b8061227284613335565b6040516020016122839291906153a1565b6040516020818303038152906040525b915050919050565b606073cd593aa419b16dfee72b8ed35db5eb8ac4ab18cc633d5e8e836122bf610c55565b846122c986611e06565b600a6040518563ffffffff1660e01b81526004016122ea94939291906154c2565b600060405180830381865af4158015612307573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906123309190614e3b565b9050919050565b606073cd593aa419b16dfee72b8ed35db5eb8ac4ab18cc6383708d3f61235b610c55565b8461236586611e06565b600a6040518563ffffffff1660e01b815260040161238694939291906154c2565b600060405180830381865af41580156123a3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906123cc9190614e3b565b9050919050565b600c5481565b6123e1612900565b73ffffffffffffffffffffffffffffffffffffffff166123ff611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614612455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244c90614a0e565b60405180910390fd5b80600f60016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b601260009054906101000a900460ff16156124d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d090615561565b60405180910390fd5b6124e281613496565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612581612900565b73ffffffffffffffffffffffffffffffffffffffff1661259f611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec90614a0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c906155f3565b60405180910390fd5b61266e81612e4d565b50565b6060601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa1580156126e0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127099190614e3b565b905090565b600d5481565b601260009054906101000a900460ff16612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a9061565f565b60405180910390fd5b61276c816135f2565b6127768151612f13565b50565b600081836127879190614b81565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061287d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061288d575061288c82613791565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661297b83611391565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129cc82612894565b612a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a02906156f1565b60405180910390fd5b6000612a1683611391565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a8557508373ffffffffffffffffffffffffffffffffffffffff16612a6d84610ce7565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a965750612a9581856124e5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612abf82611391565b73ffffffffffffffffffffffffffffffffffffffff1614612b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0c90615783565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90615815565b60405180910390fd5b612b908383836137fb565b612b9b600082612908565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612beb9190615835565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c429190614edd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d018383836138f4565b505050565b60606000612d1261318b565b73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d809190615264565b67ffffffffffffffff811115612d9957612d986140bb565b5b604051908082528060200260200182016040528015612dc75781602001602082028036833780820191505090505b5090506000805b8251811015612e3957841515612dee8260116131b590919063ffffffff16565b15151415612e265780838381518110612e0a57612e09614eae565b5b602002602001018181525050600182612e239190614edd565b91505b8080612e3190614f33565b915050612dce565b50612e4482826131f1565b92505050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c5481600b54612f249190614edd565b1115612f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5c906158b5565b60405180910390fd5b4360076000600b5481526020019081526020016000208190555060005b81811015612fbe57612f9633600b546138f9565b6001600b54612fa59190614edd565b600b819055508080612fb690614f33565b915050612f82565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302890615921565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131229190613e86565b60405180910390a3505050565b61313a848484612a9f565b61314684848484613917565b613185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317c906159b3565b60405180910390fd5b50505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b606060008267ffffffffffffffff81111561320f5761320e6140bb565b5b60405190808252806020026020018201604052801561323d5781602001602082028036833780820191505090505b50905060005b838110156132985784818151811061325e5761325d614eae565b5b602002602001015182828151811061327957613278614eae565b5b602002602001018181525050808061329090614f33565b915050613243565b508091505092915050565b6060600980546132b2906147da565b80601f01602080910402602001604051908101604052809291908181526020018280546132de906147da565b801561332b5780601f106133005761010080835404028352916020019161332b565b820191906000526020600020905b81548152906001019060200180831161330e57829003601f168201915b5050505050905090565b6060600082141561337d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613491565b600082905060005b600082146133af57808061339890614f33565b915050600a826133a89190614c0a565b9150613385565b60008167ffffffffffffffff8111156133cb576133ca6140bb565b5b6040519080825280601f01601f1916602001820160405280156133fd5781602001600182028036833780820191505090505b5090505b6000851461348a576001826134169190615835565b9150600a8561342591906159d3565b60306134319190614edd565b60f81b81838151811061344757613446614eae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134839190614c0a565b9450613401565b8093505050505b919050565b61349e612900565b73ffffffffffffffffffffffffffffffffffffffff166134bc611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614613512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350990614a0e565b60405180910390fd5b600f60009054906101000a900460ff1615613562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355990615a50565b60405180910390fd5b6040518060400160405280601381526020017f636f6e6669726d656420746f20667265657a6500000000000000000000000000815250805190602001208180519060200120146135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de90615abc565b60405180910390fd5b6135ef613a9f565b50565b60006135fc61318b565b905060005b825181101561378c57600083828151811061361f5761361e614eae565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016136799190614096565b602060405180830381865afa158015613696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ba91906152a6565b73ffffffffffffffffffffffffffffffffffffffff1614613710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370790615b28565b60405180910390fd5b6137248160116131b590919063ffffffff16565b15613764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375b90615b94565b60405180910390fd5b613778816011613abc90919063ffffffff16565b50808061378490614f33565b915050613601565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156138975750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156138ef57826008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b505050565b613913828260405180602001604052806000815250613afa565b5050565b60006139388473ffffffffffffffffffffffffffffffffffffffff1661278f565b15613a92578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613961612900565b8786866040518563ffffffff1660e01b81526004016139839493929190615c09565b6020604051808303816000875af19250505080156139bf57506040513d601f19601f820116820180604052508101906139bc9190615c6a565b60015b613a42573d80600081146139ef576040519150601f19603f3d011682016040523d82523d6000602084013e6139f4565b606091505b50600081511415613a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a31906159b3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a97565b600190505b949350505050565b6001600660146101000a81548160ff021916908315150217905550565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b613b048383613b55565b613b116000848484613917565b613b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b47906159b3565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bbc90615ce3565b60405180910390fd5b613bce81612894565b15613c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0590615d4f565b60405180910390fd5b613c1a600083836137fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c6a9190614edd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d2b600083836138f4565b5050565b828054613d3b906147da565b90600052602060002090601f016020900481019282613d5d5760008555613da4565b82601f10613d7657805160ff1916838001178555613da4565b82800160010185558215613da4579182015b82811115613da3578251825591602001919060010190613d88565b5b509050613db19190613db5565b5090565b5b80821115613dce576000816000905550600101613db6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e1b81613de6565b8114613e2657600080fd5b50565b600081359050613e3881613e12565b92915050565b600060208284031215613e5457613e53613ddc565b5b6000613e6284828501613e29565b91505092915050565b60008115159050919050565b613e8081613e6b565b82525050565b6000602082019050613e9b6000830184613e77565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613edb578082015181840152602081019050613ec0565b83811115613eea576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f0c82613ea1565b613f168185613eac565b9350613f26818560208601613ebd565b613f2f81613ef0565b840191505092915050565b60006020820190508181036000830152613f548184613f01565b905092915050565b6000819050919050565b613f6f81613f5c565b8114613f7a57600080fd5b50565b600081359050613f8c81613f66565b92915050565b600060208284031215613fa857613fa7613ddc565b5b6000613fb684828501613f7d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fea82613fbf565b9050919050565b613ffa81613fdf565b82525050565b60006020820190506140156000830184613ff1565b92915050565b61402481613fdf565b811461402f57600080fd5b50565b6000813590506140418161401b565b92915050565b6000806040838503121561405e5761405d613ddc565b5b600061406c85828601614032565b925050602061407d85828601613f7d565b9150509250929050565b61409081613f5c565b82525050565b60006020820190506140ab6000830184614087565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6140f382613ef0565b810181811067ffffffffffffffff82111715614112576141116140bb565b5b80604052505050565b6000614125613dd2565b905061413182826140ea565b919050565b600067ffffffffffffffff821115614151576141506140bb565b5b61415a82613ef0565b9050602081019050919050565b82818337600083830152505050565b600061418961418484614136565b61411b565b9050828152602081018484840111156141a5576141a46140b6565b5b6141b0848285614167565b509392505050565b600082601f8301126141cd576141cc6140b1565b5b81356141dd848260208601614176565b91505092915050565b6000602082840312156141fc576141fb613ddc565b5b600082013567ffffffffffffffff81111561421a57614219613de1565b5b614226848285016141b8565b91505092915050565b60008060006060848603121561424857614247613ddc565b5b600061425686828701614032565b935050602061426786828701614032565b925050604061427886828701613f7d565b9150509250925092565b6000806040838503121561429957614298613ddc565b5b60006142a785828601613f7d565b92505060206142b885828601613f7d565b9150509250929050565b60006040820190506142d76000830185613ff1565b6142e46020830184614087565b9392505050565b6142f481613e6b565b81146142ff57600080fd5b50565b600081359050614311816142eb565b92915050565b60006020828403121561432d5761432c613ddc565b5b600061433b84828501614302565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61437981613f5c565b82525050565b600061438b8383614370565b60208301905092915050565b6000602082019050919050565b60006143af82614344565b6143b9818561434f565b93506143c483614360565b8060005b838110156143f55781516143dc888261437f565b97506143e783614397565b9250506001810190506143c8565b5085935050505092915050565b6000602082019050818103600083015261441c81846143a4565b905092915050565b60006020828403121561443a57614439613ddc565b5b600061444884828501614032565b91505092915050565b6000806040838503121561446857614467613ddc565b5b600061447685828601614032565b925050602061448785828601614302565b9150509250929050565b6000819050919050565b6144a481614491565b82525050565b60006020820190506144bf600083018461449b565b92915050565b600067ffffffffffffffff8211156144e0576144df6140bb565b5b6144e982613ef0565b9050602081019050919050565b6000614509614504846144c5565b61411b565b905082815260208101848484011115614525576145246140b6565b5b614530848285614167565b509392505050565b600082601f83011261454d5761454c6140b1565b5b813561455d8482602086016144f6565b91505092915050565b600080600080608085870312156145805761457f613ddc565b5b600061458e87828801614032565b945050602061459f87828801614032565b93505060406145b087828801613f7d565b925050606085013567ffffffffffffffff8111156145d1576145d0613de1565b5b6145dd87828801614538565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61460a816145e9565b811461461557600080fd5b50565b60008135905061462781614601565b92915050565b60006020828403121561464357614642613ddc565b5b600061465184828501614618565b91505092915050565b6000806040838503121561467157614670613ddc565b5b600061467f85828601614032565b925050602061469085828601614032565b9150509250929050565b600067ffffffffffffffff8211156146b5576146b46140bb565b5b602082029050602081019050919050565b600080fd5b60006146de6146d98461469a565b61411b565b90508083825260208201905060208402830185811115614701576147006146c6565b5b835b8181101561472a57806147168882613f7d565b845260208401935050602081019050614703565b5050509392505050565b600082601f830112614749576147486140b1565b5b81356147598482602086016146cb565b91505092915050565b60006020828403121561477857614777613ddc565b5b600082013567ffffffffffffffff81111561479657614795613de1565b5b6147a284828501614734565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147f257607f821691505b60208210811415614806576148056147ab565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614868602c83613eac565b91506148738261480c565b604082019050919050565b600060208201905081810360008301526148978161485b565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006148fa602183613eac565b91506149058261489e565b604082019050919050565b60006020820190508181036000830152614929816148ed565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061498c603883613eac565b915061499782614930565b604082019050919050565b600060208201905081810360008301526149bb8161497f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149f8602083613eac565b9150614a03826149c2565b602082019050919050565b60006020820190508181036000830152614a27816149eb565b9050919050565b7f467265657a61626c653a2043616e6e6f7420706572666f726d206f706572617460008201527f696f6e206f6e636520636f6e74726163742069732066726f7a656e2e00000000602082015250565b6000614a8a603c83613eac565b9150614a9582614a2e565b604082019050919050565b60006020820190508181036000830152614ab981614a7d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614b1c603183613eac565b9150614b2782614ac0565b604082019050919050565b60006020820190508181036000830152614b4b81614b0f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b8c82613f5c565b9150614b9783613f5c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bd057614bcf614b52565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c1582613f5c565b9150614c2083613f5c565b925082614c3057614c2f614bdb565b5b828204905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614c97602983613eac565b9150614ca282614c3b565b604082019050919050565b60006020820190508181036000830152614cc681614c8a565b9050919050565b7f496e76616c6964206d617820737570706c790000000000000000000000000000600082015250565b6000614d03601283613eac565b9150614d0e82614ccd565b602082019050919050565b60006020820190508181036000830152614d3281614cf6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614d95602a83613eac565b9150614da082614d39565b604082019050919050565b60006020820190508181036000830152614dc481614d88565b9050919050565b6000614dde614dd984614136565b61411b565b905082815260208101848484011115614dfa57614df96140b6565b5b614e05848285613ebd565b509392505050565b600082601f830112614e2257614e216140b1565b5b8151614e32848260208601614dcb565b91505092915050565b600060208284031215614e5157614e50613ddc565b5b600082015167ffffffffffffffff811115614e6f57614e6e613de1565b5b614e7b84828501614e0d565b91505092915050565b6000614e8f82613f5c565b91506000821415614ea357614ea2614b52565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614ee882613f5c565b9150614ef383613f5c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f2857614f27614b52565b5b828201905092915050565b6000614f3e82613f5c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f7157614f70614b52565b5b600182019050919050565b7f496e76616c6964206e756d20746f6b656e730000000000000000000000000000600082015250565b6000614fb2601283613eac565b9150614fbd82614f7c565b602082019050919050565b60006020820190508181036000830152614fe181614fa5565b9050919050565b7f45786365656473206d6178206d696e7400000000000000000000000000000000600082015250565b600061501e601083613eac565b915061502982614fe8565b602082019050919050565b6000602082019050818103600083015261504d81615011565b9050919050565b7f53616c6520696e61637469766500000000000000000000000000000000000000600082015250565b600061508a600d83613eac565b915061509582615054565b602082019050919050565b600060208201905081810360008301526150b98161507d565b9050919050565b7f496e636f7272656374207061796d656e74000000000000000000000000000000600082015250565b60006150f6601183613eac565b9150615101826150c0565b602082019050919050565b60006020820190508181036000830152615125816150e9565b9050919050565b7f496e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b6000615162600d83613eac565b915061516d8261512c565b602082019050919050565b6000602082019050818103600083015261519181615155565b9050919050565b60008160601b9050919050565b60006151b082615198565b9050919050565b60006151c2826151a5565b9050919050565b6151da6151d582613fdf565b6151b7565b82525050565b6000819050919050565b6151fb6151f682613f5c565b6151e0565b82525050565b600061520d82876151c9565b60148201915061521d82866151ea565b60208201915061522d82856151c9565b60148201915061523d82846151ea565b60208201915081905095945050505050565b60008151905061525e81613f66565b92915050565b60006020828403121561527a57615279613ddc565b5b60006152888482850161524f565b91505092915050565b6000815190506152a08161401b565b92915050565b6000602082840312156152bc576152bb613ddc565b5b60006152ca84828501615291565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061532f602f83613eac565b915061533a826152d3565b604082019050919050565b6000602082019050818103600083015261535e81615322565b9050919050565b600081905092915050565b600061537b82613ea1565b6153858185615365565b9350615395818560208601613ebd565b80840191505092915050565b60006153ad8285615370565b91506153b98284615370565b91508190509392505050565b600082825260208201905092915050565b60006153e182613ea1565b6153eb81856153c5565b93506153fb818560208601613ebd565b61540481613ef0565b840191505092915050565b61541881613f5c565b82525050565b61542781614491565b82525050565b60008190508160005260206000209050919050565b6000815461544f816147da565b61545981866153c5565b945060018216600081146154745760018114615486576154b9565b60ff19831686526020860193506154b9565b61548f8561542d565b60005b838110156154b157815481890152600182019150602081019050615492565b808801955050505b50505092915050565b600060808201905081810360008301526154dc81876153d6565b90506154eb602083018661540f565b6154f8604083018561541e565b818103606083015261550a8184615442565b905095945050505050565b7f436c61696d696e67206163746976650000000000000000000000000000000000600082015250565b600061554b600f83613eac565b915061555682615515565b602082019050919050565b6000602082019050818103600083015261557a8161553e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155dd602683613eac565b91506155e882615581565b604082019050919050565b6000602082019050818103600083015261560c816155d0565b9050919050565b7f436c61696d696e6720696e616374697665000000000000000000000000000000600082015250565b6000615649601183613eac565b915061565482615613565b602082019050919050565b600060208201905081810360008301526156788161563c565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006156db602c83613eac565b91506156e68261567f565b604082019050919050565b6000602082019050818103600083015261570a816156ce565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061576d602583613eac565b915061577882615711565b604082019050919050565b6000602082019050818103600083015261579c81615760565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157ff602483613eac565b915061580a826157a3565b604082019050919050565b6000602082019050818103600083015261582e816157f2565b9050919050565b600061584082613f5c565b915061584b83613f5c565b92508282101561585e5761585d614b52565b5b828203905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b600061589f600e83613eac565b91506158aa82615869565b602082019050919050565b600060208201905081810360008301526158ce81615892565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061590b601983613eac565b9150615916826158d5565b602082019050919050565b6000602082019050818103600083015261593a816158fe565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061599d603283613eac565b91506159a882615941565b604082019050919050565b600060208201905081810360008301526159cc81615990565b9050919050565b60006159de82613f5c565b91506159e983613f5c565b9250826159f9576159f8614bdb565b5b828206905092915050565b7f53616c6520616374697665000000000000000000000000000000000000000000600082015250565b6000615a3a600b83613eac565b9150615a4582615a04565b602082019050919050565b60006020820190508181036000830152615a6981615a2d565b9050919050565b7f496e76616c696420636f6e6669726d6174696f6e000000000000000000000000600082015250565b6000615aa6601483613eac565b9150615ab182615a70565b602082019050919050565b60006020820190508181036000830152615ad581615a99565b9050919050565b7f546f6b656e206e6f74206f776e65640000000000000000000000000000000000600082015250565b6000615b12600f83613eac565b9150615b1d82615adc565b602082019050919050565b60006020820190508181036000830152615b4181615b05565b9050919050565b7f546f6b656e20616c726561647920636c61696d65640000000000000000000000600082015250565b6000615b7e601583613eac565b9150615b8982615b48565b602082019050919050565b60006020820190508181036000830152615bad81615b71565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bdb82615bb4565b615be58185615bbf565b9350615bf5818560208601613ebd565b615bfe81613ef0565b840191505092915050565b6000608082019050615c1e6000830187613ff1565b615c2b6020830186613ff1565b615c386040830185614087565b8181036060830152615c4a8184615bd0565b905095945050505050565b600081519050615c6481613e12565b92915050565b600060208284031215615c8057615c7f613ddc565b5b6000615c8e84828501615c55565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ccd602083613eac565b9150615cd882615c97565b602082019050919050565b60006020820190508181036000830152615cfc81615cc0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d39601c83613eac565b9150615d4482615d03565b602082019050919050565b60006020820190508181036000830152615d6881615d2c565b905091905056fea264697066735822122008310e917f21994434b31dfe84b5144386735c9534337e1466c4a9ebec58d9a564736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000046f1c444a9b10173c52ee7351eba1e49c8bc5851000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f6d696e696d697a65722e6172742f6d657461646174612f312f00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): https://minimizer.art/metadata/1/
Arg [1] : claimContractAddress_ (address): 0x46f1c444a9b10173c52ee7351eBa1e49C8bC5851
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000046f1c444a9b10173c52ee7351eba1e49c8bc5851
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [3] : 68747470733a2f2f6d696e696d697a65722e6172742f6d657461646174612f31
Arg [4] : 2f00000000000000000000000000000000000000000000000000000000000000
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.