More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,592 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 49339795 | 409 days ago | IN | 0 POL | 0.00554751 | ||||
Transfer From | 28656924 | 935 days ago | IN | 0 POL | 0.00133146 | ||||
Transfer From | 28656919 | 935 days ago | IN | 0 POL | 0.00098845 | ||||
Transfer From | 28656915 | 935 days ago | IN | 0 POL | 0.00203299 | ||||
Transfer From | 28656906 | 935 days ago | IN | 0 POL | 0.00148522 | ||||
Transfer From | 28656900 | 935 days ago | IN | 0 POL | 0.00148522 | ||||
Transfer From | 28656896 | 935 days ago | IN | 0 POL | 0.00203299 | ||||
Safe Transfer Fr... | 27139044 | 973 days ago | IN | 0 POL | 0.00216533 | ||||
Set Approval For... | 26827202 | 981 days ago | IN | 0 POL | 0.00080322 | ||||
Set Approval For... | 26827202 | 981 days ago | IN | 0 POL | 0.00140022 | ||||
Claim | 26827202 | 981 days ago | IN | 0 POL | 0.00090369 | ||||
Safe Transfer Fr... | 23901404 | 1059 days ago | IN | 0 POL | 0.00883088 | ||||
Safe Transfer Fr... | 23901047 | 1059 days ago | IN | 0 POL | 0.01242821 | ||||
Safe Transfer Fr... | 23887655 | 1059 days ago | IN | 0 POL | 0.0095931 | ||||
Safe Transfer Fr... | 23583962 | 1067 days ago | IN | 0 POL | 0.00205799 | ||||
Safe Transfer Fr... | 23365776 | 1073 days ago | IN | 0 POL | 0.02276491 | ||||
Set Approval For... | 23339370 | 1074 days ago | IN | 0 POL | 0.00694707 | ||||
Set Approval For... | 23279965 | 1075 days ago | IN | 0 POL | 0.00205416 | ||||
Safe Transfer Fr... | 23257721 | 1076 days ago | IN | 0 POL | 0.00199161 | ||||
Set Approval For... | 23206978 | 1077 days ago | IN | 0 POL | 0.0028051 | ||||
Set Approval For... | 23111632 | 1079 days ago | IN | 0 POL | 0.00010112 | ||||
Safe Transfer Fr... | 23077438 | 1080 days ago | IN | 0 POL | 0.00199161 | ||||
Claim | 23077188 | 1080 days ago | IN | 0 POL | 0.01172469 | ||||
Safe Transfer Fr... | 23051663 | 1081 days ago | IN | 0 POL | 0.0066883 | ||||
Set Approval For... | 23048465 | 1081 days ago | IN | 0 POL | 0.00144689 |
Loading...
Loading
Contract Name:
SpaceDicks
Compiler Version
v0.8.10+commit.fc410830
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.3 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./UniqueMetadata.sol"; /// @title The SpaceDicks ERC721 smart contract. /// @author juliencrn contract SpaceDicks is ERC721, UniqueMetadata, Ownable { using Counters for Counters.Counter; string internal _currentBaseURI = "https://spacedicks-api.herokuapp.com/token/"; // It's deployed on Polygon, so 1 "ether" = 1 MATIC uint256 public claimFee = 25 ether; /// Supply uint256 public totalSupply = 10_000; Counters.Counter internal _currentSupply; /// Pre-sale (100 for the artist, 1000 for the early adopters) uint256 public preSalesLimit = 1100; // Prod // uint256 public preSalesLimit = 10; // Dev /// Mint count limit /// During the pre-sales only: Each user can mint 5 DICKs maximum uint256 public mintCountLimit = 5; /// Map token ID to Metadata mapping(uint256 => Metadata) idToMetadata; /// Map mint count by account mapping(address => uint256) mintCountByAddress; constructor() ERC721("SpaceDicks", "DICK") { // Mint my own NFT tokens. for (uint256 i = 0; i < 5; i++) { mint(); } } /// Allow to mint a token function claim() external payable { // For the artist: Always free and limitless if (owner() == msg.sender) { mint(); } // During the pre-sales: Free and mint count limit by accounts else if (_currentSupply.current() < preSalesLimit) { require( mintCountByAddress[msg.sender] < mintCountLimit, "During the pre-sales, only 5 mints by account are authorized" ); mintCountByAddress[msg.sender]++; mint(); } // Otherwise: Paid and limitless else { require(msg.value == claimFee, "Claiming a NFT costs ether"); mint(); // Give ether to the contract owner payable(owner()).transfer(claimFee); } } /// For a a given token ID, returns its metadata function get(uint256 _tokenId) external view returns (Metadata memory) { require(_exists(_tokenId), "Token does not exists"); return idToMetadata[_tokenId]; } /// @return the current supply function currentSupply() external view returns (uint256) { return _currentSupply.current(); } /// Mint a new NFT /// @return Created token id function mint() internal returns (uint256) { require(_currentSupply.current() < totalSupply); // Increment the token supply. _currentSupply.increment(); uint256 newTokenId = _currentSupply.current(); // Generate and save metadata idToMetadata[newTokenId] = _createUniqueMetadata(); // Finally, mint! _safeMint(msg.sender, newTokenId); return newTokenId; } /// Return the good baseURI overriding the ERC721 method function _baseURI() internal view virtual override returns (string memory) { return _currentBaseURI; } /// Allow owner to set new baseURI function setBaseURI(string memory _baseUri) public onlyOwner { _currentBaseURI = _baseUri; } /// Allow owner to set new mint fee price, ether price will change. function setClaimFee(uint256 _newPrice) external onlyOwner { claimFee = _newPrice; } /// Allow owner to change the pre-sales limit. function setPreSalesLimit(uint256 _newLimit) external onlyOwner { preSalesLimit = _newLimit; } /// Allow owner to change to pre-sales limit. function setMintCountLimit(uint256 _newLimit) external onlyOwner { mintCountLimit = _newLimit; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.3 <0.9.0; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; /// @author OniiChain library RandomNumber { /// @notice Generate a random number and return the index from the /// corresponding interval. /// @param max The maximum value to generate /// @param seed Used for the initialization of the number generator /// @param intervals the intervals /// @param selector Caller selector function generate( uint256 max, uint256 seed, uint256[] memory intervals, bytes4 selector ) internal view returns (uint8) { uint256 generated = generateRandom(max, seed, selector); return pickItems(generated, intervals); } /// @notice Generate random number between 1 and max /// @param max Maximum value of the random number /// @param seed Used for the initialization of the number generator /// @param selector Caller selector used as seed function generateRandom( uint256 max, uint256 seed, bytes4 selector ) private view returns (uint256) { return (uint256( keccak256( abi.encodePacked( block.difficulty, block.number, tx.origin, tx.gasprice, selector, seed ) ) ) % (max + 1)) + 1; } /// @notice Pick an item for the given random value /// @param val The random value /// @param intervals The intervals for the corresponding items /// @return the item ID where : intervals[] index = item ID function pickItems(uint256 val, uint256[] memory intervals) internal pure returns (uint8) { for (uint256 i; i < intervals.length; i++) { if (val > intervals[i]) { return SafeCast.toUint8(i); } } revert("DetailHelper::pickItems: No item"); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.3 <0.9.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; import "./libraries/RandomNumber.sol"; /// @title Generate unique Metadata randomly /// @author juliencrn contract UniqueMetadata { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter internal _randomNonce; // NFT properties struct Metadata { uint8 background; uint8 skin; uint8 hat; uint8 eye; uint8 mouth; uint8 clothe; uint8 arm; uint8 special; } // Mapping metadata dna to boolean mapping(uint256 => bool) private _dnaExists; /// @dev Max value for defining probabilities uint256 internal constant MAX = 100_000; uint256[] internal BACKGROUNDS = [ 90000, 80000, 70000, 60000, 50000, 40000, 30000, 23000, 16000, 11000, 7000, 4000, 3000, 2000, 1000, 0 ]; uint256[] internal SKINS = [ 90000, 80000, 70000, 60000, 50000, 40000, 30000, 20000, 15000, 10000, 5000, 1000, 0 ]; uint256[] internal HATS = [ 70000, 64000, 58000, 52000, 46000, 40000, 34000, 28000, 22000, 16000, 10000, 5000, 3000, 1500, 500, 0 ]; uint256[] internal EYES = [35000, 22000, 10000, 6000, 3000, 1000, 0]; uint256[] internal MOUTHS = [10000, 6000, 3500, 2000, 1000, 500, 0]; uint256[] internal CLOTHES = [12000, 5000, 0]; uint256[] internal ARMS = [8000, 0]; uint256[] internal SPECIALS = [2000, 1000, 0]; /// Create unique metadata combination /// @dev this function is the algo part entry point /// @dev exec a infinite loop /// @dev check and mute the _dnaExists mapping /// @return Metadata function _createUniqueMetadata() internal returns (Metadata memory) { Metadata memory metadata; uint256 dna; while (true) { metadata = _generateMetadata(); dna = _generateDna(metadata); if (_dnaExists[dna] != true) { _dnaExists[dna] = true; break; } delete metadata; } return metadata; } /// Generate Dna by encoding metadata /// @return uint dna function _generateDna(Metadata memory metadata) internal pure returns (uint256) { return uint256( keccak256( abi.encodePacked( metadata.background, metadata.skin, metadata.hat, metadata.eye, metadata.mouth, metadata.clothe, metadata.arm, metadata.special ) ) ); } /// Randomly generate metadata /// @dev This function doesn't check in the metadata is unique /// @dev This function apply business logic /// @return Metadata function _generateMetadata() internal returns (Metadata memory) { uint8 bg; uint8 skin; uint8 hat; uint8 eye; uint8 mouth; uint8 clothe; uint8 arm; uint8 special; // Generate random metadata special = _generateSpecialId(); // It's a little tricky. // It's reducing the gas consumption by spliting logic between functions if (special < 1) { (bg, skin, hat, eye, mouth, clothe, arm) = _generateIfNotSpecial(); } else { (bg, skin, hat, eye, mouth, clothe, arm) = _generateIfSpecial(); } return Metadata(bg, skin, hat, eye, mouth, clothe, arm, special); } /// If the cryptoDick has a cape, it can't have any others accessories /// So, randomly generate the background and the skin /// And returns 0 for the 5 next values (the eighth is the special trait itself) function _generateIfSpecial() internal returns ( uint8, uint8, uint8, uint8, uint8, uint8, uint8 ) { uint8 bg = _generateBackgroundId(); uint8 skin = _generateSkinId(); return (bg, skin, 0, 0, 0, 0, 0); } /// Generate the seven first values of Metadata /// Including some business logic function _generateIfNotSpecial() internal returns ( uint8, uint8, uint8, uint8, uint8, uint8, uint8 ) { uint8 bg = _generateBackgroundId(); uint8 skin = _generateSkinId(); uint8 hat = _generateHatId(); uint8 eye = _generateEyeId(); uint8 clothe = _generateClotheId(); uint8 arm = _generateArmId(); // If we have the blanket clothe, don't append mouse if (clothe == 1) { return (bg, skin, hat, eye, 0, clothe, arm); } // If we have the cosmonaut helmet clothe, don't append mouse if (hat == 15) { return (bg, skin, hat, eye, 0, clothe, arm); } uint8 mouth = _generateMouthId(); return (bg, skin, hat, eye, mouth, clothe, arm); } function _generateBackgroundId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), BACKGROUNDS, bytes4("back") ); } function _generateSkinId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), SKINS, bytes4("skin") ); } function _generateHatId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), HATS, bytes4("hat") ); } function _generateEyeId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), EYES, bytes4("eye") ); } function _generateMouthId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), MOUTHS, bytes4("mous") ); } function _generateClotheId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), CLOTHES, bytes4("clot") ); } function _generateArmId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), ARMS, bytes4("arms") ); } function _generateSpecialId() internal returns (uint8) { _randomNonce.increment(); return RandomNumber.generate( MAX, _randomNonce.current(), SPECIALS, bytes4("spec") ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (utils/math/SafeCast.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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 v4.4.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); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"get","outputs":[{"components":[{"internalType":"uint8","name":"background","type":"uint8"},{"internalType":"uint8","name":"skin","type":"uint8"},{"internalType":"uint8","name":"hat","type":"uint8"},{"internalType":"uint8","name":"eye","type":"uint8"},{"internalType":"uint8","name":"mouth","type":"uint8"},{"internalType":"uint8","name":"clothe","type":"uint8"},{"internalType":"uint8","name":"arm","type":"uint8"},{"internalType":"uint8","name":"special","type":"uint8"}],"internalType":"struct UniqueMetadata.Metadata","name":"","type":"tuple"}],"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":"mintCountLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"preSalesLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint256","name":"_newPrice","type":"uint256"}],"name":"setClaimFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimit","type":"uint256"}],"name":"setMintCountLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimit","type":"uint256"}],"name":"setPreSalesLimit","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":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180610200016040528062015f9062ffffff1681526020016201388062ffffff1681526020016201117062ffffff16815260200161ea6062ffffff16815260200161c35062ffffff168152602001619c4062ffffff16815260200161753062ffffff1681526020016159d862ffffff168152602001613e8062ffffff168152602001612af862ffffff168152602001611b5862ffffff168152602001610fa062ffffff168152602001610bb862ffffff1681526020016107d062ffffff1681526020016103e862ffffff168152602001600062ffffff168152506008906010620000f2929190620017fa565b50604051806101a0016040528062015f9062ffffff1681526020016201388062ffffff1681526020016201117062ffffff16815260200161ea6062ffffff16815260200161c35062ffffff168152602001619c4062ffffff16815260200161753062ffffff168152602001614e2062ffffff168152602001613a9862ffffff16815260200161271062ffffff16815260200161138862ffffff1681526020016103e862ffffff168152602001600062ffffff16815250600990600d620001ba92919062001853565b506040518061020001604052806201117062ffffff16815260200161fa0062ffffff16815260200161e29062ffffff16815260200161cb2062ffffff16815260200161b3b062ffffff168152602001619c4062ffffff1681526020016184d062ffffff168152602001616d6062ffffff1681526020016155f062ffffff168152602001613e8062ffffff16815260200161271062ffffff16815260200161138862ffffff168152602001610bb862ffffff1681526020016105dc62ffffff1681526020016101f462ffffff168152602001600062ffffff16815250600a906010620002a7929190620017fa565b506040518060e001604052806188b861ffff1681526020016155f061ffff16815260200161271061ffff16815260200161177061ffff168152602001610bb861ffff1681526020016103e861ffff168152602001600061ffff16815250600b90600762000316929190620018ac565b506040518060e0016040528061271061ffff16815260200161177061ffff168152602001610dac61ffff1681526020016107d061ffff1681526020016103e861ffff1681526020016101f461ffff168152602001600061ffff16815250600c90600762000385929190620018ac565b506040518060600160405280612ee061ffff16815260200161138861ffff168152602001600061ffff16815250600d906003620003c492919062001904565b506040518060400160405280611f4061ffff168152602001600061ffff16815250600e906002620003f79291906200195c565b5060405180606001604052806107d061ffff1681526020016103e861ffff168152602001600061ffff16815250600f9060036200043692919062001904565b506040518060600160405280602b8152602001620068d1602b91396011908051906020019062000468929190620019b4565b5068015af1d78b58c4000060125561271060135561044c60155560056016553480156200049457600080fd5b506040518060400160405280600a81526020017f53706163654469636b73000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4449434b00000000000000000000000000000000000000000000000000000000815250816000908051906020019062000519929190620019b4565b50806001908051906020019062000532929190620019b4565b50505062000555620005496200059060201b60201c565b6200059860201b60201c565b60005b60058110156200058957620005726200065e60201b60201c565b508080620005809062001afa565b91505062000558565b506200231a565b600033905090565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006013546200067a6014620007fe60201b620014db1760201c565b106200068557600080fd5b6200069c60146200080c60201b620014e91760201c565b6000620006b56014620007fe60201b620014db1760201c565b9050620006c76200082260201b60201c565b6017600083815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555060a08201518160000160056101000a81548160ff021916908360ff16021790555060c08201518160000160066101000a81548160ff021916908360ff16021790555060e08201518160000160076101000a81548160ff021916908360ff160217905550905050620007f73382620008df60201b60201c565b8091505090565b600081600001549050919050565b6001816000016000828254019250508190555050565b6200082c62001a45565b6200083662001a45565b60005b600115620008d757620008516200090560201b60201c565b91506200086482620009f860201b60201c565b9050600115156007600083815260200190815260200160002060009054906101000a900460ff16151514620008c55760016007600083815260200190815260200160002060006101000a81548160ff021916908315150217905550620008d7565b620008cf62001a45565b915062000839565b819250505090565b6200090182826040518060200160405280600081525062000a5b60201b60201c565b5050565b6200090f62001a45565b6000806000806000806000806200092b62000ac960201b60201c565b905060018160ff1610156200096c576200094a62000b8b60201b60201c565b809850819950829a50839b50849c50859d50869e505050505050505062000999565b6200097c62000ca560201b60201c565b809850819950829a50839b50849c50859d50869e50505050505050505b6040518061010001604052808960ff1681526020018860ff1681526020018760ff1681526020018660ff1681526020018560ff1681526020018460ff1681526020018360ff1681526020018260ff168152509850505050505050505090565b6000816000015182602001518360400151846060015185608001518660a001518760c001518860e0015160405160200162000a3b98979695949392919062001b91565b6040516020818303038152906040528051906020012060001c9050919050565b62000a6d838362000cfa60201b60201c565b62000a82600084848462000ee060201b60201c565b62000ac4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000abb9062001cba565b60405180910390fd5b505050565b600062000ae260066200080c60201b620014e91760201c565b62000b86620186a062000b016006620007fe60201b620014db1760201c565b600f80548060200260200160405190810160405280929190818152602001828054801562000b4f57602002820191906000526020600020905b81548152602001906001019080831162000b3a575b50505050507f73706563000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b60008060008060008060008062000ba7620010bf60201b60201c565b9050600062000bbb6200118160201b60201c565b9050600062000bcf6200124360201b60201c565b9050600062000be36200130560201b60201c565b9050600062000bf7620013c760201b60201c565b9050600062000c0b6200148960201b60201c565b905060018260ff16141562000c3c5785858585600086869c509c509c509c509c509c509c5050505050505062000c9c565b600f8460ff16141562000c6b5785858585600086869c509c509c509c509c509c509c5050505050505062000c9c565b600062000c7d6200154b60201b60201c565b9050868686868487879d509d509d509d509d509d509d50505050505050505b90919293949596565b60008060008060008060008062000cc1620010bf60201b60201c565b9050600062000cd56200118160201b60201c565b9050818160008060008060009850985098509850985098509850505090919293949596565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000d6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d649062001d2c565b60405180910390fd5b62000d7e816200160d60201b60201c565b1562000dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000db89062001d9e565b60405180910390fd5b62000dd5600083836200167960201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000e27919062001dc0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600062000f0e8473ffffffffffffffffffffffffffffffffffffffff166200167e60201b620015241760201c565b156200107d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000f406200059060201b60201c565b8786866040518563ffffffff1660e01b815260040162000f64949392919062001f17565b6020604051808303816000875af192505050801562000fa357506040513d601f19601f8201168201806040525081019062000fa0919062001fcd565b60015b6200102c573d806000811462000fd6576040519150601f19603f3d011682016040523d82523d6000602084013e62000fdb565b606091505b5060008151141562001024576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200101b9062001cba565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062001082565b600190505b949350505050565b600080620010a08686856200169160201b60201c565b9050620010b48185620016fa60201b60201c565b915050949350505050565b6000620010d860066200080c60201b620014e91760201c565b6200117c620186a0620010f76006620007fe60201b620014db1760201c565b60088054806020026020016040519081016040528092919081815260200182805480156200114557602002820191906000526020600020905b81548152602001906001019080831162001130575b50505050507f6261636b000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b60006200119a60066200080c60201b620014e91760201c565b6200123e620186a0620011b96006620007fe60201b620014db1760201c565b60098054806020026020016040519081016040528092919081815260200182805480156200120757602002820191906000526020600020905b815481526020019060010190808311620011f2575b50505050507f736b696e000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b60006200125c60066200080c60201b620014e91760201c565b62001300620186a06200127b6006620007fe60201b620014db1760201c565b600a805480602002602001604051908101604052809291908181526020018280548015620012c957602002820191906000526020600020905b815481526020019060010190808311620012b4575b50505050507f68617400000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b60006200131e60066200080c60201b620014e91760201c565b620013c2620186a06200133d6006620007fe60201b620014db1760201c565b600b8054806020026020016040519081016040528092919081815260200182805480156200138b57602002820191906000526020600020905b81548152602001906001019080831162001376575b50505050507f65796500000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b6000620013e060066200080c60201b620014e91760201c565b62001484620186a0620013ff6006620007fe60201b620014db1760201c565b600d8054806020026020016040519081016040528092919081815260200182805480156200144d57602002820191906000526020600020905b81548152602001906001019080831162001438575b50505050507f636c6f74000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b6000620014a260066200080c60201b620014e91760201c565b62001546620186a0620014c16006620007fe60201b620014db1760201c565b600e8054806020026020016040519081016040528092919081815260200182805480156200150f57602002820191906000526020600020905b815481526020019060010190808311620014fa575b50505050507f61726d73000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b60006200156460066200080c60201b620014e91760201c565b62001608620186a0620015836006620007fe60201b620014db1760201c565b600c805480602002602001604051908101604052809291908181526020018280548015620015d157602002820191906000526020600020905b815481526020019060010190808311620015bc575b50505050507f6d6f7573000000000000000000000000000000000000000000000000000000006200108a60201b620014ff1760201c565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b600080823b905060008111915050919050565b600060018085620016a3919062001dc0565b4443323a8789604051602001620016c09695949392919062002099565b6040516020818303038152906040528051906020012060001c620016e5919062002144565b620016f1919062001dc0565b90509392505050565b6000805b825181101562001763578281815181106200171e576200171d6200217c565b5b60200260200101518411156200174d576200174481620017a760201b620015371760201c565b915050620017a1565b80806200175a9062001afa565b915050620016fe565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200179890620021fb565b60405180910390fd5b92915050565b600060ff8016821115620017f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620017e99062002293565b60405180910390fd5b819050919050565b82805482825590600052602060002090810192821562001840579160200282015b828111156200183f578251829062ffffff169055916020019190600101906200181b565b5b5090506200184f919062001aa2565b5090565b82805482825590600052602060002090810192821562001899579160200282015b8281111562001898578251829062ffffff1690559160200191906001019062001874565b5b509050620018a8919062001aa2565b5090565b828054828255906000526020600020908101928215620018f1579160200282015b82811115620018f0578251829061ffff16905591602001919060010190620018cd565b5b50905062001900919062001aa2565b5090565b82805482825590600052602060002090810192821562001949579160200282015b8281111562001948578251829061ffff1690559160200191906001019062001925565b5b50905062001958919062001aa2565b5090565b828054828255906000526020600020908101928215620019a1579160200282015b82811115620019a0578251829061ffff169055916020019190600101906200197d565b5b509050620019b0919062001aa2565b5090565b828054620019c290620022e4565b90600052602060002090601f016020900481019282620019e6576000855562001a32565b82601f1062001a0157805160ff191683800117855562001a32565b8280016001018555821562001a32579182015b8281111562001a3157825182559160200191906001019062001a14565b5b50905062001a41919062001aa2565b5090565b604051806101000160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b8082111562001abd57600081600090555060010162001aa3565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062001b078262001af0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001b3d5762001b3c62001ac1565b5b600182019050919050565b600060ff82169050919050565b60008160f81b9050919050565b600062001b6f8262001b55565b9050919050565b62001b8b62001b858262001b48565b62001b62565b82525050565b600062001b9f828b62001b76565b60018201915062001bb1828a62001b76565b60018201915062001bc3828962001b76565b60018201915062001bd5828862001b76565b60018201915062001be7828762001b76565b60018201915062001bf9828662001b76565b60018201915062001c0b828562001b76565b60018201915062001c1d828462001b76565b6001820191508190509998505050505050505050565b600082825260208201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062001ca260328362001c33565b915062001caf8262001c44565b604082019050919050565b6000602082019050818103600083015262001cd58162001c93565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062001d1460208362001c33565b915062001d218262001cdc565b602082019050919050565b6000602082019050818103600083015262001d478162001d05565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062001d86601c8362001c33565b915062001d938262001d4e565b602082019050919050565b6000602082019050818103600083015262001db98162001d77565b9050919050565b600062001dcd8262001af0565b915062001dda8362001af0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001e125762001e1162001ac1565b5b828201905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062001e4a8262001e1d565b9050919050565b62001e5c8162001e3d565b82525050565b62001e6d8162001af0565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562001eaf57808201518184015260208101905062001e92565b8381111562001ebf576000848401525b50505050565b6000601f19601f8301169050919050565b600062001ee38262001e73565b62001eef818562001e7e565b935062001f0181856020860162001e8f565b62001f0c8162001ec5565b840191505092915050565b600060808201905062001f2e600083018762001e51565b62001f3d602083018662001e51565b62001f4c604083018562001e62565b818103606083015262001f60818462001ed6565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62001fa78162001f70565b811462001fb357600080fd5b50565b60008151905062001fc78162001f9c565b92915050565b60006020828403121562001fe65762001fe562001f6b565b5b600062001ff68482850162001fb6565b91505092915050565b6000819050919050565b6200201e620020188262001af0565b62001fff565b82525050565b60008160601b9050919050565b60006200203e8262002024565b9050919050565b6000620020528262002031565b9050919050565b6200206e620020688262001e3d565b62002045565b82525050565b6000819050919050565b620020936200208d8262001f70565b62002074565b82525050565b6000620020a7828962002009565b602082019150620020b9828862002009565b602082019150620020cb828762002059565b601482019150620020dd828662002009565b602082019150620020ef82856200207e565b60048201915062002101828462002009565b602082019150819050979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000620021518262001af0565b91506200215e8362001af0565b92508262002171576200217062002115565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f44657461696c48656c7065723a3a7069636b4974656d733a204e6f206974656d600082015250565b6000620021e360208362001c33565b9150620021f082620021ab565b602082019050919050565b600060208201905081810360008301526200221681620021d4565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203860008201527f2062697473000000000000000000000000000000000000000000000000000000602082015250565b60006200227b60258362001c33565b915062002288826200221d565b604082019050919050565b60006020820190508181036000830152620022ae816200226c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620022fd57607f821691505b60208210811415620023145762002313620022b5565b5b50919050565b6145a7806200232a6000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610593578063e985e9c5146105d0578063f2fde38b1461060d578063fcc91875146106365761019c565b8063a22cb46514610518578063b88d4fde14610541578063bc9e12801461056a5761019c565b80638da5cb5b116100c65780638da5cb5b1461045a5780639507d39a1461048557806395d89b41146104c257806399d32fc4146104ed5761019c565b806370a08231146103db578063715018a614610418578063771282f61461042f5761019c565b806323b872dd116101595780634e71d92d116101335780634e71d92d1461034057806355f804b31461034a5780636352211e1461037357806370418a83146103b05761019c565b806323b872dd146102c55780632e75ab50146102ee57806342842e0e146103175761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780630f4435731461026f57806318160ddd1461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190612e3e565b61065f565b6040516101d59190612e86565b60405180910390f35b3480156101ea57600080fd5b506101f3610741565b6040516102009190612f3a565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612f92565b6107d3565b60405161023d9190613000565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190613047565b610858565b005b34801561027b57600080fd5b50610284610970565b6040516102919190613096565b60405180910390f35b3480156102a657600080fd5b506102af610976565b6040516102bc9190613096565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e791906130b1565b61097c565b005b3480156102fa57600080fd5b5061031560048036038101906103109190612f92565b6109dc565b005b34801561032357600080fd5b5061033e600480360381019061033991906130b1565b610a62565b005b610348610a82565b005b34801561035657600080fd5b50610371600480360381019061036c9190613239565b610c65565b005b34801561037f57600080fd5b5061039a60048036038101906103959190612f92565b610cfb565b6040516103a79190613000565b60405180910390f35b3480156103bc57600080fd5b506103c5610dad565b6040516103d29190613096565b60405180910390f35b3480156103e757600080fd5b5061040260048036038101906103fd9190613282565b610db3565b60405161040f9190613096565b60405180910390f35b34801561042457600080fd5b5061042d610e6b565b005b34801561043b57600080fd5b50610444610ef3565b6040516104519190613096565b60405180910390f35b34801561046657600080fd5b5061046f610f04565b60405161047c9190613000565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190612f92565b610f2e565b6040516104b9919061336d565b60405180910390f35b3480156104ce57600080fd5b506104d761108c565b6040516104e49190612f3a565b60405180910390f35b3480156104f957600080fd5b5061050261111e565b60405161050f9190613096565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a91906133b5565b611124565b005b34801561054d57600080fd5b5061056860048036038101906105639190613496565b61113a565b005b34801561057657600080fd5b50610591600480360381019061058c9190612f92565b61119c565b005b34801561059f57600080fd5b506105ba60048036038101906105b59190612f92565b611222565b6040516105c79190612f3a565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190613519565b6112c9565b6040516106049190612e86565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190613282565b61135d565b005b34801561064257600080fd5b5061065d60048036038101906106589190612f92565b611455565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061073a575061073982611587565b5b9050919050565b60606000805461075090613588565b80601f016020809104026020016040519081016040528092919081815260200182805461077c90613588565b80156107c95780601f1061079e576101008083540402835291602001916107c9565b820191906000526020600020905b8154815290600101906020018083116107ac57829003601f168201915b5050505050905090565b60006107de826115f1565b61081d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108149061362c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086382610cfb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cb906136be565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108f361165d565b73ffffffffffffffffffffffffffffffffffffffff16148061092257506109218161091c61165d565b6112c9565b5b610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890613750565b60405180910390fd5b61096b8383611665565b505050565b60155481565b60135481565b61098d61098761165d565b8261171e565b6109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c3906137e2565b60405180910390fd5b6109d78383836117fc565b505050565b6109e461165d565b73ffffffffffffffffffffffffffffffffffffffff16610a02610f04565b73ffffffffffffffffffffffffffffffffffffffff1614610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f9061384e565b60405180910390fd5b8060128190555050565b610a7d8383836040518060200160405280600081525061113a565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16610aa1610f04565b73ffffffffffffffffffffffffffffffffffffffff161415610acb57610ac5611a58565b50610c63565b601554610ad860146114db565b1015610bc457601654601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b58906138e0565b60405180910390fd5b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610bb19061392f565b9190505550610bbe611a58565b50610c62565b6012543414610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff906139c4565b60405180910390fd5b610c10611a58565b50610c19610f04565b73ffffffffffffffffffffffffffffffffffffffff166108fc6012549081150290604051600060405180830381858888f19350505050158015610c60573d6000803e3d6000fd5b505b5b565b610c6d61165d565b73ffffffffffffffffffffffffffffffffffffffff16610c8b610f04565b73ffffffffffffffffffffffffffffffffffffffff1614610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd89061384e565b60405180910390fd5b8060119080519060200190610cf7929190612cd2565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90613a56565b60405180910390fd5b80915050919050565b60165481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b90613ae8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e7361165d565b73ffffffffffffffffffffffffffffffffffffffff16610e91610f04565b73ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede9061384e565b60405180910390fd5b610ef16000611bc0565b565b6000610eff60146114db565b905090565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f36612d58565b610f3f826115f1565b610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7590613b54565b60405180910390fd5b60176000838152602001908152602001600020604051806101000160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff1681526020016000820160069054906101000a900460ff1660ff1660ff1681526020016000820160079054906101000a900460ff1660ff1660ff16815250509050919050565b60606001805461109b90613588565b80601f01602080910402602001604051908101604052809291908181526020018280546110c790613588565b80156111145780601f106110e957610100808354040283529160200191611114565b820191906000526020600020905b8154815290600101906020018083116110f757829003601f168201915b5050505050905090565b60125481565b61113661112f61165d565b8383611c86565b5050565b61114b61114561165d565b8361171e565b61118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906137e2565b60405180910390fd5b61119684848484611df3565b50505050565b6111a461165d565b73ffffffffffffffffffffffffffffffffffffffff166111c2610f04565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f9061384e565b60405180910390fd5b8060158190555050565b606061122d826115f1565b61126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390613be6565b60405180910390fd5b6000611276611e4f565b9050600081511161129657604051806020016040528060008152506112c1565b806112a084611ee1565b6040516020016112b1929190613c42565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61136561165d565b73ffffffffffffffffffffffffffffffffffffffff16611383610f04565b73ffffffffffffffffffffffffffffffffffffffff16146113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d09061384e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144090613cd8565b60405180910390fd5b61145281611bc0565b50565b61145d61165d565b73ffffffffffffffffffffffffffffffffffffffff1661147b610f04565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c89061384e565b60405180910390fd5b8060168190555050565b600081600001549050919050565b6001816000016000828254019250508190555050565b60008061150d868685612042565b905061151981856120a3565b915050949350505050565b600080823b905060008111915050919050565b600060ff801682111561157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690613d6a565b60405180910390fd5b819050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116d883610cfb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611729826115f1565b611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90613dfc565b60405180910390fd5b600061177383610cfb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117e257508373ffffffffffffffffffffffffffffffffffffffff166117ca846107d3565b73ffffffffffffffffffffffffffffffffffffffff16145b806117f357506117f281856112c9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661181c82610cfb565b73ffffffffffffffffffffffffffffffffffffffff1614611872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186990613e8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d990613f20565b60405180910390fd5b6118ed838383612138565b6118f8600082611665565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119489190613f40565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461199f9190613f74565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000601354611a6760146114db565b10611a7157600080fd5b611a7b60146114e9565b6000611a8760146114db565b9050611a9161213d565b6017600083815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555060a08201518160000160056101000a81548160ff021916908360ff16021790555060c08201518160000160066101000a81548160ff021916908360ff16021790555060e08201518160000160076101000a81548160ff021916908360ff160217905550905050611bb933826121e0565b8091505090565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cec90614016565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de69190612e86565b60405180910390a3505050565b611dfe8484846117fc565b611e0a848484846121fe565b611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e40906140a8565b60405180910390fd5b50505050565b606060118054611e5e90613588565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8a90613588565b8015611ed75780601f10611eac57610100808354040283529160200191611ed7565b820191906000526020600020905b815481529060010190602001808311611eba57829003601f168201915b5050505050905090565b60606000821415611f29576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061203d565b600082905060005b60008214611f5b578080611f449061392f565b915050600a82611f5491906140f7565b9150611f31565b60008167ffffffffffffffff811115611f7757611f7661310e565b5b6040519080825280601f01601f191660200182016040528015611fa95781602001600182028036833780820191505090505b5090505b6000851461203657600182611fc29190613f40565b9150600a85611fd19190614128565b6030611fdd9190613f74565b60f81b818381518110611ff357611ff2614159565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561202f91906140f7565b9450611fad565b8093505050505b919050565b6000600180856120529190613f74565b4443323a878960405160200161206d96959493929190614212565b6040516020818303038152906040528051906020012060001c6120909190614128565b61209a9190613f74565b90509392505050565b6000805b82518110156120f6578281815181106120c3576120c2614159565b5b60200260200101518411156120e3576120db81611537565b915050612132565b80806120ee9061392f565b9150506120a7565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612129906142ce565b60405180910390fd5b92915050565b505050565b612145612d58565b61214d612d58565b60005b6001156121d85761215f612386565b915061216a8261245d565b9050600115156007600083815260200190815260200160002060009054906101000a900460ff161515146121c95760016007600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506121d8565b6121d1612d58565b9150612150565b819250505090565b6121fa8282604051806020016040528060008152506124be565b5050565b600061221f8473ffffffffffffffffffffffffffffffffffffffff16611524565b15612379578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261224861165d565b8786866040518563ffffffff1660e01b815260040161226a9493929190614343565b6020604051808303816000875af19250505080156122a657506040513d601f19601f820116820180604052508101906122a391906143a4565b60015b612329573d80600081146122d6576040519150601f19603f3d011682016040523d82523d6000602084013e6122db565b606091505b50600081511415612321576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612318906140a8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061237e565b600190505b949350505050565b61238e612d58565b6000806000806000806000806123a2612519565b905060018160ff1610156123d9576123b86125b2565b809850819950829a50839b50849c50859d50869e50505050505050506123fe565b6123e1612690565b809850819950829a50839b50849c50859d50869e50505050505050505b6040518061010001604052808960ff1681526020018860ff1681526020018760ff1681526020018660ff1681526020018560ff1681526020018460ff1681526020018360ff1681526020018260ff168152509850505050505050505090565b6000816000015182602001518360400151846060015185608001518660a001518760c001518860e0015160405160200161249e989796959493929190614407565b6040516020818303038152906040528051906020012060001c9050919050565b6124c883836126d5565b6124d560008484846121fe565b612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b906140a8565b60405180910390fd5b505050565b600061252560066114e9565b6125ad620186a061253660066114db565b600f80548060200260200160405190810160405280929190818152602001828054801561258257602002820191906000526020600020905b81548152602001906001019080831161256e575b50505050507f73706563000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000806000806000806000806125c66128a3565b905060006125d261293c565b905060006125de6129d5565b905060006125ea612a6e565b905060006125f6612b07565b90506000612602612ba0565b905060018260ff1614156126315785858585600086869c509c509c509c509c509c509c50505050505050612687565b600f8460ff16141561265e5785858585600086869c509c509c509c509c509c509c50505050505050612687565b6000612668612c39565b9050868686868487879d509d509d509d509d509d509d50505050505050505b90919293949596565b6000806000806000806000806126a46128a3565b905060006126b061293c565b9050818160008060008060009850985098509850985098509850505090919293949596565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273c906144e5565b60405180910390fd5b61274e816115f1565b1561278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590614551565b60405180910390fd5b61279a60008383612138565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ea9190613f74565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006128af60066114e9565b612937620186a06128c060066114db565b600880548060200260200160405190810160405280929190818152602001828054801561290c57602002820191906000526020600020905b8154815260200190600101908083116128f8575b50505050507f6261636b000000000000000000000000000000000000000000000000000000006114ff565b905090565b600061294860066114e9565b6129d0620186a061295960066114db565b60098054806020026020016040519081016040528092919081815260200182805480156129a557602002820191906000526020600020905b815481526020019060010190808311612991575b50505050507f736b696e000000000000000000000000000000000000000000000000000000006114ff565b905090565b60006129e160066114e9565b612a69620186a06129f260066114db565b600a805480602002602001604051908101604052809291908181526020018280548015612a3e57602002820191906000526020600020905b815481526020019060010190808311612a2a575b50505050507f68617400000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612a7a60066114e9565b612b02620186a0612a8b60066114db565b600b805480602002602001604051908101604052809291908181526020018280548015612ad757602002820191906000526020600020905b815481526020019060010190808311612ac3575b50505050507f65796500000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612b1360066114e9565b612b9b620186a0612b2460066114db565b600d805480602002602001604051908101604052809291908181526020018280548015612b7057602002820191906000526020600020905b815481526020019060010190808311612b5c575b50505050507f636c6f74000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612bac60066114e9565b612c34620186a0612bbd60066114db565b600e805480602002602001604051908101604052809291908181526020018280548015612c0957602002820191906000526020600020905b815481526020019060010190808311612bf5575b50505050507f61726d73000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612c4560066114e9565b612ccd620186a0612c5660066114db565b600c805480602002602001604051908101604052809291908181526020018280548015612ca257602002820191906000526020600020905b815481526020019060010190808311612c8e575b50505050507f6d6f7573000000000000000000000000000000000000000000000000000000006114ff565b905090565b828054612cde90613588565b90600052602060002090601f016020900481019282612d005760008555612d47565b82601f10612d1957805160ff1916838001178555612d47565b82800160010185558215612d47579182015b82811115612d46578251825591602001919060010190612d2b565b5b509050612d549190612db5565b5090565b604051806101000160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b80821115612dce576000816000905550600101612db6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e1b81612de6565b8114612e2657600080fd5b50565b600081359050612e3881612e12565b92915050565b600060208284031215612e5457612e53612ddc565b5b6000612e6284828501612e29565b91505092915050565b60008115159050919050565b612e8081612e6b565b82525050565b6000602082019050612e9b6000830184612e77565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612edb578082015181840152602081019050612ec0565b83811115612eea576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f0c82612ea1565b612f168185612eac565b9350612f26818560208601612ebd565b612f2f81612ef0565b840191505092915050565b60006020820190508181036000830152612f548184612f01565b905092915050565b6000819050919050565b612f6f81612f5c565b8114612f7a57600080fd5b50565b600081359050612f8c81612f66565b92915050565b600060208284031215612fa857612fa7612ddc565b5b6000612fb684828501612f7d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fea82612fbf565b9050919050565b612ffa81612fdf565b82525050565b60006020820190506130156000830184612ff1565b92915050565b61302481612fdf565b811461302f57600080fd5b50565b6000813590506130418161301b565b92915050565b6000806040838503121561305e5761305d612ddc565b5b600061306c85828601613032565b925050602061307d85828601612f7d565b9150509250929050565b61309081612f5c565b82525050565b60006020820190506130ab6000830184613087565b92915050565b6000806000606084860312156130ca576130c9612ddc565b5b60006130d886828701613032565b93505060206130e986828701613032565b92505060406130fa86828701612f7d565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61314682612ef0565b810181811067ffffffffffffffff821117156131655761316461310e565b5b80604052505050565b6000613178612dd2565b9050613184828261313d565b919050565b600067ffffffffffffffff8211156131a4576131a361310e565b5b6131ad82612ef0565b9050602081019050919050565b82818337600083830152505050565b60006131dc6131d784613189565b61316e565b9050828152602081018484840111156131f8576131f7613109565b5b6132038482856131ba565b509392505050565b600082601f8301126132205761321f613104565b5b81356132308482602086016131c9565b91505092915050565b60006020828403121561324f5761324e612ddc565b5b600082013567ffffffffffffffff81111561326d5761326c612de1565b5b6132798482850161320b565b91505092915050565b60006020828403121561329857613297612ddc565b5b60006132a684828501613032565b91505092915050565b600060ff82169050919050565b6132c5816132af565b82525050565b610100820160008201516132e260008501826132bc565b5060208201516132f560208501826132bc565b50604082015161330860408501826132bc565b50606082015161331b60608501826132bc565b50608082015161332e60808501826132bc565b5060a082015161334160a08501826132bc565b5060c082015161335460c08501826132bc565b5060e082015161336760e08501826132bc565b50505050565b60006101008201905061338360008301846132cb565b92915050565b61339281612e6b565b811461339d57600080fd5b50565b6000813590506133af81613389565b92915050565b600080604083850312156133cc576133cb612ddc565b5b60006133da85828601613032565b92505060206133eb858286016133a0565b9150509250929050565b600067ffffffffffffffff8211156134105761340f61310e565b5b61341982612ef0565b9050602081019050919050565b6000613439613434846133f5565b61316e565b90508281526020810184848401111561345557613454613109565b5b6134608482856131ba565b509392505050565b600082601f83011261347d5761347c613104565b5b813561348d848260208601613426565b91505092915050565b600080600080608085870312156134b0576134af612ddc565b5b60006134be87828801613032565b94505060206134cf87828801613032565b93505060406134e087828801612f7d565b925050606085013567ffffffffffffffff81111561350157613500612de1565b5b61350d87828801613468565b91505092959194509250565b600080604083850312156135305761352f612ddc565b5b600061353e85828601613032565b925050602061354f85828601613032565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135a057607f821691505b602082108114156135b4576135b3613559565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613616602c83612eac565b9150613621826135ba565b604082019050919050565b6000602082019050818103600083015261364581613609565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136a8602183612eac565b91506136b38261364c565b604082019050919050565b600060208201905081810360008301526136d78161369b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061373a603883612eac565b9150613745826136de565b604082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006137cc603183612eac565b91506137d782613770565b604082019050919050565b600060208201905081810360008301526137fb816137bf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613838602083612eac565b915061384382613802565b602082019050919050565b600060208201905081810360008301526138678161382b565b9050919050565b7f447572696e6720746865207072652d73616c65732c206f6e6c792035206d696e60008201527f7473206279206163636f756e742061726520617574686f72697a656400000000602082015250565b60006138ca603c83612eac565b91506138d58261386e565b604082019050919050565b600060208201905081810360008301526138f9816138bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061393a82612f5c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561396d5761396c613900565b5b600182019050919050565b7f436c61696d696e672061204e465420636f737473206574686572000000000000600082015250565b60006139ae601a83612eac565b91506139b982613978565b602082019050919050565b600060208201905081810360008301526139dd816139a1565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613a40602983612eac565b9150613a4b826139e4565b604082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613ad2602a83612eac565b9150613add82613a76565b604082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374730000000000000000000000600082015250565b6000613b3e601583612eac565b9150613b4982613b08565b602082019050919050565b60006020820190508181036000830152613b6d81613b31565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613bd0602f83612eac565b9150613bdb82613b74565b604082019050919050565b60006020820190508181036000830152613bff81613bc3565b9050919050565b600081905092915050565b6000613c1c82612ea1565b613c268185613c06565b9350613c36818560208601612ebd565b80840191505092915050565b6000613c4e8285613c11565b9150613c5a8284613c11565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cc2602683612eac565b9150613ccd82613c66565b604082019050919050565b60006020820190508181036000830152613cf181613cb5565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203860008201527f2062697473000000000000000000000000000000000000000000000000000000602082015250565b6000613d54602583612eac565b9150613d5f82613cf8565b604082019050919050565b60006020820190508181036000830152613d8381613d47565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613de6602c83612eac565b9150613df182613d8a565b604082019050919050565b60006020820190508181036000830152613e1581613dd9565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613e78602983612eac565b9150613e8382613e1c565b604082019050919050565b60006020820190508181036000830152613ea781613e6b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613f0a602483612eac565b9150613f1582613eae565b604082019050919050565b60006020820190508181036000830152613f3981613efd565b9050919050565b6000613f4b82612f5c565b9150613f5683612f5c565b925082821015613f6957613f68613900565b5b828203905092915050565b6000613f7f82612f5c565b9150613f8a83612f5c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fbf57613fbe613900565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614000601983612eac565b915061400b82613fca565b602082019050919050565b6000602082019050818103600083015261402f81613ff3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614092603283612eac565b915061409d82614036565b604082019050919050565b600060208201905081810360008301526140c181614085565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061410282612f5c565b915061410d83612f5c565b92508261411d5761411c6140c8565b5b828204905092915050565b600061413382612f5c565b915061413e83612f5c565b92508261414e5761414d6140c8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6141a361419e82612f5c565b614188565b82525050565b60008160601b9050919050565b60006141c1826141a9565b9050919050565b60006141d3826141b6565b9050919050565b6141eb6141e682612fdf565b6141c8565b82525050565b6000819050919050565b61420c61420782612de6565b6141f1565b82525050565b600061421e8289614192565b60208201915061422e8288614192565b60208201915061423e82876141da565b60148201915061424e8286614192565b60208201915061425e82856141fb565b60048201915061426e8284614192565b602082019150819050979650505050505050565b7f44657461696c48656c7065723a3a7069636b4974656d733a204e6f206974656d600082015250565b60006142b8602083612eac565b91506142c382614282565b602082019050919050565b600060208201905081810360008301526142e7816142ab565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614315826142ee565b61431f81856142f9565b935061432f818560208601612ebd565b61433881612ef0565b840191505092915050565b60006080820190506143586000830187612ff1565b6143656020830186612ff1565b6143726040830185613087565b8181036060830152614384818461430a565b905095945050505050565b60008151905061439e81612e12565b92915050565b6000602082840312156143ba576143b9612ddc565b5b60006143c88482850161438f565b91505092915050565b60008160f81b9050919050565b60006143e9826143d1565b9050919050565b6144016143fc826132af565b6143de565b82525050565b6000614413828b6143f0565b600182019150614423828a6143f0565b60018201915061443382896143f0565b60018201915061444382886143f0565b60018201915061445382876143f0565b60018201915061446382866143f0565b60018201915061447382856143f0565b60018201915061448382846143f0565b6001820191508190509998505050505050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006144cf602083612eac565b91506144da82614499565b602082019050919050565b600060208201905081810360008301526144fe816144c2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061453b601c83612eac565b915061454682614505565b602082019050919050565b6000602082019050818103600083015261456a8161452e565b905091905056fea26469706673582212203625b4ac906eb76bb3326733041f39ff406df51a9f318f2b816815a91d2520fb64736f6c634300080a003368747470733a2f2f73706163656469636b732d6170692e6865726f6b756170702e636f6d2f746f6b656e2f
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610593578063e985e9c5146105d0578063f2fde38b1461060d578063fcc91875146106365761019c565b8063a22cb46514610518578063b88d4fde14610541578063bc9e12801461056a5761019c565b80638da5cb5b116100c65780638da5cb5b1461045a5780639507d39a1461048557806395d89b41146104c257806399d32fc4146104ed5761019c565b806370a08231146103db578063715018a614610418578063771282f61461042f5761019c565b806323b872dd116101595780634e71d92d116101335780634e71d92d1461034057806355f804b31461034a5780636352211e1461037357806370418a83146103b05761019c565b806323b872dd146102c55780632e75ab50146102ee57806342842e0e146103175761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780630f4435731461026f57806318160ddd1461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190612e3e565b61065f565b6040516101d59190612e86565b60405180910390f35b3480156101ea57600080fd5b506101f3610741565b6040516102009190612f3a565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612f92565b6107d3565b60405161023d9190613000565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190613047565b610858565b005b34801561027b57600080fd5b50610284610970565b6040516102919190613096565b60405180910390f35b3480156102a657600080fd5b506102af610976565b6040516102bc9190613096565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e791906130b1565b61097c565b005b3480156102fa57600080fd5b5061031560048036038101906103109190612f92565b6109dc565b005b34801561032357600080fd5b5061033e600480360381019061033991906130b1565b610a62565b005b610348610a82565b005b34801561035657600080fd5b50610371600480360381019061036c9190613239565b610c65565b005b34801561037f57600080fd5b5061039a60048036038101906103959190612f92565b610cfb565b6040516103a79190613000565b60405180910390f35b3480156103bc57600080fd5b506103c5610dad565b6040516103d29190613096565b60405180910390f35b3480156103e757600080fd5b5061040260048036038101906103fd9190613282565b610db3565b60405161040f9190613096565b60405180910390f35b34801561042457600080fd5b5061042d610e6b565b005b34801561043b57600080fd5b50610444610ef3565b6040516104519190613096565b60405180910390f35b34801561046657600080fd5b5061046f610f04565b60405161047c9190613000565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190612f92565b610f2e565b6040516104b9919061336d565b60405180910390f35b3480156104ce57600080fd5b506104d761108c565b6040516104e49190612f3a565b60405180910390f35b3480156104f957600080fd5b5061050261111e565b60405161050f9190613096565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a91906133b5565b611124565b005b34801561054d57600080fd5b5061056860048036038101906105639190613496565b61113a565b005b34801561057657600080fd5b50610591600480360381019061058c9190612f92565b61119c565b005b34801561059f57600080fd5b506105ba60048036038101906105b59190612f92565b611222565b6040516105c79190612f3a565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190613519565b6112c9565b6040516106049190612e86565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190613282565b61135d565b005b34801561064257600080fd5b5061065d60048036038101906106589190612f92565b611455565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061073a575061073982611587565b5b9050919050565b60606000805461075090613588565b80601f016020809104026020016040519081016040528092919081815260200182805461077c90613588565b80156107c95780601f1061079e576101008083540402835291602001916107c9565b820191906000526020600020905b8154815290600101906020018083116107ac57829003601f168201915b5050505050905090565b60006107de826115f1565b61081d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108149061362c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086382610cfb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cb906136be565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108f361165d565b73ffffffffffffffffffffffffffffffffffffffff16148061092257506109218161091c61165d565b6112c9565b5b610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890613750565b60405180910390fd5b61096b8383611665565b505050565b60155481565b60135481565b61098d61098761165d565b8261171e565b6109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c3906137e2565b60405180910390fd5b6109d78383836117fc565b505050565b6109e461165d565b73ffffffffffffffffffffffffffffffffffffffff16610a02610f04565b73ffffffffffffffffffffffffffffffffffffffff1614610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f9061384e565b60405180910390fd5b8060128190555050565b610a7d8383836040518060200160405280600081525061113a565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16610aa1610f04565b73ffffffffffffffffffffffffffffffffffffffff161415610acb57610ac5611a58565b50610c63565b601554610ad860146114db565b1015610bc457601654601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b58906138e0565b60405180910390fd5b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610bb19061392f565b9190505550610bbe611a58565b50610c62565b6012543414610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff906139c4565b60405180910390fd5b610c10611a58565b50610c19610f04565b73ffffffffffffffffffffffffffffffffffffffff166108fc6012549081150290604051600060405180830381858888f19350505050158015610c60573d6000803e3d6000fd5b505b5b565b610c6d61165d565b73ffffffffffffffffffffffffffffffffffffffff16610c8b610f04565b73ffffffffffffffffffffffffffffffffffffffff1614610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd89061384e565b60405180910390fd5b8060119080519060200190610cf7929190612cd2565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90613a56565b60405180910390fd5b80915050919050565b60165481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b90613ae8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e7361165d565b73ffffffffffffffffffffffffffffffffffffffff16610e91610f04565b73ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede9061384e565b60405180910390fd5b610ef16000611bc0565b565b6000610eff60146114db565b905090565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f36612d58565b610f3f826115f1565b610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7590613b54565b60405180910390fd5b60176000838152602001908152602001600020604051806101000160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff1681526020016000820160069054906101000a900460ff1660ff1660ff1681526020016000820160079054906101000a900460ff1660ff1660ff16815250509050919050565b60606001805461109b90613588565b80601f01602080910402602001604051908101604052809291908181526020018280546110c790613588565b80156111145780601f106110e957610100808354040283529160200191611114565b820191906000526020600020905b8154815290600101906020018083116110f757829003601f168201915b5050505050905090565b60125481565b61113661112f61165d565b8383611c86565b5050565b61114b61114561165d565b8361171e565b61118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906137e2565b60405180910390fd5b61119684848484611df3565b50505050565b6111a461165d565b73ffffffffffffffffffffffffffffffffffffffff166111c2610f04565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f9061384e565b60405180910390fd5b8060158190555050565b606061122d826115f1565b61126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390613be6565b60405180910390fd5b6000611276611e4f565b9050600081511161129657604051806020016040528060008152506112c1565b806112a084611ee1565b6040516020016112b1929190613c42565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61136561165d565b73ffffffffffffffffffffffffffffffffffffffff16611383610f04565b73ffffffffffffffffffffffffffffffffffffffff16146113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d09061384e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144090613cd8565b60405180910390fd5b61145281611bc0565b50565b61145d61165d565b73ffffffffffffffffffffffffffffffffffffffff1661147b610f04565b73ffffffffffffffffffffffffffffffffffffffff16146114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c89061384e565b60405180910390fd5b8060168190555050565b600081600001549050919050565b6001816000016000828254019250508190555050565b60008061150d868685612042565b905061151981856120a3565b915050949350505050565b600080823b905060008111915050919050565b600060ff801682111561157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690613d6a565b60405180910390fd5b819050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116d883610cfb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611729826115f1565b611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90613dfc565b60405180910390fd5b600061177383610cfb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117e257508373ffffffffffffffffffffffffffffffffffffffff166117ca846107d3565b73ffffffffffffffffffffffffffffffffffffffff16145b806117f357506117f281856112c9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661181c82610cfb565b73ffffffffffffffffffffffffffffffffffffffff1614611872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186990613e8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d990613f20565b60405180910390fd5b6118ed838383612138565b6118f8600082611665565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119489190613f40565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461199f9190613f74565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000601354611a6760146114db565b10611a7157600080fd5b611a7b60146114e9565b6000611a8760146114db565b9050611a9161213d565b6017600083815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555060a08201518160000160056101000a81548160ff021916908360ff16021790555060c08201518160000160066101000a81548160ff021916908360ff16021790555060e08201518160000160076101000a81548160ff021916908360ff160217905550905050611bb933826121e0565b8091505090565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cec90614016565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de69190612e86565b60405180910390a3505050565b611dfe8484846117fc565b611e0a848484846121fe565b611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e40906140a8565b60405180910390fd5b50505050565b606060118054611e5e90613588565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8a90613588565b8015611ed75780601f10611eac57610100808354040283529160200191611ed7565b820191906000526020600020905b815481529060010190602001808311611eba57829003601f168201915b5050505050905090565b60606000821415611f29576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061203d565b600082905060005b60008214611f5b578080611f449061392f565b915050600a82611f5491906140f7565b9150611f31565b60008167ffffffffffffffff811115611f7757611f7661310e565b5b6040519080825280601f01601f191660200182016040528015611fa95781602001600182028036833780820191505090505b5090505b6000851461203657600182611fc29190613f40565b9150600a85611fd19190614128565b6030611fdd9190613f74565b60f81b818381518110611ff357611ff2614159565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561202f91906140f7565b9450611fad565b8093505050505b919050565b6000600180856120529190613f74565b4443323a878960405160200161206d96959493929190614212565b6040516020818303038152906040528051906020012060001c6120909190614128565b61209a9190613f74565b90509392505050565b6000805b82518110156120f6578281815181106120c3576120c2614159565b5b60200260200101518411156120e3576120db81611537565b915050612132565b80806120ee9061392f565b9150506120a7565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612129906142ce565b60405180910390fd5b92915050565b505050565b612145612d58565b61214d612d58565b60005b6001156121d85761215f612386565b915061216a8261245d565b9050600115156007600083815260200190815260200160002060009054906101000a900460ff161515146121c95760016007600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506121d8565b6121d1612d58565b9150612150565b819250505090565b6121fa8282604051806020016040528060008152506124be565b5050565b600061221f8473ffffffffffffffffffffffffffffffffffffffff16611524565b15612379578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261224861165d565b8786866040518563ffffffff1660e01b815260040161226a9493929190614343565b6020604051808303816000875af19250505080156122a657506040513d601f19601f820116820180604052508101906122a391906143a4565b60015b612329573d80600081146122d6576040519150601f19603f3d011682016040523d82523d6000602084013e6122db565b606091505b50600081511415612321576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612318906140a8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061237e565b600190505b949350505050565b61238e612d58565b6000806000806000806000806123a2612519565b905060018160ff1610156123d9576123b86125b2565b809850819950829a50839b50849c50859d50869e50505050505050506123fe565b6123e1612690565b809850819950829a50839b50849c50859d50869e50505050505050505b6040518061010001604052808960ff1681526020018860ff1681526020018760ff1681526020018660ff1681526020018560ff1681526020018460ff1681526020018360ff1681526020018260ff168152509850505050505050505090565b6000816000015182602001518360400151846060015185608001518660a001518760c001518860e0015160405160200161249e989796959493929190614407565b6040516020818303038152906040528051906020012060001c9050919050565b6124c883836126d5565b6124d560008484846121fe565b612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b906140a8565b60405180910390fd5b505050565b600061252560066114e9565b6125ad620186a061253660066114db565b600f80548060200260200160405190810160405280929190818152602001828054801561258257602002820191906000526020600020905b81548152602001906001019080831161256e575b50505050507f73706563000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000806000806000806000806125c66128a3565b905060006125d261293c565b905060006125de6129d5565b905060006125ea612a6e565b905060006125f6612b07565b90506000612602612ba0565b905060018260ff1614156126315785858585600086869c509c509c509c509c509c509c50505050505050612687565b600f8460ff16141561265e5785858585600086869c509c509c509c509c509c509c50505050505050612687565b6000612668612c39565b9050868686868487879d509d509d509d509d509d509d50505050505050505b90919293949596565b6000806000806000806000806126a46128a3565b905060006126b061293c565b9050818160008060008060009850985098509850985098509850505090919293949596565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273c906144e5565b60405180910390fd5b61274e816115f1565b1561278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590614551565b60405180910390fd5b61279a60008383612138565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ea9190613f74565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006128af60066114e9565b612937620186a06128c060066114db565b600880548060200260200160405190810160405280929190818152602001828054801561290c57602002820191906000526020600020905b8154815260200190600101908083116128f8575b50505050507f6261636b000000000000000000000000000000000000000000000000000000006114ff565b905090565b600061294860066114e9565b6129d0620186a061295960066114db565b60098054806020026020016040519081016040528092919081815260200182805480156129a557602002820191906000526020600020905b815481526020019060010190808311612991575b50505050507f736b696e000000000000000000000000000000000000000000000000000000006114ff565b905090565b60006129e160066114e9565b612a69620186a06129f260066114db565b600a805480602002602001604051908101604052809291908181526020018280548015612a3e57602002820191906000526020600020905b815481526020019060010190808311612a2a575b50505050507f68617400000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612a7a60066114e9565b612b02620186a0612a8b60066114db565b600b805480602002602001604051908101604052809291908181526020018280548015612ad757602002820191906000526020600020905b815481526020019060010190808311612ac3575b50505050507f65796500000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612b1360066114e9565b612b9b620186a0612b2460066114db565b600d805480602002602001604051908101604052809291908181526020018280548015612b7057602002820191906000526020600020905b815481526020019060010190808311612b5c575b50505050507f636c6f74000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612bac60066114e9565b612c34620186a0612bbd60066114db565b600e805480602002602001604051908101604052809291908181526020018280548015612c0957602002820191906000526020600020905b815481526020019060010190808311612bf5575b50505050507f61726d73000000000000000000000000000000000000000000000000000000006114ff565b905090565b6000612c4560066114e9565b612ccd620186a0612c5660066114db565b600c805480602002602001604051908101604052809291908181526020018280548015612ca257602002820191906000526020600020905b815481526020019060010190808311612c8e575b50505050507f6d6f7573000000000000000000000000000000000000000000000000000000006114ff565b905090565b828054612cde90613588565b90600052602060002090601f016020900481019282612d005760008555612d47565b82601f10612d1957805160ff1916838001178555612d47565b82800160010185558215612d47579182015b82811115612d46578251825591602001919060010190612d2b565b5b509050612d549190612db5565b5090565b604051806101000160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b80821115612dce576000816000905550600101612db6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e1b81612de6565b8114612e2657600080fd5b50565b600081359050612e3881612e12565b92915050565b600060208284031215612e5457612e53612ddc565b5b6000612e6284828501612e29565b91505092915050565b60008115159050919050565b612e8081612e6b565b82525050565b6000602082019050612e9b6000830184612e77565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612edb578082015181840152602081019050612ec0565b83811115612eea576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f0c82612ea1565b612f168185612eac565b9350612f26818560208601612ebd565b612f2f81612ef0565b840191505092915050565b60006020820190508181036000830152612f548184612f01565b905092915050565b6000819050919050565b612f6f81612f5c565b8114612f7a57600080fd5b50565b600081359050612f8c81612f66565b92915050565b600060208284031215612fa857612fa7612ddc565b5b6000612fb684828501612f7d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fea82612fbf565b9050919050565b612ffa81612fdf565b82525050565b60006020820190506130156000830184612ff1565b92915050565b61302481612fdf565b811461302f57600080fd5b50565b6000813590506130418161301b565b92915050565b6000806040838503121561305e5761305d612ddc565b5b600061306c85828601613032565b925050602061307d85828601612f7d565b9150509250929050565b61309081612f5c565b82525050565b60006020820190506130ab6000830184613087565b92915050565b6000806000606084860312156130ca576130c9612ddc565b5b60006130d886828701613032565b93505060206130e986828701613032565b92505060406130fa86828701612f7d565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61314682612ef0565b810181811067ffffffffffffffff821117156131655761316461310e565b5b80604052505050565b6000613178612dd2565b9050613184828261313d565b919050565b600067ffffffffffffffff8211156131a4576131a361310e565b5b6131ad82612ef0565b9050602081019050919050565b82818337600083830152505050565b60006131dc6131d784613189565b61316e565b9050828152602081018484840111156131f8576131f7613109565b5b6132038482856131ba565b509392505050565b600082601f8301126132205761321f613104565b5b81356132308482602086016131c9565b91505092915050565b60006020828403121561324f5761324e612ddc565b5b600082013567ffffffffffffffff81111561326d5761326c612de1565b5b6132798482850161320b565b91505092915050565b60006020828403121561329857613297612ddc565b5b60006132a684828501613032565b91505092915050565b600060ff82169050919050565b6132c5816132af565b82525050565b610100820160008201516132e260008501826132bc565b5060208201516132f560208501826132bc565b50604082015161330860408501826132bc565b50606082015161331b60608501826132bc565b50608082015161332e60808501826132bc565b5060a082015161334160a08501826132bc565b5060c082015161335460c08501826132bc565b5060e082015161336760e08501826132bc565b50505050565b60006101008201905061338360008301846132cb565b92915050565b61339281612e6b565b811461339d57600080fd5b50565b6000813590506133af81613389565b92915050565b600080604083850312156133cc576133cb612ddc565b5b60006133da85828601613032565b92505060206133eb858286016133a0565b9150509250929050565b600067ffffffffffffffff8211156134105761340f61310e565b5b61341982612ef0565b9050602081019050919050565b6000613439613434846133f5565b61316e565b90508281526020810184848401111561345557613454613109565b5b6134608482856131ba565b509392505050565b600082601f83011261347d5761347c613104565b5b813561348d848260208601613426565b91505092915050565b600080600080608085870312156134b0576134af612ddc565b5b60006134be87828801613032565b94505060206134cf87828801613032565b93505060406134e087828801612f7d565b925050606085013567ffffffffffffffff81111561350157613500612de1565b5b61350d87828801613468565b91505092959194509250565b600080604083850312156135305761352f612ddc565b5b600061353e85828601613032565b925050602061354f85828601613032565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135a057607f821691505b602082108114156135b4576135b3613559565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613616602c83612eac565b9150613621826135ba565b604082019050919050565b6000602082019050818103600083015261364581613609565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136a8602183612eac565b91506136b38261364c565b604082019050919050565b600060208201905081810360008301526136d78161369b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061373a603883612eac565b9150613745826136de565b604082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006137cc603183612eac565b91506137d782613770565b604082019050919050565b600060208201905081810360008301526137fb816137bf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613838602083612eac565b915061384382613802565b602082019050919050565b600060208201905081810360008301526138678161382b565b9050919050565b7f447572696e6720746865207072652d73616c65732c206f6e6c792035206d696e60008201527f7473206279206163636f756e742061726520617574686f72697a656400000000602082015250565b60006138ca603c83612eac565b91506138d58261386e565b604082019050919050565b600060208201905081810360008301526138f9816138bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061393a82612f5c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561396d5761396c613900565b5b600182019050919050565b7f436c61696d696e672061204e465420636f737473206574686572000000000000600082015250565b60006139ae601a83612eac565b91506139b982613978565b602082019050919050565b600060208201905081810360008301526139dd816139a1565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613a40602983612eac565b9150613a4b826139e4565b604082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613ad2602a83612eac565b9150613add82613a76565b604082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374730000000000000000000000600082015250565b6000613b3e601583612eac565b9150613b4982613b08565b602082019050919050565b60006020820190508181036000830152613b6d81613b31565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613bd0602f83612eac565b9150613bdb82613b74565b604082019050919050565b60006020820190508181036000830152613bff81613bc3565b9050919050565b600081905092915050565b6000613c1c82612ea1565b613c268185613c06565b9350613c36818560208601612ebd565b80840191505092915050565b6000613c4e8285613c11565b9150613c5a8284613c11565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cc2602683612eac565b9150613ccd82613c66565b604082019050919050565b60006020820190508181036000830152613cf181613cb5565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203860008201527f2062697473000000000000000000000000000000000000000000000000000000602082015250565b6000613d54602583612eac565b9150613d5f82613cf8565b604082019050919050565b60006020820190508181036000830152613d8381613d47565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613de6602c83612eac565b9150613df182613d8a565b604082019050919050565b60006020820190508181036000830152613e1581613dd9565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613e78602983612eac565b9150613e8382613e1c565b604082019050919050565b60006020820190508181036000830152613ea781613e6b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613f0a602483612eac565b9150613f1582613eae565b604082019050919050565b60006020820190508181036000830152613f3981613efd565b9050919050565b6000613f4b82612f5c565b9150613f5683612f5c565b925082821015613f6957613f68613900565b5b828203905092915050565b6000613f7f82612f5c565b9150613f8a83612f5c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fbf57613fbe613900565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614000601983612eac565b915061400b82613fca565b602082019050919050565b6000602082019050818103600083015261402f81613ff3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614092603283612eac565b915061409d82614036565b604082019050919050565b600060208201905081810360008301526140c181614085565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061410282612f5c565b915061410d83612f5c565b92508261411d5761411c6140c8565b5b828204905092915050565b600061413382612f5c565b915061413e83612f5c565b92508261414e5761414d6140c8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6141a361419e82612f5c565b614188565b82525050565b60008160601b9050919050565b60006141c1826141a9565b9050919050565b60006141d3826141b6565b9050919050565b6141eb6141e682612fdf565b6141c8565b82525050565b6000819050919050565b61420c61420782612de6565b6141f1565b82525050565b600061421e8289614192565b60208201915061422e8288614192565b60208201915061423e82876141da565b60148201915061424e8286614192565b60208201915061425e82856141fb565b60048201915061426e8284614192565b602082019150819050979650505050505050565b7f44657461696c48656c7065723a3a7069636b4974656d733a204e6f206974656d600082015250565b60006142b8602083612eac565b91506142c382614282565b602082019050919050565b600060208201905081810360008301526142e7816142ab565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614315826142ee565b61431f81856142f9565b935061432f818560208601612ebd565b61433881612ef0565b840191505092915050565b60006080820190506143586000830187612ff1565b6143656020830186612ff1565b6143726040830185613087565b8181036060830152614384818461430a565b905095945050505050565b60008151905061439e81612e12565b92915050565b6000602082840312156143ba576143b9612ddc565b5b60006143c88482850161438f565b91505092915050565b60008160f81b9050919050565b60006143e9826143d1565b9050919050565b6144016143fc826132af565b6143de565b82525050565b6000614413828b6143f0565b600182019150614423828a6143f0565b60018201915061443382896143f0565b60018201915061444382886143f0565b60018201915061445382876143f0565b60018201915061446382866143f0565b60018201915061447382856143f0565b60018201915061448382846143f0565b6001820191508190509998505050505050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006144cf602083612eac565b91506144da82614499565b602082019050919050565b600060208201905081810360008301526144fe816144c2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061453b601c83612eac565b915061454682614505565b602082019050919050565b6000602082019050818103600083015261456a8161452e565b905091905056fea26469706673582212203625b4ac906eb76bb3326733041f39ff406df51a9f318f2b816815a91d2520fb64736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | Polygon (POL) | 100.00% | $0.627712 | 0.01 | $0.006277 |
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.