Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
365 FROGS
Holders
206
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FROGSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SwampFrogs
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: MIT pragma solidity >=0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract SwampFrogs is ERC721Enumerable, ReentrancyGuard, Ownable { using ECDSA for bytes32; // Minting values uint256 public constant MAX_SUPPLY = 9999; uint256 public constant MAX_PRESALE_AMOUNT = 1; uint256 public constant MAX_MINT_AMOUNT = 10; address payable constant CASHOUT_WALLET = payable(0x8672b0EBC3Ec7525e3a973BE338298E28C273FC2); // Reservation values bool public reserveClaimed = false; uint256 public constant RESERVE_AMOUNT = 99; uint16 public constant PRESALE_ID = 10085; address public constant PRESALE_SIGNER = 0x95223bA4Dd076588aC34546367839D06720D682b; // Mint cost = 0.05 eth uint256 public constant MINT_COST = 50000000000000000; // Sale values bool private _presaleActive = false; bool private _publicSaleActive = false; bool private _isActive = false; string private _name = "Swamp Frogs"; string private _sybmol = "FROGS"; // Presale claim mapping mapping (address => bool) private _claimedPresale; // URI string private _uri = "https://api.swampfrogs.io/token/"; constructor() ERC721("Swamp Frogs", "FROGS") {} // Private mint function presaleMint(uint16 _tokenCount, uint16 _purchaseLimit, bytes memory _signature) external nonReentrant payable { require(_isActive, "Sale must be active"); require(_presaleActive, "Presale must be active"); require(_tokenCount > 0, "Token count must be at least 0"); require(_tokenCount <= MAX_PRESALE_AMOUNT, "Token count exceeds purchase limit"); require((MINT_COST * _tokenCount) == msg.value, "Incorrect ETH value sent"); require(!_claimedPresale[msg.sender], "User has already claimed from presale"); bytes32 message = keccak256(abi.encodePacked(msg.sender, _tokenCount, _purchaseLimit, PRESALE_ID)); require(message.toEthSignedMessageHash().recover(_signature) == PRESALE_SIGNER, "whitelist is not signed"); _claimedPresale[msg.sender] = true; _mintFrogs(_tokenCount, msg.sender); } // Public mint function publicMint(uint256 _tokenCount) external nonReentrant payable { require(_isActive, "Sale must be active"); require(_publicSaleActive, "Public sale must be active"); require(_tokenCount > 0, "Token count must be at least 1"); require(_tokenCount <= MAX_MINT_AMOUNT, "Token count is greather than the max allowed"); require((MINT_COST * _tokenCount) == msg.value, "Incorrect ETH value sent"); _mintFrogs(_tokenCount, msg.sender); } // Reserve function claimReserved() external onlyOwner { require(!reserveClaimed, "The reserved frogs have already been claimed"); reserveClaimed = true; _mintFrogs(RESERVE_AMOUNT, msg.sender); } // Mints a specified number of frogs to a given address function _mintFrogs(uint256 _tokenCount, address _to) private { uint256 _totalSupply = totalSupply(); require(_totalSupply + _tokenCount <= MAX_SUPPLY, "Mint exceeds max token supply"); for (uint i = 0; i < _tokenCount; i++) { uint256 tokenId = _totalSupply + i; _safeMint(_to, tokenId + 1); } } // Admin Functions function toggleSale() external onlyOwner { _isActive = !_isActive; } function togglePublicSale() external onlyOwner { _publicSaleActive = !_publicSaleActive; } function togglePresale() external onlyOwner { _presaleActive = !_presaleActive; } function setBaseURI(string memory uri) external onlyOwner { _uri = uri; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; CASHOUT_WALLET.transfer(balance); } function _baseURI() internal view override returns (string memory) { return _uri; } }
// 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 Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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"; 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; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT 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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_ID","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_SIGNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReserved","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":"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":"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":"uint16","name":"_tokenCount","type":"uint16"},{"internalType":"uint16","name":"_purchaseLimit","type":"uint16"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenCount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","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":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600b60146101000a81548160ff0219169083151502179055506000600b60156101000a81548160ff0219169083151502179055506000600b60166101000a81548160ff0219169083151502179055506000600b60176101000a81548160ff0219169083151502179055506040518060400160405280600b81526020017f5377616d702046726f6773000000000000000000000000000000000000000000815250600c9080519060200190620000bd92919062000304565b506040518060400160405280600581526020017f46524f4753000000000000000000000000000000000000000000000000000000815250600d90805190602001906200010b92919062000304565b506040518060400160405280602081526020017f68747470733a2f2f6170692e7377616d7066726f67732e696f2f746f6b656e2f815250600f90805190602001906200015992919062000304565b503480156200016757600080fd5b506040518060400160405280600b81526020017f5377616d702046726f67730000000000000000000000000000000000000000008152506040518060400160405280600581526020017f46524f47530000000000000000000000000000000000000000000000000000008152508160009080519060200190620001ec92919062000304565b5080600190805190602001906200020592919062000304565b5050506001600a8190555062000230620002246200023660201b60201c565b6200023e60201b60201c565b62000419565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200031290620003b4565b90600052602060002090601f01602090048101928262000336576000855562000382565b82601f106200035157805160ff191683800117855562000382565b8280016001018555821562000382579182015b828111156200038157825182559160200191906001019062000364565b5b50905062000391919062000395565b5090565b5b80821115620003b057600081600090555060010162000396565b5090565b60006002820490506001821680620003cd57607f821691505b60208210811415620003e457620003e3620003ea565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6152ac80620004296000396000f3fe6080604052600436106102045760003560e01c80635d3512a911610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146106f1578063e222c7f91461072e578063e985e9c514610745578063f2fde38b14610782578063fa9b7018146107ab57610204565b8063a22cb46514610649578063af9b192e14610672578063b88d4fde1461069d578063c662e481146106c657610204565b80637809c6b1116100e75780637809c6b1146105955780637d8966e4146105b157806382e84200146105c85780638da5cb5b146105f357806395d89b411461061e57610204565b80635d3512a9146104d95780636352211e1461050457806370a0823114610541578063715018a61461057e57610204565b80632db115441161019b5780633ccfd60b1161016a5780633ccfd60b1461040857806342842e0e1461041f5780634baaaac3146104485780634f6ccce71461047357806355f804b3146104b057610204565b80632db115441461036d5780632f745c591461038957806332cb6b0c146103c657806334393743146103f157610204565b8063095ea7b3116101d7578063095ea7b3146102c557806318160ddd146102ee57806323b872dd146103195780632c6904bc1461034257610204565b806301ffc9a714610209578063036a7a191461024657806306fdde031461025d578063081812fc14610288575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613664565b6107d6565b60405161023d9190613ed0565b60405180910390f35b34801561025257600080fd5b5061025b610850565b005b34801561026957600080fd5b50610272610944565b60405161027f9190613f30565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613776565b6109d6565b6040516102bc9190613e69565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e79190613624565b610a5b565b005b3480156102fa57600080fd5b50610303610b73565b60405161031091906143cd565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061350e565b610b80565b005b34801561034e57600080fd5b50610357610be0565b60405161036491906143cd565b60405180910390f35b61038760048036038101906103829190613776565b610be5565b005b34801561039557600080fd5b506103b060048036038101906103ab9190613624565b610dc1565b6040516103bd91906143cd565b60405180910390f35b3480156103d257600080fd5b506103db610e66565b6040516103e891906143cd565b60405180910390f35b3480156103fd57600080fd5b50610406610e6c565b005b34801561041457600080fd5b5061041d610f14565b005b34801561042b57600080fd5b506104466004803603810190610441919061350e565b610ff3565b005b34801561045457600080fd5b5061045d611013565b60405161046a91906143b2565b60405180910390f35b34801561047f57600080fd5b5061049a60048036038101906104959190613776565b611019565b6040516104a791906143cd565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d291906136be565b61108a565b005b3480156104e557600080fd5b506104ee611120565b6040516104fb9190613ed0565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190613776565b611133565b6040516105389190613e69565b60405180910390f35b34801561054d57600080fd5b50610568600480360381019061056391906134a1565b6111e5565b60405161057591906143cd565b60405180910390f35b34801561058a57600080fd5b5061059361129d565b005b6105af60048036038101906105aa9190613707565b611325565b005b3480156105bd57600080fd5b506105c66116c8565b005b3480156105d457600080fd5b506105dd611770565b6040516105ea9190613e69565b60405180910390f35b3480156105ff57600080fd5b50610608611788565b6040516106159190613e69565b60405180910390f35b34801561062a57600080fd5b506106336117b2565b6040516106409190613f30565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b91906135e4565b611844565b005b34801561067e57600080fd5b506106876119c5565b60405161069491906143cd565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190613561565b6119ca565b005b3480156106d257600080fd5b506106db611a2c565b6040516106e891906143cd565b60405180910390f35b3480156106fd57600080fd5b5061071860048036038101906107139190613776565b611a37565b6040516107259190613f30565b60405180910390f35b34801561073a57600080fd5b50610743611ade565b005b34801561075157600080fd5b5061076c600480360381019061076791906134ce565b611b86565b6040516107799190613ed0565b60405180910390f35b34801561078e57600080fd5b506107a960048036038101906107a491906134a1565b611c1a565b005b3480156107b757600080fd5b506107c0611d12565b6040516107cd91906143cd565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610849575061084882611d17565b5b9050919050565b610858611df9565b73ffffffffffffffffffffffffffffffffffffffff16610876611788565b73ffffffffffffffffffffffffffffffffffffffff16146108cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c390614212565b60405180910390fd5b600b60149054906101000a900460ff161561091c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610913906142f2565b60405180910390fd5b6001600b60146101000a81548160ff021916908315150217905550610942606333611e01565b565b606060008054610953906146a2565b80601f016020809104026020016040519081016040528092919081815260200182805461097f906146a2565b80156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b5050505050905090565b60006109e182611ea8565b610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a17906141f2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6682611133565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace906142d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af6611df9565b73ffffffffffffffffffffffffffffffffffffffff161480610b255750610b2481610b1f611df9565b611b86565b5b610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b90614132565b60405180910390fd5b610b6e8383611f14565b505050565b6000600880549050905090565b610b91610b8b611df9565b82611fcd565b610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc790614312565b60405180910390fd5b610bdb8383836120ab565b505050565b600181565b6002600a541415610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2290614372565b60405180910390fd5b6002600a81905550600b60179054906101000a900460ff16610c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7990613f72565b60405180910390fd5b600b60169054906101000a900460ff16610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc890614112565b60405180910390fd5b60008111610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b90613f92565b60405180910390fd5b600a811115610d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4f90614072565b60405180910390fd5b348166b1a2bc2ec50000610d6c9190614539565b14610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390614352565b60405180910390fd5b610db68133611e01565b6001600a8190555050565b6000610dcc836111e5565b8210610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613fd2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61270f81565b610e74611df9565b73ffffffffffffffffffffffffffffffffffffffff16610e92611788565b73ffffffffffffffffffffffffffffffffffffffff1614610ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edf90614212565b60405180910390fd5b600b60159054906101000a900460ff1615600b60156101000a81548160ff021916908315150217905550565b610f1c611df9565b73ffffffffffffffffffffffffffffffffffffffff16610f3a611788565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614212565b60405180910390fd5b6000479050738672b0ebc3ec7525e3a973be338298e28c273fc273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fef573d6000803e3d6000fd5b5050565b61100e838383604051806020016040528060008152506119ca565b505050565b61276581565b6000611023610b73565b8210611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b90614332565b60405180910390fd5b60088281548110611078576110776148aa565b5b90600052602060002001549050919050565b611092611df9565b73ffffffffffffffffffffffffffffffffffffffff166110b0611788565b73ffffffffffffffffffffffffffffffffffffffff1614611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd90614212565b60405180910390fd5b80600f908051906020019061111c9291906132a0565b5050565b600b60149054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390614172565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d90614152565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112a5611df9565b73ffffffffffffffffffffffffffffffffffffffff166112c3611788565b73ffffffffffffffffffffffffffffffffffffffff1614611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090614212565b60405180910390fd5b6113236000612307565b565b6002600a54141561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290614372565b60405180910390fd5b6002600a81905550600b60179054906101000a900460ff166113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b990613f72565b60405180910390fd5b600b60159054906101000a900460ff16611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890614232565b60405180910390fd5b60008361ffff1611611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f90614032565b60405180910390fd5b60018361ffff1611156114a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611497906141d2565b60405180910390fd5b348361ffff1666b1a2bc2ec500006114b89190614539565b146114f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ef90614352565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90614252565b60405180910390fd5b60003384846127656040516020016115a09493929190613dd1565b6040516020818303038152906040528051906020012090507395223ba4dd076588ac34546367839d06720d682b73ffffffffffffffffffffffffffffffffffffffff166115fe836115f0846123cd565b6123fd90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b906142b2565b60405180910390fd5b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116ba8461ffff1633611e01565b506001600a81905550505050565b6116d0611df9565b73ffffffffffffffffffffffffffffffffffffffff166116ee611788565b73ffffffffffffffffffffffffffffffffffffffff1614611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90614212565b60405180910390fd5b600b60179054906101000a900460ff1615600b60176101000a81548160ff021916908315150217905550565b7395223ba4dd076588ac34546367839d06720d682b81565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546117c1906146a2565b80601f01602080910402602001604051908101604052809291908181526020018280546117ed906146a2565b801561183a5780601f1061180f5761010080835404028352916020019161183a565b820191906000526020600020905b81548152906001019060200180831161181d57829003601f168201915b5050505050905090565b61184c611df9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b1906140b2565b60405180910390fd5b80600560006118c7611df9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611974611df9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119b99190613ed0565b60405180910390a35050565b606381565b6119db6119d5611df9565b83611fcd565b611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190614312565b60405180910390fd5b611a2684848484612424565b50505050565b66b1a2bc2ec5000081565b6060611a4282611ea8565b611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890614292565b60405180910390fd5b6000611a8b612480565b90506000815111611aab5760405180602001604052806000815250611ad6565b80611ab584612512565b604051602001611ac6929190613e1f565b6040516020818303038152906040525b915050919050565b611ae6611df9565b73ffffffffffffffffffffffffffffffffffffffff16611b04611788565b73ffffffffffffffffffffffffffffffffffffffff1614611b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5190614212565b60405180910390fd5b600b60169054906101000a900460ff1615600b60166101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c22611df9565b73ffffffffffffffffffffffffffffffffffffffff16611c40611788565b73ffffffffffffffffffffffffffffffffffffffff1614611c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8d90614212565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90614012565b60405180910390fd5b611d0f81612307565b50565b600a81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611de257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611df25750611df182612673565b5b9050919050565b600033905090565b6000611e0b610b73565b905061270f8382611e1c91906144b2565b1115611e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5490614392565b60405180910390fd5b60005b83811015611ea25760008183611e7691906144b2565b9050611e8e84600183611e8991906144b2565b6126dd565b508080611e9a90614705565b915050611e60565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f8783611133565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fd882611ea8565b612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e906140f2565b60405180910390fd5b600061202283611133565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061209157508373ffffffffffffffffffffffffffffffffffffffff16612079846109d6565b73ffffffffffffffffffffffffffffffffffffffff16145b806120a257506120a18185611b86565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120cb82611133565b73ffffffffffffffffffffffffffffffffffffffff1614612121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211890614272565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612191576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218890614092565b60405180910390fd5b61219c8383836126fb565b6121a7600082611f14565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121f79190614593565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461224e91906144b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000816040516020016123e09190613e43565b604051602081830303815290604052805190602001209050919050565b600080600061240c858561280f565b9150915061241981612892565b819250505092915050565b61242f8484846120ab565b61243b84848484612a67565b61247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190613ff2565b60405180910390fd5b50505050565b6060600f805461248f906146a2565b80601f01602080910402602001604051908101604052809291908181526020018280546124bb906146a2565b80156125085780601f106124dd57610100808354040283529160200191612508565b820191906000526020600020905b8154815290600101906020018083116124eb57829003601f168201915b5050505050905090565b6060600082141561255a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061266e565b600082905060005b6000821461258c57808061257590614705565b915050600a826125859190614508565b9150612562565b60008167ffffffffffffffff8111156125a8576125a76148d9565b5b6040519080825280601f01601f1916602001820160405280156125da5781602001600182028036833780820191505090505b5090505b60008514612667576001826125f39190614593565b9150600a85612602919061478e565b603061260e91906144b2565b60f81b818381518110612624576126236148aa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126609190614508565b94506125de565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126f7828260405180602001604052806000815250612bfe565b5050565b612706838383612c59565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127495761274481612c5e565b612788565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612787576127868382612ca7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127cb576127c681612e14565b61280a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612809576128088282612ee5565b5b5b505050565b6000806041835114156128515760008060006020860151925060408601519150606086015160001a905061284587828585612f64565b9450945050505061288b565b604083511415612882576000806020850151915060408501519050612877868383613071565b93509350505061288b565b60006002915091505b9250929050565b600060048111156128a6576128a561481d565b5b8160048111156128b9576128b861481d565b5b14156128c457612a64565b600160048111156128d8576128d761481d565b5b8160048111156128eb576128ea61481d565b5b141561292c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292390613f52565b60405180910390fd5b600260048111156129405761293f61481d565b5b8160048111156129535761295261481d565b5b1415612994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b90613fb2565b60405180910390fd5b600360048111156129a8576129a761481d565b5b8160048111156129bb576129ba61481d565b5b14156129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f3906140d2565b60405180910390fd5b600480811115612a0f57612a0e61481d565b5b816004811115612a2257612a2161481d565b5b1415612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90614192565b60405180910390fd5b5b50565b6000612a888473ffffffffffffffffffffffffffffffffffffffff166130bf565b15612bf1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ab1611df9565b8786866040518563ffffffff1660e01b8152600401612ad39493929190613e84565b602060405180830381600087803b158015612aed57600080fd5b505af1925050508015612b1e57506040513d601f19601f82011682018060405250810190612b1b9190613691565b60015b612ba1573d8060008114612b4e576040519150601f19603f3d011682016040523d82523d6000602084013e612b53565b606091505b50600081511415612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9090613ff2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bf6565b600190505b949350505050565b612c0883836130d2565b612c156000848484612a67565b612c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4b90613ff2565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612cb4846111e5565b612cbe9190614593565b9050600060076000848152602001908152602001600020549050818114612da3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e289190614593565b9050600060096000848152602001908152602001600020549050600060088381548110612e5857612e576148aa565b5b906000526020600020015490508060088381548110612e7a57612e796148aa565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612ec957612ec861487b565b5b6001900381819060005260206000200160009055905550505050565b6000612ef0836111e5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612f9f576000600391509150613068565b601b8560ff1614158015612fb75750601c8560ff1614155b15612fc9576000600491509150613068565b600060018787878760405160008152602001604052604051612fee9493929190613eeb565b6020604051602081039080840390855afa158015613010573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561305f57600060019250925050613068565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506130b187828885612f64565b935093505050935093915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613142576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613139906141b2565b60405180910390fd5b61314b81611ea8565b1561318b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318290614052565b60405180910390fd5b613197600083836126fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131e791906144b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546132ac906146a2565b90600052602060002090601f0160209004810192826132ce5760008555613315565b82601f106132e757805160ff1916838001178555613315565b82800160010185558215613315579182015b828111156133145782518255916020019190600101906132f9565b5b5090506133229190613326565b5090565b5b8082111561333f576000816000905550600101613327565b5090565b60006133566133518461440d565b6143e8565b9050828152602081018484840111156133725761337161490d565b5b61337d848285614660565b509392505050565b60006133986133938461443e565b6143e8565b9050828152602081018484840111156133b4576133b361490d565b5b6133bf848285614660565b509392505050565b6000813590506133d681615203565b92915050565b6000813590506133eb8161521a565b92915050565b60008135905061340081615231565b92915050565b60008151905061341581615231565b92915050565b600082601f8301126134305761342f614908565b5b8135613440848260208601613343565b91505092915050565b600082601f83011261345e5761345d614908565b5b813561346e848260208601613385565b91505092915050565b60008135905061348681615248565b92915050565b60008135905061349b8161525f565b92915050565b6000602082840312156134b7576134b6614917565b5b60006134c5848285016133c7565b91505092915050565b600080604083850312156134e5576134e4614917565b5b60006134f3858286016133c7565b9250506020613504858286016133c7565b9150509250929050565b60008060006060848603121561352757613526614917565b5b6000613535868287016133c7565b9350506020613546868287016133c7565b92505060406135578682870161348c565b9150509250925092565b6000806000806080858703121561357b5761357a614917565b5b6000613589878288016133c7565b945050602061359a878288016133c7565b93505060406135ab8782880161348c565b925050606085013567ffffffffffffffff8111156135cc576135cb614912565b5b6135d88782880161341b565b91505092959194509250565b600080604083850312156135fb576135fa614917565b5b6000613609858286016133c7565b925050602061361a858286016133dc565b9150509250929050565b6000806040838503121561363b5761363a614917565b5b6000613649858286016133c7565b925050602061365a8582860161348c565b9150509250929050565b60006020828403121561367a57613679614917565b5b6000613688848285016133f1565b91505092915050565b6000602082840312156136a7576136a6614917565b5b60006136b584828501613406565b91505092915050565b6000602082840312156136d4576136d3614917565b5b600082013567ffffffffffffffff8111156136f2576136f1614912565b5b6136fe84828501613449565b91505092915050565b6000806000606084860312156137205761371f614917565b5b600061372e86828701613477565b935050602061373f86828701613477565b925050604084013567ffffffffffffffff8111156137605761375f614912565b5b61376c8682870161341b565b9150509250925092565b60006020828403121561378c5761378b614917565b5b600061379a8482850161348c565b91505092915050565b6137ac816145c7565b82525050565b6137c36137be826145c7565b61474e565b82525050565b6137d2816145d9565b82525050565b6137e1816145e5565b82525050565b6137f86137f3826145e5565b614760565b82525050565b60006138098261446f565b6138138185614485565b935061382381856020860161466f565b61382c8161491c565b840191505092915050565b60006138428261447a565b61384c8185614496565b935061385c81856020860161466f565b6138658161491c565b840191505092915050565b600061387b8261447a565b61388581856144a7565b935061389581856020860161466f565b80840191505092915050565b60006138ae601883614496565b91506138b982614947565b602082019050919050565b60006138d1601383614496565b91506138dc82614970565b602082019050919050565b60006138f4601e83614496565b91506138ff82614999565b602082019050919050565b6000613917601f83614496565b9150613922826149c2565b602082019050919050565b600061393a601c836144a7565b9150613945826149eb565b601c82019050919050565b600061395d602b83614496565b915061396882614a14565b604082019050919050565b6000613980603283614496565b915061398b82614a63565b604082019050919050565b60006139a3602683614496565b91506139ae82614ab2565b604082019050919050565b60006139c6601e83614496565b91506139d182614b01565b602082019050919050565b60006139e9601c83614496565b91506139f482614b2a565b602082019050919050565b6000613a0c602c83614496565b9150613a1782614b53565b604082019050919050565b6000613a2f602483614496565b9150613a3a82614ba2565b604082019050919050565b6000613a52601983614496565b9150613a5d82614bf1565b602082019050919050565b6000613a75602283614496565b9150613a8082614c1a565b604082019050919050565b6000613a98602c83614496565b9150613aa382614c69565b604082019050919050565b6000613abb601a83614496565b9150613ac682614cb8565b602082019050919050565b6000613ade603883614496565b9150613ae982614ce1565b604082019050919050565b6000613b01602a83614496565b9150613b0c82614d30565b604082019050919050565b6000613b24602983614496565b9150613b2f82614d7f565b604082019050919050565b6000613b47602283614496565b9150613b5282614dce565b604082019050919050565b6000613b6a602083614496565b9150613b7582614e1d565b602082019050919050565b6000613b8d602283614496565b9150613b9882614e46565b604082019050919050565b6000613bb0602c83614496565b9150613bbb82614e95565b604082019050919050565b6000613bd3602083614496565b9150613bde82614ee4565b602082019050919050565b6000613bf6601683614496565b9150613c0182614f0d565b602082019050919050565b6000613c19602583614496565b9150613c2482614f36565b604082019050919050565b6000613c3c602983614496565b9150613c4782614f85565b604082019050919050565b6000613c5f602f83614496565b9150613c6a82614fd4565b604082019050919050565b6000613c82601783614496565b9150613c8d82615023565b602082019050919050565b6000613ca5602183614496565b9150613cb08261504c565b604082019050919050565b6000613cc8602c83614496565b9150613cd38261509b565b604082019050919050565b6000613ceb603183614496565b9150613cf6826150ea565b604082019050919050565b6000613d0e602c83614496565b9150613d1982615139565b604082019050919050565b6000613d31601883614496565b9150613d3c82615188565b602082019050919050565b6000613d54601f83614496565b9150613d5f826151b1565b602082019050919050565b6000613d77601d83614496565b9150613d82826151da565b602082019050919050565b613d968161461b565b82525050565b613dad613da88261461b565b61476a565b82525050565b613dbc81614649565b82525050565b613dcb81614653565b82525050565b6000613ddd82876137b2565b601482019150613ded8286613d9c565b600282019150613dfd8285613d9c565b600282019150613e0d8284613d9c565b60028201915081905095945050505050565b6000613e2b8285613870565b9150613e378284613870565b91508190509392505050565b6000613e4e8261392d565b9150613e5a82846137e7565b60208201915081905092915050565b6000602082019050613e7e60008301846137a3565b92915050565b6000608082019050613e9960008301876137a3565b613ea660208301866137a3565b613eb36040830185613db3565b8181036060830152613ec581846137fe565b905095945050505050565b6000602082019050613ee560008301846137c9565b92915050565b6000608082019050613f0060008301876137d8565b613f0d6020830186613dc2565b613f1a60408301856137d8565b613f2760608301846137d8565b95945050505050565b60006020820190508181036000830152613f4a8184613837565b905092915050565b60006020820190508181036000830152613f6b816138a1565b9050919050565b60006020820190508181036000830152613f8b816138c4565b9050919050565b60006020820190508181036000830152613fab816138e7565b9050919050565b60006020820190508181036000830152613fcb8161390a565b9050919050565b60006020820190508181036000830152613feb81613950565b9050919050565b6000602082019050818103600083015261400b81613973565b9050919050565b6000602082019050818103600083015261402b81613996565b9050919050565b6000602082019050818103600083015261404b816139b9565b9050919050565b6000602082019050818103600083015261406b816139dc565b9050919050565b6000602082019050818103600083015261408b816139ff565b9050919050565b600060208201905081810360008301526140ab81613a22565b9050919050565b600060208201905081810360008301526140cb81613a45565b9050919050565b600060208201905081810360008301526140eb81613a68565b9050919050565b6000602082019050818103600083015261410b81613a8b565b9050919050565b6000602082019050818103600083015261412b81613aae565b9050919050565b6000602082019050818103600083015261414b81613ad1565b9050919050565b6000602082019050818103600083015261416b81613af4565b9050919050565b6000602082019050818103600083015261418b81613b17565b9050919050565b600060208201905081810360008301526141ab81613b3a565b9050919050565b600060208201905081810360008301526141cb81613b5d565b9050919050565b600060208201905081810360008301526141eb81613b80565b9050919050565b6000602082019050818103600083015261420b81613ba3565b9050919050565b6000602082019050818103600083015261422b81613bc6565b9050919050565b6000602082019050818103600083015261424b81613be9565b9050919050565b6000602082019050818103600083015261426b81613c0c565b9050919050565b6000602082019050818103600083015261428b81613c2f565b9050919050565b600060208201905081810360008301526142ab81613c52565b9050919050565b600060208201905081810360008301526142cb81613c75565b9050919050565b600060208201905081810360008301526142eb81613c98565b9050919050565b6000602082019050818103600083015261430b81613cbb565b9050919050565b6000602082019050818103600083015261432b81613cde565b9050919050565b6000602082019050818103600083015261434b81613d01565b9050919050565b6000602082019050818103600083015261436b81613d24565b9050919050565b6000602082019050818103600083015261438b81613d47565b9050919050565b600060208201905081810360008301526143ab81613d6a565b9050919050565b60006020820190506143c76000830184613d8d565b92915050565b60006020820190506143e26000830184613db3565b92915050565b60006143f2614403565b90506143fe82826146d4565b919050565b6000604051905090565b600067ffffffffffffffff821115614428576144276148d9565b5b6144318261491c565b9050602081019050919050565b600067ffffffffffffffff821115614459576144586148d9565b5b6144628261491c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006144bd82614649565b91506144c883614649565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144fd576144fc6147bf565b5b828201905092915050565b600061451382614649565b915061451e83614649565b92508261452e5761452d6147ee565b5b828204905092915050565b600061454482614649565b915061454f83614649565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614588576145876147bf565b5b828202905092915050565b600061459e82614649565b91506145a983614649565b9250828210156145bc576145bb6147bf565b5b828203905092915050565b60006145d282614629565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561468d578082015181840152602081019050614672565b8381111561469c576000848401525b50505050565b600060028204905060018216806146ba57607f821691505b602082108114156146ce576146cd61484c565b5b50919050565b6146dd8261491c565b810181811067ffffffffffffffff821117156146fc576146fb6148d9565b5b80604052505050565b600061471082614649565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614743576147426147bf565b5b600182019050919050565b60006147598261477c565b9050919050565b6000819050919050565b60006147758261492d565b9050919050565b60006147878261493a565b9050919050565b600061479982614649565b91506147a483614649565b9250826147b4576147b36147ee565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160f01b9050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f546f6b656e20636f756e74206d757374206265206174206c6561737420310000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20636f756e74206d757374206265206174206c6561737420300000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f546f6b656e20636f756e74206973206772656174686572207468616e2074686560008201527f206d617820616c6c6f7765640000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206d75737420626520616374697665000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e20636f756e742065786365656473207075726368617365206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f557365722068617320616c726561647920636c61696d65642066726f6d20707260008201527f6573616c65000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f77686974656c697374206973206e6f74207369676e6564000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652072657365727665642066726f6773206861766520616c72656164792060008201527f6265656e20636c61696d65640000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4d696e742065786365656473206d617820746f6b656e20737570706c79000000600082015250565b61520c816145c7565b811461521757600080fd5b50565b615223816145d9565b811461522e57600080fd5b50565b61523a816145ef565b811461524557600080fd5b50565b6152518161461b565b811461525c57600080fd5b50565b61526881614649565b811461527357600080fd5b5056fea264697066735822122072d36b57178734e55b7371e40de175ae2d83572d2a363d112dd6115f485d629764736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102045760003560e01c80635d3512a911610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146106f1578063e222c7f91461072e578063e985e9c514610745578063f2fde38b14610782578063fa9b7018146107ab57610204565b8063a22cb46514610649578063af9b192e14610672578063b88d4fde1461069d578063c662e481146106c657610204565b80637809c6b1116100e75780637809c6b1146105955780637d8966e4146105b157806382e84200146105c85780638da5cb5b146105f357806395d89b411461061e57610204565b80635d3512a9146104d95780636352211e1461050457806370a0823114610541578063715018a61461057e57610204565b80632db115441161019b5780633ccfd60b1161016a5780633ccfd60b1461040857806342842e0e1461041f5780634baaaac3146104485780634f6ccce71461047357806355f804b3146104b057610204565b80632db115441461036d5780632f745c591461038957806332cb6b0c146103c657806334393743146103f157610204565b8063095ea7b3116101d7578063095ea7b3146102c557806318160ddd146102ee57806323b872dd146103195780632c6904bc1461034257610204565b806301ffc9a714610209578063036a7a191461024657806306fdde031461025d578063081812fc14610288575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613664565b6107d6565b60405161023d9190613ed0565b60405180910390f35b34801561025257600080fd5b5061025b610850565b005b34801561026957600080fd5b50610272610944565b60405161027f9190613f30565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613776565b6109d6565b6040516102bc9190613e69565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e79190613624565b610a5b565b005b3480156102fa57600080fd5b50610303610b73565b60405161031091906143cd565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061350e565b610b80565b005b34801561034e57600080fd5b50610357610be0565b60405161036491906143cd565b60405180910390f35b61038760048036038101906103829190613776565b610be5565b005b34801561039557600080fd5b506103b060048036038101906103ab9190613624565b610dc1565b6040516103bd91906143cd565b60405180910390f35b3480156103d257600080fd5b506103db610e66565b6040516103e891906143cd565b60405180910390f35b3480156103fd57600080fd5b50610406610e6c565b005b34801561041457600080fd5b5061041d610f14565b005b34801561042b57600080fd5b506104466004803603810190610441919061350e565b610ff3565b005b34801561045457600080fd5b5061045d611013565b60405161046a91906143b2565b60405180910390f35b34801561047f57600080fd5b5061049a60048036038101906104959190613776565b611019565b6040516104a791906143cd565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d291906136be565b61108a565b005b3480156104e557600080fd5b506104ee611120565b6040516104fb9190613ed0565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190613776565b611133565b6040516105389190613e69565b60405180910390f35b34801561054d57600080fd5b50610568600480360381019061056391906134a1565b6111e5565b60405161057591906143cd565b60405180910390f35b34801561058a57600080fd5b5061059361129d565b005b6105af60048036038101906105aa9190613707565b611325565b005b3480156105bd57600080fd5b506105c66116c8565b005b3480156105d457600080fd5b506105dd611770565b6040516105ea9190613e69565b60405180910390f35b3480156105ff57600080fd5b50610608611788565b6040516106159190613e69565b60405180910390f35b34801561062a57600080fd5b506106336117b2565b6040516106409190613f30565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b91906135e4565b611844565b005b34801561067e57600080fd5b506106876119c5565b60405161069491906143cd565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190613561565b6119ca565b005b3480156106d257600080fd5b506106db611a2c565b6040516106e891906143cd565b60405180910390f35b3480156106fd57600080fd5b5061071860048036038101906107139190613776565b611a37565b6040516107259190613f30565b60405180910390f35b34801561073a57600080fd5b50610743611ade565b005b34801561075157600080fd5b5061076c600480360381019061076791906134ce565b611b86565b6040516107799190613ed0565b60405180910390f35b34801561078e57600080fd5b506107a960048036038101906107a491906134a1565b611c1a565b005b3480156107b757600080fd5b506107c0611d12565b6040516107cd91906143cd565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610849575061084882611d17565b5b9050919050565b610858611df9565b73ffffffffffffffffffffffffffffffffffffffff16610876611788565b73ffffffffffffffffffffffffffffffffffffffff16146108cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c390614212565b60405180910390fd5b600b60149054906101000a900460ff161561091c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610913906142f2565b60405180910390fd5b6001600b60146101000a81548160ff021916908315150217905550610942606333611e01565b565b606060008054610953906146a2565b80601f016020809104026020016040519081016040528092919081815260200182805461097f906146a2565b80156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b5050505050905090565b60006109e182611ea8565b610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a17906141f2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6682611133565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ace906142d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af6611df9565b73ffffffffffffffffffffffffffffffffffffffff161480610b255750610b2481610b1f611df9565b611b86565b5b610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b90614132565b60405180910390fd5b610b6e8383611f14565b505050565b6000600880549050905090565b610b91610b8b611df9565b82611fcd565b610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc790614312565b60405180910390fd5b610bdb8383836120ab565b505050565b600181565b6002600a541415610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2290614372565b60405180910390fd5b6002600a81905550600b60179054906101000a900460ff16610c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7990613f72565b60405180910390fd5b600b60169054906101000a900460ff16610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc890614112565b60405180910390fd5b60008111610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b90613f92565b60405180910390fd5b600a811115610d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4f90614072565b60405180910390fd5b348166b1a2bc2ec50000610d6c9190614539565b14610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390614352565b60405180910390fd5b610db68133611e01565b6001600a8190555050565b6000610dcc836111e5565b8210610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613fd2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61270f81565b610e74611df9565b73ffffffffffffffffffffffffffffffffffffffff16610e92611788565b73ffffffffffffffffffffffffffffffffffffffff1614610ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edf90614212565b60405180910390fd5b600b60159054906101000a900460ff1615600b60156101000a81548160ff021916908315150217905550565b610f1c611df9565b73ffffffffffffffffffffffffffffffffffffffff16610f3a611788565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614212565b60405180910390fd5b6000479050738672b0ebc3ec7525e3a973be338298e28c273fc273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fef573d6000803e3d6000fd5b5050565b61100e838383604051806020016040528060008152506119ca565b505050565b61276581565b6000611023610b73565b8210611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b90614332565b60405180910390fd5b60088281548110611078576110776148aa565b5b90600052602060002001549050919050565b611092611df9565b73ffffffffffffffffffffffffffffffffffffffff166110b0611788565b73ffffffffffffffffffffffffffffffffffffffff1614611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd90614212565b60405180910390fd5b80600f908051906020019061111c9291906132a0565b5050565b600b60149054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390614172565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d90614152565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112a5611df9565b73ffffffffffffffffffffffffffffffffffffffff166112c3611788565b73ffffffffffffffffffffffffffffffffffffffff1614611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090614212565b60405180910390fd5b6113236000612307565b565b6002600a54141561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290614372565b60405180910390fd5b6002600a81905550600b60179054906101000a900460ff166113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b990613f72565b60405180910390fd5b600b60159054906101000a900460ff16611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890614232565b60405180910390fd5b60008361ffff1611611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f90614032565b60405180910390fd5b60018361ffff1611156114a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611497906141d2565b60405180910390fd5b348361ffff1666b1a2bc2ec500006114b89190614539565b146114f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ef90614352565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90614252565b60405180910390fd5b60003384846127656040516020016115a09493929190613dd1565b6040516020818303038152906040528051906020012090507395223ba4dd076588ac34546367839d06720d682b73ffffffffffffffffffffffffffffffffffffffff166115fe836115f0846123cd565b6123fd90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b906142b2565b60405180910390fd5b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116ba8461ffff1633611e01565b506001600a81905550505050565b6116d0611df9565b73ffffffffffffffffffffffffffffffffffffffff166116ee611788565b73ffffffffffffffffffffffffffffffffffffffff1614611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90614212565b60405180910390fd5b600b60179054906101000a900460ff1615600b60176101000a81548160ff021916908315150217905550565b7395223ba4dd076588ac34546367839d06720d682b81565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546117c1906146a2565b80601f01602080910402602001604051908101604052809291908181526020018280546117ed906146a2565b801561183a5780601f1061180f5761010080835404028352916020019161183a565b820191906000526020600020905b81548152906001019060200180831161181d57829003601f168201915b5050505050905090565b61184c611df9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b1906140b2565b60405180910390fd5b80600560006118c7611df9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611974611df9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119b99190613ed0565b60405180910390a35050565b606381565b6119db6119d5611df9565b83611fcd565b611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190614312565b60405180910390fd5b611a2684848484612424565b50505050565b66b1a2bc2ec5000081565b6060611a4282611ea8565b611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890614292565b60405180910390fd5b6000611a8b612480565b90506000815111611aab5760405180602001604052806000815250611ad6565b80611ab584612512565b604051602001611ac6929190613e1f565b6040516020818303038152906040525b915050919050565b611ae6611df9565b73ffffffffffffffffffffffffffffffffffffffff16611b04611788565b73ffffffffffffffffffffffffffffffffffffffff1614611b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5190614212565b60405180910390fd5b600b60169054906101000a900460ff1615600b60166101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c22611df9565b73ffffffffffffffffffffffffffffffffffffffff16611c40611788565b73ffffffffffffffffffffffffffffffffffffffff1614611c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8d90614212565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90614012565b60405180910390fd5b611d0f81612307565b50565b600a81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611de257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611df25750611df182612673565b5b9050919050565b600033905090565b6000611e0b610b73565b905061270f8382611e1c91906144b2565b1115611e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5490614392565b60405180910390fd5b60005b83811015611ea25760008183611e7691906144b2565b9050611e8e84600183611e8991906144b2565b6126dd565b508080611e9a90614705565b915050611e60565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f8783611133565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fd882611ea8565b612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e906140f2565b60405180910390fd5b600061202283611133565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061209157508373ffffffffffffffffffffffffffffffffffffffff16612079846109d6565b73ffffffffffffffffffffffffffffffffffffffff16145b806120a257506120a18185611b86565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120cb82611133565b73ffffffffffffffffffffffffffffffffffffffff1614612121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211890614272565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612191576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218890614092565b60405180910390fd5b61219c8383836126fb565b6121a7600082611f14565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121f79190614593565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461224e91906144b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000816040516020016123e09190613e43565b604051602081830303815290604052805190602001209050919050565b600080600061240c858561280f565b9150915061241981612892565b819250505092915050565b61242f8484846120ab565b61243b84848484612a67565b61247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190613ff2565b60405180910390fd5b50505050565b6060600f805461248f906146a2565b80601f01602080910402602001604051908101604052809291908181526020018280546124bb906146a2565b80156125085780601f106124dd57610100808354040283529160200191612508565b820191906000526020600020905b8154815290600101906020018083116124eb57829003601f168201915b5050505050905090565b6060600082141561255a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061266e565b600082905060005b6000821461258c57808061257590614705565b915050600a826125859190614508565b9150612562565b60008167ffffffffffffffff8111156125a8576125a76148d9565b5b6040519080825280601f01601f1916602001820160405280156125da5781602001600182028036833780820191505090505b5090505b60008514612667576001826125f39190614593565b9150600a85612602919061478e565b603061260e91906144b2565b60f81b818381518110612624576126236148aa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126609190614508565b94506125de565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126f7828260405180602001604052806000815250612bfe565b5050565b612706838383612c59565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127495761274481612c5e565b612788565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612787576127868382612ca7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127cb576127c681612e14565b61280a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612809576128088282612ee5565b5b5b505050565b6000806041835114156128515760008060006020860151925060408601519150606086015160001a905061284587828585612f64565b9450945050505061288b565b604083511415612882576000806020850151915060408501519050612877868383613071565b93509350505061288b565b60006002915091505b9250929050565b600060048111156128a6576128a561481d565b5b8160048111156128b9576128b861481d565b5b14156128c457612a64565b600160048111156128d8576128d761481d565b5b8160048111156128eb576128ea61481d565b5b141561292c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292390613f52565b60405180910390fd5b600260048111156129405761293f61481d565b5b8160048111156129535761295261481d565b5b1415612994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b90613fb2565b60405180910390fd5b600360048111156129a8576129a761481d565b5b8160048111156129bb576129ba61481d565b5b14156129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f3906140d2565b60405180910390fd5b600480811115612a0f57612a0e61481d565b5b816004811115612a2257612a2161481d565b5b1415612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90614192565b60405180910390fd5b5b50565b6000612a888473ffffffffffffffffffffffffffffffffffffffff166130bf565b15612bf1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ab1611df9565b8786866040518563ffffffff1660e01b8152600401612ad39493929190613e84565b602060405180830381600087803b158015612aed57600080fd5b505af1925050508015612b1e57506040513d601f19601f82011682018060405250810190612b1b9190613691565b60015b612ba1573d8060008114612b4e576040519150601f19603f3d011682016040523d82523d6000602084013e612b53565b606091505b50600081511415612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9090613ff2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bf6565b600190505b949350505050565b612c0883836130d2565b612c156000848484612a67565b612c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4b90613ff2565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612cb4846111e5565b612cbe9190614593565b9050600060076000848152602001908152602001600020549050818114612da3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e289190614593565b9050600060096000848152602001908152602001600020549050600060088381548110612e5857612e576148aa565b5b906000526020600020015490508060088381548110612e7a57612e796148aa565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612ec957612ec861487b565b5b6001900381819060005260206000200160009055905550505050565b6000612ef0836111e5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612f9f576000600391509150613068565b601b8560ff1614158015612fb75750601c8560ff1614155b15612fc9576000600491509150613068565b600060018787878760405160008152602001604052604051612fee9493929190613eeb565b6020604051602081039080840390855afa158015613010573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561305f57600060019250925050613068565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506130b187828885612f64565b935093505050935093915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613142576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613139906141b2565b60405180910390fd5b61314b81611ea8565b1561318b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318290614052565b60405180910390fd5b613197600083836126fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131e791906144b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546132ac906146a2565b90600052602060002090601f0160209004810192826132ce5760008555613315565b82601f106132e757805160ff1916838001178555613315565b82800160010185558215613315579182015b828111156133145782518255916020019190600101906132f9565b5b5090506133229190613326565b5090565b5b8082111561333f576000816000905550600101613327565b5090565b60006133566133518461440d565b6143e8565b9050828152602081018484840111156133725761337161490d565b5b61337d848285614660565b509392505050565b60006133986133938461443e565b6143e8565b9050828152602081018484840111156133b4576133b361490d565b5b6133bf848285614660565b509392505050565b6000813590506133d681615203565b92915050565b6000813590506133eb8161521a565b92915050565b60008135905061340081615231565b92915050565b60008151905061341581615231565b92915050565b600082601f8301126134305761342f614908565b5b8135613440848260208601613343565b91505092915050565b600082601f83011261345e5761345d614908565b5b813561346e848260208601613385565b91505092915050565b60008135905061348681615248565b92915050565b60008135905061349b8161525f565b92915050565b6000602082840312156134b7576134b6614917565b5b60006134c5848285016133c7565b91505092915050565b600080604083850312156134e5576134e4614917565b5b60006134f3858286016133c7565b9250506020613504858286016133c7565b9150509250929050565b60008060006060848603121561352757613526614917565b5b6000613535868287016133c7565b9350506020613546868287016133c7565b92505060406135578682870161348c565b9150509250925092565b6000806000806080858703121561357b5761357a614917565b5b6000613589878288016133c7565b945050602061359a878288016133c7565b93505060406135ab8782880161348c565b925050606085013567ffffffffffffffff8111156135cc576135cb614912565b5b6135d88782880161341b565b91505092959194509250565b600080604083850312156135fb576135fa614917565b5b6000613609858286016133c7565b925050602061361a858286016133dc565b9150509250929050565b6000806040838503121561363b5761363a614917565b5b6000613649858286016133c7565b925050602061365a8582860161348c565b9150509250929050565b60006020828403121561367a57613679614917565b5b6000613688848285016133f1565b91505092915050565b6000602082840312156136a7576136a6614917565b5b60006136b584828501613406565b91505092915050565b6000602082840312156136d4576136d3614917565b5b600082013567ffffffffffffffff8111156136f2576136f1614912565b5b6136fe84828501613449565b91505092915050565b6000806000606084860312156137205761371f614917565b5b600061372e86828701613477565b935050602061373f86828701613477565b925050604084013567ffffffffffffffff8111156137605761375f614912565b5b61376c8682870161341b565b9150509250925092565b60006020828403121561378c5761378b614917565b5b600061379a8482850161348c565b91505092915050565b6137ac816145c7565b82525050565b6137c36137be826145c7565b61474e565b82525050565b6137d2816145d9565b82525050565b6137e1816145e5565b82525050565b6137f86137f3826145e5565b614760565b82525050565b60006138098261446f565b6138138185614485565b935061382381856020860161466f565b61382c8161491c565b840191505092915050565b60006138428261447a565b61384c8185614496565b935061385c81856020860161466f565b6138658161491c565b840191505092915050565b600061387b8261447a565b61388581856144a7565b935061389581856020860161466f565b80840191505092915050565b60006138ae601883614496565b91506138b982614947565b602082019050919050565b60006138d1601383614496565b91506138dc82614970565b602082019050919050565b60006138f4601e83614496565b91506138ff82614999565b602082019050919050565b6000613917601f83614496565b9150613922826149c2565b602082019050919050565b600061393a601c836144a7565b9150613945826149eb565b601c82019050919050565b600061395d602b83614496565b915061396882614a14565b604082019050919050565b6000613980603283614496565b915061398b82614a63565b604082019050919050565b60006139a3602683614496565b91506139ae82614ab2565b604082019050919050565b60006139c6601e83614496565b91506139d182614b01565b602082019050919050565b60006139e9601c83614496565b91506139f482614b2a565b602082019050919050565b6000613a0c602c83614496565b9150613a1782614b53565b604082019050919050565b6000613a2f602483614496565b9150613a3a82614ba2565b604082019050919050565b6000613a52601983614496565b9150613a5d82614bf1565b602082019050919050565b6000613a75602283614496565b9150613a8082614c1a565b604082019050919050565b6000613a98602c83614496565b9150613aa382614c69565b604082019050919050565b6000613abb601a83614496565b9150613ac682614cb8565b602082019050919050565b6000613ade603883614496565b9150613ae982614ce1565b604082019050919050565b6000613b01602a83614496565b9150613b0c82614d30565b604082019050919050565b6000613b24602983614496565b9150613b2f82614d7f565b604082019050919050565b6000613b47602283614496565b9150613b5282614dce565b604082019050919050565b6000613b6a602083614496565b9150613b7582614e1d565b602082019050919050565b6000613b8d602283614496565b9150613b9882614e46565b604082019050919050565b6000613bb0602c83614496565b9150613bbb82614e95565b604082019050919050565b6000613bd3602083614496565b9150613bde82614ee4565b602082019050919050565b6000613bf6601683614496565b9150613c0182614f0d565b602082019050919050565b6000613c19602583614496565b9150613c2482614f36565b604082019050919050565b6000613c3c602983614496565b9150613c4782614f85565b604082019050919050565b6000613c5f602f83614496565b9150613c6a82614fd4565b604082019050919050565b6000613c82601783614496565b9150613c8d82615023565b602082019050919050565b6000613ca5602183614496565b9150613cb08261504c565b604082019050919050565b6000613cc8602c83614496565b9150613cd38261509b565b604082019050919050565b6000613ceb603183614496565b9150613cf6826150ea565b604082019050919050565b6000613d0e602c83614496565b9150613d1982615139565b604082019050919050565b6000613d31601883614496565b9150613d3c82615188565b602082019050919050565b6000613d54601f83614496565b9150613d5f826151b1565b602082019050919050565b6000613d77601d83614496565b9150613d82826151da565b602082019050919050565b613d968161461b565b82525050565b613dad613da88261461b565b61476a565b82525050565b613dbc81614649565b82525050565b613dcb81614653565b82525050565b6000613ddd82876137b2565b601482019150613ded8286613d9c565b600282019150613dfd8285613d9c565b600282019150613e0d8284613d9c565b60028201915081905095945050505050565b6000613e2b8285613870565b9150613e378284613870565b91508190509392505050565b6000613e4e8261392d565b9150613e5a82846137e7565b60208201915081905092915050565b6000602082019050613e7e60008301846137a3565b92915050565b6000608082019050613e9960008301876137a3565b613ea660208301866137a3565b613eb36040830185613db3565b8181036060830152613ec581846137fe565b905095945050505050565b6000602082019050613ee560008301846137c9565b92915050565b6000608082019050613f0060008301876137d8565b613f0d6020830186613dc2565b613f1a60408301856137d8565b613f2760608301846137d8565b95945050505050565b60006020820190508181036000830152613f4a8184613837565b905092915050565b60006020820190508181036000830152613f6b816138a1565b9050919050565b60006020820190508181036000830152613f8b816138c4565b9050919050565b60006020820190508181036000830152613fab816138e7565b9050919050565b60006020820190508181036000830152613fcb8161390a565b9050919050565b60006020820190508181036000830152613feb81613950565b9050919050565b6000602082019050818103600083015261400b81613973565b9050919050565b6000602082019050818103600083015261402b81613996565b9050919050565b6000602082019050818103600083015261404b816139b9565b9050919050565b6000602082019050818103600083015261406b816139dc565b9050919050565b6000602082019050818103600083015261408b816139ff565b9050919050565b600060208201905081810360008301526140ab81613a22565b9050919050565b600060208201905081810360008301526140cb81613a45565b9050919050565b600060208201905081810360008301526140eb81613a68565b9050919050565b6000602082019050818103600083015261410b81613a8b565b9050919050565b6000602082019050818103600083015261412b81613aae565b9050919050565b6000602082019050818103600083015261414b81613ad1565b9050919050565b6000602082019050818103600083015261416b81613af4565b9050919050565b6000602082019050818103600083015261418b81613b17565b9050919050565b600060208201905081810360008301526141ab81613b3a565b9050919050565b600060208201905081810360008301526141cb81613b5d565b9050919050565b600060208201905081810360008301526141eb81613b80565b9050919050565b6000602082019050818103600083015261420b81613ba3565b9050919050565b6000602082019050818103600083015261422b81613bc6565b9050919050565b6000602082019050818103600083015261424b81613be9565b9050919050565b6000602082019050818103600083015261426b81613c0c565b9050919050565b6000602082019050818103600083015261428b81613c2f565b9050919050565b600060208201905081810360008301526142ab81613c52565b9050919050565b600060208201905081810360008301526142cb81613c75565b9050919050565b600060208201905081810360008301526142eb81613c98565b9050919050565b6000602082019050818103600083015261430b81613cbb565b9050919050565b6000602082019050818103600083015261432b81613cde565b9050919050565b6000602082019050818103600083015261434b81613d01565b9050919050565b6000602082019050818103600083015261436b81613d24565b9050919050565b6000602082019050818103600083015261438b81613d47565b9050919050565b600060208201905081810360008301526143ab81613d6a565b9050919050565b60006020820190506143c76000830184613d8d565b92915050565b60006020820190506143e26000830184613db3565b92915050565b60006143f2614403565b90506143fe82826146d4565b919050565b6000604051905090565b600067ffffffffffffffff821115614428576144276148d9565b5b6144318261491c565b9050602081019050919050565b600067ffffffffffffffff821115614459576144586148d9565b5b6144628261491c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006144bd82614649565b91506144c883614649565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144fd576144fc6147bf565b5b828201905092915050565b600061451382614649565b915061451e83614649565b92508261452e5761452d6147ee565b5b828204905092915050565b600061454482614649565b915061454f83614649565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614588576145876147bf565b5b828202905092915050565b600061459e82614649565b91506145a983614649565b9250828210156145bc576145bb6147bf565b5b828203905092915050565b60006145d282614629565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561468d578082015181840152602081019050614672565b8381111561469c576000848401525b50505050565b600060028204905060018216806146ba57607f821691505b602082108114156146ce576146cd61484c565b5b50919050565b6146dd8261491c565b810181811067ffffffffffffffff821117156146fc576146fb6148d9565b5b80604052505050565b600061471082614649565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614743576147426147bf565b5b600182019050919050565b60006147598261477c565b9050919050565b6000819050919050565b60006147758261492d565b9050919050565b60006147878261493a565b9050919050565b600061479982614649565b91506147a483614649565b9250826147b4576147b36147ee565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160f01b9050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f546f6b656e20636f756e74206d757374206265206174206c6561737420310000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20636f756e74206d757374206265206174206c6561737420300000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f546f6b656e20636f756e74206973206772656174686572207468616e2074686560008201527f206d617820616c6c6f7765640000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206d75737420626520616374697665000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e20636f756e742065786365656473207075726368617365206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f557365722068617320616c726561647920636c61696d65642066726f6d20707260008201527f6573616c65000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f77686974656c697374206973206e6f74207369676e6564000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652072657365727665642066726f6773206861766520616c72656164792060008201527f6265656e20636c61696d65640000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4d696e742065786365656473206d617820746f6b656e20737570706c79000000600082015250565b61520c816145c7565b811461521757600080fd5b50565b615223816145d9565b811461522e57600080fd5b50565b61523a816145ef565b811461524557600080fd5b50565b6152518161461b565b811461525c57600080fd5b50565b61526881614649565b811461527357600080fd5b5056fea264697066735822122072d36b57178734e55b7371e40de175ae2d83572d2a363d112dd6115f485d629764736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.