Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
600 SMOL
Holders
209
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SMOLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SmolMonsters
Compiler Version
v0.8.9+commit.e5eed63a
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.9; pragma abicoder v2; import "./SmolMintable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract SmolMonsters is Context, ERC721Enumerable, ERC721Burnable, SmolMintable { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; string private _baseTokenURI; constructor( string memory name, string memory symbol, string memory baseTokenURI ) ERC721(name, symbol) { _baseTokenURI = baseTokenURI; _tokenLimit = 7337; validatorWallet = 0x6b96F977e17641460D8f7489e60224A3ce76D512; payoutWallet = 0x1B78A3C3ABdA8Fceb15e83ece78Cf3232A38b65a; whitelistEnabled = true; publicMintEnabled = false; _maxTokensPerWallet = 100; _maxTokensPerWhitelistWallet = 5; _maxTokensPerTransactionPublic = 10; _maxTokensPerTransactionWhitelist = 5; pricePerToken = 0.0773 ether; pricePerTokenTier1 = 0.0737 ether; pricePerTokenTier2 = 0.07 ether; pricePerTokenTier3 = 0.0673 ether; pricePerTokenTier4 = 0.0637 ether; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory permanentBaseURI) public virtual onlyOwner() { _baseTokenURI = permanentBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Not found"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @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 // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./LibValidator.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // Tokens can only be minted by Whitelisted Wallets if whitelist is activated. // Once whitelist is disabled, minting is enabled for Everyone abstract contract SmolMintable is Context, ERC721Enumerable, Ownable { using Counters for Counters.Counter; // TODO Whitelist, Public Mint Pausable address public validatorWallet; address public payoutWallet; bool public whitelistEnabled; bool public publicMintEnabled; Counters.Counter public _tokenIdTracker; uint256 public _tokenLimit; uint256 public _maxTokensPerWhitelistWallet; uint256 public _maxTokensPerWallet; uint256 public _maxTokensPerTransactionPublic; uint256 public _maxTokensPerTransactionWhitelist; uint256 public pricePerToken; uint256 public pricePerTokenTier1; uint256 public pricePerTokenTier2; uint256 public pricePerTokenTier3; uint256 public pricePerTokenTier4; mapping(address => uint256) public boughtAmounts; mapping(address => mapping (address => uint256)) public boughtWhitelistAmounts; function setPricePerToken(uint256 _pricePerToken, uint256 _pricePerTokenTier1, uint256 _pricePerTokenTier2, uint256 _pricePerTokenTier3, uint256 _pricePerTokenTier4) public virtual onlyOwner() { pricePerToken = _pricePerToken; pricePerTokenTier1 = _pricePerTokenTier1; pricePerTokenTier2 = _pricePerTokenTier2; pricePerTokenTier3 = _pricePerTokenTier3; pricePerTokenTier4 = _pricePerTokenTier4; } function setWhitelistLimits(uint256 maxTokensPerTransactionWhitelist, uint256 maxTokensPerWhitelistWallet) public virtual onlyOwner() { _maxTokensPerTransactionWhitelist = maxTokensPerTransactionWhitelist; _maxTokensPerWhitelistWallet = maxTokensPerWhitelistWallet; } // function to set _maxTokensPerTransactionPublic function setPublicLimits(uint256 maxTokensPerWallet, uint256 maxTokensPerTransactionPublic) public virtual onlyOwner() { _maxTokensPerTransactionPublic = maxTokensPerTransactionPublic; _maxTokensPerWallet = maxTokensPerWallet; } // function to set whitelisteEnabled true / false (default true) function setMintEnabled(bool _whitelistEnabled, bool _publicEnabled) public virtual onlyOwner() { whitelistEnabled = _whitelistEnabled; publicMintEnabled = _publicEnabled; } // function to change the validator Wallet function setValidatorAddress(address validator) public virtual onlyOwner(){ validatorWallet = validator; } // function to change the validator Wallet function setPayoutWallet(address _wallet) public virtual onlyOwner(){ payoutWallet = _wallet; } // publicMint Function (more ore less the same as whitelist mint just without the tier stuff and only if whitelistEnabled is false) function publicMint() public payable { // check public minting is enabled require(publicMintEnabled == true, "SM: Disabled"); // check token limit is not reached require(_tokenLimit >= _tokenIdTracker.current(), "SM: L1"); uint256 amount = msg.value / pricePerToken; // check maxTokensPerWallet limit is not reached require(boughtAmounts[msg.sender] + amount <= _maxTokensPerWallet, "SM: L2"); if (amount > _maxTokensPerTransactionPublic) { amount = _maxTokensPerTransactionPublic; } // check token limit is not reached with requested amount require(_tokenLimit >= (_tokenIdTracker.current() + amount), "SM: L3"); uint j; while (j < amount) { _mint(msg.sender, _tokenIdTracker.current()); _tokenIdTracker.increment(); boughtAmounts[msg.sender] = boughtAmounts[msg.sender] + 1; j++; } payable(payoutWallet).transfer(msg.value); } // function to mint only to whitelisted addresses function whitelistMint(string memory tier, bytes memory validator ) public payable { // check public minting is enabled require(whitelistEnabled == true, "SM: Disabled"); // check token limit is not reached require(_tokenLimit >= _tokenIdTracker.current(), "SM: L1"); string memory addressString = string(abi.encodePacked(LibValidator.addressToAsciiString(msg.sender), tier)); bytes32 validationString = keccak256(abi.encodePacked(addressString)); bytes32 validationHash = ECDSA.toEthSignedMessageHash(validationString); address signer = ECDSA.recover(validationHash, validator); require(signer == validatorWallet, "SM: Signature"); // set default value uint256 _pricePerToken = pricePerToken; if (keccak256(abi.encodePacked(tier)) == keccak256("level_1") && (msg.value / _pricePerToken) >= 2) _pricePerToken = pricePerTokenTier1; if (keccak256(abi.encodePacked(tier)) == keccak256("level_2")) _pricePerToken = pricePerTokenTier2; if (keccak256(abi.encodePacked(tier)) == keccak256("level_3")) _pricePerToken = pricePerTokenTier3; if (keccak256(abi.encodePacked(tier)) == keccak256("level_4")) _pricePerToken = pricePerTokenTier4; uint256 amount = msg.value / _pricePerToken; // check maxTokensPerWallet limit is not reached require(boughtWhitelistAmounts[validatorWallet][msg.sender] + amount <= _maxTokensPerWhitelistWallet, "SM: L2"); if (amount > _maxTokensPerTransactionWhitelist) { amount = _maxTokensPerTransactionWhitelist; } require(_tokenLimit >= (_tokenIdTracker.current() + amount), "SM: L3"); uint j; while (j < amount) { _mint(msg.sender, _tokenIdTracker.current()); _tokenIdTracker.increment(); boughtWhitelistAmounts[validatorWallet][msg.sender] = boughtWhitelistAmounts[validatorWallet][msg.sender] + 1; j++; } payable(payoutWallet).transfer(msg.value); } function mint(address to) public virtual onlyOwner { _mint(to, _tokenIdTracker.current()); _tokenIdTracker.increment(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; library LibValidator { function cchar(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function addressToAsciiString(address _addr) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint(uint160(_addr)) / (2**(8*(19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2*i] = cchar(hi); s[2*i+1] = cchar(lo); } return string(abi.encodePacked("0x",s)); } }
{ "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":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"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":"_maxTokensPerTransactionPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTokensPerTransactionWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTokensPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTokensPerWhitelistWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIdTracker","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenLimit","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":[{"internalType":"address","name":"","type":"address"}],"name":"boughtAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"boughtWhitelistAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerTokenTier1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerTokenTier2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerTokenTier3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerTokenTier4","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"permanentBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistEnabled","type":"bool"},{"internalType":"bool","name":"_publicEnabled","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"setPayoutWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerToken","type":"uint256"},{"internalType":"uint256","name":"_pricePerTokenTier1","type":"uint256"},{"internalType":"uint256","name":"_pricePerTokenTier2","type":"uint256"},{"internalType":"uint256","name":"_pricePerTokenTier3","type":"uint256"},{"internalType":"uint256","name":"_pricePerTokenTier4","type":"uint256"}],"name":"setPricePerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTokensPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxTokensPerTransactionPublic","type":"uint256"}],"name":"setPublicLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"}],"name":"setValidatorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTokensPerTransactionWhitelist","type":"uint256"},{"internalType":"uint256","name":"maxTokensPerWhitelistWallet","type":"uint256"}],"name":"setWhitelistLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"validatorWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tier","type":"string"},{"internalType":"bytes","name":"validator","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620065c2380380620065c283398181016040528101906200003791906200051b565b8282816000908051906020019062000051929190620002ce565b5080600190805190602001906200006a929190620002ce565b5050506200008d620000816200020060201b60201c565b6200020860201b60201c565b80601b9080519060200190620000a5929190620002ce565b50611ca9600e81905550736b96f977e17641460d8f7489e60224a3ce76d512600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731b78a3c3abda8fceb15e83ece78cf3232a38b65a600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60146101000a81548160ff0219169083151502179055506000600c60156101000a81548160ff02191690831515021790555060646010819055506005600f81905550600a60118190555060056012819055506701129ff0c1234000601381905550670105d5c26ff2400060148190555066f8b0a10e47000060158190555066ef18fe5162400060168190555066e24ed00031400060178190555050505062000639565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002dc9062000603565b90600052602060002090601f0160209004810192826200030057600085556200034c565b82601f106200031b57805160ff19168380011785556200034c565b828001600101855582156200034c579182015b828111156200034b5782518255916020019190600101906200032e565b5b5090506200035b91906200035f565b5090565b5b808211156200037a57600081600090555060010162000360565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003e7826200039c565b810181811067ffffffffffffffff82111715620004095762000408620003ad565b5b80604052505050565b60006200041e6200037e565b90506200042c8282620003dc565b919050565b600067ffffffffffffffff8211156200044f576200044e620003ad565b5b6200045a826200039c565b9050602081019050919050565b60005b83811015620004875780820151818401526020810190506200046a565b8381111562000497576000848401525b50505050565b6000620004b4620004ae8462000431565b62000412565b905082815260208101848484011115620004d357620004d262000397565b5b620004e084828562000467565b509392505050565b600082601f8301126200050057620004ff62000392565b5b8151620005128482602086016200049d565b91505092915050565b60008060006060848603121562000537576200053662000388565b5b600084015167ffffffffffffffff8111156200055857620005576200038d565b5b6200056686828701620004e8565b935050602084015167ffffffffffffffff8111156200058a57620005896200038d565b5b6200059886828701620004e8565b925050604084015167ffffffffffffffff811115620005bc57620005bb6200038d565b5b620005ca86828701620004e8565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200061c57607f821691505b60208210811415620006335762000632620005d4565b5b50919050565b615f7980620006496000396000f3fe6080604052600436106102885760003560e01c80636ed440411161015a57806395d89b41116100c1578063c87b56dd1161007a578063c87b56dd146109a2578063df535bbd146109df578063e015f41814610a0a578063e985e9c514610a33578063f2fde38b14610a70578063fab2e62a14610a9957610288565b806395d89b41146108a657806398bcede9146108d15780639f8c2440146108fc578063a22cb46514610925578063aacf1a6d1461094e578063b88d4fde1461097957610288565b80638488bb4e116101135780638488bb4e146107a657806387b21ab9146107d157806387c47bbf146107fc578063880690b1146108255780638ce1b224146108505780638da5cb5b1461087b57610288565b80636ed44041146106b75780636faeff34146106e257806370a082311461070b578063715018a6146107485780637b1b1de61461075f5780637d27b9ec1461078a57610288565b80632f745c59116101fe57806355f804b3116101b757806355f804b31461059957806362370b3c146105c25780636352211e146105eb57806368c91d8f146106285780636a627842146106655780636b8f9c431461068e57610288565b80632f745c591461047757806333eb9fb3146104b457806342842e0e146104df57806342966c68146105085780634f6ccce71461053157806351fb012d1461056e57610288565b80631482f51e116102505780631482f51e1461038657806318160ddd146103c35780631ba1a916146103ee5780632327f7d51461041957806323b872dd1461044457806326092b831461046d57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630f4161aa1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af919061408c565b610ac4565b6040516102c191906140d4565b60405180910390f35b3480156102d657600080fd5b506102df610ad6565b6040516102ec9190614188565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906141e0565b610b68565b604051610329919061424e565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190614295565b610bed565b005b34801561036757600080fd5b50610370610d05565b60405161037d91906140d4565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a891906142d5565b610d18565b6040516103ba9190614324565b60405180910390f35b3480156103cf57600080fd5b506103d8610d3d565b6040516103e59190614324565b60405180910390f35b3480156103fa57600080fd5b50610403610d4a565b604051610410919061424e565b60405180910390f35b34801561042557600080fd5b5061042e610d70565b60405161043b9190614324565b60405180910390f35b34801561045057600080fd5b5061046b6004803603810190610466919061433f565b610d76565b005b610475610dd6565b005b34801561048357600080fd5b5061049e60048036038101906104999190614295565b6110bb565b6040516104ab9190614324565b60405180910390f35b3480156104c057600080fd5b506104c9611160565b6040516104d69190614324565b60405180910390f35b3480156104eb57600080fd5b506105066004803603810190610501919061433f565b611166565b005b34801561051457600080fd5b5061052f600480360381019061052a91906141e0565b611186565b005b34801561053d57600080fd5b50610558600480360381019061055391906141e0565b6111e2565b6040516105659190614324565b60405180910390f35b34801561057a57600080fd5b50610583611253565b60405161059091906140d4565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb91906144c7565b611266565b005b3480156105ce57600080fd5b506105e960048036038101906105e4919061453c565b6112fc565b005b3480156105f757600080fd5b50610612600480360381019061060d91906141e0565b6113b0565b60405161061f919061424e565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a919061457c565b611462565b60405161065c9190614324565b60405180910390f35b34801561067157600080fd5b5061068c6004803603810190610687919061457c565b61147a565b005b34801561069a57600080fd5b506106b560048036038101906106b0919061457c565b611516565b005b3480156106c357600080fd5b506106cc6115d6565b6040516106d99190614324565b60405180910390f35b3480156106ee57600080fd5b50610709600480360381019061070491906145a9565b6115dc565b005b34801561071757600080fd5b50610732600480360381019061072d919061457c565b61166a565b60405161073f9190614324565b60405180910390f35b34801561075457600080fd5b5061075d611722565b005b34801561076b57600080fd5b506107746117aa565b6040516107819190614324565b60405180910390f35b6107a4600480360381019061079f919061468a565b6117b0565b005b3480156107b257600080fd5b506107bb611e2a565b6040516107c8919061424e565b60405180910390f35b3480156107dd57600080fd5b506107e6611e50565b6040516107f39190614324565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190614702565b611e56565b005b34801561083157600080fd5b5061083a611efc565b6040516108479190614324565b60405180910390f35b34801561085c57600080fd5b50610865611f02565b6040516108729190614324565b60405180910390f35b34801561088757600080fd5b50610890611f08565b60405161089d919061424e565b60405180910390f35b3480156108b257600080fd5b506108bb611f32565b6040516108c89190614188565b60405180910390f35b3480156108dd57600080fd5b506108e6611fc4565b6040516108f39190614324565b60405180910390f35b34801561090857600080fd5b50610923600480360381019061091e919061457c565b611fd0565b005b34801561093157600080fd5b5061094c6004803603810190610947919061477d565b612090565b005b34801561095a57600080fd5b506109636120a6565b6040516109709190614324565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b91906147bd565b6120ac565b005b3480156109ae57600080fd5b506109c960048036038101906109c491906141e0565b61210e565b6040516109d69190614188565b60405180910390f35b3480156109eb57600080fd5b506109f4612260565b604051610a019190614324565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c91906145a9565b612266565b005b348015610a3f57600080fd5b50610a5a6004803603810190610a5591906142d5565b6122f4565b604051610a6791906140d4565b60405180910390f35b348015610a7c57600080fd5b50610a976004803603810190610a92919061457c565b612388565b005b348015610aa557600080fd5b50610aae612480565b604051610abb9190614324565b60405180910390f35b6000610acf82612486565b9050919050565b606060008054610ae59061486f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b119061486f565b8015610b5e5780601f10610b3357610100808354040283529160200191610b5e565b820191906000526020600020905b815481529060010190602001808311610b4157829003601f168201915b5050505050905090565b6000610b7382612500565b610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba990614913565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bf8826113b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906149a5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c8861256c565b73ffffffffffffffffffffffffffffffffffffffff161480610cb75750610cb681610cb161256c565b6122f4565b5b610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90614a37565b60405180910390fd5b610d008383612574565b505050565b600c60159054906101000a900460ff1681565b6019602052816000526040600020602052806000526040600020600091509150505481565b6000600880549050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b610d87610d8161256c565b8261262d565b610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd90614ac9565b60405180910390fd5b610dd183838361270b565b505050565b60011515600c60159054906101000a900460ff16151514610e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2390614b35565b60405180910390fd5b610e36600d612967565b600e541015610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190614ba1565b60405180910390fd5b600060135434610e8a9190614c1f565b905060105481601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eda9190614c50565b1115610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290614cf2565b60405180910390fd5b601154811115610f2b5760115490505b80610f36600d612967565b610f409190614c50565b600e541015610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90614d5e565b60405180910390fd5b60005b8181101561104e57610fa233610f9d600d612967565b612975565b610fac600d612b43565b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff89190614c50565b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061104690614d7e565b915050610f87565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156110b6573d6000803e3d6000fd5b505050565b60006110c68361166a565b8210611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe90614e39565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b611181838383604051806020016040528060008152506120ac565b505050565b61119761119161256c565b8261262d565b6111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90614ecb565b60405180910390fd5b6111df81612b59565b50565b60006111ec610d3d565b821061122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490614f5d565b60405180910390fd5b6008828154811061124157611240614f7d565b5b90600052602060002001549050919050565b600c60149054906101000a900460ff1681565b61126e61256c565b73ffffffffffffffffffffffffffffffffffffffff1661128c611f08565b73ffffffffffffffffffffffffffffffffffffffff16146112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990614ff8565b60405180910390fd5b80601b90805190602001906112f8929190613f3d565b5050565b61130461256c565b73ffffffffffffffffffffffffffffffffffffffff16611322611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f90614ff8565b60405180910390fd5b81600c60146101000a81548160ff02191690831515021790555080600c60156101000a81548160ff0219169083151502179055505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114509061508a565b60405180910390fd5b80915050919050565b60186020528060005260406000206000915090505481565b61148261256c565b73ffffffffffffffffffffffffffffffffffffffff166114a0611f08565b73ffffffffffffffffffffffffffffffffffffffff16146114f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ed90614ff8565b60405180910390fd5b61150981611504600d612967565b612975565b611513600d612b43565b50565b61151e61256c565b73ffffffffffffffffffffffffffffffffffffffff1661153c611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990614ff8565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60175481565b6115e461256c565b73ffffffffffffffffffffffffffffffffffffffff16611602611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f90614ff8565b60405180910390fd5b8160128190555080600f819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d29061511c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61172a61256c565b73ffffffffffffffffffffffffffffffffffffffff16611748611f08565b73ffffffffffffffffffffffffffffffffffffffff161461179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590614ff8565b60405180910390fd5b6117a86000612bac565b565b60135481565b60011515600c60149054906101000a900460ff16151514611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90614b35565b60405180910390fd5b611810600d612967565b600e541015611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90614ba1565b60405180910390fd5b600061185f33612c72565b83604051602001611871929190615178565b6040516020818303038152906040529050600081604051602001611895919061519c565b60405160208183030381529060405280519060200120905060006118b882612e54565b905060006118c68286612e84565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f906151ff565b60405180910390fd5b600060135490507fc6c9bbac4d809f7bcbc14bcd502c8c5f2afa584bd56753cd456573d8c17e84c587604051602001611991919061519c565b604051602081830303815290604052805190602001201480156119c05750600281346119bd9190614c1f565b10155b156119cb5760145490505b7f045c7b9aa1d72f483c66fafd06ce6818f64bbfa2fa9090def0bfa3334e9d8530876040516020016119fd919061519c565b604051602081830303815290604052805190602001201415611a1f5760155490505b7f17fc10b531d45dde580590241110946b64a2cb119b0c5bf777552167faf5ea5187604051602001611a51919061519c565b604051602081830303815290604052805190602001201415611a735760165490505b7ff909121fad1dbe0350530030532bdae65621ca88018cc118222cf74bb94d384287604051602001611aa5919061519c565b604051602081830303815290604052805190602001201415611ac75760175490505b60008134611ad59190614c1f565b9050600f548160196000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b849190614c50565b1115611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90614cf2565b60405180910390fd5b601254811115611bd55760125490505b80611be0600d612967565b611bea9190614c50565b600e541015611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590614d5e565b60405180910390fd5b60005b81811015611db657611c4c33611c47600d612967565b612975565b611c56600d612b43565b600160196000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d019190614c50565b60196000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611dae90614d7e565b915050611c31565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611e1e573d6000803e3d6000fd5b50505050505050505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60165481565b611e5e61256c565b73ffffffffffffffffffffffffffffffffffffffff16611e7c611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec990614ff8565b60405180910390fd5b84601381905550836014819055508260158190555081601681905550806017819055505050505050565b600f5481565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611f419061486f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6d9061486f565b8015611fba5780601f10611f8f57610100808354040283529160200191611fba565b820191906000526020600020905b815481529060010190602001808311611f9d57829003601f168201915b5050505050905090565b600d8060000154905081565b611fd861256c565b73ffffffffffffffffffffffffffffffffffffffff16611ff6611f08565b73ffffffffffffffffffffffffffffffffffffffff161461204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614ff8565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6120a261209b61256c565b8383612eab565b5050565b60155481565b6120bd6120b761256c565b8361262d565b6120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f390614ac9565b60405180910390fd5b61210884848484613018565b50505050565b606061211982612500565b612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f9061526b565b60405180910390fd5b6000601a600084815260200190815260200160002080546121789061486f565b80601f01602080910402602001604051908101604052809291908181526020018280546121a49061486f565b80156121f15780601f106121c6576101008083540402835291602001916121f1565b820191906000526020600020905b8154815290600101906020018083116121d457829003601f168201915b505050505090506000612202613074565b905060008151141561221857819250505061225b565b60008251111561224d578082604051602001612235929190615178565b6040516020818303038152906040529250505061225b565b61225684613106565b925050505b919050565b60125481565b61226e61256c565b73ffffffffffffffffffffffffffffffffffffffff1661228c611f08565b73ffffffffffffffffffffffffffffffffffffffff16146122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990614ff8565b60405180910390fd5b80601181905550816010819055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61239061256c565b73ffffffffffffffffffffffffffffffffffffffff166123ae611f08565b73ffffffffffffffffffffffffffffffffffffffff1614612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90614ff8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246b906152fd565b60405180910390fd5b61247d81612bac565b50565b60145481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124f957506124f8826131ad565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125e7836113b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061263882612500565b612677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266e9061538f565b60405180910390fd5b6000612682836113b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126f157508373ffffffffffffffffffffffffffffffffffffffff166126d984610b68565b73ffffffffffffffffffffffffffffffffffffffff16145b80612702575061270181856122f4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661272b826113b0565b73ffffffffffffffffffffffffffffffffffffffff1614612781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277890615421565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e8906154b3565b60405180910390fd5b6127fc83838361328f565b612807600082612574565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461285791906154d3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128ae9190614c50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90615553565b60405180910390fd5b6129ee81612500565b15612a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a25906155bf565b60405180910390fd5b612a3a6000838361328f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8a9190614c50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b612b628161329f565b6000601a60008381526020019081526020016000208054612b829061486f565b905014612ba957601a60008281526020019081526020016000206000612ba89190613fc3565b5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000602867ffffffffffffffff811115612c9157612c9061439c565b5b6040519080825280601f01601f191660200182016040528015612cc35781602001600182028036833780820191505090505b50905060005b6014811015612e2b576000816013612ce191906154d3565b6008612ced91906155df565b6002612cf9919061576c565b8573ffffffffffffffffffffffffffffffffffffffff16612d1a9190614c1f565b60f81b9050600060108260f81c612d3191906157c4565b60f81b905060008160f81c6010612d4891906157f5565b8360f81c612d569190615830565b60f81b9050612d64826133b0565b85856002612d7291906155df565b81518110612d8357612d82614f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612dbb816133b0565b856001866002612dcb91906155df565b612dd59190614c50565b81518110612de657612de5614f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050508080612e2390614d7e565b915050612cc9565b5080604051602001612e3d91906158f7565b604051602081830303815290604052915050919050565b600081604051602001612e679190615990565b604051602081830303815290604052805190602001209050919050565b6000806000612e9385856133f6565b91509150612ea081613479565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1190615a02565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161300b91906140d4565b60405180910390a3505050565b61302384848461270b565b61302f8484848461364e565b61306e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306590615a94565b60405180910390fd5b50505050565b6060601b80546130839061486f565b80601f01602080910402602001604051908101604052809291908181526020018280546130af9061486f565b80156130fc5780601f106130d1576101008083540402835291602001916130fc565b820191906000526020600020905b8154815290600101906020018083116130df57829003601f168201915b5050505050905090565b606061311182612500565b613150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314790615b26565b60405180910390fd5b600061315a613074565b9050600081511161317a57604051806020016040528060008152506131a5565b80613184846137e5565b604051602001613195929190615178565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061327857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613288575061328782613946565b5b9050919050565b61329a8383836139b0565b505050565b60006132aa826113b0565b90506132b88160008461328f565b6132c3600083612574565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461331391906154d3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a8260f81c60ff1610156133db5760308260f81c6133d19190615b46565b60f81b90506133f1565b60578260f81c6133eb9190615b46565b60f81b90505b919050565b6000806041835114156134385760008060006020860151925060408601519150606086015160001a905061342c87828585613ac4565b94509450505050613472565b60408351141561346957600080602085015191506040850151905061345e868383613bd1565b935093505050613472565b60006002915091505b9250929050565b6000600481111561348d5761348c615b7d565b5b8160048111156134a05761349f615b7d565b5b14156134ab5761364b565b600160048111156134bf576134be615b7d565b5b8160048111156134d2576134d1615b7d565b5b1415613513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350a90615bf8565b60405180910390fd5b6002600481111561352757613526615b7d565b5b81600481111561353a57613539615b7d565b5b141561357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615c64565b60405180910390fd5b6003600481111561358f5761358e615b7d565b5b8160048111156135a2576135a1615b7d565b5b14156135e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135da90615cf6565b60405180910390fd5b6004808111156135f6576135f5615b7d565b5b81600481111561360957613608615b7d565b5b141561364a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364190615d88565b60405180910390fd5b5b50565b600061366f8473ffffffffffffffffffffffffffffffffffffffff16613c1f565b156137d8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261369861256c565b8786866040518563ffffffff1660e01b81526004016136ba9493929190615df2565b602060405180830381600087803b1580156136d457600080fd5b505af192505050801561370557506040513d601f19601f820116820180604052508101906137029190615e53565b60015b613788573d8060008114613735576040519150601f19603f3d011682016040523d82523d6000602084013e61373a565b606091505b50600081511415613780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377790615a94565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137dd565b600190505b949350505050565b6060600082141561382d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613941565b600082905060005b6000821461385f57808061384890614d7e565b915050600a826138589190614c1f565b9150613835565b60008167ffffffffffffffff81111561387b5761387a61439c565b5b6040519080825280601f01601f1916602001820160405280156138ad5781602001600182028036833780820191505090505b5090505b6000851461393a576001826138c691906154d3565b9150600a856138d59190615e80565b60306138e19190614c50565b60f81b8183815181106138f7576138f6614f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139339190614c1f565b94506138b1565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6139bb838383613c32565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139fe576139f981613c37565b613a3d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a3c57613a3b8382613c80565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a8057613a7b81613ded565b613abf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613abe57613abd8282613ebe565b5b5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613aff576000600391509150613bc8565b601b8560ff1614158015613b175750601c8560ff1614155b15613b29576000600491509150613bc8565b600060018787878760405160008152602001604052604051613b4e9493929190615ecf565b6020604051602081039080840390855afa158015613b70573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613bbf57600060019250925050613bc8565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613c1187828885613ac4565b935093505050935093915050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c8d8461166a565b613c9791906154d3565b9050600060076000848152602001908152602001600020549050818114613d7c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e0191906154d3565b9050600060096000848152602001908152602001600020549050600060088381548110613e3157613e30614f7d565b5b906000526020600020015490508060088381548110613e5357613e52614f7d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613ea257613ea1615f14565b5b6001900381819060005260206000200160009055905550505050565b6000613ec98361166a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613f499061486f565b90600052602060002090601f016020900481019282613f6b5760008555613fb2565b82601f10613f8457805160ff1916838001178555613fb2565b82800160010185558215613fb2579182015b82811115613fb1578251825591602001919060010190613f96565b5b509050613fbf9190614003565b5090565b508054613fcf9061486f565b6000825580601f10613fe15750614000565b601f016020900490600052602060002090810190613fff9190614003565b5b50565b5b8082111561401c576000816000905550600101614004565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61406981614034565b811461407457600080fd5b50565b60008135905061408681614060565b92915050565b6000602082840312156140a2576140a161402a565b5b60006140b084828501614077565b91505092915050565b60008115159050919050565b6140ce816140b9565b82525050565b60006020820190506140e960008301846140c5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561412957808201518184015260208101905061410e565b83811115614138576000848401525b50505050565b6000601f19601f8301169050919050565b600061415a826140ef565b61416481856140fa565b935061417481856020860161410b565b61417d8161413e565b840191505092915050565b600060208201905081810360008301526141a2818461414f565b905092915050565b6000819050919050565b6141bd816141aa565b81146141c857600080fd5b50565b6000813590506141da816141b4565b92915050565b6000602082840312156141f6576141f561402a565b5b6000614204848285016141cb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142388261420d565b9050919050565b6142488161422d565b82525050565b6000602082019050614263600083018461423f565b92915050565b6142728161422d565b811461427d57600080fd5b50565b60008135905061428f81614269565b92915050565b600080604083850312156142ac576142ab61402a565b5b60006142ba85828601614280565b92505060206142cb858286016141cb565b9150509250929050565b600080604083850312156142ec576142eb61402a565b5b60006142fa85828601614280565b925050602061430b85828601614280565b9150509250929050565b61431e816141aa565b82525050565b60006020820190506143396000830184614315565b92915050565b6000806000606084860312156143585761435761402a565b5b600061436686828701614280565b935050602061437786828701614280565b9250506040614388868287016141cb565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143d48261413e565b810181811067ffffffffffffffff821117156143f3576143f261439c565b5b80604052505050565b6000614406614020565b905061441282826143cb565b919050565b600067ffffffffffffffff8211156144325761443161439c565b5b61443b8261413e565b9050602081019050919050565b82818337600083830152505050565b600061446a61446584614417565b6143fc565b90508281526020810184848401111561448657614485614397565b5b614491848285614448565b509392505050565b600082601f8301126144ae576144ad614392565b5b81356144be848260208601614457565b91505092915050565b6000602082840312156144dd576144dc61402a565b5b600082013567ffffffffffffffff8111156144fb576144fa61402f565b5b61450784828501614499565b91505092915050565b614519816140b9565b811461452457600080fd5b50565b60008135905061453681614510565b92915050565b600080604083850312156145535761455261402a565b5b600061456185828601614527565b925050602061457285828601614527565b9150509250929050565b6000602082840312156145925761459161402a565b5b60006145a084828501614280565b91505092915050565b600080604083850312156145c0576145bf61402a565b5b60006145ce858286016141cb565b92505060206145df858286016141cb565b9150509250929050565b600067ffffffffffffffff8211156146045761460361439c565b5b61460d8261413e565b9050602081019050919050565b600061462d614628846145e9565b6143fc565b90508281526020810184848401111561464957614648614397565b5b614654848285614448565b509392505050565b600082601f83011261467157614670614392565b5b813561468184826020860161461a565b91505092915050565b600080604083850312156146a1576146a061402a565b5b600083013567ffffffffffffffff8111156146bf576146be61402f565b5b6146cb85828601614499565b925050602083013567ffffffffffffffff8111156146ec576146eb61402f565b5b6146f88582860161465c565b9150509250929050565b600080600080600060a0868803121561471e5761471d61402a565b5b600061472c888289016141cb565b955050602061473d888289016141cb565b945050604061474e888289016141cb565b935050606061475f888289016141cb565b9250506080614770888289016141cb565b9150509295509295909350565b600080604083850312156147945761479361402a565b5b60006147a285828601614280565b92505060206147b385828601614527565b9150509250929050565b600080600080608085870312156147d7576147d661402a565b5b60006147e587828801614280565b94505060206147f687828801614280565b9350506040614807878288016141cb565b925050606085013567ffffffffffffffff8111156148285761482761402f565b5b6148348782880161465c565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061488757607f821691505b6020821081141561489b5761489a614840565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148fd602c836140fa565b9150614908826148a1565b604082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061498f6021836140fa565b915061499a82614933565b604082019050919050565b600060208201905081810360008301526149be81614982565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a216038836140fa565b9150614a2c826149c5565b604082019050919050565b60006020820190508181036000830152614a5081614a14565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614ab36031836140fa565b9150614abe82614a57565b604082019050919050565b60006020820190508181036000830152614ae281614aa6565b9050919050565b7f534d3a2044697361626c65640000000000000000000000000000000000000000600082015250565b6000614b1f600c836140fa565b9150614b2a82614ae9565b602082019050919050565b60006020820190508181036000830152614b4e81614b12565b9050919050565b7f534d3a204c310000000000000000000000000000000000000000000000000000600082015250565b6000614b8b6006836140fa565b9150614b9682614b55565b602082019050919050565b60006020820190508181036000830152614bba81614b7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c2a826141aa565b9150614c35836141aa565b925082614c4557614c44614bc1565b5b828204905092915050565b6000614c5b826141aa565b9150614c66836141aa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c9b57614c9a614bf0565b5b828201905092915050565b7f534d3a204c320000000000000000000000000000000000000000000000000000600082015250565b6000614cdc6006836140fa565b9150614ce782614ca6565b602082019050919050565b60006020820190508181036000830152614d0b81614ccf565b9050919050565b7f534d3a204c330000000000000000000000000000000000000000000000000000600082015250565b6000614d486006836140fa565b9150614d5382614d12565b602082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b6000614d89826141aa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dbc57614dbb614bf0565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614e23602b836140fa565b9150614e2e82614dc7565b604082019050919050565b60006020820190508181036000830152614e5281614e16565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614eb56030836140fa565b9150614ec082614e59565b604082019050919050565b60006020820190508181036000830152614ee481614ea8565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614f47602c836140fa565b9150614f5282614eeb565b604082019050919050565b60006020820190508181036000830152614f7681614f3a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614fe26020836140fa565b9150614fed82614fac565b602082019050919050565b6000602082019050818103600083015261501181614fd5565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006150746029836140fa565b915061507f82615018565b604082019050919050565b600060208201905081810360008301526150a381615067565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615106602a836140fa565b9150615111826150aa565b604082019050919050565b60006020820190508181036000830152615135816150f9565b9050919050565b600081905092915050565b6000615152826140ef565b61515c818561513c565b935061516c81856020860161410b565b80840191505092915050565b60006151848285615147565b91506151908284615147565b91508190509392505050565b60006151a88284615147565b915081905092915050565b7f534d3a205369676e617475726500000000000000000000000000000000000000600082015250565b60006151e9600d836140fa565b91506151f4826151b3565b602082019050919050565b60006020820190508181036000830152615218816151dc565b9050919050565b7f4e6f7420666f756e640000000000000000000000000000000000000000000000600082015250565b60006152556009836140fa565b91506152608261521f565b602082019050919050565b6000602082019050818103600083015261528481615248565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152e76026836140fa565b91506152f28261528b565b604082019050919050565b60006020820190508181036000830152615316816152da565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615379602c836140fa565b91506153848261531d565b604082019050919050565b600060208201905081810360008301526153a88161536c565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061540b6029836140fa565b9150615416826153af565b604082019050919050565b6000602082019050818103600083015261543a816153fe565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061549d6024836140fa565b91506154a882615441565b604082019050919050565b600060208201905081810360008301526154cc81615490565b9050919050565b60006154de826141aa565b91506154e9836141aa565b9250828210156154fc576154fb614bf0565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061553d6020836140fa565b915061554882615507565b602082019050919050565b6000602082019050818103600083015261556c81615530565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006155a9601c836140fa565b91506155b482615573565b602082019050919050565b600060208201905081810360008301526155d88161559c565b9050919050565b60006155ea826141aa565b91506155f5836141aa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561562e5761562d614bf0565b5b828202905092915050565b60008160011c9050919050565b6000808291508390505b60018511156156905780860481111561566c5761566b614bf0565b5b600185161561567b5780820291505b808102905061568985615639565b9450615650565b94509492505050565b6000826156a95760019050615765565b816156b75760009050615765565b81600181146156cd57600281146156d757615706565b6001915050615765565b60ff8411156156e9576156e8614bf0565b5b8360020a915084821115615700576156ff614bf0565b5b50615765565b5060208310610133831016604e8410600b841016171561573b5782820a90508381111561573657615735614bf0565b5b615765565b6157488484846001615646565b9250905081840481111561575f5761575e614bf0565b5b81810290505b9392505050565b6000615777826141aa565b9150615782836141aa565b92506157af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484615699565b905092915050565b600060ff82169050919050565b60006157cf826157b7565b91506157da836157b7565b9250826157ea576157e9614bc1565b5b828204905092915050565b6000615800826157b7565b915061580b836157b7565b92508160ff048311821515161561582557615824614bf0565b5b828202905092915050565b600061583b826157b7565b9150615846836157b7565b92508282101561585957615858614bf0565b5b828203905092915050565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b600061589a60028361513c565b91506158a582615864565b600282019050919050565b600081519050919050565b600081905092915050565b60006158d1826158b0565b6158db81856158bb565b93506158eb81856020860161410b565b80840191505092915050565b60006159028261588d565b915061590e82846158c6565b915081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061594f601c8361513c565b915061595a82615919565b601c82019050919050565b6000819050919050565b6000819050919050565b61598a61598582615965565b61596f565b82525050565b600061599b82615942565b91506159a78284615979565b60208201915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006159ec6019836140fa565b91506159f7826159b6565b602082019050919050565b60006020820190508181036000830152615a1b816159df565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615a7e6032836140fa565b9150615a8982615a22565b604082019050919050565b60006020820190508181036000830152615aad81615a71565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615b10602f836140fa565b9150615b1b82615ab4565b604082019050919050565b60006020820190508181036000830152615b3f81615b03565b9050919050565b6000615b51826157b7565b9150615b5c836157b7565b92508260ff03821115615b7257615b71614bf0565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615be26018836140fa565b9150615bed82615bac565b602082019050919050565b60006020820190508181036000830152615c1181615bd5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615c4e601f836140fa565b9150615c5982615c18565b602082019050919050565b60006020820190508181036000830152615c7d81615c41565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ce06022836140fa565b9150615ceb82615c84565b604082019050919050565b60006020820190508181036000830152615d0f81615cd3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d726022836140fa565b9150615d7d82615d16565b604082019050919050565b60006020820190508181036000830152615da181615d65565b9050919050565b600082825260208201905092915050565b6000615dc4826158b0565b615dce8185615da8565b9350615dde81856020860161410b565b615de78161413e565b840191505092915050565b6000608082019050615e07600083018761423f565b615e14602083018661423f565b615e216040830185614315565b8181036060830152615e338184615db9565b905095945050505050565b600081519050615e4d81614060565b92915050565b600060208284031215615e6957615e6861402a565b5b6000615e7784828501615e3e565b91505092915050565b6000615e8b826141aa565b9150615e96836141aa565b925082615ea657615ea5614bc1565b5b828206905092915050565b615eba81615965565b82525050565b615ec9816157b7565b82525050565b6000608082019050615ee46000830187615eb1565b615ef16020830186615ec0565b615efe6040830185615eb1565b615f0b6060830184615eb1565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220f2801ff883f4c955822dc781dceb3b4e628474d7043d217fc33c796e757fd51064736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c536d6f6c4d6f6e737465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004534d4f4c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e736d6f6c6d6f6e73746572732e636f6d2f746f6b656e732f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102885760003560e01c80636ed440411161015a57806395d89b41116100c1578063c87b56dd1161007a578063c87b56dd146109a2578063df535bbd146109df578063e015f41814610a0a578063e985e9c514610a33578063f2fde38b14610a70578063fab2e62a14610a9957610288565b806395d89b41146108a657806398bcede9146108d15780639f8c2440146108fc578063a22cb46514610925578063aacf1a6d1461094e578063b88d4fde1461097957610288565b80638488bb4e116101135780638488bb4e146107a657806387b21ab9146107d157806387c47bbf146107fc578063880690b1146108255780638ce1b224146108505780638da5cb5b1461087b57610288565b80636ed44041146106b75780636faeff34146106e257806370a082311461070b578063715018a6146107485780637b1b1de61461075f5780637d27b9ec1461078a57610288565b80632f745c59116101fe57806355f804b3116101b757806355f804b31461059957806362370b3c146105c25780636352211e146105eb57806368c91d8f146106285780636a627842146106655780636b8f9c431461068e57610288565b80632f745c591461047757806333eb9fb3146104b457806342842e0e146104df57806342966c68146105085780634f6ccce71461053157806351fb012d1461056e57610288565b80631482f51e116102505780631482f51e1461038657806318160ddd146103c35780631ba1a916146103ee5780632327f7d51461041957806323b872dd1461044457806326092b831461046d57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630f4161aa1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af919061408c565b610ac4565b6040516102c191906140d4565b60405180910390f35b3480156102d657600080fd5b506102df610ad6565b6040516102ec9190614188565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906141e0565b610b68565b604051610329919061424e565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190614295565b610bed565b005b34801561036757600080fd5b50610370610d05565b60405161037d91906140d4565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a891906142d5565b610d18565b6040516103ba9190614324565b60405180910390f35b3480156103cf57600080fd5b506103d8610d3d565b6040516103e59190614324565b60405180910390f35b3480156103fa57600080fd5b50610403610d4a565b604051610410919061424e565b60405180910390f35b34801561042557600080fd5b5061042e610d70565b60405161043b9190614324565b60405180910390f35b34801561045057600080fd5b5061046b6004803603810190610466919061433f565b610d76565b005b610475610dd6565b005b34801561048357600080fd5b5061049e60048036038101906104999190614295565b6110bb565b6040516104ab9190614324565b60405180910390f35b3480156104c057600080fd5b506104c9611160565b6040516104d69190614324565b60405180910390f35b3480156104eb57600080fd5b506105066004803603810190610501919061433f565b611166565b005b34801561051457600080fd5b5061052f600480360381019061052a91906141e0565b611186565b005b34801561053d57600080fd5b50610558600480360381019061055391906141e0565b6111e2565b6040516105659190614324565b60405180910390f35b34801561057a57600080fd5b50610583611253565b60405161059091906140d4565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb91906144c7565b611266565b005b3480156105ce57600080fd5b506105e960048036038101906105e4919061453c565b6112fc565b005b3480156105f757600080fd5b50610612600480360381019061060d91906141e0565b6113b0565b60405161061f919061424e565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a919061457c565b611462565b60405161065c9190614324565b60405180910390f35b34801561067157600080fd5b5061068c6004803603810190610687919061457c565b61147a565b005b34801561069a57600080fd5b506106b560048036038101906106b0919061457c565b611516565b005b3480156106c357600080fd5b506106cc6115d6565b6040516106d99190614324565b60405180910390f35b3480156106ee57600080fd5b50610709600480360381019061070491906145a9565b6115dc565b005b34801561071757600080fd5b50610732600480360381019061072d919061457c565b61166a565b60405161073f9190614324565b60405180910390f35b34801561075457600080fd5b5061075d611722565b005b34801561076b57600080fd5b506107746117aa565b6040516107819190614324565b60405180910390f35b6107a4600480360381019061079f919061468a565b6117b0565b005b3480156107b257600080fd5b506107bb611e2a565b6040516107c8919061424e565b60405180910390f35b3480156107dd57600080fd5b506107e6611e50565b6040516107f39190614324565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190614702565b611e56565b005b34801561083157600080fd5b5061083a611efc565b6040516108479190614324565b60405180910390f35b34801561085c57600080fd5b50610865611f02565b6040516108729190614324565b60405180910390f35b34801561088757600080fd5b50610890611f08565b60405161089d919061424e565b60405180910390f35b3480156108b257600080fd5b506108bb611f32565b6040516108c89190614188565b60405180910390f35b3480156108dd57600080fd5b506108e6611fc4565b6040516108f39190614324565b60405180910390f35b34801561090857600080fd5b50610923600480360381019061091e919061457c565b611fd0565b005b34801561093157600080fd5b5061094c6004803603810190610947919061477d565b612090565b005b34801561095a57600080fd5b506109636120a6565b6040516109709190614324565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b91906147bd565b6120ac565b005b3480156109ae57600080fd5b506109c960048036038101906109c491906141e0565b61210e565b6040516109d69190614188565b60405180910390f35b3480156109eb57600080fd5b506109f4612260565b604051610a019190614324565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c91906145a9565b612266565b005b348015610a3f57600080fd5b50610a5a6004803603810190610a5591906142d5565b6122f4565b604051610a6791906140d4565b60405180910390f35b348015610a7c57600080fd5b50610a976004803603810190610a92919061457c565b612388565b005b348015610aa557600080fd5b50610aae612480565b604051610abb9190614324565b60405180910390f35b6000610acf82612486565b9050919050565b606060008054610ae59061486f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b119061486f565b8015610b5e5780601f10610b3357610100808354040283529160200191610b5e565b820191906000526020600020905b815481529060010190602001808311610b4157829003601f168201915b5050505050905090565b6000610b7382612500565b610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba990614913565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bf8826113b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906149a5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c8861256c565b73ffffffffffffffffffffffffffffffffffffffff161480610cb75750610cb681610cb161256c565b6122f4565b5b610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90614a37565b60405180910390fd5b610d008383612574565b505050565b600c60159054906101000a900460ff1681565b6019602052816000526040600020602052806000526040600020600091509150505481565b6000600880549050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b610d87610d8161256c565b8261262d565b610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd90614ac9565b60405180910390fd5b610dd183838361270b565b505050565b60011515600c60159054906101000a900460ff16151514610e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2390614b35565b60405180910390fd5b610e36600d612967565b600e541015610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190614ba1565b60405180910390fd5b600060135434610e8a9190614c1f565b905060105481601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eda9190614c50565b1115610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290614cf2565b60405180910390fd5b601154811115610f2b5760115490505b80610f36600d612967565b610f409190614c50565b600e541015610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90614d5e565b60405180910390fd5b60005b8181101561104e57610fa233610f9d600d612967565b612975565b610fac600d612b43565b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff89190614c50565b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061104690614d7e565b915050610f87565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156110b6573d6000803e3d6000fd5b505050565b60006110c68361166a565b8210611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe90614e39565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b611181838383604051806020016040528060008152506120ac565b505050565b61119761119161256c565b8261262d565b6111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90614ecb565b60405180910390fd5b6111df81612b59565b50565b60006111ec610d3d565b821061122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490614f5d565b60405180910390fd5b6008828154811061124157611240614f7d565b5b90600052602060002001549050919050565b600c60149054906101000a900460ff1681565b61126e61256c565b73ffffffffffffffffffffffffffffffffffffffff1661128c611f08565b73ffffffffffffffffffffffffffffffffffffffff16146112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990614ff8565b60405180910390fd5b80601b90805190602001906112f8929190613f3d565b5050565b61130461256c565b73ffffffffffffffffffffffffffffffffffffffff16611322611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f90614ff8565b60405180910390fd5b81600c60146101000a81548160ff02191690831515021790555080600c60156101000a81548160ff0219169083151502179055505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114509061508a565b60405180910390fd5b80915050919050565b60186020528060005260406000206000915090505481565b61148261256c565b73ffffffffffffffffffffffffffffffffffffffff166114a0611f08565b73ffffffffffffffffffffffffffffffffffffffff16146114f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ed90614ff8565b60405180910390fd5b61150981611504600d612967565b612975565b611513600d612b43565b50565b61151e61256c565b73ffffffffffffffffffffffffffffffffffffffff1661153c611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990614ff8565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60175481565b6115e461256c565b73ffffffffffffffffffffffffffffffffffffffff16611602611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f90614ff8565b60405180910390fd5b8160128190555080600f819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d29061511c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61172a61256c565b73ffffffffffffffffffffffffffffffffffffffff16611748611f08565b73ffffffffffffffffffffffffffffffffffffffff161461179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590614ff8565b60405180910390fd5b6117a86000612bac565b565b60135481565b60011515600c60149054906101000a900460ff16151514611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90614b35565b60405180910390fd5b611810600d612967565b600e541015611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90614ba1565b60405180910390fd5b600061185f33612c72565b83604051602001611871929190615178565b6040516020818303038152906040529050600081604051602001611895919061519c565b60405160208183030381529060405280519060200120905060006118b882612e54565b905060006118c68286612e84565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f906151ff565b60405180910390fd5b600060135490507fc6c9bbac4d809f7bcbc14bcd502c8c5f2afa584bd56753cd456573d8c17e84c587604051602001611991919061519c565b604051602081830303815290604052805190602001201480156119c05750600281346119bd9190614c1f565b10155b156119cb5760145490505b7f045c7b9aa1d72f483c66fafd06ce6818f64bbfa2fa9090def0bfa3334e9d8530876040516020016119fd919061519c565b604051602081830303815290604052805190602001201415611a1f5760155490505b7f17fc10b531d45dde580590241110946b64a2cb119b0c5bf777552167faf5ea5187604051602001611a51919061519c565b604051602081830303815290604052805190602001201415611a735760165490505b7ff909121fad1dbe0350530030532bdae65621ca88018cc118222cf74bb94d384287604051602001611aa5919061519c565b604051602081830303815290604052805190602001201415611ac75760175490505b60008134611ad59190614c1f565b9050600f548160196000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b849190614c50565b1115611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90614cf2565b60405180910390fd5b601254811115611bd55760125490505b80611be0600d612967565b611bea9190614c50565b600e541015611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590614d5e565b60405180910390fd5b60005b81811015611db657611c4c33611c47600d612967565b612975565b611c56600d612b43565b600160196000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d019190614c50565b60196000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611dae90614d7e565b915050611c31565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611e1e573d6000803e3d6000fd5b50505050505050505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60165481565b611e5e61256c565b73ffffffffffffffffffffffffffffffffffffffff16611e7c611f08565b73ffffffffffffffffffffffffffffffffffffffff1614611ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec990614ff8565b60405180910390fd5b84601381905550836014819055508260158190555081601681905550806017819055505050505050565b600f5481565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611f419061486f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6d9061486f565b8015611fba5780601f10611f8f57610100808354040283529160200191611fba565b820191906000526020600020905b815481529060010190602001808311611f9d57829003601f168201915b5050505050905090565b600d8060000154905081565b611fd861256c565b73ffffffffffffffffffffffffffffffffffffffff16611ff6611f08565b73ffffffffffffffffffffffffffffffffffffffff161461204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614ff8565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6120a261209b61256c565b8383612eab565b5050565b60155481565b6120bd6120b761256c565b8361262d565b6120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f390614ac9565b60405180910390fd5b61210884848484613018565b50505050565b606061211982612500565b612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f9061526b565b60405180910390fd5b6000601a600084815260200190815260200160002080546121789061486f565b80601f01602080910402602001604051908101604052809291908181526020018280546121a49061486f565b80156121f15780601f106121c6576101008083540402835291602001916121f1565b820191906000526020600020905b8154815290600101906020018083116121d457829003601f168201915b505050505090506000612202613074565b905060008151141561221857819250505061225b565b60008251111561224d578082604051602001612235929190615178565b6040516020818303038152906040529250505061225b565b61225684613106565b925050505b919050565b60125481565b61226e61256c565b73ffffffffffffffffffffffffffffffffffffffff1661228c611f08565b73ffffffffffffffffffffffffffffffffffffffff16146122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990614ff8565b60405180910390fd5b80601181905550816010819055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61239061256c565b73ffffffffffffffffffffffffffffffffffffffff166123ae611f08565b73ffffffffffffffffffffffffffffffffffffffff1614612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90614ff8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246b906152fd565b60405180910390fd5b61247d81612bac565b50565b60145481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124f957506124f8826131ad565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125e7836113b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061263882612500565b612677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266e9061538f565b60405180910390fd5b6000612682836113b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126f157508373ffffffffffffffffffffffffffffffffffffffff166126d984610b68565b73ffffffffffffffffffffffffffffffffffffffff16145b80612702575061270181856122f4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661272b826113b0565b73ffffffffffffffffffffffffffffffffffffffff1614612781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277890615421565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e8906154b3565b60405180910390fd5b6127fc83838361328f565b612807600082612574565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461285791906154d3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128ae9190614c50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90615553565b60405180910390fd5b6129ee81612500565b15612a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a25906155bf565b60405180910390fd5b612a3a6000838361328f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8a9190614c50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b612b628161329f565b6000601a60008381526020019081526020016000208054612b829061486f565b905014612ba957601a60008281526020019081526020016000206000612ba89190613fc3565b5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000602867ffffffffffffffff811115612c9157612c9061439c565b5b6040519080825280601f01601f191660200182016040528015612cc35781602001600182028036833780820191505090505b50905060005b6014811015612e2b576000816013612ce191906154d3565b6008612ced91906155df565b6002612cf9919061576c565b8573ffffffffffffffffffffffffffffffffffffffff16612d1a9190614c1f565b60f81b9050600060108260f81c612d3191906157c4565b60f81b905060008160f81c6010612d4891906157f5565b8360f81c612d569190615830565b60f81b9050612d64826133b0565b85856002612d7291906155df565b81518110612d8357612d82614f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612dbb816133b0565b856001866002612dcb91906155df565b612dd59190614c50565b81518110612de657612de5614f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050508080612e2390614d7e565b915050612cc9565b5080604051602001612e3d91906158f7565b604051602081830303815290604052915050919050565b600081604051602001612e679190615990565b604051602081830303815290604052805190602001209050919050565b6000806000612e9385856133f6565b91509150612ea081613479565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1190615a02565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161300b91906140d4565b60405180910390a3505050565b61302384848461270b565b61302f8484848461364e565b61306e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306590615a94565b60405180910390fd5b50505050565b6060601b80546130839061486f565b80601f01602080910402602001604051908101604052809291908181526020018280546130af9061486f565b80156130fc5780601f106130d1576101008083540402835291602001916130fc565b820191906000526020600020905b8154815290600101906020018083116130df57829003601f168201915b5050505050905090565b606061311182612500565b613150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314790615b26565b60405180910390fd5b600061315a613074565b9050600081511161317a57604051806020016040528060008152506131a5565b80613184846137e5565b604051602001613195929190615178565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061327857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613288575061328782613946565b5b9050919050565b61329a8383836139b0565b505050565b60006132aa826113b0565b90506132b88160008461328f565b6132c3600083612574565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461331391906154d3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a8260f81c60ff1610156133db5760308260f81c6133d19190615b46565b60f81b90506133f1565b60578260f81c6133eb9190615b46565b60f81b90505b919050565b6000806041835114156134385760008060006020860151925060408601519150606086015160001a905061342c87828585613ac4565b94509450505050613472565b60408351141561346957600080602085015191506040850151905061345e868383613bd1565b935093505050613472565b60006002915091505b9250929050565b6000600481111561348d5761348c615b7d565b5b8160048111156134a05761349f615b7d565b5b14156134ab5761364b565b600160048111156134bf576134be615b7d565b5b8160048111156134d2576134d1615b7d565b5b1415613513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350a90615bf8565b60405180910390fd5b6002600481111561352757613526615b7d565b5b81600481111561353a57613539615b7d565b5b141561357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615c64565b60405180910390fd5b6003600481111561358f5761358e615b7d565b5b8160048111156135a2576135a1615b7d565b5b14156135e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135da90615cf6565b60405180910390fd5b6004808111156135f6576135f5615b7d565b5b81600481111561360957613608615b7d565b5b141561364a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364190615d88565b60405180910390fd5b5b50565b600061366f8473ffffffffffffffffffffffffffffffffffffffff16613c1f565b156137d8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261369861256c565b8786866040518563ffffffff1660e01b81526004016136ba9493929190615df2565b602060405180830381600087803b1580156136d457600080fd5b505af192505050801561370557506040513d601f19601f820116820180604052508101906137029190615e53565b60015b613788573d8060008114613735576040519150601f19603f3d011682016040523d82523d6000602084013e61373a565b606091505b50600081511415613780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377790615a94565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137dd565b600190505b949350505050565b6060600082141561382d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613941565b600082905060005b6000821461385f57808061384890614d7e565b915050600a826138589190614c1f565b9150613835565b60008167ffffffffffffffff81111561387b5761387a61439c565b5b6040519080825280601f01601f1916602001820160405280156138ad5781602001600182028036833780820191505090505b5090505b6000851461393a576001826138c691906154d3565b9150600a856138d59190615e80565b60306138e19190614c50565b60f81b8183815181106138f7576138f6614f7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139339190614c1f565b94506138b1565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6139bb838383613c32565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139fe576139f981613c37565b613a3d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a3c57613a3b8382613c80565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a8057613a7b81613ded565b613abf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613abe57613abd8282613ebe565b5b5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613aff576000600391509150613bc8565b601b8560ff1614158015613b175750601c8560ff1614155b15613b29576000600491509150613bc8565b600060018787878760405160008152602001604052604051613b4e9493929190615ecf565b6020604051602081039080840390855afa158015613b70573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613bbf57600060019250925050613bc8565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613c1187828885613ac4565b935093505050935093915050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c8d8461166a565b613c9791906154d3565b9050600060076000848152602001908152602001600020549050818114613d7c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e0191906154d3565b9050600060096000848152602001908152602001600020549050600060088381548110613e3157613e30614f7d565b5b906000526020600020015490508060088381548110613e5357613e52614f7d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613ea257613ea1615f14565b5b6001900381819060005260206000200160009055905550505050565b6000613ec98361166a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613f499061486f565b90600052602060002090601f016020900481019282613f6b5760008555613fb2565b82601f10613f8457805160ff1916838001178555613fb2565b82800160010185558215613fb2579182015b82811115613fb1578251825591602001919060010190613f96565b5b509050613fbf9190614003565b5090565b508054613fcf9061486f565b6000825580601f10613fe15750614000565b601f016020900490600052602060002090810190613fff9190614003565b5b50565b5b8082111561401c576000816000905550600101614004565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61406981614034565b811461407457600080fd5b50565b60008135905061408681614060565b92915050565b6000602082840312156140a2576140a161402a565b5b60006140b084828501614077565b91505092915050565b60008115159050919050565b6140ce816140b9565b82525050565b60006020820190506140e960008301846140c5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561412957808201518184015260208101905061410e565b83811115614138576000848401525b50505050565b6000601f19601f8301169050919050565b600061415a826140ef565b61416481856140fa565b935061417481856020860161410b565b61417d8161413e565b840191505092915050565b600060208201905081810360008301526141a2818461414f565b905092915050565b6000819050919050565b6141bd816141aa565b81146141c857600080fd5b50565b6000813590506141da816141b4565b92915050565b6000602082840312156141f6576141f561402a565b5b6000614204848285016141cb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142388261420d565b9050919050565b6142488161422d565b82525050565b6000602082019050614263600083018461423f565b92915050565b6142728161422d565b811461427d57600080fd5b50565b60008135905061428f81614269565b92915050565b600080604083850312156142ac576142ab61402a565b5b60006142ba85828601614280565b92505060206142cb858286016141cb565b9150509250929050565b600080604083850312156142ec576142eb61402a565b5b60006142fa85828601614280565b925050602061430b85828601614280565b9150509250929050565b61431e816141aa565b82525050565b60006020820190506143396000830184614315565b92915050565b6000806000606084860312156143585761435761402a565b5b600061436686828701614280565b935050602061437786828701614280565b9250506040614388868287016141cb565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143d48261413e565b810181811067ffffffffffffffff821117156143f3576143f261439c565b5b80604052505050565b6000614406614020565b905061441282826143cb565b919050565b600067ffffffffffffffff8211156144325761443161439c565b5b61443b8261413e565b9050602081019050919050565b82818337600083830152505050565b600061446a61446584614417565b6143fc565b90508281526020810184848401111561448657614485614397565b5b614491848285614448565b509392505050565b600082601f8301126144ae576144ad614392565b5b81356144be848260208601614457565b91505092915050565b6000602082840312156144dd576144dc61402a565b5b600082013567ffffffffffffffff8111156144fb576144fa61402f565b5b61450784828501614499565b91505092915050565b614519816140b9565b811461452457600080fd5b50565b60008135905061453681614510565b92915050565b600080604083850312156145535761455261402a565b5b600061456185828601614527565b925050602061457285828601614527565b9150509250929050565b6000602082840312156145925761459161402a565b5b60006145a084828501614280565b91505092915050565b600080604083850312156145c0576145bf61402a565b5b60006145ce858286016141cb565b92505060206145df858286016141cb565b9150509250929050565b600067ffffffffffffffff8211156146045761460361439c565b5b61460d8261413e565b9050602081019050919050565b600061462d614628846145e9565b6143fc565b90508281526020810184848401111561464957614648614397565b5b614654848285614448565b509392505050565b600082601f83011261467157614670614392565b5b813561468184826020860161461a565b91505092915050565b600080604083850312156146a1576146a061402a565b5b600083013567ffffffffffffffff8111156146bf576146be61402f565b5b6146cb85828601614499565b925050602083013567ffffffffffffffff8111156146ec576146eb61402f565b5b6146f88582860161465c565b9150509250929050565b600080600080600060a0868803121561471e5761471d61402a565b5b600061472c888289016141cb565b955050602061473d888289016141cb565b945050604061474e888289016141cb565b935050606061475f888289016141cb565b9250506080614770888289016141cb565b9150509295509295909350565b600080604083850312156147945761479361402a565b5b60006147a285828601614280565b92505060206147b385828601614527565b9150509250929050565b600080600080608085870312156147d7576147d661402a565b5b60006147e587828801614280565b94505060206147f687828801614280565b9350506040614807878288016141cb565b925050606085013567ffffffffffffffff8111156148285761482761402f565b5b6148348782880161465c565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061488757607f821691505b6020821081141561489b5761489a614840565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148fd602c836140fa565b9150614908826148a1565b604082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061498f6021836140fa565b915061499a82614933565b604082019050919050565b600060208201905081810360008301526149be81614982565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a216038836140fa565b9150614a2c826149c5565b604082019050919050565b60006020820190508181036000830152614a5081614a14565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614ab36031836140fa565b9150614abe82614a57565b604082019050919050565b60006020820190508181036000830152614ae281614aa6565b9050919050565b7f534d3a2044697361626c65640000000000000000000000000000000000000000600082015250565b6000614b1f600c836140fa565b9150614b2a82614ae9565b602082019050919050565b60006020820190508181036000830152614b4e81614b12565b9050919050565b7f534d3a204c310000000000000000000000000000000000000000000000000000600082015250565b6000614b8b6006836140fa565b9150614b9682614b55565b602082019050919050565b60006020820190508181036000830152614bba81614b7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c2a826141aa565b9150614c35836141aa565b925082614c4557614c44614bc1565b5b828204905092915050565b6000614c5b826141aa565b9150614c66836141aa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c9b57614c9a614bf0565b5b828201905092915050565b7f534d3a204c320000000000000000000000000000000000000000000000000000600082015250565b6000614cdc6006836140fa565b9150614ce782614ca6565b602082019050919050565b60006020820190508181036000830152614d0b81614ccf565b9050919050565b7f534d3a204c330000000000000000000000000000000000000000000000000000600082015250565b6000614d486006836140fa565b9150614d5382614d12565b602082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b6000614d89826141aa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dbc57614dbb614bf0565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614e23602b836140fa565b9150614e2e82614dc7565b604082019050919050565b60006020820190508181036000830152614e5281614e16565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614eb56030836140fa565b9150614ec082614e59565b604082019050919050565b60006020820190508181036000830152614ee481614ea8565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614f47602c836140fa565b9150614f5282614eeb565b604082019050919050565b60006020820190508181036000830152614f7681614f3a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614fe26020836140fa565b9150614fed82614fac565b602082019050919050565b6000602082019050818103600083015261501181614fd5565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006150746029836140fa565b915061507f82615018565b604082019050919050565b600060208201905081810360008301526150a381615067565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615106602a836140fa565b9150615111826150aa565b604082019050919050565b60006020820190508181036000830152615135816150f9565b9050919050565b600081905092915050565b6000615152826140ef565b61515c818561513c565b935061516c81856020860161410b565b80840191505092915050565b60006151848285615147565b91506151908284615147565b91508190509392505050565b60006151a88284615147565b915081905092915050565b7f534d3a205369676e617475726500000000000000000000000000000000000000600082015250565b60006151e9600d836140fa565b91506151f4826151b3565b602082019050919050565b60006020820190508181036000830152615218816151dc565b9050919050565b7f4e6f7420666f756e640000000000000000000000000000000000000000000000600082015250565b60006152556009836140fa565b91506152608261521f565b602082019050919050565b6000602082019050818103600083015261528481615248565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152e76026836140fa565b91506152f28261528b565b604082019050919050565b60006020820190508181036000830152615316816152da565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615379602c836140fa565b91506153848261531d565b604082019050919050565b600060208201905081810360008301526153a88161536c565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061540b6029836140fa565b9150615416826153af565b604082019050919050565b6000602082019050818103600083015261543a816153fe565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061549d6024836140fa565b91506154a882615441565b604082019050919050565b600060208201905081810360008301526154cc81615490565b9050919050565b60006154de826141aa565b91506154e9836141aa565b9250828210156154fc576154fb614bf0565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061553d6020836140fa565b915061554882615507565b602082019050919050565b6000602082019050818103600083015261556c81615530565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006155a9601c836140fa565b91506155b482615573565b602082019050919050565b600060208201905081810360008301526155d88161559c565b9050919050565b60006155ea826141aa565b91506155f5836141aa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561562e5761562d614bf0565b5b828202905092915050565b60008160011c9050919050565b6000808291508390505b60018511156156905780860481111561566c5761566b614bf0565b5b600185161561567b5780820291505b808102905061568985615639565b9450615650565b94509492505050565b6000826156a95760019050615765565b816156b75760009050615765565b81600181146156cd57600281146156d757615706565b6001915050615765565b60ff8411156156e9576156e8614bf0565b5b8360020a915084821115615700576156ff614bf0565b5b50615765565b5060208310610133831016604e8410600b841016171561573b5782820a90508381111561573657615735614bf0565b5b615765565b6157488484846001615646565b9250905081840481111561575f5761575e614bf0565b5b81810290505b9392505050565b6000615777826141aa565b9150615782836141aa565b92506157af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484615699565b905092915050565b600060ff82169050919050565b60006157cf826157b7565b91506157da836157b7565b9250826157ea576157e9614bc1565b5b828204905092915050565b6000615800826157b7565b915061580b836157b7565b92508160ff048311821515161561582557615824614bf0565b5b828202905092915050565b600061583b826157b7565b9150615846836157b7565b92508282101561585957615858614bf0565b5b828203905092915050565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b600061589a60028361513c565b91506158a582615864565b600282019050919050565b600081519050919050565b600081905092915050565b60006158d1826158b0565b6158db81856158bb565b93506158eb81856020860161410b565b80840191505092915050565b60006159028261588d565b915061590e82846158c6565b915081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061594f601c8361513c565b915061595a82615919565b601c82019050919050565b6000819050919050565b6000819050919050565b61598a61598582615965565b61596f565b82525050565b600061599b82615942565b91506159a78284615979565b60208201915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006159ec6019836140fa565b91506159f7826159b6565b602082019050919050565b60006020820190508181036000830152615a1b816159df565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615a7e6032836140fa565b9150615a8982615a22565b604082019050919050565b60006020820190508181036000830152615aad81615a71565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615b10602f836140fa565b9150615b1b82615ab4565b604082019050919050565b60006020820190508181036000830152615b3f81615b03565b9050919050565b6000615b51826157b7565b9150615b5c836157b7565b92508260ff03821115615b7257615b71614bf0565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615be26018836140fa565b9150615bed82615bac565b602082019050919050565b60006020820190508181036000830152615c1181615bd5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615c4e601f836140fa565b9150615c5982615c18565b602082019050919050565b60006020820190508181036000830152615c7d81615c41565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ce06022836140fa565b9150615ceb82615c84565b604082019050919050565b60006020820190508181036000830152615d0f81615cd3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d726022836140fa565b9150615d7d82615d16565b604082019050919050565b60006020820190508181036000830152615da181615d65565b9050919050565b600082825260208201905092915050565b6000615dc4826158b0565b615dce8185615da8565b9350615dde81856020860161410b565b615de78161413e565b840191505092915050565b6000608082019050615e07600083018761423f565b615e14602083018661423f565b615e216040830185614315565b8181036060830152615e338184615db9565b905095945050505050565b600081519050615e4d81614060565b92915050565b600060208284031215615e6957615e6861402a565b5b6000615e7784828501615e3e565b91505092915050565b6000615e8b826141aa565b9150615e96836141aa565b925082615ea657615ea5614bc1565b5b828206905092915050565b615eba81615965565b82525050565b615ec9816157b7565b82525050565b6000608082019050615ee46000830187615eb1565b615ef16020830186615ec0565b615efe6040830185615eb1565b615f0b6060830184615eb1565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220f2801ff883f4c955822dc781dceb3b4e628474d7043d217fc33c796e757fd51064736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c536d6f6c4d6f6e737465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004534d4f4c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e736d6f6c6d6f6e73746572732e636f6d2f746f6b656e732f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): SmolMonsters
Arg [1] : symbol (string): SMOL
Arg [2] : baseTokenURI (string): https://api.smolmonsters.com/tokens/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 536d6f6c4d6f6e73746572730000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 534d4f4c00000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [8] : 68747470733a2f2f6170692e736d6f6c6d6f6e73746572732e636f6d2f746f6b
Arg [9] : 656e732f00000000000000000000000000000000000000000000000000000000
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.