More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,244 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21272598 | 5 days ago | IN | 0 ETH | 0.00088388 | ||||
Set Approval For... | 21251046 | 8 days ago | IN | 0 ETH | 0.00115553 | ||||
Set Approval For... | 19684585 | 227 days ago | IN | 0 ETH | 0.00052097 | ||||
Safe Transfer Fr... | 19636057 | 234 days ago | IN | 0 ETH | 0.00099483 | ||||
Set Approval For... | 19577016 | 242 days ago | IN | 0 ETH | 0.00194957 | ||||
Set Approval For... | 19277869 | 284 days ago | IN | 0 ETH | 0.00111298 | ||||
Set Approval For... | 19068655 | 314 days ago | IN | 0 ETH | 0.00078721 | ||||
Set Approval For... | 19034876 | 318 days ago | IN | 0 ETH | 0.00207869 | ||||
Set Approval For... | 18850734 | 344 days ago | IN | 0 ETH | 0.0009213 | ||||
Set Approval For... | 18766216 | 356 days ago | IN | 0 ETH | 0.0019276 | ||||
Set Approval For... | 18262829 | 426 days ago | IN | 0 ETH | 0.00057745 | ||||
Set Approval For... | 17749873 | 498 days ago | IN | 0 ETH | 0.00098674 | ||||
Transfer From | 17745162 | 499 days ago | IN | 0 ETH | 0.00160067 | ||||
Set Approval For... | 17575041 | 523 days ago | IN | 0 ETH | 0.0010679 | ||||
Set Approval For... | 17399317 | 548 days ago | IN | 0 ETH | 0.00100594 | ||||
Set Approval For... | 17360823 | 553 days ago | IN | 0 ETH | 0.00137036 | ||||
Set Approval For... | 17345111 | 555 days ago | IN | 0 ETH | 0.00183518 | ||||
Set Approval For... | 17095203 | 590 days ago | IN | 0 ETH | 0.00090709 | ||||
Set Approval For... | 16976413 | 607 days ago | IN | 0 ETH | 0.00081807 | ||||
Set Approval For... | 16785173 | 634 days ago | IN | 0 ETH | 0.00252045 | ||||
Safe Transfer Fr... | 16737246 | 641 days ago | IN | 0 ETH | 0.00240316 | ||||
Set Approval For... | 16714668 | 644 days ago | IN | 0 ETH | 0.0012254 | ||||
Set Approval For... | 16599987 | 660 days ago | IN | 0 ETH | 0.00140416 | ||||
Set Approval For... | 16599728 | 660 days ago | IN | 0 ETH | 0.00208057 | ||||
Transfer From | 16513615 | 672 days ago | IN | 0 ETH | 0.00167502 |
Loading...
Loading
Contract Name:
LobsterBeachClub
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.7; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @title LobsterGenome interface * @dev Describes the external LobsterGenome contract that handles lobster traits logic */ interface ILobsterGenome { function getGeneSequence(uint256 tokenId) external view returns (uint256 geneSequence); function getAssets() external view returns(uint16[] memory assets); } /** * @title LobsterBeachClub contract * @dev Extends ERC721 Non-Fungible Token Standard with enumeration and URIStorage */ contract LobsterBeachClub is VRFConsumerBase, ERC721, ERC721Enumerable, ERC721URIStorage, Ownable { uint256 public maxSupply; // needed public for LobsterGenome uint256 public seedNumber; // needed public for LobsterGenome string internal baseURI; bytes32 internal keyHash; uint256 internal linkFee; uint16 internal maxPurchase; uint256 internal mintingFee; uint256 internal maxPresaleSupply; uint256 internal revealDate; uint256 internal presaleStartingSupply; bool internal saleIsActive; bool internal presaleIsActive; bool internal seedNumberRequested; bool internal seedNumberSet; mapping(uint256 => uint256) internal promoLobster; mapping(address => bool) internal isWhitelisted; event SeedRequested(bool _value); event SeedSet(bool _value, uint256 _seedNumber); event PresaleState(bool _value, uint256 _startingSupply); event SaleState(bool _value); event Whitelist(address indexed _address, bool _value); event Minted(uint256 _value); event RevealTime(uint256 _time); event MintFee(uint256 _value); // External contract to fetch lobster genes from ILobsterGenome public lobsterGenome; constructor(string memory name, string memory symbol, uint256 maxNftSupply, uint256 saleStart) ERC721(name, symbol) ERC721Enumerable() VRFConsumerBase( 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952, // VRF Coordinator 0x514910771AF9Ca656af840dff83E8264EcF986CA // LINK Token ) { mintingFee = 0.085 * 10 ** 18; keyHash = 0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445; linkFee = 2 * 10 ** 18; // 2 LINK required to call VRF baseURI = "https://pegnc1ml7b.execute-api.us-west-1.amazonaws.com/api/lobsters/"; maxSupply = maxNftSupply; maxPresaleSupply = 1500; maxPurchase = 20; revealDate = saleStart + (86400 * 9); // 9 days from start emit RevealTime(revealDate); emit MintFee(mintingFee); } function contractURI() public view returns (string memory) { return string(abi.encodePacked(baseURI, "metadata")); } function setLobsterGenome(address lgAddress) public onlyOwner { lobsterGenome = ILobsterGenome(lgAddress); } /** * @dev Set the minting fee */ function setMintingFee(uint256 _mintingFee) public onlyOwner { mintingFee = _mintingFee; emit MintFee(mintingFee); } /** * @dev Start state of presale or sale */ function setSaleState(bool _presale, bool _val) public onlyOwner { if (_presale) { presaleIsActive = _val; if (_val) { presaleStartingSupply = totalSupply(); } emit PresaleState(_val, presaleStartingSupply); } else { saleIsActive = _val; emit SaleState(_val); } } /** * @dev Add or remove addresses from presale whitelist */ function whitelist(address[] memory addresses, bool _val) public onlyOwner { for (uint i; i < addresses.length; i++) { isWhitelisted[addresses[i]] = _val; emit Whitelist(addresses[i], _val); } } /** * @dev Reserve some lobsters for these addresses */ function reserveLobsters(address[] memory addresses) public onlyOwner { for(uint i; i < addresses.length; i++) { uint256 lobsterId = totalSupply(); _mint(addresses[i], lobsterId); _setTokenURI(lobsterId, uint2str(lobsterId)); } emit Minted(totalSupply()); } /** * @dev Create promo lobsters for these addresses * @dev Promo lobsters are lobsters with predefined geneSequences * @dev Promo lobsters are non-transferrable so they're kept track of in a mapping */ function createPromoLobsters(uint256[] memory geneSequences, address[] memory addresses) public onlyOwner { require(geneSequences.length == addresses.length, "Argument lengths must be equal"); for(uint i = 0; i < geneSequences.length; i++) { uint256 lobsterId = totalSupply(); _mint(addresses[i], lobsterId); _setTokenURI(lobsterId, uint2str(lobsterId)); promoLobster[lobsterId] = geneSequences[i]; } emit Minted(totalSupply()); } /** * @dev Mint lobsters to an address * @dev Presale must be active or sale must be active to mint * @dev To mint during presale the msg.sender must be whitelisted and can't exceed presaleStartSupply + maxPresaleSupply * @dev To mint you must provide minting fee for each token requested and cannot exceed max token supply * @dev If minting after reveal date or minting last available supply, submit request from Chainlink VRF * @dev If maxSupply reached then sale is no longer active * @dev If presaleStartingSupply + maxPresaleSupply is reached then presale is no longer active */ function mint(uint256 numberOfTokens, address _to) public payable { require(numberOfTokens <= maxPurchase, "Exceeded the max purchase amount"); if (presaleIsActive) { require(isWhitelisted[msg.sender], "Not whitelisted"); require(totalSupply() + numberOfTokens <= presaleStartingSupply + maxPresaleSupply, "Exceeded max presale supply"); } else { require(saleIsActive, "Sale must be active"); } require(mintingFee * numberOfTokens <= msg.value, "Mint fee is not correct"); require(totalSupply() + numberOfTokens <= maxSupply, "Purchase would exceed max supply"); for(uint i = 0; i < numberOfTokens; i++) { uint256 lobsterId = totalSupply(); _mint(_to, lobsterId); _setTokenURI(lobsterId, uint2str(lobsterId)); } emit Minted(totalSupply()); if (!seedNumberRequested && (totalSupply() >= maxSupply || block.timestamp >= revealDate)) { getRandomNumber(); } if (totalSupply() >= maxSupply) { saleIsActive = false; setSaleState(false, false); } else if (presaleIsActive && (totalSupply() >= (presaleStartingSupply + maxPresaleSupply))) { presaleIsActive = false; setSaleState(true, false); } } /** * @dev Gives contract owner ability to manually request seed number from Chainlink VRF */ function emergencySetSeedNumber() public onlyOwner { getRandomNumber(); } function setRevealTimestamp(uint256 revealTimeStamp) public onlyOwner { revealDate = revealTimeStamp; emit RevealTime(revealDate); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } /** * @dev Get the gene sequence of a lobster if seedNumberSet / lobsters are revealed * @dev If lobster is a promo, then return preset gene sequence * @dev Gene sequencing logic is outsourced to external LobsterGenome contract */ function getLobster(uint256 tokenId) public view returns (uint256 geneSequence) { require(seedNumberSet, "Seed number is not set"); require(_exists(tokenId), "Token id does not exist"); if (promoLobster[tokenId] != 0) { return promoLobster[tokenId]; } return lobsterGenome.getGeneSequence(tokenId); } /** * @dev Callback function for Chainlink VRF * @dev Randomness is set as the seedNumber, revealing all Lobsters */ function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override { seedNumber = randomness; seedNumberSet = true; emit SeedSet(true, seedNumber); } /** * @dev Request a random number from Chainlink VRF */ function getRandomNumber() internal { require(LINK.balanceOf(address(this)) > linkFee && !seedNumberSet, "Not enough LINK or seed set already"); requestRandomness(keyHash, linkFee); seedNumberRequested = true; emit SeedRequested(true); } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } function withdrawLink() external onlyOwner { LINK.transfer(msg.sender, LINK.balanceOf(address(this))); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { require(promoLobster[tokenId] == 0, "Token id is non-transferrable"); super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) { return super._burn(tokenId); } function tokenURI(uint256 tokenId) public view virtual override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface LinkTokenInterface { function allowance( address owner, address spender ) external view returns ( uint256 remaining ); function approve( address spender, uint256 value ) external returns ( bool success ); function balanceOf( address owner ) external view returns ( uint256 balance ); function decimals() external view returns ( uint8 decimalPlaces ); function decreaseApproval( address spender, uint256 addedValue ) external returns ( bool success ); function increaseApproval( address spender, uint256 subtractedValue ) external; function name() external view returns ( string memory tokenName ); function symbol() external view returns ( string memory tokenSymbol ); function totalSupply() external view returns ( uint256 totalTokensIssued ); function transfer( address to, uint256 value ) external returns ( bool success ); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns ( bool success ); function transferFrom( address from, address to, uint256 value ) external returns ( bool success ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract VRFRequestIDBase { /** * @notice returns the seed which is actually input to the VRF coordinator * * @dev To prevent repetition of VRF output due to repetition of the * @dev user-supplied seed, that seed is combined in a hash with the * @dev user-specific nonce, and the address of the consuming contract. The * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in * @dev the final seed, but the nonce does protect against repetition in * @dev requests which are included in a single block. * * @param _userSeed VRF seed input provided by user * @param _requester Address of the requesting contract * @param _nonce User-specific nonce at the time of the request */ function makeVRFInputSeed( bytes32 _keyHash, uint256 _userSeed, address _requester, uint256 _nonce ) internal pure returns ( uint256 ) { return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce))); } /** * @notice Returns the id for this request * @param _keyHash The serviceAgreement ID to be used for this request * @param _vRFInputSeed The seed to be passed directly to the VRF * @return The id for this request * * @dev Note that _vRFInputSeed is not the seed passed by the consuming * @dev contract, but the one generated by makeVRFInputSeed */ function makeRequestId( bytes32 _keyHash, uint256 _vRFInputSeed ) internal pure returns ( bytes32 ) { return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/LinkTokenInterface.sol"; import "./VRFRequestIDBase.sol"; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constuctor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator, _link) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash), and have told you the minimum LINK * @dev price for VRF service. Make sure your contract has sufficient LINK, and * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you * @dev want to generate randomness from. * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomness method. * * @dev The randomness argument to fulfillRandomness is the actual random value * @dev generated from your seed. * * @dev The requestId argument is generated from the keyHash and the seed by * @dev makeRequestId(keyHash, seed). If your contract could have concurrent * @dev requests open, you can use the requestId to track which seed is * @dev associated with which randomness. See VRFRequestIDBase.sol for more * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously.) * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. (Which is critical to making unpredictable randomness! See the * @dev next section.) * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the ultimate input to the VRF is mixed with the block hash of the * @dev block in which the request is made, user-provided seeds have no impact * @dev on its economic security properties. They are only included for API * @dev compatability with previous versions of this contract. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. */ abstract contract VRFConsumerBase is VRFRequestIDBase { /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBase expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomness the VRF output */ function fulfillRandomness( bytes32 requestId, uint256 randomness ) internal virtual; /** * @dev In order to keep backwards compatibility we have kept the user * seed field around. We remove the use of it because given that the blockhash * enters later, it overrides whatever randomness the used seed provides. * Given that it adds no security, and can easily lead to misunderstandings, * we have removed it from usage and can now provide a simpler API. */ uint256 constant private USER_SEED_PLACEHOLDER = 0; /** * @notice requestRandomness initiates a request for VRF output given _seed * * @dev The fulfillRandomness method receives the output, once it's provided * @dev by the Oracle, and verified by the vrfCoordinator. * * @dev The _keyHash must already be registered with the VRFCoordinator, and * @dev the _fee must exceed the fee specified during registration of the * @dev _keyHash. * * @dev The _seed parameter is vestigial, and is kept only for API * @dev compatibility with older versions. It can't *hurt* to mix in some of * @dev your own randomness, here, but it's not necessary because the VRF * @dev oracle will mix the hash of the block containing your request into the * @dev VRF seed it ultimately uses. * * @param _keyHash ID of public key against which randomness is generated * @param _fee The amount of LINK to send with the request * * @return requestId unique ID for this request * * @dev The returned requestId can be used to distinguish responses to * @dev concurrent requests. It is passed as the first argument to * @dev fulfillRandomness. */ function requestRandomness( bytes32 _keyHash, uint256 _fee ) internal returns ( bytes32 requestId ) { LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER)); // This is the seed passed to VRFCoordinator. The oracle will mix this with // the hash of the block containing this request to obtain the seed/input // which is finally passed to the VRF cryptographic machinery. uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]); // nonces[_keyHash] must stay in sync with // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest). // This provides protection against the user repeating their input seed, // which would result in a predictable/duplicate output, if multiple such // requests appeared in the same block. nonces[_keyHash] = nonces[_keyHash] + 1; return makeRequestId(_keyHash, vRFSeed); } LinkTokenInterface immutable internal LINK; address immutable private vrfCoordinator; // Nonces for each VRF key from which randomness has been requested. // // Must stay in sync with VRFCoordinator[_keyHash][this] mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces; /** * @param _vrfCoordinator address of VRFCoordinator contract * @param _link address of LINK token contract * * @dev https://docs.chain.link/docs/link-token-contracts */ constructor( address _vrfCoordinator, address _link ) { vrfCoordinator = _vrfCoordinator; LINK = LinkTokenInterface(_link); } // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomness( bytes32 requestId, uint256 randomness ) external { require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill"); fulfillRandomness(requestId, randomness); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxNftSupply","type":"uint256"},{"internalType":"uint256","name":"saleStart","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"MintFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_value","type":"bool"},{"indexed":false,"internalType":"uint256","name":"_startingSupply","type":"uint256"}],"name":"PresaleState","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_time","type":"uint256"}],"name":"RevealTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"SaleState","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"SeedRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_value","type":"bool"},{"indexed":false,"internalType":"uint256","name":"_seedNumber","type":"uint256"}],"name":"SeedSet","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"Whitelist","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"geneSequences","type":"uint256[]"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"createPromoLobsters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencySetSeedNumber","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLobster","outputs":[{"internalType":"uint256","name":"geneSequence","type":"uint256"}],"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":"lobsterGenome","outputs":[{"internalType":"contract ILobsterGenome","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"reserveLobsters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seedNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"lgAddress","type":"address"}],"name":"setLobsterGenome","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintingFee","type":"uint256"}],"name":"setMintingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_presale","type":"bool"},{"internalType":"bool","name":"_val","type":"bool"}],"name":"setSaleState","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":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"_val","type":"bool"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawLink","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b50604051620067df380380620067df833981810160405281019062000037919062000479565b838373f0d54349addcf704f77ae15b96510dea15cb795273514910771af9ca656af840dff83e8264ecf986ca8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050508160019080519060200190620000eb92919062000334565b5080600290805190602001906200010492919062000334565b505050620001276200011b6200026660201b60201c565b6200026e60201b60201c565b67012dfb0cb5e880006013819055507faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af44560001b601081905550671bc16d674ec800006011819055506040518060800160405280604481526020016200679b60449139600f9080519060200190620001a092919062000334565b5081600d819055506105dc6014819055506014601260006101000a81548161ffff021916908361ffff160217905550620bdd8081620001e09190620005b6565b6015819055507fd2e157468bcbbe907029be0d3dc2a6bbb28a2987e004e7096ec548c59fbb115e6015546040516200021991906200053a565b60405180910390a17f6f87524b705f31734b7940b88671f37a3291d7b961b69da31bcabf882b2531da6013546040516200025491906200053a565b60405180910390a1505050506200078b565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003429062000653565b90600052602060002090601f016020900481019282620003665760008555620003b2565b82601f106200038157805160ff1916838001178555620003b2565b82800160010185558215620003b2579182015b82811115620003b157825182559160200191906001019062000394565b5b509050620003c19190620003c5565b5090565b5b80821115620003e0576000816000905550600101620003c6565b5090565b6000620003fb620003f58462000580565b62000557565b9050828152602081018484840111156200041a576200041962000751565b5b620004278482856200061d565b509392505050565b600082601f8301126200044757620004466200074c565b5b815162000459848260208601620003e4565b91505092915050565b600081519050620004738162000771565b92915050565b600080600080608085870312156200049657620004956200075b565b5b600085015167ffffffffffffffff811115620004b757620004b662000756565b5b620004c5878288016200042f565b945050602085015167ffffffffffffffff811115620004e957620004e862000756565b5b620004f7878288016200042f565b93505060406200050a8782880162000462565b92505060606200051d8782880162000462565b91505092959194509250565b620005348162000613565b82525050565b600060208201905062000551600083018462000529565b92915050565b60006200056362000576565b905062000571828262000689565b919050565b6000604051905090565b600067ffffffffffffffff8211156200059e576200059d6200071d565b5b620005a98262000760565b9050602081019050919050565b6000620005c38262000613565b9150620005d08362000613565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620006085762000607620006bf565b5b828201905092915050565b6000819050919050565b60005b838110156200063d57808201518184015260208101905062000620565b838111156200064d576000848401525b50505050565b600060028204905060018216806200066c57607f821691505b60208210811415620006835762000682620006ee565b5b50919050565b620006948262000760565b810181811067ffffffffffffffff82111715620006b657620006b56200071d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200077c8162000613565b81146200078857600080fd5b50565b60805160601c60a05160601c615fc8620007d36000396000818161161001526132a10152600081816114b8015281816114f501528181612e0701526132650152615fc86000f3fe60806040526004361061021a5760003560e01c8063715018a611610123578063c87b56dd116100ab578063f098f12b1161006f578063f098f12b146107aa578063f2fde38b146107e7578063f8da076214610810578063fafdb55e14610839578063fc7eda2e146108505761021a565b8063c87b56dd146106b1578063d5578379146106ee578063d5abeb0114610717578063e8a3d48514610742578063e985e9c51461076d5761021a565b806394bf804d116100f257806394bf804d146105ef57806395d89b411461060b578063a22cb46514610636578063b29e50421461065f578063b88d4fde146106885761021a565b8063715018a61461056d5780638da5cb5b146105845780638dc654a2146105af57806394985ddd146105c65761021a565b80632f745c59116101a65780634f6ccce7116101755780634f6ccce71461046257806355f804b31461049f5780636352211e146104c8578063684aa3c41461050557806370a08231146105305761021a565b80632f745c59146103bc5780633340d62c146103f95780633ccfd60b1461042257806342842e0e146104395761021a565b8063081812fc116101ed578063081812fc146102d9578063095ea7b31461031657806318160ddd1461033f578063238a47091461036a57806323b872dd146103935761021a565b8063018a2c371461021f57806301b38af51461024857806301ffc9a71461027157806306fdde03146102ae575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190614493565b61087b565b005b34801561025457600080fd5b5061026f600480360381019061026a919061426f565b61093a565b005b34801561027d57600080fd5b50610298600480360381019061029391906143f0565b610ab3565b6040516102a59190614c8b565b60405180910390f35b3480156102ba57600080fd5b506102c3610ac5565b6040516102d09190614d58565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190614493565b610b57565b60405161030d9190614bbd565b60405180910390f35b34801561032257600080fd5b5061033d600480360381019061033891906141e6565b610bdc565b005b34801561034b57600080fd5b50610354610cf4565b604051610361919061517a565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190614493565b610d01565b005b34801561039f57600080fd5b506103ba60048036038101906103b591906140d0565b610dc0565b005b3480156103c857600080fd5b506103e360048036038101906103de91906141e6565b610e20565b6040516103f0919061517a565b60405180910390f35b34801561040557600080fd5b50610420600480360381019061041b9190614370565b610ec5565b005b34801561042e57600080fd5b5061043761100c565b005b34801561044557600080fd5b50610460600480360381019061045b91906140d0565b6110d1565b005b34801561046e57600080fd5b5061048960048036038101906104849190614493565b6110f1565b604051610496919061517a565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c1919061444a565b611162565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190614493565b6111f8565b6040516104fc9190614bbd565b60405180910390f35b34801561051157600080fd5b5061051a6112aa565b6040516105279190614d3d565b60405180910390f35b34801561053c57600080fd5b5061055760048036038101906105529190614063565b6112d0565b604051610564919061517a565b60405180910390f35b34801561057957600080fd5b50610582611388565b005b34801561059057600080fd5b50610599611410565b6040516105a69190614bbd565b60405180910390f35b3480156105bb57600080fd5b506105c461143a565b005b3480156105d257600080fd5b506105ed60048036038101906105e891906143b0565b61160e565b005b610609600480360381019061060491906144ed565b6116aa565b005b34801561061757600080fd5b50610620611a68565b60405161062d9190614d58565b60405180910390f35b34801561064257600080fd5b5061065d600480360381019061065891906141a6565b611afa565b005b34801561066b57600080fd5b5061068660048036038101906106819190614063565b611c7b565b005b34801561069457600080fd5b506106af60048036038101906106aa9190614123565b611d3b565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190614493565b611d9d565b6040516106e59190614d58565b60405180910390f35b3480156106fa57600080fd5b5061071560048036038101906107109190614226565b611daf565b005b34801561072357600080fd5b5061072c611ecf565b604051610739919061517a565b60405180910390f35b34801561074e57600080fd5b50610757611ed5565b6040516107649190614d58565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190614090565b611efd565b6040516107a19190614c8b565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190614493565b611f91565b6040516107de919061517a565b60405180910390f35b3480156107f357600080fd5b5061080e60048036038101906108099190614063565b612113565b005b34801561081c57600080fd5b50610837600480360381019061083291906142cb565b61220b565b005b34801561084557600080fd5b5061084e6123a2565b005b34801561085c57600080fd5b50610865612428565b604051610872919061517a565b60405180910390f35b61088361242e565b73ffffffffffffffffffffffffffffffffffffffff166108a1611410565b73ffffffffffffffffffffffffffffffffffffffff16146108f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ee90614ffa565b60405180910390fd5b806015819055507fd2e157468bcbbe907029be0d3dc2a6bbb28a2987e004e7096ec548c59fbb115e60155460405161092f919061517a565b60405180910390a150565b61094261242e565b73ffffffffffffffffffffffffffffffffffffffff16610960611410565b73ffffffffffffffffffffffffffffffffffffffff16146109b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ad90614ffa565b60405180910390fd5b60005b8251811015610aae5781601960008584815181106109da576109d96156c8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550828181518110610a4657610a456156c8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f5a25e09a5dba33161281055e015f1279b6b10204d8f90dd56a8ce2b82322d43d83604051610a939190614c8b565b60405180910390a28080610aa69061557e565b9150506109b9565b505050565b6000610abe82612436565b9050919050565b606060018054610ad49061551b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b009061551b565b8015610b4d5780601f10610b2257610100808354040283529160200191610b4d565b820191906000526020600020905b815481529060010190602001808311610b3057829003601f168201915b5050505050905090565b6000610b62826124b0565b610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890614f9a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be7826111f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4f9061507a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7761242e565b73ffffffffffffffffffffffffffffffffffffffff161480610ca65750610ca581610ca061242e565b611efd565b5b610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc90614e9a565b60405180910390fd5b610cef838361251c565b505050565b6000600980549050905090565b610d0961242e565b73ffffffffffffffffffffffffffffffffffffffff16610d27611410565b73ffffffffffffffffffffffffffffffffffffffff1614610d7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7490614ffa565b60405180910390fd5b806013819055507f6f87524b705f31734b7940b88671f37a3291d7b961b69da31bcabf882b2531da601354604051610db5919061517a565b60405180910390a150565b610dd1610dcb61242e565b826125d5565b610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e079061509a565b60405180910390fd5b610e1b8383836126b3565b505050565b6000610e2b836112d0565b8210610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390614d9a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ecd61242e565b73ffffffffffffffffffffffffffffffffffffffff16610eeb611410565b73ffffffffffffffffffffffffffffffffffffffff1614610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3890614ffa565b60405180910390fd5b8115610fb65780601760016101000a81548160ff0219169083151502179055508015610f7657610f6f610cf4565b6016819055505b7f0dca012cc4b9fa81bc96a56664148919d558ee7b08357152057eb146ec61719a81601654604051610fa9929190614ca6565b60405180910390a1611008565b80601760006101000a81548160ff0219169083151502179055507f6143d1994b0bc2db674da4f758fd5d5f18fa202a65acd97b74f38cbe90874f3781604051610fff9190614c8b565b60405180910390a15b5050565b61101461242e565b73ffffffffffffffffffffffffffffffffffffffff16611032611410565b73ffffffffffffffffffffffffffffffffffffffff1614611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107f90614ffa565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156110ce573d6000803e3d6000fd5b50565b6110ec83838360405180602001604052806000815250611d3b565b505050565b60006110fb610cf4565b821061113c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611133906150da565b60405180910390fd5b600982815481106111505761114f6156c8565b5b90600052602060002001549050919050565b61116a61242e565b73ffffffffffffffffffffffffffffffffffffffff16611188611410565b73ffffffffffffffffffffffffffffffffffffffff16146111de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d590614ffa565b60405180910390fd5b80600f90805190602001906111f4929190613cfc565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129890614efa565b60405180910390fd5b80915050919050565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890614eda565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139061242e565b73ffffffffffffffffffffffffffffffffffffffff166113ae611410565b73ffffffffffffffffffffffffffffffffffffffff1614611404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fb90614ffa565b60405180910390fd5b61140e600061290f565b565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61144261242e565b73ffffffffffffffffffffffffffffffffffffffff16611460611410565b73ffffffffffffffffffffffffffffffffffffffff16146114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad90614ffa565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb337f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161154c9190614bbd565b60206040518083038186803b15801561156457600080fd5b505afa158015611578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159c91906144c0565b6040518363ffffffff1660e01b81526004016115b9929190614c24565b602060405180830381600087803b1580156115d357600080fd5b505af11580156115e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160b9190614343565b50565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461169c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116939061505a565b60405180910390fd5b6116a682826129d5565b5050565b601260009054906101000a900461ffff1661ffff16821115611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890614fda565b60405180910390fd5b601760019054906101000a900460ff161561180b57601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166117a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179990614eba565b60405180910390fd5b6014546016546117b291906152cc565b826117bb610cf4565b6117c591906152cc565b1115611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90614fba565b60405180910390fd5b61185b565b601760009054906101000a900460ff1661185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614d7a565b60405180910390fd5b5b348260135461186a919061538a565b11156118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290614dfa565b60405180910390fd5b600d54826118b7610cf4565b6118c191906152cc565b1115611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990614f3a565b60405180910390fd5b60005b82811015611949576000611917610cf4565b90506119238382612a37565b6119358161193083612c05565b612d8e565b5080806119419061557e565b915050611905565b507f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a611973610cf4565b604051611980919061517a565b60405180910390a1601760029054906101000a900460ff161580156119bb5750600d546119ab610cf4565b1015806119ba57506015544210155b5b156119c9576119c8612e02565b5b600d546119d4610cf4565b10611a04576000601760006101000a81548160ff0219169083151502179055506119ff600080610ec5565b611a64565b601760019054906101000a900460ff168015611a365750601454601654611a2b91906152cc565b611a33610cf4565b10155b15611a63576000601760016101000a81548160ff021916908315150217905550611a6260016000610ec5565b5b5b5050565b606060028054611a779061551b565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa39061551b565b8015611af05780601f10611ac557610100808354040283529160200191611af0565b820191906000526020600020905b815481529060010190602001808311611ad357829003601f168201915b5050505050905090565b611b0261242e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790614e5a565b60405180910390fd5b8060066000611b7d61242e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c2a61242e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c6f9190614c8b565b60405180910390a35050565b611c8361242e565b73ffffffffffffffffffffffffffffffffffffffff16611ca1611410565b73ffffffffffffffffffffffffffffffffffffffff1614611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee90614ffa565b60405180910390fd5b80601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611d4c611d4661242e565b836125d5565b611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d829061509a565b60405180910390fd5b611d9784848484612f6b565b50505050565b6060611da882612fc7565b9050919050565b611db761242e565b73ffffffffffffffffffffffffffffffffffffffff16611dd5611410565b73ffffffffffffffffffffffffffffffffffffffff1614611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2290614ffa565b60405180910390fd5b60005b8151811015611e8d576000611e41610cf4565b9050611e67838381518110611e5957611e586156c8565b5b602002602001015182612a37565b611e7981611e7483612c05565b612d8e565b508080611e859061557e565b915050611e2e565b507f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a611eb7610cf4565b604051611ec4919061517a565b60405180910390a150565b600d5481565b6060600f604051602001611ee99190614b9b565b604051602081830303815290604052905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601760039054906101000a900460ff16611fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd9906150fa565b60405180910390fd5b611feb826124b0565b61202a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120219061513a565b60405180910390fd5b6000601860008481526020019081526020016000205414612060576018600083815260200190815260200160002054905061210e565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f226a90c836040518263ffffffff1660e01b81526004016120bb919061517a565b60206040518083038186803b1580156120d357600080fd5b505afa1580156120e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210b91906144c0565b90505b919050565b61211b61242e565b73ffffffffffffffffffffffffffffffffffffffff16612139611410565b73ffffffffffffffffffffffffffffffffffffffff161461218f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218690614ffa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f690614dda565b60405180910390fd5b6122088161290f565b50565b61221361242e565b73ffffffffffffffffffffffffffffffffffffffff16612231611410565b73ffffffffffffffffffffffffffffffffffffffff1614612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e90614ffa565b60405180910390fd5b80518251146122cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c2906150ba565b60405180910390fd5b60005b825181101561235f5760006122e1610cf4565b90506123078383815181106122f9576122f86156c8565b5b602002602001015182612a37565b6123198161231483612c05565b612d8e565b83828151811061232c5761232b6156c8565b5b602002602001015160186000838152602001908152602001600020819055505080806123579061557e565b9150506122ce565b507f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a612389610cf4565b604051612396919061517a565b60405180910390a15050565b6123aa61242e565b73ffffffffffffffffffffffffffffffffffffffff166123c8611410565b73ffffffffffffffffffffffffffffffffffffffff161461241e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241590614ffa565b60405180910390fd5b612426612e02565b565b600e5481565b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124a957506124a882613119565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661258f836111f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006125e0826124b0565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690614e7a565b60405180910390fd5b600061262a836111f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061269957508373ffffffffffffffffffffffffffffffffffffffff1661268184610b57565b73ffffffffffffffffffffffffffffffffffffffff16145b806126aa57506126a98185611efd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126d3826111f8565b73ffffffffffffffffffffffffffffffffffffffff1614612729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127209061501a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279090614e3a565b60405180910390fd5b6127a48383836131fb565b6127af60008261251c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ff91906153e4565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461285691906152cc565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600e819055506001601760036101000a81548160ff0219169083151502179055507f53713f6cb369d2974869f25fb4fef9728222f40c5a640c8bb2ffaec4ff8c11d66001600e54604051612a2b929190614ca6565b60405180910390a15050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9e90614f5a565b60405180910390fd5b612ab0816124b0565b15612af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae790614e1a565b60405180910390fd5b612afc600083836131fb565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4c91906152cc565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606000821415612c4d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d89565b600082905060005b60008214612c7f578080612c689061557e565b915050600a82612c789190615359565b9150612c55565b60008167ffffffffffffffff811115612c9b57612c9a6156f7565b5b6040519080825280601f01601f191660200182016040528015612ccd5781602001600182028036833780820191505090505b50905060008290505b60008614612d8157600181612ceb91906153e4565b90506000600a8088612cfd9190615359565b612d07919061538a565b87612d1291906153e4565b6030612d1e9190615322565b905060008160f81b905080848481518110612d3c57612d3b6156c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88612d789190615359565b97505050612cd6565b819450505050505b919050565b612d97826124b0565b612dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcd90614f1a565b60405180910390fd5b80600b60008481526020019081526020016000209080519060200190612dfd929190613cfc565b505050565b6011547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612e5e9190614bbd565b60206040518083038186803b158015612e7657600080fd5b505afa158015612e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eae91906144c0565b118015612ec85750601760039054906101000a900460ff16155b612f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efe9061511a565b60405180910390fd5b612f15601054601154613261565b506001601760026101000a81548160ff0219169083151502179055507f98bfa1cd0cbab5c78aa8514ba5a7b38800ec7d4f4da12b8f3b321877ec147cf16001604051612f619190614c8b565b60405180910390a1565b612f768484846126b3565b612f82848484846133c0565b612fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb890614dba565b60405180910390fd5b50505050565b6060612fd2826124b0565b613011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300890614f7a565b60405180910390fd5b6000600b600084815260200190815260200160002080546130319061551b565b80601f016020809104026020016040519081016040528092919081815260200182805461305d9061551b565b80156130aa5780601f1061307f576101008083540402835291602001916130aa565b820191906000526020600020905b81548152906001019060200180831161308d57829003601f168201915b5050505050905060006130bb613557565b90506000815114156130d1578192505050613114565b6000825111156131065780826040516020016130ee929190614b77565b60405160208183030381529060405292505050613114565b61310f846135e9565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131e457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131f457506131f382613690565b5b9050919050565b6000601860008381526020019081526020016000205414613251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132489061515a565b60405180910390fd5b61325c8383836136fa565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016132d5929190614ccf565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161330293929190614c4d565b602060405180830381600087803b15801561331c57600080fd5b505af1158015613330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133549190614343565b506000613376846000306000808981526020019081526020016000205461380e565b905060016000808681526020019081526020016000205461339791906152cc565b600080868152602001908152602001600020819055506133b7848261384a565b91505092915050565b60006133e18473ffffffffffffffffffffffffffffffffffffffff1661387d565b1561354a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261340a61242e565b8786866040518563ffffffff1660e01b815260040161342c9493929190614bd8565b602060405180830381600087803b15801561344657600080fd5b505af192505050801561347757506040513d601f19601f82011682018060405250810190613474919061441d565b60015b6134fa573d80600081146134a7576040519150601f19603f3d011682016040523d82523d6000602084013e6134ac565b606091505b506000815114156134f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e990614dba565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061354f565b600190505b949350505050565b6060600f80546135669061551b565b80601f01602080910402602001604051908101604052809291908181526020018280546135929061551b565b80156135df5780601f106135b4576101008083540402835291602001916135df565b820191906000526020600020905b8154815290600101906020018083116135c257829003601f168201915b5050505050905090565b60606135f4826124b0565b613633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362a9061503a565b60405180910390fd5b600061363d613557565b9050600081511161365d5760405180602001604052806000815250613688565b8061366784613890565b604051602001613678929190614b77565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137058383836139f1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561374857613743816139f6565b613787565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613786576137858382613a3f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137ca576137c581613bac565b613809565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613808576138078282613c7d565b5b5b505050565b6000848484846040516020016138279493929190614cf8565b6040516020818303038152906040528051906020012060001c9050949350505050565b6000828260405160200161385f929190614b4b565b60405160208183030381529060405280519060200120905092915050565b600080823b905060008111915050919050565b606060008214156138d8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506139ec565b600082905060005b6000821461390a5780806138f39061557e565b915050600a826139039190615359565b91506138e0565b60008167ffffffffffffffff811115613926576139256156f7565b5b6040519080825280601f01601f1916602001820160405280156139585781602001600182028036833780820191505090505b5090505b600085146139e55760018261397191906153e4565b9150600a8561398091906155db565b603061398c91906152cc565b60f81b8183815181106139a2576139a16156c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139de9190615359565b945061395c565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a4c846112d0565b613a5691906153e4565b9050600060086000848152602001908152602001600020549050818114613b3b576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613bc091906153e4565b90506000600a6000848152602001908152602001600020549050600060098381548110613bf057613bef6156c8565b5b906000526020600020015490508060098381548110613c1257613c116156c8565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613c6157613c60615699565b5b6001900381819060005260206000200160009055905550505050565b6000613c88836112d0565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613d089061551b565b90600052602060002090601f016020900481019282613d2a5760008555613d71565b82601f10613d4357805160ff1916838001178555613d71565b82800160010185558215613d71579182015b82811115613d70578251825591602001919060010190613d55565b5b509050613d7e9190613d82565b5090565b5b80821115613d9b576000816000905550600101613d83565b5090565b6000613db2613dad846151ba565b615195565b90508083825260208201905082856020860282011115613dd557613dd461572b565b5b60005b85811015613e055781613deb8882613f03565b845260208401935060208301925050600181019050613dd8565b5050509392505050565b6000613e22613e1d846151e6565b615195565b90508083825260208201905082856020860282011115613e4557613e4461572b565b5b60005b85811015613e755781613e5b8882614039565b845260208401935060208301925050600181019050613e48565b5050509392505050565b6000613e92613e8d84615212565b615195565b905082815260208101848484011115613eae57613ead615730565b5b613eb98482856154d9565b509392505050565b6000613ed4613ecf84615243565b615195565b905082815260208101848484011115613ef057613eef615730565b5b613efb8482856154d9565b509392505050565b600081359050613f1281615f1f565b92915050565b600082601f830112613f2d57613f2c615726565b5b8135613f3d848260208601613d9f565b91505092915050565b600082601f830112613f5b57613f5a615726565b5b8135613f6b848260208601613e0f565b91505092915050565b600081359050613f8381615f36565b92915050565b600081519050613f9881615f36565b92915050565b600081359050613fad81615f4d565b92915050565b600081359050613fc281615f64565b92915050565b600081519050613fd781615f64565b92915050565b600082601f830112613ff257613ff1615726565b5b8135614002848260208601613e7f565b91505092915050565b600082601f8301126140205761401f615726565b5b8135614030848260208601613ec1565b91505092915050565b60008135905061404881615f7b565b92915050565b60008151905061405d81615f7b565b92915050565b6000602082840312156140795761407861573a565b5b600061408784828501613f03565b91505092915050565b600080604083850312156140a7576140a661573a565b5b60006140b585828601613f03565b92505060206140c685828601613f03565b9150509250929050565b6000806000606084860312156140e9576140e861573a565b5b60006140f786828701613f03565b935050602061410886828701613f03565b925050604061411986828701614039565b9150509250925092565b6000806000806080858703121561413d5761413c61573a565b5b600061414b87828801613f03565b945050602061415c87828801613f03565b935050604061416d87828801614039565b925050606085013567ffffffffffffffff81111561418e5761418d615735565b5b61419a87828801613fdd565b91505092959194509250565b600080604083850312156141bd576141bc61573a565b5b60006141cb85828601613f03565b92505060206141dc85828601613f74565b9150509250929050565b600080604083850312156141fd576141fc61573a565b5b600061420b85828601613f03565b925050602061421c85828601614039565b9150509250929050565b60006020828403121561423c5761423b61573a565b5b600082013567ffffffffffffffff81111561425a57614259615735565b5b61426684828501613f18565b91505092915050565b600080604083850312156142865761428561573a565b5b600083013567ffffffffffffffff8111156142a4576142a3615735565b5b6142b085828601613f18565b92505060206142c185828601613f74565b9150509250929050565b600080604083850312156142e2576142e161573a565b5b600083013567ffffffffffffffff811115614300576142ff615735565b5b61430c85828601613f46565b925050602083013567ffffffffffffffff81111561432d5761432c615735565b5b61433985828601613f18565b9150509250929050565b6000602082840312156143595761435861573a565b5b600061436784828501613f89565b91505092915050565b600080604083850312156143875761438661573a565b5b600061439585828601613f74565b92505060206143a685828601613f74565b9150509250929050565b600080604083850312156143c7576143c661573a565b5b60006143d585828601613f9e565b92505060206143e685828601614039565b9150509250929050565b6000602082840312156144065761440561573a565b5b600061441484828501613fb3565b91505092915050565b6000602082840312156144335761443261573a565b5b600061444184828501613fc8565b91505092915050565b6000602082840312156144605761445f61573a565b5b600082013567ffffffffffffffff81111561447e5761447d615735565b5b61448a8482850161400b565b91505092915050565b6000602082840312156144a9576144a861573a565b5b60006144b784828501614039565b91505092915050565b6000602082840312156144d6576144d561573a565b5b60006144e48482850161404e565b91505092915050565b600080604083850312156145045761450361573a565b5b600061451285828601614039565b925050602061452385828601613f03565b9150509250929050565b61453681615418565b82525050565b6145458161542a565b82525050565b61455481615436565b82525050565b61456b61456682615436565b6155c7565b82525050565b600061457c82615289565b614586818561529f565b93506145968185602086016154e8565b61459f8161573f565b840191505092915050565b6145b3816154a3565b82525050565b60006145c482615294565b6145ce81856152b0565b93506145de8185602086016154e8565b6145e78161573f565b840191505092915050565b60006145fd82615294565b61460781856152c1565b93506146178185602086016154e8565b80840191505092915050565b600081546146308161551b565b61463a81866152c1565b94506001821660008114614655576001811461466657614699565b60ff19831686528186019350614699565b61466f85615274565b60005b8381101561469157815481890152600182019150602081019050614672565b838801955050505b50505092915050565b60006146af6013836152b0565b91506146ba82615750565b602082019050919050565b60006146d2602b836152b0565b91506146dd82615779565b604082019050919050565b60006146f56032836152b0565b9150614700826157c8565b604082019050919050565b60006147186026836152b0565b915061472382615817565b604082019050919050565b600061473b6017836152b0565b915061474682615866565b602082019050919050565b600061475e601c836152b0565b91506147698261588f565b602082019050919050565b60006147816024836152b0565b915061478c826158b8565b604082019050919050565b60006147a46019836152b0565b91506147af82615907565b602082019050919050565b60006147c7602c836152b0565b91506147d282615930565b604082019050919050565b60006147ea6038836152b0565b91506147f58261597f565b604082019050919050565b600061480d600f836152b0565b9150614818826159ce565b602082019050919050565b6000614830602a836152b0565b915061483b826159f7565b604082019050919050565b60006148536029836152b0565b915061485e82615a46565b604082019050919050565b6000614876602e836152b0565b915061488182615a95565b604082019050919050565b60006148996008836152c1565b91506148a482615ae4565b600882019050919050565b60006148bc6020836152b0565b91506148c782615b0d565b602082019050919050565b60006148df6020836152b0565b91506148ea82615b36565b602082019050919050565b60006149026031836152b0565b915061490d82615b5f565b604082019050919050565b6000614925602c836152b0565b915061493082615bae565b604082019050919050565b6000614948601b836152b0565b915061495382615bfd565b602082019050919050565b600061496b6020836152b0565b915061497682615c26565b602082019050919050565b600061498e6020836152b0565b915061499982615c4f565b602082019050919050565b60006149b16029836152b0565b91506149bc82615c78565b604082019050919050565b60006149d4602f836152b0565b91506149df82615cc7565b604082019050919050565b60006149f7601f836152b0565b9150614a0282615d16565b602082019050919050565b6000614a1a6021836152b0565b9150614a2582615d3f565b604082019050919050565b6000614a3d6031836152b0565b9150614a4882615d8e565b604082019050919050565b6000614a60601e836152b0565b9150614a6b82615ddd565b602082019050919050565b6000614a83602c836152b0565b9150614a8e82615e06565b604082019050919050565b6000614aa66016836152b0565b9150614ab182615e55565b602082019050919050565b6000614ac96023836152b0565b9150614ad482615e7e565b604082019050919050565b6000614aec6017836152b0565b9150614af782615ecd565b602082019050919050565b6000614b0f601d836152b0565b9150614b1a82615ef6565b602082019050919050565b614b2e8161548c565b82525050565b614b45614b408261548c565b6155d1565b82525050565b6000614b57828561455a565b602082019150614b678284614b34565b6020820191508190509392505050565b6000614b8382856145f2565b9150614b8f82846145f2565b91508190509392505050565b6000614ba78284614623565b9150614bb28261488c565b915081905092915050565b6000602082019050614bd2600083018461452d565b92915050565b6000608082019050614bed600083018761452d565b614bfa602083018661452d565b614c076040830185614b25565b8181036060830152614c198184614571565b905095945050505050565b6000604082019050614c39600083018561452d565b614c466020830184614b25565b9392505050565b6000606082019050614c62600083018661452d565b614c6f6020830185614b25565b8181036040830152614c818184614571565b9050949350505050565b6000602082019050614ca0600083018461453c565b92915050565b6000604082019050614cbb600083018561453c565b614cc86020830184614b25565b9392505050565b6000604082019050614ce4600083018561454b565b614cf16020830184614b25565b9392505050565b6000608082019050614d0d600083018761454b565b614d1a6020830186614b25565b614d27604083018561452d565b614d346060830184614b25565b95945050505050565b6000602082019050614d5260008301846145aa565b92915050565b60006020820190508181036000830152614d7281846145b9565b905092915050565b60006020820190508181036000830152614d93816146a2565b9050919050565b60006020820190508181036000830152614db3816146c5565b9050919050565b60006020820190508181036000830152614dd3816146e8565b9050919050565b60006020820190508181036000830152614df38161470b565b9050919050565b60006020820190508181036000830152614e138161472e565b9050919050565b60006020820190508181036000830152614e3381614751565b9050919050565b60006020820190508181036000830152614e5381614774565b9050919050565b60006020820190508181036000830152614e7381614797565b9050919050565b60006020820190508181036000830152614e93816147ba565b9050919050565b60006020820190508181036000830152614eb3816147dd565b9050919050565b60006020820190508181036000830152614ed381614800565b9050919050565b60006020820190508181036000830152614ef381614823565b9050919050565b60006020820190508181036000830152614f1381614846565b9050919050565b60006020820190508181036000830152614f3381614869565b9050919050565b60006020820190508181036000830152614f53816148af565b9050919050565b60006020820190508181036000830152614f73816148d2565b9050919050565b60006020820190508181036000830152614f93816148f5565b9050919050565b60006020820190508181036000830152614fb381614918565b9050919050565b60006020820190508181036000830152614fd38161493b565b9050919050565b60006020820190508181036000830152614ff38161495e565b9050919050565b6000602082019050818103600083015261501381614981565b9050919050565b60006020820190508181036000830152615033816149a4565b9050919050565b60006020820190508181036000830152615053816149c7565b9050919050565b60006020820190508181036000830152615073816149ea565b9050919050565b6000602082019050818103600083015261509381614a0d565b9050919050565b600060208201905081810360008301526150b381614a30565b9050919050565b600060208201905081810360008301526150d381614a53565b9050919050565b600060208201905081810360008301526150f381614a76565b9050919050565b6000602082019050818103600083015261511381614a99565b9050919050565b6000602082019050818103600083015261513381614abc565b9050919050565b6000602082019050818103600083015261515381614adf565b9050919050565b6000602082019050818103600083015261517381614b02565b9050919050565b600060208201905061518f6000830184614b25565b92915050565b600061519f6151b0565b90506151ab828261554d565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d5576151d46156f7565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615201576152006156f7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561522d5761522c6156f7565b5b6152368261573f565b9050602081019050919050565b600067ffffffffffffffff82111561525e5761525d6156f7565b5b6152678261573f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152d78261548c565b91506152e28361548c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153175761531661560c565b5b828201905092915050565b600061532d82615496565b915061533883615496565b92508260ff0382111561534e5761534d61560c565b5b828201905092915050565b60006153648261548c565b915061536f8361548c565b92508261537f5761537e61563b565b5b828204905092915050565b60006153958261548c565b91506153a08361548c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153d9576153d861560c565b5b828202905092915050565b60006153ef8261548c565b91506153fa8361548c565b92508282101561540d5761540c61560c565b5b828203905092915050565b60006154238261546c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154ae826154b5565b9050919050565b60006154c0826154c7565b9050919050565b60006154d28261546c565b9050919050565b82818337600083830152505050565b60005b838110156155065780820151818401526020810190506154eb565b83811115615515576000848401525b50505050565b6000600282049050600182168061553357607f821691505b602082108114156155475761554661566a565b5b50919050565b6155568261573f565b810181811067ffffffffffffffff82111715615575576155746156f7565b5b80604052505050565b60006155898261548c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155bc576155bb61560c565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006155e68261548c565b91506155f18361548c565b9250826156015761560061563b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7420666565206973206e6f7420636f7272656374000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f6d65746164617461000000000000000000000000000000000000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4578636565646564206d61782070726573616c6520737570706c790000000000600082015250565b7f457863656564656420746865206d617820707572636861736520616d6f756e74600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f417267756d656e74206c656e67746873206d75737420626520657175616c0000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53656564206e756d626572206973206e6f742073657400000000000000000000600082015250565b7f4e6f7420656e6f756768204c494e4b206f7220736565642073657420616c726560008201527f6164790000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20696420646f6573206e6f74206578697374000000000000000000600082015250565b7f546f6b656e206964206973206e6f6e2d7472616e736665727261626c65000000600082015250565b615f2881615418565b8114615f3357600080fd5b50565b615f3f8161542a565b8114615f4a57600080fd5b50565b615f5681615436565b8114615f6157600080fd5b50565b615f6d81615440565b8114615f7857600080fd5b50565b615f848161548c565b8114615f8f57600080fd5b5056fea2646970667358221220ce4ab790904d0d9f9f030137d401324ec86547a733209f898ea32b75840105e064736f6c6343000807003368747470733a2f2f7065676e63316d6c37622e657865637574652d6170692e75732d776573742d312e616d617a6f6e6177732e636f6d2f6170692f6c6f6273746572732f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000006160cd7000000000000000000000000000000000000000000000000000000000000000124c6f627374657220426561636820436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c42430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c8063715018a611610123578063c87b56dd116100ab578063f098f12b1161006f578063f098f12b146107aa578063f2fde38b146107e7578063f8da076214610810578063fafdb55e14610839578063fc7eda2e146108505761021a565b8063c87b56dd146106b1578063d5578379146106ee578063d5abeb0114610717578063e8a3d48514610742578063e985e9c51461076d5761021a565b806394bf804d116100f257806394bf804d146105ef57806395d89b411461060b578063a22cb46514610636578063b29e50421461065f578063b88d4fde146106885761021a565b8063715018a61461056d5780638da5cb5b146105845780638dc654a2146105af57806394985ddd146105c65761021a565b80632f745c59116101a65780634f6ccce7116101755780634f6ccce71461046257806355f804b31461049f5780636352211e146104c8578063684aa3c41461050557806370a08231146105305761021a565b80632f745c59146103bc5780633340d62c146103f95780633ccfd60b1461042257806342842e0e146104395761021a565b8063081812fc116101ed578063081812fc146102d9578063095ea7b31461031657806318160ddd1461033f578063238a47091461036a57806323b872dd146103935761021a565b8063018a2c371461021f57806301b38af51461024857806301ffc9a71461027157806306fdde03146102ae575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190614493565b61087b565b005b34801561025457600080fd5b5061026f600480360381019061026a919061426f565b61093a565b005b34801561027d57600080fd5b50610298600480360381019061029391906143f0565b610ab3565b6040516102a59190614c8b565b60405180910390f35b3480156102ba57600080fd5b506102c3610ac5565b6040516102d09190614d58565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190614493565b610b57565b60405161030d9190614bbd565b60405180910390f35b34801561032257600080fd5b5061033d600480360381019061033891906141e6565b610bdc565b005b34801561034b57600080fd5b50610354610cf4565b604051610361919061517a565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c9190614493565b610d01565b005b34801561039f57600080fd5b506103ba60048036038101906103b591906140d0565b610dc0565b005b3480156103c857600080fd5b506103e360048036038101906103de91906141e6565b610e20565b6040516103f0919061517a565b60405180910390f35b34801561040557600080fd5b50610420600480360381019061041b9190614370565b610ec5565b005b34801561042e57600080fd5b5061043761100c565b005b34801561044557600080fd5b50610460600480360381019061045b91906140d0565b6110d1565b005b34801561046e57600080fd5b5061048960048036038101906104849190614493565b6110f1565b604051610496919061517a565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c1919061444a565b611162565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190614493565b6111f8565b6040516104fc9190614bbd565b60405180910390f35b34801561051157600080fd5b5061051a6112aa565b6040516105279190614d3d565b60405180910390f35b34801561053c57600080fd5b5061055760048036038101906105529190614063565b6112d0565b604051610564919061517a565b60405180910390f35b34801561057957600080fd5b50610582611388565b005b34801561059057600080fd5b50610599611410565b6040516105a69190614bbd565b60405180910390f35b3480156105bb57600080fd5b506105c461143a565b005b3480156105d257600080fd5b506105ed60048036038101906105e891906143b0565b61160e565b005b610609600480360381019061060491906144ed565b6116aa565b005b34801561061757600080fd5b50610620611a68565b60405161062d9190614d58565b60405180910390f35b34801561064257600080fd5b5061065d600480360381019061065891906141a6565b611afa565b005b34801561066b57600080fd5b5061068660048036038101906106819190614063565b611c7b565b005b34801561069457600080fd5b506106af60048036038101906106aa9190614123565b611d3b565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190614493565b611d9d565b6040516106e59190614d58565b60405180910390f35b3480156106fa57600080fd5b5061071560048036038101906107109190614226565b611daf565b005b34801561072357600080fd5b5061072c611ecf565b604051610739919061517a565b60405180910390f35b34801561074e57600080fd5b50610757611ed5565b6040516107649190614d58565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190614090565b611efd565b6040516107a19190614c8b565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190614493565b611f91565b6040516107de919061517a565b60405180910390f35b3480156107f357600080fd5b5061080e60048036038101906108099190614063565b612113565b005b34801561081c57600080fd5b50610837600480360381019061083291906142cb565b61220b565b005b34801561084557600080fd5b5061084e6123a2565b005b34801561085c57600080fd5b50610865612428565b604051610872919061517a565b60405180910390f35b61088361242e565b73ffffffffffffffffffffffffffffffffffffffff166108a1611410565b73ffffffffffffffffffffffffffffffffffffffff16146108f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ee90614ffa565b60405180910390fd5b806015819055507fd2e157468bcbbe907029be0d3dc2a6bbb28a2987e004e7096ec548c59fbb115e60155460405161092f919061517a565b60405180910390a150565b61094261242e565b73ffffffffffffffffffffffffffffffffffffffff16610960611410565b73ffffffffffffffffffffffffffffffffffffffff16146109b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ad90614ffa565b60405180910390fd5b60005b8251811015610aae5781601960008584815181106109da576109d96156c8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550828181518110610a4657610a456156c8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f5a25e09a5dba33161281055e015f1279b6b10204d8f90dd56a8ce2b82322d43d83604051610a939190614c8b565b60405180910390a28080610aa69061557e565b9150506109b9565b505050565b6000610abe82612436565b9050919050565b606060018054610ad49061551b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b009061551b565b8015610b4d5780601f10610b2257610100808354040283529160200191610b4d565b820191906000526020600020905b815481529060010190602001808311610b3057829003601f168201915b5050505050905090565b6000610b62826124b0565b610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890614f9a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be7826111f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4f9061507a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7761242e565b73ffffffffffffffffffffffffffffffffffffffff161480610ca65750610ca581610ca061242e565b611efd565b5b610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc90614e9a565b60405180910390fd5b610cef838361251c565b505050565b6000600980549050905090565b610d0961242e565b73ffffffffffffffffffffffffffffffffffffffff16610d27611410565b73ffffffffffffffffffffffffffffffffffffffff1614610d7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7490614ffa565b60405180910390fd5b806013819055507f6f87524b705f31734b7940b88671f37a3291d7b961b69da31bcabf882b2531da601354604051610db5919061517a565b60405180910390a150565b610dd1610dcb61242e565b826125d5565b610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e079061509a565b60405180910390fd5b610e1b8383836126b3565b505050565b6000610e2b836112d0565b8210610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390614d9a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ecd61242e565b73ffffffffffffffffffffffffffffffffffffffff16610eeb611410565b73ffffffffffffffffffffffffffffffffffffffff1614610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3890614ffa565b60405180910390fd5b8115610fb65780601760016101000a81548160ff0219169083151502179055508015610f7657610f6f610cf4565b6016819055505b7f0dca012cc4b9fa81bc96a56664148919d558ee7b08357152057eb146ec61719a81601654604051610fa9929190614ca6565b60405180910390a1611008565b80601760006101000a81548160ff0219169083151502179055507f6143d1994b0bc2db674da4f758fd5d5f18fa202a65acd97b74f38cbe90874f3781604051610fff9190614c8b565b60405180910390a15b5050565b61101461242e565b73ffffffffffffffffffffffffffffffffffffffff16611032611410565b73ffffffffffffffffffffffffffffffffffffffff1614611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107f90614ffa565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156110ce573d6000803e3d6000fd5b50565b6110ec83838360405180602001604052806000815250611d3b565b505050565b60006110fb610cf4565b821061113c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611133906150da565b60405180910390fd5b600982815481106111505761114f6156c8565b5b90600052602060002001549050919050565b61116a61242e565b73ffffffffffffffffffffffffffffffffffffffff16611188611410565b73ffffffffffffffffffffffffffffffffffffffff16146111de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d590614ffa565b60405180910390fd5b80600f90805190602001906111f4929190613cfc565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129890614efa565b60405180910390fd5b80915050919050565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890614eda565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139061242e565b73ffffffffffffffffffffffffffffffffffffffff166113ae611410565b73ffffffffffffffffffffffffffffffffffffffff1614611404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fb90614ffa565b60405180910390fd5b61140e600061290f565b565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61144261242e565b73ffffffffffffffffffffffffffffffffffffffff16611460611410565b73ffffffffffffffffffffffffffffffffffffffff16146114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad90614ffa565b60405180910390fd5b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb337f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161154c9190614bbd565b60206040518083038186803b15801561156457600080fd5b505afa158015611578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159c91906144c0565b6040518363ffffffff1660e01b81526004016115b9929190614c24565b602060405180830381600087803b1580156115d357600080fd5b505af11580156115e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160b9190614343565b50565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461169c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116939061505a565b60405180910390fd5b6116a682826129d5565b5050565b601260009054906101000a900461ffff1661ffff16821115611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890614fda565b60405180910390fd5b601760019054906101000a900460ff161561180b57601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166117a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179990614eba565b60405180910390fd5b6014546016546117b291906152cc565b826117bb610cf4565b6117c591906152cc565b1115611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90614fba565b60405180910390fd5b61185b565b601760009054906101000a900460ff1661185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614d7a565b60405180910390fd5b5b348260135461186a919061538a565b11156118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290614dfa565b60405180910390fd5b600d54826118b7610cf4565b6118c191906152cc565b1115611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990614f3a565b60405180910390fd5b60005b82811015611949576000611917610cf4565b90506119238382612a37565b6119358161193083612c05565b612d8e565b5080806119419061557e565b915050611905565b507f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a611973610cf4565b604051611980919061517a565b60405180910390a1601760029054906101000a900460ff161580156119bb5750600d546119ab610cf4565b1015806119ba57506015544210155b5b156119c9576119c8612e02565b5b600d546119d4610cf4565b10611a04576000601760006101000a81548160ff0219169083151502179055506119ff600080610ec5565b611a64565b601760019054906101000a900460ff168015611a365750601454601654611a2b91906152cc565b611a33610cf4565b10155b15611a63576000601760016101000a81548160ff021916908315150217905550611a6260016000610ec5565b5b5b5050565b606060028054611a779061551b565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa39061551b565b8015611af05780601f10611ac557610100808354040283529160200191611af0565b820191906000526020600020905b815481529060010190602001808311611ad357829003601f168201915b5050505050905090565b611b0261242e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790614e5a565b60405180910390fd5b8060066000611b7d61242e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c2a61242e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c6f9190614c8b565b60405180910390a35050565b611c8361242e565b73ffffffffffffffffffffffffffffffffffffffff16611ca1611410565b73ffffffffffffffffffffffffffffffffffffffff1614611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee90614ffa565b60405180910390fd5b80601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611d4c611d4661242e565b836125d5565b611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d829061509a565b60405180910390fd5b611d9784848484612f6b565b50505050565b6060611da882612fc7565b9050919050565b611db761242e565b73ffffffffffffffffffffffffffffffffffffffff16611dd5611410565b73ffffffffffffffffffffffffffffffffffffffff1614611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2290614ffa565b60405180910390fd5b60005b8151811015611e8d576000611e41610cf4565b9050611e67838381518110611e5957611e586156c8565b5b602002602001015182612a37565b611e7981611e7483612c05565b612d8e565b508080611e859061557e565b915050611e2e565b507f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a611eb7610cf4565b604051611ec4919061517a565b60405180910390a150565b600d5481565b6060600f604051602001611ee99190614b9b565b604051602081830303815290604052905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601760039054906101000a900460ff16611fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd9906150fa565b60405180910390fd5b611feb826124b0565b61202a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120219061513a565b60405180910390fd5b6000601860008481526020019081526020016000205414612060576018600083815260200190815260200160002054905061210e565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f226a90c836040518263ffffffff1660e01b81526004016120bb919061517a565b60206040518083038186803b1580156120d357600080fd5b505afa1580156120e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210b91906144c0565b90505b919050565b61211b61242e565b73ffffffffffffffffffffffffffffffffffffffff16612139611410565b73ffffffffffffffffffffffffffffffffffffffff161461218f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218690614ffa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f690614dda565b60405180910390fd5b6122088161290f565b50565b61221361242e565b73ffffffffffffffffffffffffffffffffffffffff16612231611410565b73ffffffffffffffffffffffffffffffffffffffff1614612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e90614ffa565b60405180910390fd5b80518251146122cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c2906150ba565b60405180910390fd5b60005b825181101561235f5760006122e1610cf4565b90506123078383815181106122f9576122f86156c8565b5b602002602001015182612a37565b6123198161231483612c05565b612d8e565b83828151811061232c5761232b6156c8565b5b602002602001015160186000838152602001908152602001600020819055505080806123579061557e565b9150506122ce565b507f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a612389610cf4565b604051612396919061517a565b60405180910390a15050565b6123aa61242e565b73ffffffffffffffffffffffffffffffffffffffff166123c8611410565b73ffffffffffffffffffffffffffffffffffffffff161461241e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241590614ffa565b60405180910390fd5b612426612e02565b565b600e5481565b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124a957506124a882613119565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661258f836111f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006125e0826124b0565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690614e7a565b60405180910390fd5b600061262a836111f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061269957508373ffffffffffffffffffffffffffffffffffffffff1661268184610b57565b73ffffffffffffffffffffffffffffffffffffffff16145b806126aa57506126a98185611efd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126d3826111f8565b73ffffffffffffffffffffffffffffffffffffffff1614612729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127209061501a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279090614e3a565b60405180910390fd5b6127a48383836131fb565b6127af60008261251c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ff91906153e4565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461285691906152cc565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600e819055506001601760036101000a81548160ff0219169083151502179055507f53713f6cb369d2974869f25fb4fef9728222f40c5a640c8bb2ffaec4ff8c11d66001600e54604051612a2b929190614ca6565b60405180910390a15050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9e90614f5a565b60405180910390fd5b612ab0816124b0565b15612af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae790614e1a565b60405180910390fd5b612afc600083836131fb565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4c91906152cc565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606000821415612c4d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d89565b600082905060005b60008214612c7f578080612c689061557e565b915050600a82612c789190615359565b9150612c55565b60008167ffffffffffffffff811115612c9b57612c9a6156f7565b5b6040519080825280601f01601f191660200182016040528015612ccd5781602001600182028036833780820191505090505b50905060008290505b60008614612d8157600181612ceb91906153e4565b90506000600a8088612cfd9190615359565b612d07919061538a565b87612d1291906153e4565b6030612d1e9190615322565b905060008160f81b905080848481518110612d3c57612d3b6156c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88612d789190615359565b97505050612cd6565b819450505050505b919050565b612d97826124b0565b612dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcd90614f1a565b60405180910390fd5b80600b60008481526020019081526020016000209080519060200190612dfd929190613cfc565b505050565b6011547f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612e5e9190614bbd565b60206040518083038186803b158015612e7657600080fd5b505afa158015612e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eae91906144c0565b118015612ec85750601760039054906101000a900460ff16155b612f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efe9061511a565b60405180910390fd5b612f15601054601154613261565b506001601760026101000a81548160ff0219169083151502179055507f98bfa1cd0cbab5c78aa8514ba5a7b38800ec7d4f4da12b8f3b321877ec147cf16001604051612f619190614c8b565b60405180910390a1565b612f768484846126b3565b612f82848484846133c0565b612fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb890614dba565b60405180910390fd5b50505050565b6060612fd2826124b0565b613011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300890614f7a565b60405180910390fd5b6000600b600084815260200190815260200160002080546130319061551b565b80601f016020809104026020016040519081016040528092919081815260200182805461305d9061551b565b80156130aa5780601f1061307f576101008083540402835291602001916130aa565b820191906000526020600020905b81548152906001019060200180831161308d57829003601f168201915b5050505050905060006130bb613557565b90506000815114156130d1578192505050613114565b6000825111156131065780826040516020016130ee929190614b77565b60405160208183030381529060405292505050613114565b61310f846135e9565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131e457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131f457506131f382613690565b5b9050919050565b6000601860008381526020019081526020016000205414613251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132489061515a565b60405180910390fd5b61325c8383836136fa565b505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016132d5929190614ccf565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161330293929190614c4d565b602060405180830381600087803b15801561331c57600080fd5b505af1158015613330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133549190614343565b506000613376846000306000808981526020019081526020016000205461380e565b905060016000808681526020019081526020016000205461339791906152cc565b600080868152602001908152602001600020819055506133b7848261384a565b91505092915050565b60006133e18473ffffffffffffffffffffffffffffffffffffffff1661387d565b1561354a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261340a61242e565b8786866040518563ffffffff1660e01b815260040161342c9493929190614bd8565b602060405180830381600087803b15801561344657600080fd5b505af192505050801561347757506040513d601f19601f82011682018060405250810190613474919061441d565b60015b6134fa573d80600081146134a7576040519150601f19603f3d011682016040523d82523d6000602084013e6134ac565b606091505b506000815114156134f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e990614dba565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061354f565b600190505b949350505050565b6060600f80546135669061551b565b80601f01602080910402602001604051908101604052809291908181526020018280546135929061551b565b80156135df5780601f106135b4576101008083540402835291602001916135df565b820191906000526020600020905b8154815290600101906020018083116135c257829003601f168201915b5050505050905090565b60606135f4826124b0565b613633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362a9061503a565b60405180910390fd5b600061363d613557565b9050600081511161365d5760405180602001604052806000815250613688565b8061366784613890565b604051602001613678929190614b77565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137058383836139f1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561374857613743816139f6565b613787565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613786576137858382613a3f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137ca576137c581613bac565b613809565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613808576138078282613c7d565b5b5b505050565b6000848484846040516020016138279493929190614cf8565b6040516020818303038152906040528051906020012060001c9050949350505050565b6000828260405160200161385f929190614b4b565b60405160208183030381529060405280519060200120905092915050565b600080823b905060008111915050919050565b606060008214156138d8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506139ec565b600082905060005b6000821461390a5780806138f39061557e565b915050600a826139039190615359565b91506138e0565b60008167ffffffffffffffff811115613926576139256156f7565b5b6040519080825280601f01601f1916602001820160405280156139585781602001600182028036833780820191505090505b5090505b600085146139e55760018261397191906153e4565b9150600a8561398091906155db565b603061398c91906152cc565b60f81b8183815181106139a2576139a16156c8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139de9190615359565b945061395c565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a4c846112d0565b613a5691906153e4565b9050600060086000848152602001908152602001600020549050818114613b3b576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613bc091906153e4565b90506000600a6000848152602001908152602001600020549050600060098381548110613bf057613bef6156c8565b5b906000526020600020015490508060098381548110613c1257613c116156c8565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613c6157613c60615699565b5b6001900381819060005260206000200160009055905550505050565b6000613c88836112d0565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613d089061551b565b90600052602060002090601f016020900481019282613d2a5760008555613d71565b82601f10613d4357805160ff1916838001178555613d71565b82800160010185558215613d71579182015b82811115613d70578251825591602001919060010190613d55565b5b509050613d7e9190613d82565b5090565b5b80821115613d9b576000816000905550600101613d83565b5090565b6000613db2613dad846151ba565b615195565b90508083825260208201905082856020860282011115613dd557613dd461572b565b5b60005b85811015613e055781613deb8882613f03565b845260208401935060208301925050600181019050613dd8565b5050509392505050565b6000613e22613e1d846151e6565b615195565b90508083825260208201905082856020860282011115613e4557613e4461572b565b5b60005b85811015613e755781613e5b8882614039565b845260208401935060208301925050600181019050613e48565b5050509392505050565b6000613e92613e8d84615212565b615195565b905082815260208101848484011115613eae57613ead615730565b5b613eb98482856154d9565b509392505050565b6000613ed4613ecf84615243565b615195565b905082815260208101848484011115613ef057613eef615730565b5b613efb8482856154d9565b509392505050565b600081359050613f1281615f1f565b92915050565b600082601f830112613f2d57613f2c615726565b5b8135613f3d848260208601613d9f565b91505092915050565b600082601f830112613f5b57613f5a615726565b5b8135613f6b848260208601613e0f565b91505092915050565b600081359050613f8381615f36565b92915050565b600081519050613f9881615f36565b92915050565b600081359050613fad81615f4d565b92915050565b600081359050613fc281615f64565b92915050565b600081519050613fd781615f64565b92915050565b600082601f830112613ff257613ff1615726565b5b8135614002848260208601613e7f565b91505092915050565b600082601f8301126140205761401f615726565b5b8135614030848260208601613ec1565b91505092915050565b60008135905061404881615f7b565b92915050565b60008151905061405d81615f7b565b92915050565b6000602082840312156140795761407861573a565b5b600061408784828501613f03565b91505092915050565b600080604083850312156140a7576140a661573a565b5b60006140b585828601613f03565b92505060206140c685828601613f03565b9150509250929050565b6000806000606084860312156140e9576140e861573a565b5b60006140f786828701613f03565b935050602061410886828701613f03565b925050604061411986828701614039565b9150509250925092565b6000806000806080858703121561413d5761413c61573a565b5b600061414b87828801613f03565b945050602061415c87828801613f03565b935050604061416d87828801614039565b925050606085013567ffffffffffffffff81111561418e5761418d615735565b5b61419a87828801613fdd565b91505092959194509250565b600080604083850312156141bd576141bc61573a565b5b60006141cb85828601613f03565b92505060206141dc85828601613f74565b9150509250929050565b600080604083850312156141fd576141fc61573a565b5b600061420b85828601613f03565b925050602061421c85828601614039565b9150509250929050565b60006020828403121561423c5761423b61573a565b5b600082013567ffffffffffffffff81111561425a57614259615735565b5b61426684828501613f18565b91505092915050565b600080604083850312156142865761428561573a565b5b600083013567ffffffffffffffff8111156142a4576142a3615735565b5b6142b085828601613f18565b92505060206142c185828601613f74565b9150509250929050565b600080604083850312156142e2576142e161573a565b5b600083013567ffffffffffffffff811115614300576142ff615735565b5b61430c85828601613f46565b925050602083013567ffffffffffffffff81111561432d5761432c615735565b5b61433985828601613f18565b9150509250929050565b6000602082840312156143595761435861573a565b5b600061436784828501613f89565b91505092915050565b600080604083850312156143875761438661573a565b5b600061439585828601613f74565b92505060206143a685828601613f74565b9150509250929050565b600080604083850312156143c7576143c661573a565b5b60006143d585828601613f9e565b92505060206143e685828601614039565b9150509250929050565b6000602082840312156144065761440561573a565b5b600061441484828501613fb3565b91505092915050565b6000602082840312156144335761443261573a565b5b600061444184828501613fc8565b91505092915050565b6000602082840312156144605761445f61573a565b5b600082013567ffffffffffffffff81111561447e5761447d615735565b5b61448a8482850161400b565b91505092915050565b6000602082840312156144a9576144a861573a565b5b60006144b784828501614039565b91505092915050565b6000602082840312156144d6576144d561573a565b5b60006144e48482850161404e565b91505092915050565b600080604083850312156145045761450361573a565b5b600061451285828601614039565b925050602061452385828601613f03565b9150509250929050565b61453681615418565b82525050565b6145458161542a565b82525050565b61455481615436565b82525050565b61456b61456682615436565b6155c7565b82525050565b600061457c82615289565b614586818561529f565b93506145968185602086016154e8565b61459f8161573f565b840191505092915050565b6145b3816154a3565b82525050565b60006145c482615294565b6145ce81856152b0565b93506145de8185602086016154e8565b6145e78161573f565b840191505092915050565b60006145fd82615294565b61460781856152c1565b93506146178185602086016154e8565b80840191505092915050565b600081546146308161551b565b61463a81866152c1565b94506001821660008114614655576001811461466657614699565b60ff19831686528186019350614699565b61466f85615274565b60005b8381101561469157815481890152600182019150602081019050614672565b838801955050505b50505092915050565b60006146af6013836152b0565b91506146ba82615750565b602082019050919050565b60006146d2602b836152b0565b91506146dd82615779565b604082019050919050565b60006146f56032836152b0565b9150614700826157c8565b604082019050919050565b60006147186026836152b0565b915061472382615817565b604082019050919050565b600061473b6017836152b0565b915061474682615866565b602082019050919050565b600061475e601c836152b0565b91506147698261588f565b602082019050919050565b60006147816024836152b0565b915061478c826158b8565b604082019050919050565b60006147a46019836152b0565b91506147af82615907565b602082019050919050565b60006147c7602c836152b0565b91506147d282615930565b604082019050919050565b60006147ea6038836152b0565b91506147f58261597f565b604082019050919050565b600061480d600f836152b0565b9150614818826159ce565b602082019050919050565b6000614830602a836152b0565b915061483b826159f7565b604082019050919050565b60006148536029836152b0565b915061485e82615a46565b604082019050919050565b6000614876602e836152b0565b915061488182615a95565b604082019050919050565b60006148996008836152c1565b91506148a482615ae4565b600882019050919050565b60006148bc6020836152b0565b91506148c782615b0d565b602082019050919050565b60006148df6020836152b0565b91506148ea82615b36565b602082019050919050565b60006149026031836152b0565b915061490d82615b5f565b604082019050919050565b6000614925602c836152b0565b915061493082615bae565b604082019050919050565b6000614948601b836152b0565b915061495382615bfd565b602082019050919050565b600061496b6020836152b0565b915061497682615c26565b602082019050919050565b600061498e6020836152b0565b915061499982615c4f565b602082019050919050565b60006149b16029836152b0565b91506149bc82615c78565b604082019050919050565b60006149d4602f836152b0565b91506149df82615cc7565b604082019050919050565b60006149f7601f836152b0565b9150614a0282615d16565b602082019050919050565b6000614a1a6021836152b0565b9150614a2582615d3f565b604082019050919050565b6000614a3d6031836152b0565b9150614a4882615d8e565b604082019050919050565b6000614a60601e836152b0565b9150614a6b82615ddd565b602082019050919050565b6000614a83602c836152b0565b9150614a8e82615e06565b604082019050919050565b6000614aa66016836152b0565b9150614ab182615e55565b602082019050919050565b6000614ac96023836152b0565b9150614ad482615e7e565b604082019050919050565b6000614aec6017836152b0565b9150614af782615ecd565b602082019050919050565b6000614b0f601d836152b0565b9150614b1a82615ef6565b602082019050919050565b614b2e8161548c565b82525050565b614b45614b408261548c565b6155d1565b82525050565b6000614b57828561455a565b602082019150614b678284614b34565b6020820191508190509392505050565b6000614b8382856145f2565b9150614b8f82846145f2565b91508190509392505050565b6000614ba78284614623565b9150614bb28261488c565b915081905092915050565b6000602082019050614bd2600083018461452d565b92915050565b6000608082019050614bed600083018761452d565b614bfa602083018661452d565b614c076040830185614b25565b8181036060830152614c198184614571565b905095945050505050565b6000604082019050614c39600083018561452d565b614c466020830184614b25565b9392505050565b6000606082019050614c62600083018661452d565b614c6f6020830185614b25565b8181036040830152614c818184614571565b9050949350505050565b6000602082019050614ca0600083018461453c565b92915050565b6000604082019050614cbb600083018561453c565b614cc86020830184614b25565b9392505050565b6000604082019050614ce4600083018561454b565b614cf16020830184614b25565b9392505050565b6000608082019050614d0d600083018761454b565b614d1a6020830186614b25565b614d27604083018561452d565b614d346060830184614b25565b95945050505050565b6000602082019050614d5260008301846145aa565b92915050565b60006020820190508181036000830152614d7281846145b9565b905092915050565b60006020820190508181036000830152614d93816146a2565b9050919050565b60006020820190508181036000830152614db3816146c5565b9050919050565b60006020820190508181036000830152614dd3816146e8565b9050919050565b60006020820190508181036000830152614df38161470b565b9050919050565b60006020820190508181036000830152614e138161472e565b9050919050565b60006020820190508181036000830152614e3381614751565b9050919050565b60006020820190508181036000830152614e5381614774565b9050919050565b60006020820190508181036000830152614e7381614797565b9050919050565b60006020820190508181036000830152614e93816147ba565b9050919050565b60006020820190508181036000830152614eb3816147dd565b9050919050565b60006020820190508181036000830152614ed381614800565b9050919050565b60006020820190508181036000830152614ef381614823565b9050919050565b60006020820190508181036000830152614f1381614846565b9050919050565b60006020820190508181036000830152614f3381614869565b9050919050565b60006020820190508181036000830152614f53816148af565b9050919050565b60006020820190508181036000830152614f73816148d2565b9050919050565b60006020820190508181036000830152614f93816148f5565b9050919050565b60006020820190508181036000830152614fb381614918565b9050919050565b60006020820190508181036000830152614fd38161493b565b9050919050565b60006020820190508181036000830152614ff38161495e565b9050919050565b6000602082019050818103600083015261501381614981565b9050919050565b60006020820190508181036000830152615033816149a4565b9050919050565b60006020820190508181036000830152615053816149c7565b9050919050565b60006020820190508181036000830152615073816149ea565b9050919050565b6000602082019050818103600083015261509381614a0d565b9050919050565b600060208201905081810360008301526150b381614a30565b9050919050565b600060208201905081810360008301526150d381614a53565b9050919050565b600060208201905081810360008301526150f381614a76565b9050919050565b6000602082019050818103600083015261511381614a99565b9050919050565b6000602082019050818103600083015261513381614abc565b9050919050565b6000602082019050818103600083015261515381614adf565b9050919050565b6000602082019050818103600083015261517381614b02565b9050919050565b600060208201905061518f6000830184614b25565b92915050565b600061519f6151b0565b90506151ab828261554d565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d5576151d46156f7565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615201576152006156f7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561522d5761522c6156f7565b5b6152368261573f565b9050602081019050919050565b600067ffffffffffffffff82111561525e5761525d6156f7565b5b6152678261573f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152d78261548c565b91506152e28361548c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153175761531661560c565b5b828201905092915050565b600061532d82615496565b915061533883615496565b92508260ff0382111561534e5761534d61560c565b5b828201905092915050565b60006153648261548c565b915061536f8361548c565b92508261537f5761537e61563b565b5b828204905092915050565b60006153958261548c565b91506153a08361548c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153d9576153d861560c565b5b828202905092915050565b60006153ef8261548c565b91506153fa8361548c565b92508282101561540d5761540c61560c565b5b828203905092915050565b60006154238261546c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154ae826154b5565b9050919050565b60006154c0826154c7565b9050919050565b60006154d28261546c565b9050919050565b82818337600083830152505050565b60005b838110156155065780820151818401526020810190506154eb565b83811115615515576000848401525b50505050565b6000600282049050600182168061553357607f821691505b602082108114156155475761554661566a565b5b50919050565b6155568261573f565b810181811067ffffffffffffffff82111715615575576155746156f7565b5b80604052505050565b60006155898261548c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155bc576155bb61560c565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006155e68261548c565b91506155f18361548c565b9250826156015761560061563b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7420666565206973206e6f7420636f7272656374000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f6d65746164617461000000000000000000000000000000000000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4578636565646564206d61782070726573616c6520737570706c790000000000600082015250565b7f457863656564656420746865206d617820707572636861736520616d6f756e74600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f417267756d656e74206c656e67746873206d75737420626520657175616c0000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53656564206e756d626572206973206e6f742073657400000000000000000000600082015250565b7f4e6f7420656e6f756768204c494e4b206f7220736565642073657420616c726560008201527f6164790000000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20696420646f6573206e6f74206578697374000000000000000000600082015250565b7f546f6b656e206964206973206e6f6e2d7472616e736665727261626c65000000600082015250565b615f2881615418565b8114615f3357600080fd5b50565b615f3f8161542a565b8114615f4a57600080fd5b50565b615f5681615436565b8114615f6157600080fd5b50565b615f6d81615440565b8114615f7857600080fd5b50565b615f848161548c565b8114615f8f57600080fd5b5056fea2646970667358221220ce4ab790904d0d9f9f030137d401324ec86547a733209f898ea32b75840105e064736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000006160cd7000000000000000000000000000000000000000000000000000000000000000124c6f627374657220426561636820436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c42430000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Lobster Beach Club
Arg [1] : symbol (string): LBC
Arg [2] : maxNftSupply (uint256): 10000
Arg [3] : saleStart (uint256): 1633734000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000000000006160cd70
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 4c6f627374657220426561636820436c75620000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4c42430000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
https://lobsterbeachclub.com/The Lobster Beach Club is a collection of unique Lobster NFTs— unique digital collectibles living on the Ethereum blockchain. Your lobster doubles as your Beach Club membership card, and grants access to members-only benefits. Future areas and per...Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.