ERC-721
Overview
Max Total Supply
111 CPPT
Holders
92
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CPPTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
CryptoPuppets
Compiler Version
v0.8.6+commit.11564f7e
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.6; // @title: CRYPTOPUPPETS // @desc: LAPO FATAI ICONIC CHARACTER // @artist: https://www.instagram.com/lapofatai // @team: https://cryptopuppets.io // @author: https://medusa.dev // @url: https://cryptopuppets.io import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract CryptoPuppets is Ownable, ERC721Enumerable, IERC2981, ReentrancyGuard { event PresaleEnabled(); event PublicSaleEnabled(); event SaleEnded(); event MetadataRevealed(); event TokenMinted(); uint256 private constant MAX_SUPPLY = 111; uint256 private constant NUM_RESERVED = 11; uint256 private constant MAX_WHITELISTED = 30; bool private isReservedMinted; struct Whitelist { mapping(address => bool) map; uint256 length; } Whitelist private whitelist; mapping(address => bool) private hasMinted; uint256 public constant PRESALE_MINT_COST = 0.1 ether; uint256 public constant PUBLIC_SALE_MINT_COST = 0.15 ether; bool public isMetadataLocked; bool public isMetadataRevealed; bool public isPresale; bool public isPublicSale; bool public hasSaleEnded; address public royaltyReceiver; uint256 public royaltyPercentage; string public baseURI; string public unrevealedTokenURI; constructor(string memory unrevealedTokenURI_) ERC721("CryptoPuppets", "CPPT") { unrevealedTokenURI = unrevealedTokenURI_; royaltyReceiver = owner(); royaltyPercentage = 800; } function isWhitelisted(address addr) public view returns (bool) { return whitelist.map[addr]; } function addWhitelisted(address[] memory newWhitelisted) external onlyOwner { for (uint256 i = 0; i < newWhitelisted.length; i++) { if (!whitelist.map[newWhitelisted[i]]) { require( whitelist.length + 1 <= MAX_WHITELISTED, "Max whitelist length reached" ); whitelist.map[newWhitelisted[i]] = true; whitelist.length++; } } } function didMint(address addr) public view returns (bool) { return hasMinted[addr]; } function enablePresale() external onlyOwner { require(!hasSaleEnded, "Sale ended"); require(isReservedMinted, "Reserved tokens not minted"); isPresale = true; emit PresaleEnabled(); } function enablePublicSale() external onlyOwner { require(!hasSaleEnded, "Sale ended"); require(isPresale, "Presale still did not start"); isPublicSale = true; emit PublicSaleEnabled(); } function mintReserved(address[NUM_RESERVED] memory addresses) external onlyOwner nonReentrant { for (uint256 index = 0; index < NUM_RESERVED; index++) { _safeMint(addresses[index], index + 1); } isReservedMinted = true; } function whitelistedMint() external payable nonReentrant { require(!hasSaleEnded, "Sale ended"); require(isPresale, "Presale is not enabled"); require(totalSupply() < MAX_SUPPLY, "Max supply reached"); require(whitelist.map[msg.sender], "Address not whitelisted"); require(!hasMinted[msg.sender], "Max one mint per address"); require(msg.value >= PRESALE_MINT_COST, "Not enough ETH"); if (totalSupply() + 1 == MAX_SUPPLY) { isPresale = false; isPublicSale = false; hasSaleEnded = true; emit SaleEnded(); } hasMinted[msg.sender] = true; if (msg.value > PRESALE_MINT_COST) { payable(msg.sender).transfer(msg.value - PRESALE_MINT_COST); } _safeMint(msg.sender, totalSupply() + 1); emit TokenMinted(); } function publicSaleMint() external payable nonReentrant { require(!hasSaleEnded, "Sale ended"); require(isPublicSale, "Public sale is not enabled"); require(totalSupply() < MAX_SUPPLY, "Max supply reached"); require(!hasMinted[msg.sender], "Max one mint per address"); require(msg.value >= PUBLIC_SALE_MINT_COST, "Not enough ETH"); if (totalSupply() + 1 == MAX_SUPPLY) { isPresale = false; isPublicSale = false; hasSaleEnded = true; emit SaleEnded(); } hasMinted[msg.sender] = true; if (msg.value > PUBLIC_SALE_MINT_COST) { payable(msg.sender).transfer(msg.value - PUBLIC_SALE_MINT_COST); } _safeMint(msg.sender, totalSupply() + 1); emit TokenMinted(); } function endSale() external onlyOwner { require(!hasSaleEnded, "Sale already ended"); while (totalSupply() < MAX_SUPPLY) { _safeMint(msg.sender, totalSupply() + 1); } isPresale = false; isPublicSale = false; hasSaleEnded = true; emit SaleEnded(); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No balance to withdraw"); payable(msg.sender).transfer(balance); } function lockMetadata() external onlyOwner { require(!isMetadataLocked, "Metadata are already locked"); require(isMetadataRevealed, "Metadata are not revealed"); isMetadataLocked = true; } function revealMetadata() external onlyOwner { require(!isMetadataRevealed, "Metadata are already revealed"); isMetadataRevealed = true; emit MetadataRevealed(); } function setRoyaltyReceiver(address royaltyReceiver_) external onlyOwner { royaltyReceiver = royaltyReceiver_; } function setRoyaltyPercentage(uint256 royaltyPercentage_) external onlyOwner { require(royaltyPercentage_ <= 10000, "Royalty percentage Too high"); royaltyPercentage = royaltyPercentage_; } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Nonexistent token"); return (royaltyReceiver, (salePrice * royaltyPercentage) / 10000); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); return isMetadataRevealed ? super.tokenURI(tokenId) : unrevealedTokenURI; } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) public onlyOwner { require(!isMetadataLocked, "Metadata are locked"); baseURI = baseURI_; } function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableMap.sol) pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping(bytes32 => bytes32) _values; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { map._values[key] = value; return map._keys.add(key); } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { delete map._values[key]; return map._keys.remove(key); } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.length(); } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"unrevealedTokenURI_","type":"string"}],"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":[],"name":"MetadataRevealed","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":[],"name":"PresaleEnabled","type":"event"},{"anonymous":false,"inputs":[],"name":"PublicSaleEnabled","type":"event"},{"anonymous":false,"inputs":[],"name":"SaleEnded","type":"event"},{"anonymous":false,"inputs":[],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PRESALE_MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"newWhitelisted","type":"address[]"}],"name":"addWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"didMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enablePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isMetadataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[11]","name":"addresses","type":"address[11]"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","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":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentage_","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver_","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620065743803806200657483398181016040528101906200003791906200039b565b6040518060400160405280600d81526020017f43727970746f50757070657473000000000000000000000000000000000000008152506040518060400160405280600481526020017f4350505400000000000000000000000000000000000000000000000000000000815250620000c3620000b76200017860201b60201c565b6200018060201b60201c565b8160019080519060200190620000db9291906200026d565b508060029080519060200190620000f49291906200026d565b5050506001600b819055508060139080519060200190620001179291906200026d565b50620001286200024460201b60201c565b601060056101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103206011819055505062000570565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200027b9062000481565b90600052602060002090601f0160209004810192826200029f5760008555620002eb565b82601f10620002ba57805160ff1916838001178555620002eb565b82800160010185558215620002eb579182015b82811115620002ea578251825591602001919060010190620002cd565b5b509050620002fa9190620002fe565b5090565b5b8082111562000319576000816000905550600101620002ff565b5090565b6000620003346200032e8462000415565b620003ec565b90508281526020810184848401111562000353576200035262000550565b5b620003608482856200044b565b509392505050565b600082601f83011262000380576200037f6200054b565b5b8151620003928482602086016200031d565b91505092915050565b600060208284031215620003b457620003b36200055a565b5b600082015167ffffffffffffffff811115620003d557620003d462000555565b5b620003e38482850162000368565b91505092915050565b6000620003f86200040b565b9050620004068282620004b7565b919050565b6000604051905090565b600067ffffffffffffffff8211156200043357620004326200051c565b5b6200043e826200055f565b9050602081019050919050565b60005b838110156200046b5780820151818401526020810190506200044e565b838111156200047b576000848401525b50505050565b600060028204905060018216806200049a57607f821691505b60208210811415620004b157620004b0620004ed565b5b50919050565b620004c2826200055f565b810181811067ffffffffffffffff82111715620004e457620004e36200051c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b615ff480620005806000396000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063a5a865dc116100c1578063c46f0b821161007a578063c46f0b821461091c578063c87b56dd14610947578063d2eb86ee14610984578063d7e45cd71461098e578063e985e9c5146109b9578063f2fde38b146109f65761027d565b8063a5a865dc14610832578063a7fa5b881461085d578063a8eac49214610886578063b203e0f61461089d578063b2873d5c146108c8578063b88d4fde146108f35761027d565b80639182a9df116101135780639182a9df1461075a57806395364a841461077157806395d89b411461079c578063989bdbb6146107c75780639fbc8713146107de578063a22cb465146108095761027d565b8063715018a6146106ba57806378ded91e146106d15780638a71bb2d146106db5780638da5cb5b146107065780638dc251e3146107315761027d565b8063380d831b116101f357806355f804b3116101ac57806355f804b31461059857806361ba27da146105c15780636352211e146105ea5780636bacc0fa146106275780636c0360eb1461065257806370a082311461067d5761027d565b8063380d831b1461049c5780633af32abf146104b35780633cb8dcdd146104f05780633ccfd60b1461051b57806342842e0e146105325780634f6ccce71461055b5761027d565b8063227275ef11610245578063227275ef1461037b5780632316b4da146103a457806323b872dd146103bb5780632a55205a146103e45780632f745c59146104225780633241e9171461045f5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806318160ddd14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190614552565b610a1f565b6040516102b69190614d18565b60405180910390f35b3480156102cb57600080fd5b506102d4610a99565b6040516102e19190614d33565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c91906145f5565b610b2b565b60405161031e9190614c88565b60405180910390f35b34801561033357600080fd5b5061034e6004803603810190610349919061449b565b610bb0565b005b34801561035c57600080fd5b50610365610cc8565b6040516103729190615215565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190614509565b610cd5565b005b3480156103b057600080fd5b506103b9610ec8565b005b3480156103c757600080fd5b506103e260048036038101906103dd9190614385565b61102c565b005b3480156103f057600080fd5b5061040b60048036038101906104069190614622565b61108c565b604051610419929190614cef565b60405180910390f35b34801561042e57600080fd5b506104496004803603810190610444919061449b565b611120565b6040516104569190615215565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190614318565b6111c5565b6040516104939190614d18565b60405180910390f35b3480156104a857600080fd5b506104b161121b565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190614318565b611399565b6040516104e79190614d18565b60405180910390f35b3480156104fc57600080fd5b506105056113f2565b6040516105129190614d18565b60405180910390f35b34801561052757600080fd5b50610530611405565b005b34801561053e57600080fd5b5061055960048036038101906105549190614385565b611513565b005b34801561056757600080fd5b50610582600480360381019061057d91906145f5565b611533565b60405161058f9190615215565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba91906145ac565b6115a4565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906145f5565b61168a565b005b3480156105f657600080fd5b50610611600480360381019061060c91906145f5565b611755565b60405161061e9190614c88565b60405180910390f35b34801561063357600080fd5b5061063c611807565b6040516106499190614d18565b60405180910390f35b34801561065e57600080fd5b5061066761181a565b6040516106749190614d33565b60405180910390f35b34801561068957600080fd5b506106a4600480360381019061069f9190614318565b6118a8565b6040516106b19190615215565b60405180910390f35b3480156106c657600080fd5b506106cf611960565b005b6106d96119e8565b005b3480156106e757600080fd5b506106f0611e36565b6040516106fd9190615215565b60405180910390f35b34801561071257600080fd5b5061071b611e3c565b6040516107289190614c88565b60405180910390f35b34801561073d57600080fd5b5061075860048036038101906107539190614318565b611e65565b005b34801561076657600080fd5b5061076f611f25565b005b34801561077d57600080fd5b5061078661203a565b6040516107939190614d18565b60405180910390f35b3480156107a857600080fd5b506107b161204d565b6040516107be9190614d33565b60405180910390f35b3480156107d357600080fd5b506107dc6120df565b005b3480156107ea57600080fd5b506107f3612217565b6040516108009190614c88565b60405180910390f35b34801561081557600080fd5b50610830600480360381019061082b919061445b565b61223d565b005b34801561083e57600080fd5b50610847612253565b6040516108549190614d18565b60405180910390f35b34801561086957600080fd5b50610884600480360381019061087f91906144db565b612266565b005b34801561089257600080fd5b5061089b6123a3565b005b3480156108a957600080fd5b506108b2612507565b6040516108bf9190615215565b60405180910390f35b3480156108d457600080fd5b506108dd612513565b6040516108ea9190614d33565b60405180910390f35b3480156108ff57600080fd5b5061091a600480360381019061091591906143d8565b6125a1565b005b34801561092857600080fd5b50610931612603565b60405161093e9190615215565b60405180910390f35b34801561095357600080fd5b5061096e600480360381019061096991906145f5565b61260f565b60405161097b9190614d33565b60405180910390f35b61098c61270e565b005b34801561099a57600080fd5b506109a3612acd565b6040516109b09190614d18565b60405180910390f35b3480156109c557600080fd5b506109e060048036038101906109db9190614345565b612ae0565b6040516109ed9190614d18565b60405180910390f35b348015610a0257600080fd5b50610a1d6004803603810190610a189190614318565b612b74565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a925750610a9182612c6c565b5b9050919050565b606060018054610aa890615517565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad490615517565b8015610b215780601f10610af657610100808354040283529160200191610b21565b820191906000526020600020905b815481529060010190602001808311610b0457829003601f168201915b5050505050905090565b6000610b3682612ce6565b610b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6c90614ff5565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bbb82611755565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c23906150d5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4b612d52565b73ffffffffffffffffffffffffffffffffffffffff161480610c7a5750610c7981610c74612d52565b612ae0565b5b610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb090614eb5565b60405180910390fd5b610cc38383612d5a565b505050565b6000600980549050905090565b610cdd612d52565b73ffffffffffffffffffffffffffffffffffffffff16610cfb611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614610d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4890615015565b60405180910390fd5b60005b8151811015610ec457600d6000016000838381518110610d7757610d766156b0565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610eb157601e6001600d60010154610ddf919061534c565b1115610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614ef5565b60405180910390fd5b6001600d6000016000848481518110610e3c57610e3b6156b0565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600d6001016000815480929190610eab9061557a565b91905055505b8080610ebc9061557a565b915050610d54565b5050565b610ed0612d52565b73ffffffffffffffffffffffffffffffffffffffff16610eee611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b90615015565b60405180910390fd5b601060049054906101000a900460ff1615610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b906150b5565b60405180910390fd5b601060029054906101000a900460ff16610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90614f55565b60405180910390fd5b6001601060036101000a81548160ff0219169083151502179055507faff8b87c1da7d364905139b02b47877e1c23700f22d0e3c9d3ca1e571fd3533460405160405180910390a1565b61103d611037612d52565b82612e13565b61107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390615115565b60405180910390fd5b611087838383612ef1565b505050565b60008061109884612ce6565b6110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614ed5565b60405180910390fd5b601060059054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106011548561110b91906153d3565b61111591906153a2565b915091509250929050565b600061112b836118a8565b821061116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614d75565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611223612d52565b73ffffffffffffffffffffffffffffffffffffffff16611241611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e90615015565b60405180910390fd5b601060049054906101000a900460ff16156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614e75565b60405180910390fd5b5b606f6112f2610cc8565b101561131a57611315336001611306610cc8565b611310919061534c565b613158565b6112e8565b6000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506001601060046101000a81548160ff0219169083151502179055507f0bd8a3eb532e5fbcd3f5b00335f0fb42fdc11969e9af0fab7c9e71a36ae0d31a60405160405180910390a1565b6000600d60000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b601060019054906101000a900460ff1681565b61140d612d52565b73ffffffffffffffffffffffffffffffffffffffff1661142b611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890615015565b60405180910390fd5b6000479050600081116114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c090615095565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561150f573d6000803e3d6000fd5b5050565b61152e838383604051806020016040528060008152506125a1565b505050565b600061153d610cc8565b821061157e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157590615155565b60405180910390fd5b60098281548110611592576115916156b0565b5b90600052602060002001549050919050565b6115ac612d52565b73ffffffffffffffffffffffffffffffffffffffff166115ca611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790615015565b60405180910390fd5b601060009054906101000a900460ff1615611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790614f95565b60405180910390fd5b8060129080519060200190611686929190613ffc565b5050565b611692612d52565b73ffffffffffffffffffffffffffffffffffffffff166116b0611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd90615015565b60405180910390fd5b61271081111561174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290614e15565b60405180910390fd5b8060118190555050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614f35565b60405180910390fd5b80915050919050565b601060049054906101000a900460ff1681565b6012805461182790615517565b80601f016020809104026020016040519081016040528092919081815260200182805461185390615517565b80156118a05780601f10611875576101008083540402835291602001916118a0565b820191906000526020600020905b81548152906001019060200180831161188357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090614f15565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611968612d52565b73ffffffffffffffffffffffffffffffffffffffff16611986611e3c565b73ffffffffffffffffffffffffffffffffffffffff16146119dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d390615015565b60405180910390fd5b6119e66000613176565b565b6002600b541415611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a25906151b5565b60405180910390fd5b6002600b81905550601060049054906101000a900460ff1615611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d906150b5565b60405180910390fd5b601060029054906101000a900460ff16611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc90615195565b60405180910390fd5b606f611adf610cc8565b10611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1690615135565b60405180910390fd5b600d60000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590615075565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3290615035565b60405180910390fd5b67016345785d8a0000341015611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d90614fd5565b60405180910390fd5b606f6001611c92610cc8565b611c9c919061534c565b1415611d20576000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506001601060046101000a81548160ff0219169083151502179055507f0bd8a3eb532e5fbcd3f5b00335f0fb42fdc11969e9af0fab7c9e71a36ae0d31a60405160405180910390a15b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555067016345785d8a0000341115611de3573373ffffffffffffffffffffffffffffffffffffffff166108fc67016345785d8a000034611db6919061542d565b9081150290604051600060405180830381858888f19350505050158015611de1573d6000803e3d6000fd5b505b611e00336001611df1610cc8565b611dfb919061534c565b613158565b7fc737a5bc8df2c7be66ff0088f9900e14837581297a7e5dec3f03692612a6521660405160405180910390a16001600b81905550565b60115481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611e6d612d52565b73ffffffffffffffffffffffffffffffffffffffff16611e8b611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed890615015565b60405180910390fd5b80601060056101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f2d612d52565b73ffffffffffffffffffffffffffffffffffffffff16611f4b611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9890615015565b60405180910390fd5b601060019054906101000a900460ff1615611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe890614f75565b60405180910390fd5b6001601060016101000a81548160ff0219169083151502179055507ffaa4867c3ad82b35eef727eb877061cab7f6eb3576904aea9bc952086807682260405160405180910390a1565b601060029054906101000a900460ff1681565b60606002805461205c90615517565b80601f016020809104026020016040519081016040528092919081815260200182805461208890615517565b80156120d55780601f106120aa576101008083540402835291602001916120d5565b820191906000526020600020905b8154815290600101906020018083116120b857829003601f168201915b5050505050905090565b6120e7612d52565b73ffffffffffffffffffffffffffffffffffffffff16612105611e3c565b73ffffffffffffffffffffffffffffffffffffffff161461215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290615015565b60405180910390fd5b601060009054906101000a900460ff16156121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a2906150f5565b60405180910390fd5b601060019054906101000a900460ff166121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f190615175565b60405180910390fd5b6001601060006101000a81548160ff021916908315150217905550565b601060059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61224f612248612d52565b838361323a565b5050565b601060039054906101000a900460ff1681565b61226e612d52565b73ffffffffffffffffffffffffffffffffffffffff1661228c611e3c565b73ffffffffffffffffffffffffffffffffffffffff16146122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990615015565b60405180910390fd5b6002600b541415612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f906151b5565b60405180910390fd5b6002600b8190555060005b600b81101561237c576123698282600b8110612352576123516156b0565b5b6020020151600183612364919061534c565b613158565b80806123749061557a565b915050612333565b506001600c60006101000a81548160ff0219169083151502179055506001600b8190555050565b6123ab612d52565b73ffffffffffffffffffffffffffffffffffffffff166123c9611e3c565b73ffffffffffffffffffffffffffffffffffffffff161461241f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241690615015565b60405180910390fd5b601060049054906101000a900460ff161561246f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612466906150b5565b60405180910390fd5b600c60009054906101000a900460ff166124be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b5906151f5565b60405180910390fd5b6001601060026101000a81548160ff0219169083151502179055507fee64016aff07b6b5bd37ad6d361efa40c13de00d98ed95ad74a6c95df988b02960405160405180910390a1565b670214e8348c4f000081565b6013805461252090615517565b80601f016020809104026020016040519081016040528092919081815260200182805461254c90615517565b80156125995780601f1061256e57610100808354040283529160200191612599565b820191906000526020600020905b81548152906001019060200180831161257c57829003601f168201915b505050505081565b6125b26125ac612d52565b83612e13565b6125f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e890615115565b60405180910390fd5b6125fd848484846133a7565b50505050565b67016345785d8a000081565b606061261a82612ce6565b612659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265090614d55565b60405180910390fd5b601060019054906101000a900460ff166126fd576013805461267a90615517565b80601f01602080910402602001604051908101604052809291908181526020018280546126a690615517565b80156126f35780601f106126c8576101008083540402835291602001916126f3565b820191906000526020600020905b8154815290600101906020018083116126d657829003601f168201915b5050505050612707565b61270682613403565b5b9050919050565b6002600b541415612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b906151b5565b60405180910390fd5b6002600b81905550601060049054906101000a900460ff16156127ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a3906150b5565b60405180910390fd5b601060039054906101000a900460ff166127fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f2906151d5565b60405180910390fd5b606f612805610cc8565b10612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90615135565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c990615035565b60405180910390fd5b670214e8348c4f000034101561291d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291490614fd5565b60405180910390fd5b606f6001612929610cc8565b612933919061534c565b14156129b7576000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506001601060046101000a81548160ff0219169083151502179055507f0bd8a3eb532e5fbcd3f5b00335f0fb42fdc11969e9af0fab7c9e71a36ae0d31a60405160405180910390a15b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550670214e8348c4f0000341115612a7a573373ffffffffffffffffffffffffffffffffffffffff166108fc670214e8348c4f000034612a4d919061542d565b9081150290604051600060405180830381858888f19350505050158015612a78573d6000803e3d6000fd5b505b612a97336001612a88610cc8565b612a92919061534c565b613158565b7fc737a5bc8df2c7be66ff0088f9900e14837581297a7e5dec3f03692612a6521660405160405180910390a16001600b81905550565b601060009054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b7c612d52565b73ffffffffffffffffffffffffffffffffffffffff16612b9a611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614612bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be790615015565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5790614db5565b60405180910390fd5b612c6981613176565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cdf5750612cde826134aa565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612dcd83611755565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612e1e82612ce6565b612e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5490614e95565b60405180910390fd5b6000612e6883611755565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ed757508373ffffffffffffffffffffffffffffffffffffffff16612ebf84610b2b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ee85750612ee78185612ae0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612f1182611755565b73ffffffffffffffffffffffffffffffffffffffff1614612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90614dd5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fce90614e35565b60405180910390fd5b612fe283838361358c565b612fed600082612d5a565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461303d919061542d565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613094919061534c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131538383836136a0565b505050565b6131728282604051806020016040528060008152506136a5565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a090614e55565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161339a9190614d18565b60405180910390a3505050565b6133b2848484612ef1565b6133be84848484613700565b6133fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f490614d95565b60405180910390fd5b50505050565b606061340e82612ce6565b61344d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344490615055565b60405180910390fd5b6000613457613897565b9050600081511161347757604051806020016040528060008152506134a2565b8061348184613929565b604051602001613492929190614c64565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061357557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613585575061358482613a8a565b5b9050919050565b613597838383613af4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135da576135d581613af9565b613619565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613618576136178382613b42565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561365c5761365781613caf565b61369b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461369a576136998282613d80565b5b5b505050565b505050565b6136af8383613dff565b6136bc6000848484613700565b6136fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f290614d95565b60405180910390fd5b505050565b60006137218473ffffffffffffffffffffffffffffffffffffffff16613fd9565b1561388a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261374a612d52565b8786866040518563ffffffff1660e01b815260040161376c9493929190614ca3565b602060405180830381600087803b15801561378657600080fd5b505af19250505080156137b757506040513d601f19601f820116820180604052508101906137b4919061457f565b60015b61383a573d80600081146137e7576040519150601f19603f3d011682016040523d82523d6000602084013e6137ec565b606091505b50600081511415613832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382990614d95565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061388f565b600190505b949350505050565b6060601280546138a690615517565b80601f01602080910402602001604051908101604052809291908181526020018280546138d290615517565b801561391f5780601f106138f45761010080835404028352916020019161391f565b820191906000526020600020905b81548152906001019060200180831161390257829003601f168201915b5050505050905090565b60606000821415613971576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a85565b600082905060005b600082146139a357808061398c9061557a565b915050600a8261399c91906153a2565b9150613979565b60008167ffffffffffffffff8111156139bf576139be6156df565b5b6040519080825280601f01601f1916602001820160405280156139f15781602001600182028036833780820191505090505b5090505b60008514613a7e57600182613a0a919061542d565b9150600a85613a1991906155c3565b6030613a25919061534c565b60f81b818381518110613a3b57613a3a6156b0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a7791906153a2565b94506139f5565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b4f846118a8565b613b59919061542d565b9050600060086000848152602001908152602001600020549050818114613c3e576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613cc3919061542d565b90506000600a6000848152602001908152602001600020549050600060098381548110613cf357613cf26156b0565b5b906000526020600020015490508060098381548110613d1557613d146156b0565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613d6457613d63615681565b5b6001900381819060005260206000200160009055905550505050565b6000613d8b836118a8565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e6690614fb5565b60405180910390fd5b613e7881612ce6565b15613eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eaf90614df5565b60405180910390fd5b613ec46000838361358c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613f14919061534c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613fd5600083836136a0565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461400890615517565b90600052602060002090601f01602090048101928261402a5760008555614071565b82601f1061404357805160ff1916838001178555614071565b82800160010185558215614071579182015b82811115614070578251825591602001919060010190614055565b5b50905061407e9190614082565b5090565b5b8082111561409b576000816000905550600101614083565b5090565b60006140b26140ad84615255565b615230565b905080828560208602820111156140cc576140cb615713565b5b60005b858110156140fc57816140e288826141fa565b8452602084019350602083019250506001810190506140cf565b5050509392505050565b60006141196141148461527b565b615230565b9050808382526020820190508285602086028201111561413c5761413b615713565b5b60005b8581101561416c578161415288826141fa565b84526020840193506020830192505060018101905061413f565b5050509392505050565b6000614189614184846152a7565b615230565b9050828152602081018484840111156141a5576141a4615718565b5b6141b08482856154d5565b509392505050565b60006141cb6141c6846152d8565b615230565b9050828152602081018484840111156141e7576141e6615718565b5b6141f28482856154d5565b509392505050565b60008135905061420981615f62565b92915050565b600082601f8301126142245761422361570e565b5b600b61423184828561409f565b91505092915050565b600082601f83011261424f5761424e61570e565b5b813561425f848260208601614106565b91505092915050565b60008135905061427781615f79565b92915050565b60008135905061428c81615f90565b92915050565b6000815190506142a181615f90565b92915050565b600082601f8301126142bc576142bb61570e565b5b81356142cc848260208601614176565b91505092915050565b600082601f8301126142ea576142e961570e565b5b81356142fa8482602086016141b8565b91505092915050565b60008135905061431281615fa7565b92915050565b60006020828403121561432e5761432d615722565b5b600061433c848285016141fa565b91505092915050565b6000806040838503121561435c5761435b615722565b5b600061436a858286016141fa565b925050602061437b858286016141fa565b9150509250929050565b60008060006060848603121561439e5761439d615722565b5b60006143ac868287016141fa565b93505060206143bd868287016141fa565b92505060406143ce86828701614303565b9150509250925092565b600080600080608085870312156143f2576143f1615722565b5b6000614400878288016141fa565b9450506020614411878288016141fa565b935050604061442287828801614303565b925050606085013567ffffffffffffffff8111156144435761444261571d565b5b61444f878288016142a7565b91505092959194509250565b6000806040838503121561447257614471615722565b5b6000614480858286016141fa565b925050602061449185828601614268565b9150509250929050565b600080604083850312156144b2576144b1615722565b5b60006144c0858286016141fa565b92505060206144d185828601614303565b9150509250929050565b600061016082840312156144f2576144f1615722565b5b60006145008482850161420f565b91505092915050565b60006020828403121561451f5761451e615722565b5b600082013567ffffffffffffffff81111561453d5761453c61571d565b5b6145498482850161423a565b91505092915050565b60006020828403121561456857614567615722565b5b60006145768482850161427d565b91505092915050565b60006020828403121561459557614594615722565b5b60006145a384828501614292565b91505092915050565b6000602082840312156145c2576145c1615722565b5b600082013567ffffffffffffffff8111156145e0576145df61571d565b5b6145ec848285016142d5565b91505092915050565b60006020828403121561460b5761460a615722565b5b600061461984828501614303565b91505092915050565b6000806040838503121561463957614638615722565b5b600061464785828601614303565b925050602061465885828601614303565b9150509250929050565b61466b81615461565b82525050565b61467a81615473565b82525050565b600061468b82615309565b614695818561531f565b93506146a58185602086016154e4565b6146ae81615727565b840191505092915050565b60006146c482615314565b6146ce8185615330565b93506146de8185602086016154e4565b6146e781615727565b840191505092915050565b60006146fd82615314565b6147078185615341565b93506147178185602086016154e4565b80840191505092915050565b6000614730601f83615330565b915061473b82615738565b602082019050919050565b6000614753602b83615330565b915061475e82615761565b604082019050919050565b6000614776603283615330565b9150614781826157b0565b604082019050919050565b6000614799602683615330565b91506147a4826157ff565b604082019050919050565b60006147bc602583615330565b91506147c78261584e565b604082019050919050565b60006147df601c83615330565b91506147ea8261589d565b602082019050919050565b6000614802601b83615330565b915061480d826158c6565b602082019050919050565b6000614825602483615330565b9150614830826158ef565b604082019050919050565b6000614848601983615330565b91506148538261593e565b602082019050919050565b600061486b601283615330565b915061487682615967565b602082019050919050565b600061488e602c83615330565b915061489982615990565b604082019050919050565b60006148b1603883615330565b91506148bc826159df565b604082019050919050565b60006148d4601183615330565b91506148df82615a2e565b602082019050919050565b60006148f7601c83615330565b915061490282615a57565b602082019050919050565b600061491a602a83615330565b915061492582615a80565b604082019050919050565b600061493d602983615330565b915061494882615acf565b604082019050919050565b6000614960601b83615330565b915061496b82615b1e565b602082019050919050565b6000614983601d83615330565b915061498e82615b47565b602082019050919050565b60006149a6601383615330565b91506149b182615b70565b602082019050919050565b60006149c9602083615330565b91506149d482615b99565b602082019050919050565b60006149ec600e83615330565b91506149f782615bc2565b602082019050919050565b6000614a0f602c83615330565b9150614a1a82615beb565b604082019050919050565b6000614a32602083615330565b9150614a3d82615c3a565b602082019050919050565b6000614a55601883615330565b9150614a6082615c63565b602082019050919050565b6000614a78602f83615330565b9150614a8382615c8c565b604082019050919050565b6000614a9b601783615330565b9150614aa682615cdb565b602082019050919050565b6000614abe601683615330565b9150614ac982615d04565b602082019050919050565b6000614ae1600a83615330565b9150614aec82615d2d565b602082019050919050565b6000614b04602183615330565b9150614b0f82615d56565b604082019050919050565b6000614b27601b83615330565b9150614b3282615da5565b602082019050919050565b6000614b4a603183615330565b9150614b5582615dce565b604082019050919050565b6000614b6d601283615330565b9150614b7882615e1d565b602082019050919050565b6000614b90602c83615330565b9150614b9b82615e46565b604082019050919050565b6000614bb3601983615330565b9150614bbe82615e95565b602082019050919050565b6000614bd6601683615330565b9150614be182615ebe565b602082019050919050565b6000614bf9601f83615330565b9150614c0482615ee7565b602082019050919050565b6000614c1c601a83615330565b9150614c2782615f10565b602082019050919050565b6000614c3f601a83615330565b9150614c4a82615f39565b602082019050919050565b614c5e816154cb565b82525050565b6000614c7082856146f2565b9150614c7c82846146f2565b91508190509392505050565b6000602082019050614c9d6000830184614662565b92915050565b6000608082019050614cb86000830187614662565b614cc56020830186614662565b614cd26040830185614c55565b8181036060830152614ce48184614680565b905095945050505050565b6000604082019050614d046000830185614662565b614d116020830184614c55565b9392505050565b6000602082019050614d2d6000830184614671565b92915050565b60006020820190508181036000830152614d4d81846146b9565b905092915050565b60006020820190508181036000830152614d6e81614723565b9050919050565b60006020820190508181036000830152614d8e81614746565b9050919050565b60006020820190508181036000830152614dae81614769565b9050919050565b60006020820190508181036000830152614dce8161478c565b9050919050565b60006020820190508181036000830152614dee816147af565b9050919050565b60006020820190508181036000830152614e0e816147d2565b9050919050565b60006020820190508181036000830152614e2e816147f5565b9050919050565b60006020820190508181036000830152614e4e81614818565b9050919050565b60006020820190508181036000830152614e6e8161483b565b9050919050565b60006020820190508181036000830152614e8e8161485e565b9050919050565b60006020820190508181036000830152614eae81614881565b9050919050565b60006020820190508181036000830152614ece816148a4565b9050919050565b60006020820190508181036000830152614eee816148c7565b9050919050565b60006020820190508181036000830152614f0e816148ea565b9050919050565b60006020820190508181036000830152614f2e8161490d565b9050919050565b60006020820190508181036000830152614f4e81614930565b9050919050565b60006020820190508181036000830152614f6e81614953565b9050919050565b60006020820190508181036000830152614f8e81614976565b9050919050565b60006020820190508181036000830152614fae81614999565b9050919050565b60006020820190508181036000830152614fce816149bc565b9050919050565b60006020820190508181036000830152614fee816149df565b9050919050565b6000602082019050818103600083015261500e81614a02565b9050919050565b6000602082019050818103600083015261502e81614a25565b9050919050565b6000602082019050818103600083015261504e81614a48565b9050919050565b6000602082019050818103600083015261506e81614a6b565b9050919050565b6000602082019050818103600083015261508e81614a8e565b9050919050565b600060208201905081810360008301526150ae81614ab1565b9050919050565b600060208201905081810360008301526150ce81614ad4565b9050919050565b600060208201905081810360008301526150ee81614af7565b9050919050565b6000602082019050818103600083015261510e81614b1a565b9050919050565b6000602082019050818103600083015261512e81614b3d565b9050919050565b6000602082019050818103600083015261514e81614b60565b9050919050565b6000602082019050818103600083015261516e81614b83565b9050919050565b6000602082019050818103600083015261518e81614ba6565b9050919050565b600060208201905081810360008301526151ae81614bc9565b9050919050565b600060208201905081810360008301526151ce81614bec565b9050919050565b600060208201905081810360008301526151ee81614c0f565b9050919050565b6000602082019050818103600083015261520e81614c32565b9050919050565b600060208201905061522a6000830184614c55565b92915050565b600061523a61524b565b90506152468282615549565b919050565b6000604051905090565b600067ffffffffffffffff8211156152705761526f6156df565b5b602082029050919050565b600067ffffffffffffffff821115615296576152956156df565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152c2576152c16156df565b5b6152cb82615727565b9050602081019050919050565b600067ffffffffffffffff8211156152f3576152f26156df565b5b6152fc82615727565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615357826154cb565b9150615362836154cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615397576153966155f4565b5b828201905092915050565b60006153ad826154cb565b91506153b8836154cb565b9250826153c8576153c7615623565b5b828204905092915050565b60006153de826154cb565b91506153e9836154cb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615422576154216155f4565b5b828202905092915050565b6000615438826154cb565b9150615443836154cb565b925082821015615456576154556155f4565b5b828203905092915050565b600061546c826154ab565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155025780820151818401526020810190506154e7565b83811115615511576000848401525b50505050565b6000600282049050600182168061552f57607f821691505b6020821081141561554357615542615652565b5b50919050565b61555282615727565b810181811067ffffffffffffffff82111715615571576155706156df565b5b80604052505050565b6000615585826154cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155b8576155b76155f4565b5b600182019050919050565b60006155ce826154cb565b91506155d9836154cb565b9250826155e9576155e8615623565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f526f79616c74792070657263656e7461676520546f6f20686967680000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c6520616c726561647920656e6465640000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4d61782077686974656c697374206c656e677468207265616368656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50726573616c65207374696c6c20646964206e6f742073746172740000000000600082015250565b7f4d657461646174612061726520616c72656164792072657665616c6564000000600082015250565b7f4d6574616461746120617265206c6f636b656400000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178206f6e65206d696e742070657220616464726573730000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f41646472657373206e6f742077686974656c6973746564000000000000000000600082015250565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b7f53616c6520656e64656400000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d657461646174612061726520616c7265616479206c6f636b65640000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d6574616461746120617265206e6f742072657665616c656400000000000000600082015250565b7f50726573616c65206973206e6f7420656e61626c656400000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5075626c69632073616c65206973206e6f7420656e61626c6564000000000000600082015250565b7f526573657276656420746f6b656e73206e6f74206d696e746564000000000000600082015250565b615f6b81615461565b8114615f7657600080fd5b50565b615f8281615473565b8114615f8d57600080fd5b50565b615f998161547f565b8114615fa457600080fd5b50565b615fb0816154cb565b8114615fbb57600080fd5b5056fea2646970667358221220cbc63cd7db285afb4dae96986e59b9b7e43933257273c95526f2d6fdabd0c2b464736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696271736e68633276686968646d7633687a6c6d6c32707033666b7969366d336f63666a766d3533793369756e646a6e7236613365000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c8063715018a61161014f578063a5a865dc116100c1578063c46f0b821161007a578063c46f0b821461091c578063c87b56dd14610947578063d2eb86ee14610984578063d7e45cd71461098e578063e985e9c5146109b9578063f2fde38b146109f65761027d565b8063a5a865dc14610832578063a7fa5b881461085d578063a8eac49214610886578063b203e0f61461089d578063b2873d5c146108c8578063b88d4fde146108f35761027d565b80639182a9df116101135780639182a9df1461075a57806395364a841461077157806395d89b411461079c578063989bdbb6146107c75780639fbc8713146107de578063a22cb465146108095761027d565b8063715018a6146106ba57806378ded91e146106d15780638a71bb2d146106db5780638da5cb5b146107065780638dc251e3146107315761027d565b8063380d831b116101f357806355f804b3116101ac57806355f804b31461059857806361ba27da146105c15780636352211e146105ea5780636bacc0fa146106275780636c0360eb1461065257806370a082311461067d5761027d565b8063380d831b1461049c5780633af32abf146104b35780633cb8dcdd146104f05780633ccfd60b1461051b57806342842e0e146105325780634f6ccce71461055b5761027d565b8063227275ef11610245578063227275ef1461037b5780632316b4da146103a457806323b872dd146103bb5780632a55205a146103e45780632f745c59146104225780633241e9171461045f5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806318160ddd14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190614552565b610a1f565b6040516102b69190614d18565b60405180910390f35b3480156102cb57600080fd5b506102d4610a99565b6040516102e19190614d33565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c91906145f5565b610b2b565b60405161031e9190614c88565b60405180910390f35b34801561033357600080fd5b5061034e6004803603810190610349919061449b565b610bb0565b005b34801561035c57600080fd5b50610365610cc8565b6040516103729190615215565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190614509565b610cd5565b005b3480156103b057600080fd5b506103b9610ec8565b005b3480156103c757600080fd5b506103e260048036038101906103dd9190614385565b61102c565b005b3480156103f057600080fd5b5061040b60048036038101906104069190614622565b61108c565b604051610419929190614cef565b60405180910390f35b34801561042e57600080fd5b506104496004803603810190610444919061449b565b611120565b6040516104569190615215565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190614318565b6111c5565b6040516104939190614d18565b60405180910390f35b3480156104a857600080fd5b506104b161121b565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190614318565b611399565b6040516104e79190614d18565b60405180910390f35b3480156104fc57600080fd5b506105056113f2565b6040516105129190614d18565b60405180910390f35b34801561052757600080fd5b50610530611405565b005b34801561053e57600080fd5b5061055960048036038101906105549190614385565b611513565b005b34801561056757600080fd5b50610582600480360381019061057d91906145f5565b611533565b60405161058f9190615215565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba91906145ac565b6115a4565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906145f5565b61168a565b005b3480156105f657600080fd5b50610611600480360381019061060c91906145f5565b611755565b60405161061e9190614c88565b60405180910390f35b34801561063357600080fd5b5061063c611807565b6040516106499190614d18565b60405180910390f35b34801561065e57600080fd5b5061066761181a565b6040516106749190614d33565b60405180910390f35b34801561068957600080fd5b506106a4600480360381019061069f9190614318565b6118a8565b6040516106b19190615215565b60405180910390f35b3480156106c657600080fd5b506106cf611960565b005b6106d96119e8565b005b3480156106e757600080fd5b506106f0611e36565b6040516106fd9190615215565b60405180910390f35b34801561071257600080fd5b5061071b611e3c565b6040516107289190614c88565b60405180910390f35b34801561073d57600080fd5b5061075860048036038101906107539190614318565b611e65565b005b34801561076657600080fd5b5061076f611f25565b005b34801561077d57600080fd5b5061078661203a565b6040516107939190614d18565b60405180910390f35b3480156107a857600080fd5b506107b161204d565b6040516107be9190614d33565b60405180910390f35b3480156107d357600080fd5b506107dc6120df565b005b3480156107ea57600080fd5b506107f3612217565b6040516108009190614c88565b60405180910390f35b34801561081557600080fd5b50610830600480360381019061082b919061445b565b61223d565b005b34801561083e57600080fd5b50610847612253565b6040516108549190614d18565b60405180910390f35b34801561086957600080fd5b50610884600480360381019061087f91906144db565b612266565b005b34801561089257600080fd5b5061089b6123a3565b005b3480156108a957600080fd5b506108b2612507565b6040516108bf9190615215565b60405180910390f35b3480156108d457600080fd5b506108dd612513565b6040516108ea9190614d33565b60405180910390f35b3480156108ff57600080fd5b5061091a600480360381019061091591906143d8565b6125a1565b005b34801561092857600080fd5b50610931612603565b60405161093e9190615215565b60405180910390f35b34801561095357600080fd5b5061096e600480360381019061096991906145f5565b61260f565b60405161097b9190614d33565b60405180910390f35b61098c61270e565b005b34801561099a57600080fd5b506109a3612acd565b6040516109b09190614d18565b60405180910390f35b3480156109c557600080fd5b506109e060048036038101906109db9190614345565b612ae0565b6040516109ed9190614d18565b60405180910390f35b348015610a0257600080fd5b50610a1d6004803603810190610a189190614318565b612b74565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a925750610a9182612c6c565b5b9050919050565b606060018054610aa890615517565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad490615517565b8015610b215780601f10610af657610100808354040283529160200191610b21565b820191906000526020600020905b815481529060010190602001808311610b0457829003601f168201915b5050505050905090565b6000610b3682612ce6565b610b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6c90614ff5565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bbb82611755565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c23906150d5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4b612d52565b73ffffffffffffffffffffffffffffffffffffffff161480610c7a5750610c7981610c74612d52565b612ae0565b5b610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb090614eb5565b60405180910390fd5b610cc38383612d5a565b505050565b6000600980549050905090565b610cdd612d52565b73ffffffffffffffffffffffffffffffffffffffff16610cfb611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614610d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4890615015565b60405180910390fd5b60005b8151811015610ec457600d6000016000838381518110610d7757610d766156b0565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610eb157601e6001600d60010154610ddf919061534c565b1115610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614ef5565b60405180910390fd5b6001600d6000016000848481518110610e3c57610e3b6156b0565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600d6001016000815480929190610eab9061557a565b91905055505b8080610ebc9061557a565b915050610d54565b5050565b610ed0612d52565b73ffffffffffffffffffffffffffffffffffffffff16610eee611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b90615015565b60405180910390fd5b601060049054906101000a900460ff1615610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b906150b5565b60405180910390fd5b601060029054906101000a900460ff16610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90614f55565b60405180910390fd5b6001601060036101000a81548160ff0219169083151502179055507faff8b87c1da7d364905139b02b47877e1c23700f22d0e3c9d3ca1e571fd3533460405160405180910390a1565b61103d611037612d52565b82612e13565b61107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390615115565b60405180910390fd5b611087838383612ef1565b505050565b60008061109884612ce6565b6110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614ed5565b60405180910390fd5b601060059054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106011548561110b91906153d3565b61111591906153a2565b915091509250929050565b600061112b836118a8565b821061116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614d75565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611223612d52565b73ffffffffffffffffffffffffffffffffffffffff16611241611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e90615015565b60405180910390fd5b601060049054906101000a900460ff16156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614e75565b60405180910390fd5b5b606f6112f2610cc8565b101561131a57611315336001611306610cc8565b611310919061534c565b613158565b6112e8565b6000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506001601060046101000a81548160ff0219169083151502179055507f0bd8a3eb532e5fbcd3f5b00335f0fb42fdc11969e9af0fab7c9e71a36ae0d31a60405160405180910390a1565b6000600d60000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b601060019054906101000a900460ff1681565b61140d612d52565b73ffffffffffffffffffffffffffffffffffffffff1661142b611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890615015565b60405180910390fd5b6000479050600081116114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c090615095565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561150f573d6000803e3d6000fd5b5050565b61152e838383604051806020016040528060008152506125a1565b505050565b600061153d610cc8565b821061157e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157590615155565b60405180910390fd5b60098281548110611592576115916156b0565b5b90600052602060002001549050919050565b6115ac612d52565b73ffffffffffffffffffffffffffffffffffffffff166115ca611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790615015565b60405180910390fd5b601060009054906101000a900460ff1615611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790614f95565b60405180910390fd5b8060129080519060200190611686929190613ffc565b5050565b611692612d52565b73ffffffffffffffffffffffffffffffffffffffff166116b0611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd90615015565b60405180910390fd5b61271081111561174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290614e15565b60405180910390fd5b8060118190555050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614f35565b60405180910390fd5b80915050919050565b601060049054906101000a900460ff1681565b6012805461182790615517565b80601f016020809104026020016040519081016040528092919081815260200182805461185390615517565b80156118a05780601f10611875576101008083540402835291602001916118a0565b820191906000526020600020905b81548152906001019060200180831161188357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090614f15565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611968612d52565b73ffffffffffffffffffffffffffffffffffffffff16611986611e3c565b73ffffffffffffffffffffffffffffffffffffffff16146119dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d390615015565b60405180910390fd5b6119e66000613176565b565b6002600b541415611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a25906151b5565b60405180910390fd5b6002600b81905550601060049054906101000a900460ff1615611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d906150b5565b60405180910390fd5b601060029054906101000a900460ff16611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc90615195565b60405180910390fd5b606f611adf610cc8565b10611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1690615135565b60405180910390fd5b600d60000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590615075565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3290615035565b60405180910390fd5b67016345785d8a0000341015611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d90614fd5565b60405180910390fd5b606f6001611c92610cc8565b611c9c919061534c565b1415611d20576000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506001601060046101000a81548160ff0219169083151502179055507f0bd8a3eb532e5fbcd3f5b00335f0fb42fdc11969e9af0fab7c9e71a36ae0d31a60405160405180910390a15b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555067016345785d8a0000341115611de3573373ffffffffffffffffffffffffffffffffffffffff166108fc67016345785d8a000034611db6919061542d565b9081150290604051600060405180830381858888f19350505050158015611de1573d6000803e3d6000fd5b505b611e00336001611df1610cc8565b611dfb919061534c565b613158565b7fc737a5bc8df2c7be66ff0088f9900e14837581297a7e5dec3f03692612a6521660405160405180910390a16001600b81905550565b60115481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611e6d612d52565b73ffffffffffffffffffffffffffffffffffffffff16611e8b611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed890615015565b60405180910390fd5b80601060056101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f2d612d52565b73ffffffffffffffffffffffffffffffffffffffff16611f4b611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614611fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9890615015565b60405180910390fd5b601060019054906101000a900460ff1615611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe890614f75565b60405180910390fd5b6001601060016101000a81548160ff0219169083151502179055507ffaa4867c3ad82b35eef727eb877061cab7f6eb3576904aea9bc952086807682260405160405180910390a1565b601060029054906101000a900460ff1681565b60606002805461205c90615517565b80601f016020809104026020016040519081016040528092919081815260200182805461208890615517565b80156120d55780601f106120aa576101008083540402835291602001916120d5565b820191906000526020600020905b8154815290600101906020018083116120b857829003601f168201915b5050505050905090565b6120e7612d52565b73ffffffffffffffffffffffffffffffffffffffff16612105611e3c565b73ffffffffffffffffffffffffffffffffffffffff161461215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290615015565b60405180910390fd5b601060009054906101000a900460ff16156121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a2906150f5565b60405180910390fd5b601060019054906101000a900460ff166121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f190615175565b60405180910390fd5b6001601060006101000a81548160ff021916908315150217905550565b601060059054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61224f612248612d52565b838361323a565b5050565b601060039054906101000a900460ff1681565b61226e612d52565b73ffffffffffffffffffffffffffffffffffffffff1661228c611e3c565b73ffffffffffffffffffffffffffffffffffffffff16146122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990615015565b60405180910390fd5b6002600b541415612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f906151b5565b60405180910390fd5b6002600b8190555060005b600b81101561237c576123698282600b8110612352576123516156b0565b5b6020020151600183612364919061534c565b613158565b80806123749061557a565b915050612333565b506001600c60006101000a81548160ff0219169083151502179055506001600b8190555050565b6123ab612d52565b73ffffffffffffffffffffffffffffffffffffffff166123c9611e3c565b73ffffffffffffffffffffffffffffffffffffffff161461241f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241690615015565b60405180910390fd5b601060049054906101000a900460ff161561246f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612466906150b5565b60405180910390fd5b600c60009054906101000a900460ff166124be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b5906151f5565b60405180910390fd5b6001601060026101000a81548160ff0219169083151502179055507fee64016aff07b6b5bd37ad6d361efa40c13de00d98ed95ad74a6c95df988b02960405160405180910390a1565b670214e8348c4f000081565b6013805461252090615517565b80601f016020809104026020016040519081016040528092919081815260200182805461254c90615517565b80156125995780601f1061256e57610100808354040283529160200191612599565b820191906000526020600020905b81548152906001019060200180831161257c57829003601f168201915b505050505081565b6125b26125ac612d52565b83612e13565b6125f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e890615115565b60405180910390fd5b6125fd848484846133a7565b50505050565b67016345785d8a000081565b606061261a82612ce6565b612659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265090614d55565b60405180910390fd5b601060019054906101000a900460ff166126fd576013805461267a90615517565b80601f01602080910402602001604051908101604052809291908181526020018280546126a690615517565b80156126f35780601f106126c8576101008083540402835291602001916126f3565b820191906000526020600020905b8154815290600101906020018083116126d657829003601f168201915b5050505050612707565b61270682613403565b5b9050919050565b6002600b541415612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b906151b5565b60405180910390fd5b6002600b81905550601060049054906101000a900460ff16156127ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a3906150b5565b60405180910390fd5b601060039054906101000a900460ff166127fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f2906151d5565b60405180910390fd5b606f612805610cc8565b10612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90615135565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c990615035565b60405180910390fd5b670214e8348c4f000034101561291d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291490614fd5565b60405180910390fd5b606f6001612929610cc8565b612933919061534c565b14156129b7576000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506001601060046101000a81548160ff0219169083151502179055507f0bd8a3eb532e5fbcd3f5b00335f0fb42fdc11969e9af0fab7c9e71a36ae0d31a60405160405180910390a15b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550670214e8348c4f0000341115612a7a573373ffffffffffffffffffffffffffffffffffffffff166108fc670214e8348c4f000034612a4d919061542d565b9081150290604051600060405180830381858888f19350505050158015612a78573d6000803e3d6000fd5b505b612a97336001612a88610cc8565b612a92919061534c565b613158565b7fc737a5bc8df2c7be66ff0088f9900e14837581297a7e5dec3f03692612a6521660405160405180910390a16001600b81905550565b601060009054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b7c612d52565b73ffffffffffffffffffffffffffffffffffffffff16612b9a611e3c565b73ffffffffffffffffffffffffffffffffffffffff1614612bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be790615015565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5790614db5565b60405180910390fd5b612c6981613176565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cdf5750612cde826134aa565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612dcd83611755565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612e1e82612ce6565b612e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5490614e95565b60405180910390fd5b6000612e6883611755565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ed757508373ffffffffffffffffffffffffffffffffffffffff16612ebf84610b2b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ee85750612ee78185612ae0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612f1182611755565b73ffffffffffffffffffffffffffffffffffffffff1614612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90614dd5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fce90614e35565b60405180910390fd5b612fe283838361358c565b612fed600082612d5a565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461303d919061542d565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613094919061534c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131538383836136a0565b505050565b6131728282604051806020016040528060008152506136a5565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a090614e55565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161339a9190614d18565b60405180910390a3505050565b6133b2848484612ef1565b6133be84848484613700565b6133fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f490614d95565b60405180910390fd5b50505050565b606061340e82612ce6565b61344d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344490615055565b60405180910390fd5b6000613457613897565b9050600081511161347757604051806020016040528060008152506134a2565b8061348184613929565b604051602001613492929190614c64565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061357557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613585575061358482613a8a565b5b9050919050565b613597838383613af4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135da576135d581613af9565b613619565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613618576136178382613b42565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561365c5761365781613caf565b61369b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461369a576136998282613d80565b5b5b505050565b505050565b6136af8383613dff565b6136bc6000848484613700565b6136fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f290614d95565b60405180910390fd5b505050565b60006137218473ffffffffffffffffffffffffffffffffffffffff16613fd9565b1561388a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261374a612d52565b8786866040518563ffffffff1660e01b815260040161376c9493929190614ca3565b602060405180830381600087803b15801561378657600080fd5b505af19250505080156137b757506040513d601f19601f820116820180604052508101906137b4919061457f565b60015b61383a573d80600081146137e7576040519150601f19603f3d011682016040523d82523d6000602084013e6137ec565b606091505b50600081511415613832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382990614d95565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061388f565b600190505b949350505050565b6060601280546138a690615517565b80601f01602080910402602001604051908101604052809291908181526020018280546138d290615517565b801561391f5780601f106138f45761010080835404028352916020019161391f565b820191906000526020600020905b81548152906001019060200180831161390257829003601f168201915b5050505050905090565b60606000821415613971576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a85565b600082905060005b600082146139a357808061398c9061557a565b915050600a8261399c91906153a2565b9150613979565b60008167ffffffffffffffff8111156139bf576139be6156df565b5b6040519080825280601f01601f1916602001820160405280156139f15781602001600182028036833780820191505090505b5090505b60008514613a7e57600182613a0a919061542d565b9150600a85613a1991906155c3565b6030613a25919061534c565b60f81b818381518110613a3b57613a3a6156b0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a7791906153a2565b94506139f5565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b4f846118a8565b613b59919061542d565b9050600060086000848152602001908152602001600020549050818114613c3e576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613cc3919061542d565b90506000600a6000848152602001908152602001600020549050600060098381548110613cf357613cf26156b0565b5b906000526020600020015490508060098381548110613d1557613d146156b0565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613d6457613d63615681565b5b6001900381819060005260206000200160009055905550505050565b6000613d8b836118a8565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e6690614fb5565b60405180910390fd5b613e7881612ce6565b15613eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eaf90614df5565b60405180910390fd5b613ec46000838361358c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613f14919061534c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613fd5600083836136a0565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461400890615517565b90600052602060002090601f01602090048101928261402a5760008555614071565b82601f1061404357805160ff1916838001178555614071565b82800160010185558215614071579182015b82811115614070578251825591602001919060010190614055565b5b50905061407e9190614082565b5090565b5b8082111561409b576000816000905550600101614083565b5090565b60006140b26140ad84615255565b615230565b905080828560208602820111156140cc576140cb615713565b5b60005b858110156140fc57816140e288826141fa565b8452602084019350602083019250506001810190506140cf565b5050509392505050565b60006141196141148461527b565b615230565b9050808382526020820190508285602086028201111561413c5761413b615713565b5b60005b8581101561416c578161415288826141fa565b84526020840193506020830192505060018101905061413f565b5050509392505050565b6000614189614184846152a7565b615230565b9050828152602081018484840111156141a5576141a4615718565b5b6141b08482856154d5565b509392505050565b60006141cb6141c6846152d8565b615230565b9050828152602081018484840111156141e7576141e6615718565b5b6141f28482856154d5565b509392505050565b60008135905061420981615f62565b92915050565b600082601f8301126142245761422361570e565b5b600b61423184828561409f565b91505092915050565b600082601f83011261424f5761424e61570e565b5b813561425f848260208601614106565b91505092915050565b60008135905061427781615f79565b92915050565b60008135905061428c81615f90565b92915050565b6000815190506142a181615f90565b92915050565b600082601f8301126142bc576142bb61570e565b5b81356142cc848260208601614176565b91505092915050565b600082601f8301126142ea576142e961570e565b5b81356142fa8482602086016141b8565b91505092915050565b60008135905061431281615fa7565b92915050565b60006020828403121561432e5761432d615722565b5b600061433c848285016141fa565b91505092915050565b6000806040838503121561435c5761435b615722565b5b600061436a858286016141fa565b925050602061437b858286016141fa565b9150509250929050565b60008060006060848603121561439e5761439d615722565b5b60006143ac868287016141fa565b93505060206143bd868287016141fa565b92505060406143ce86828701614303565b9150509250925092565b600080600080608085870312156143f2576143f1615722565b5b6000614400878288016141fa565b9450506020614411878288016141fa565b935050604061442287828801614303565b925050606085013567ffffffffffffffff8111156144435761444261571d565b5b61444f878288016142a7565b91505092959194509250565b6000806040838503121561447257614471615722565b5b6000614480858286016141fa565b925050602061449185828601614268565b9150509250929050565b600080604083850312156144b2576144b1615722565b5b60006144c0858286016141fa565b92505060206144d185828601614303565b9150509250929050565b600061016082840312156144f2576144f1615722565b5b60006145008482850161420f565b91505092915050565b60006020828403121561451f5761451e615722565b5b600082013567ffffffffffffffff81111561453d5761453c61571d565b5b6145498482850161423a565b91505092915050565b60006020828403121561456857614567615722565b5b60006145768482850161427d565b91505092915050565b60006020828403121561459557614594615722565b5b60006145a384828501614292565b91505092915050565b6000602082840312156145c2576145c1615722565b5b600082013567ffffffffffffffff8111156145e0576145df61571d565b5b6145ec848285016142d5565b91505092915050565b60006020828403121561460b5761460a615722565b5b600061461984828501614303565b91505092915050565b6000806040838503121561463957614638615722565b5b600061464785828601614303565b925050602061465885828601614303565b9150509250929050565b61466b81615461565b82525050565b61467a81615473565b82525050565b600061468b82615309565b614695818561531f565b93506146a58185602086016154e4565b6146ae81615727565b840191505092915050565b60006146c482615314565b6146ce8185615330565b93506146de8185602086016154e4565b6146e781615727565b840191505092915050565b60006146fd82615314565b6147078185615341565b93506147178185602086016154e4565b80840191505092915050565b6000614730601f83615330565b915061473b82615738565b602082019050919050565b6000614753602b83615330565b915061475e82615761565b604082019050919050565b6000614776603283615330565b9150614781826157b0565b604082019050919050565b6000614799602683615330565b91506147a4826157ff565b604082019050919050565b60006147bc602583615330565b91506147c78261584e565b604082019050919050565b60006147df601c83615330565b91506147ea8261589d565b602082019050919050565b6000614802601b83615330565b915061480d826158c6565b602082019050919050565b6000614825602483615330565b9150614830826158ef565b604082019050919050565b6000614848601983615330565b91506148538261593e565b602082019050919050565b600061486b601283615330565b915061487682615967565b602082019050919050565b600061488e602c83615330565b915061489982615990565b604082019050919050565b60006148b1603883615330565b91506148bc826159df565b604082019050919050565b60006148d4601183615330565b91506148df82615a2e565b602082019050919050565b60006148f7601c83615330565b915061490282615a57565b602082019050919050565b600061491a602a83615330565b915061492582615a80565b604082019050919050565b600061493d602983615330565b915061494882615acf565b604082019050919050565b6000614960601b83615330565b915061496b82615b1e565b602082019050919050565b6000614983601d83615330565b915061498e82615b47565b602082019050919050565b60006149a6601383615330565b91506149b182615b70565b602082019050919050565b60006149c9602083615330565b91506149d482615b99565b602082019050919050565b60006149ec600e83615330565b91506149f782615bc2565b602082019050919050565b6000614a0f602c83615330565b9150614a1a82615beb565b604082019050919050565b6000614a32602083615330565b9150614a3d82615c3a565b602082019050919050565b6000614a55601883615330565b9150614a6082615c63565b602082019050919050565b6000614a78602f83615330565b9150614a8382615c8c565b604082019050919050565b6000614a9b601783615330565b9150614aa682615cdb565b602082019050919050565b6000614abe601683615330565b9150614ac982615d04565b602082019050919050565b6000614ae1600a83615330565b9150614aec82615d2d565b602082019050919050565b6000614b04602183615330565b9150614b0f82615d56565b604082019050919050565b6000614b27601b83615330565b9150614b3282615da5565b602082019050919050565b6000614b4a603183615330565b9150614b5582615dce565b604082019050919050565b6000614b6d601283615330565b9150614b7882615e1d565b602082019050919050565b6000614b90602c83615330565b9150614b9b82615e46565b604082019050919050565b6000614bb3601983615330565b9150614bbe82615e95565b602082019050919050565b6000614bd6601683615330565b9150614be182615ebe565b602082019050919050565b6000614bf9601f83615330565b9150614c0482615ee7565b602082019050919050565b6000614c1c601a83615330565b9150614c2782615f10565b602082019050919050565b6000614c3f601a83615330565b9150614c4a82615f39565b602082019050919050565b614c5e816154cb565b82525050565b6000614c7082856146f2565b9150614c7c82846146f2565b91508190509392505050565b6000602082019050614c9d6000830184614662565b92915050565b6000608082019050614cb86000830187614662565b614cc56020830186614662565b614cd26040830185614c55565b8181036060830152614ce48184614680565b905095945050505050565b6000604082019050614d046000830185614662565b614d116020830184614c55565b9392505050565b6000602082019050614d2d6000830184614671565b92915050565b60006020820190508181036000830152614d4d81846146b9565b905092915050565b60006020820190508181036000830152614d6e81614723565b9050919050565b60006020820190508181036000830152614d8e81614746565b9050919050565b60006020820190508181036000830152614dae81614769565b9050919050565b60006020820190508181036000830152614dce8161478c565b9050919050565b60006020820190508181036000830152614dee816147af565b9050919050565b60006020820190508181036000830152614e0e816147d2565b9050919050565b60006020820190508181036000830152614e2e816147f5565b9050919050565b60006020820190508181036000830152614e4e81614818565b9050919050565b60006020820190508181036000830152614e6e8161483b565b9050919050565b60006020820190508181036000830152614e8e8161485e565b9050919050565b60006020820190508181036000830152614eae81614881565b9050919050565b60006020820190508181036000830152614ece816148a4565b9050919050565b60006020820190508181036000830152614eee816148c7565b9050919050565b60006020820190508181036000830152614f0e816148ea565b9050919050565b60006020820190508181036000830152614f2e8161490d565b9050919050565b60006020820190508181036000830152614f4e81614930565b9050919050565b60006020820190508181036000830152614f6e81614953565b9050919050565b60006020820190508181036000830152614f8e81614976565b9050919050565b60006020820190508181036000830152614fae81614999565b9050919050565b60006020820190508181036000830152614fce816149bc565b9050919050565b60006020820190508181036000830152614fee816149df565b9050919050565b6000602082019050818103600083015261500e81614a02565b9050919050565b6000602082019050818103600083015261502e81614a25565b9050919050565b6000602082019050818103600083015261504e81614a48565b9050919050565b6000602082019050818103600083015261506e81614a6b565b9050919050565b6000602082019050818103600083015261508e81614a8e565b9050919050565b600060208201905081810360008301526150ae81614ab1565b9050919050565b600060208201905081810360008301526150ce81614ad4565b9050919050565b600060208201905081810360008301526150ee81614af7565b9050919050565b6000602082019050818103600083015261510e81614b1a565b9050919050565b6000602082019050818103600083015261512e81614b3d565b9050919050565b6000602082019050818103600083015261514e81614b60565b9050919050565b6000602082019050818103600083015261516e81614b83565b9050919050565b6000602082019050818103600083015261518e81614ba6565b9050919050565b600060208201905081810360008301526151ae81614bc9565b9050919050565b600060208201905081810360008301526151ce81614bec565b9050919050565b600060208201905081810360008301526151ee81614c0f565b9050919050565b6000602082019050818103600083015261520e81614c32565b9050919050565b600060208201905061522a6000830184614c55565b92915050565b600061523a61524b565b90506152468282615549565b919050565b6000604051905090565b600067ffffffffffffffff8211156152705761526f6156df565b5b602082029050919050565b600067ffffffffffffffff821115615296576152956156df565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152c2576152c16156df565b5b6152cb82615727565b9050602081019050919050565b600067ffffffffffffffff8211156152f3576152f26156df565b5b6152fc82615727565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615357826154cb565b9150615362836154cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615397576153966155f4565b5b828201905092915050565b60006153ad826154cb565b91506153b8836154cb565b9250826153c8576153c7615623565b5b828204905092915050565b60006153de826154cb565b91506153e9836154cb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615422576154216155f4565b5b828202905092915050565b6000615438826154cb565b9150615443836154cb565b925082821015615456576154556155f4565b5b828203905092915050565b600061546c826154ab565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155025780820151818401526020810190506154e7565b83811115615511576000848401525b50505050565b6000600282049050600182168061552f57607f821691505b6020821081141561554357615542615652565b5b50919050565b61555282615727565b810181811067ffffffffffffffff82111715615571576155706156df565b5b80604052505050565b6000615585826154cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155b8576155b76155f4565b5b600182019050919050565b60006155ce826154cb565b91506155d9836154cb565b9250826155e9576155e8615623565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f526f79616c74792070657263656e7461676520546f6f20686967680000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c6520616c726561647920656e6465640000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4d61782077686974656c697374206c656e677468207265616368656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50726573616c65207374696c6c20646964206e6f742073746172740000000000600082015250565b7f4d657461646174612061726520616c72656164792072657665616c6564000000600082015250565b7f4d6574616461746120617265206c6f636b656400000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178206f6e65206d696e742070657220616464726573730000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f41646472657373206e6f742077686974656c6973746564000000000000000000600082015250565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b7f53616c6520656e64656400000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d657461646174612061726520616c7265616479206c6f636b65640000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d6574616461746120617265206e6f742072657665616c656400000000000000600082015250565b7f50726573616c65206973206e6f7420656e61626c656400000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5075626c69632073616c65206973206e6f7420656e61626c6564000000000000600082015250565b7f526573657276656420746f6b656e73206e6f74206d696e746564000000000000600082015250565b615f6b81615461565b8114615f7657600080fd5b50565b615f8281615473565b8114615f8d57600080fd5b50565b615f998161547f565b8114615fa457600080fd5b50565b615fb0816154cb565b8114615fbb57600080fd5b5056fea2646970667358221220cbc63cd7db285afb4dae96986e59b9b7e43933257273c95526f2d6fdabd0c2b464736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696271736e68633276686968646d7633687a6c6d6c32707033666b7969366d336f63666a766d3533793369756e646a6e7236613365000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : unrevealedTokenURI_ (string): ipfs://bafkreibqsnhc2vhihdmv3hzlml2pp3fkyi6m3ocfjvm53y3iundjnr6a3e
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [2] : 697066733a2f2f6261666b7265696271736e68633276686968646d7633687a6c
Arg [3] : 6d6c32707033666b7969366d336f63666a766d3533793369756e646a6e723661
Arg [4] : 3365000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.