ERC-721
Overview
Max Total Supply
538 MEGUMI
Holders
96
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MEGUMILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MegumiUnderground
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* @%%%*=: %@@@@@@% . @@@@@%%%*-. #@@@@@@# @@%%%@@@@%%#+-. ..#@@@@@%# @@%%%%%%%%%%@%#:-*@@@@@@@#. ..:::::::. @%%%%%%%%%%%@@@%%@@@@@@@@@@@%+: .-+#%@@@@@@@@@@@@@@%#+-..:. @@%%%%%%%%%#%@%@@@@@@@@@@@@@@@@*:#@@@@@@@@@@@@@@@@@@@@@@@#+*#*- %%%%%%%%%%%%:%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#- %%%%%%%%%###%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*. %%%%%%%%##**@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@- %#%%%%###**#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@+ %. .+****++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+ # =**+++-%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@- + =+++=++#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@% - =+===+=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@=-@@@%@@@@ : ++===+-@@@@@@@@@@@@@@@@@@@@@@@@@@#+++#@@@@@@@@@**@@@@@#: +@@@+@@@@. . =---:=+@@@@@@@@@@@@@@@@@@@@@@@@@*#:-%+@@@@@@@#+%@%#+- .-%@@@--@@@@ :...:---::=#@@@@@@@@@@@@@@#+@@@@@@@@@==:+*##@@@@@#==: +#*++*%@%.+@@@= :--:::-%@@@@@@@@@@@@@@%-+@@@@@@@@*-+%%- .%@%- -.*@@#- :%%@= . -------@@@@@@@@@@@@@@@*+:=@@@@@@@@=: == =@: +*: .%= . : --::::-%@#@@@@@@@@@@@@%- -@@@@@@@%%+. + ==: .::::::=@::@@@@@@@@@@@@@+ -+@@@@@%%%%%#%. . :::::::::=*. #@@@@@@@@@@@@%+:-@@@@%+-:: %=. ###*++-::. .@@@@@@@@@@@@@*=*@@@#=. =#+. :==- --=#%%= :@@@@@@@@@@@@@+@@%+. :*%#=. ..:: . .---: . -@@@@@@@@@@@@@@*- :*%%%#+: :=*#%%%%+-::. :::. :@@@@@@@%%@@@+. .-+%%%%%%+: :#%%%%*=:=#:-: . ..+: #@@%@@@@@@*. .:-*%#-.:=*+. ::*%%%+. :== = .- :##%#%@@%#*+: :-=#@#+: :-:. :%%%%**-..:= :. . := :=@@@@@@#%= .-+#%@@@@%+. :*%%%%%%+- - ...::..:+ :*@@#+#%@@@ :-*%@@@@@@@@#- :--=-:. : .: .. :**@@@%@#*+*@@+ :=**@@@@@@@@@%@+. . .:...... ..--.-+*+#@@@%%==*=+%@. .:.:%@@@@@@@@@@*- = --------. .::::+@*%%%%%*-:-*#%@%. . +%@@@@@@@@@%%+-=..:::*=-=- .::::::..:*#%%%%%::---=#@@@#=: :%%%@@@@@@@@@#*#--::. -##=--::... *%%%%*..:--=@@@@@@#*+=. +%+%@@@@@@@@%%*++-=-. %#*##-:..:: .%%%%%=..::=@@@@@@@@+.+#..=%+@@@@@@@+-+%@@%%+*:. :=---=*+..:-. =@%%%%::.:+@@@@@@@@@@%+#-::*-%@@@@@@@*==#@@%@@*: =+#%+..-%= .:.#@@@%%:-:*@@@@@@@@@@@@: .%@@@@@@@@#+#@@@@%- .... ....:*#%*-+- *@#-.-%%%@@@-:*@@@@@@@@@@@@@@: =@@@@@@@@@@@@@@@%+++*+::::.. ::::=##%*%##*%*=@*:-#%%@@=+@@@@@@@@@@@@@@@@- @@@@@@@@@@@@%@@#*####===+:.. =-::+%%#**##@#+*@+*+-*%@@+@@@@@@@@@@@@@@@@@@* #@@@@@@@@@@@@@%@*%@@@#*##=:: .. *===*@@%@@@@@@+=----%+*@@@@@@@@@@@@@@@@@@@@@@@= #@@@@@@@@@@@@@%+-+%@@#*##+=- ...... #+==*@@@@#@*@@==-:--+@#%@@@@@@@@@@@@@@@@@@@@@@@%-.*@@@@@@@@@@@@@@@@%+#@%#%%*++ .:..:: ..+@@@@@#+%@==+=--=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%#**. :::::- @@#*%@@@@%%%@+--=*#+=*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%##%= ..:-::-= */ pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: OperatorFilterer.sol pragma solidity ^0.8.13; abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } } // File: DefaultOperatorFilterer.sol pragma solidity ^0.8.13; abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: contracts/erc721a.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 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); } } // File: contracts/contract.sol pragma solidity ^0.8.4; contract MegumiUnderground is Ownable, ERC721A, DefaultOperatorFilterer { using Strings for uint256; string private baseTokenURI; uint64 public maxSupply = 555; uint256 public publicSaleCost = 0.02 ether; uint256 public holderCost = 0.001 ether; bool public publicSaleActive = false; bool public claimActive = false; IERC721 private bitringContract; mapping(uint256 => uint256) private claimLib; constructor() ERC721A("MEGUMI Underground", "MEGUMI"){ bitringContract = IERC721(0x36DCEBE5537C23D59945560E216C8aE902d0cD09); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 , "Invalid mint amount!"); require(totalMinted() + _mintAmount <= maxSupply, "Max supply exceeded!"); _; } // Holder Mint function holderMint( uint256[] calldata holderMintTokens_ ) external payable { uint256 quantity_ = holderMintTokens_.length; require(claimActive, "Claim is not Active"); require(quantity_ > 0, "You must mint at least 1"); require(msg.value >= holderCost * quantity_, "Insufficient funds!"); require( quantity_ <= (maxSupply - totalSupply()), "Not enough supply" ); require( !usedTokenIds(holderMintTokens_), "Token already used" ); for (uint256 i; i < holderMintTokens_.length; i++) { require( msg.sender == bitringContract.ownerOf(holderMintTokens_[i]), "Token not owned" ); } setUsedTokenIds(holderMintTokens_); _safeMint(msg.sender, quantity_); } ///Allows any address to mint when the public sale is open function publicMint(uint64 _mintAmount) public payable mintCompliance(_mintAmount) { require(publicSaleActive, "Public is not Active"); require(tx.origin == msg.sender); require(msg.value >= publicSaleCost * _mintAmount, "Insufficient funds!"); _safeMint(msg.sender, _mintAmount); } ///Allows owner of the collection to airdrop a token to any address function ownerMint(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner { _safeMint(_receiver, _mintAmount); } //@return token ids owned by an address in the collection function walletOfOwner(address _owner) external view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { if(exists(currentTokenId) == true) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } } currentTokenId++; } return ownedTokenIds; } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } //@return full url for passed in token id function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString())) : ""; } // Utilities function packBool( uint256 _packedBools, uint256 _boolIndex, bool _value ) public pure returns (uint256) { return _value ? _packedBools | (uint256(1) << _boolIndex) : _packedBools & ~(uint256(1) << _boolIndex); } function unPackBool(uint256 _packedBools, uint256 _boolIndex) internal pure returns (bool) { return (_packedBools >> _boolIndex) & uint256(1) == 1 ? true : false; } function setUsedTokenIds( uint256[] calldata holderMints ) public { uint256 cRow; uint256 cPackedBools = claimLib[0]; for (uint256 i; i < holderMints.length; i++) { (uint256 boolRow, uint256 boolColumn) = freeMintPosition( holderMints[i] ); if (boolRow != cRow) { claimLib[cRow] = cPackedBools; cRow = boolRow; cPackedBools = claimLib[boolRow]; } cPackedBools = packBool(cPackedBools, boolColumn, true); if (i + 1 == holderMints.length) { claimLib[cRow] = cPackedBools; } } } function usedTokenIds( uint256[] calldata holderMints ) private view returns (bool) { uint256 cRow; uint256 cPackedBools = claimLib[0]; uint256 unpackedBools; for (uint256 i; i < holderMints.length; i++) { (uint256 boolRow, uint256 boolColumn) = freeMintPosition( holderMints[i] ); if (boolRow != cRow) { if (unpackedBools > 0) return true; cRow = boolRow; cPackedBools = claimLib[boolRow]; unpackedBools = 0; } unpackedBools = unpackedBools | (cPackedBools & (uint256(1) << boolColumn)); if (i + 1 == holderMints.length) { if (unpackedBools > 0) return true; } } return false; } function usedTokenId(uint256 tokenId) public view returns (bool freeMintUsed) { (uint256 boolRow, uint256 boolColumn) = freeMintPosition(tokenId); uint256 packedBools = claimLib[boolRow]; freeMintUsed = (packedBools & (uint256(1) << boolColumn)) > 0 ? true : false; } function freeMintPosition(uint256 tokenId) internal pure returns (uint256 boolRow, uint256 boolColumn) { boolRow = (tokenId << 1) / 256; boolColumn = (tokenId << 1) % 256; } function preSalePosition(uint256 tokenId) internal pure returns (uint256 boolRow, uint256 boolColumn) { (boolRow, boolColumn) = freeMintPosition(tokenId); boolColumn++; } //@return amount an address has minted during all sales function numberMinted(address _owner) public view returns (uint256) { return _numberMinted(_owner); } //@return all NFT's minted including burned tokens function totalMinted() public view returns (uint256) { return _totalMinted(); } function exists(uint256 _tokenId) public view returns (bool) { return _exists(_tokenId); } //@return url for the nft metadata function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string calldata _URI) external onlyOwner { baseTokenURI = _URI; } function setClaimActive(bool _state) public onlyOwner { claimActive = _state; } function setPublicActive(bool _state) public onlyOwner { publicSaleActive = _state; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } /// Fallbacks receive() external payable { } fallback() external payable { } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holderCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"holderMintTokens_","type":"uint256[]"}],"name":"holderMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_packedBools","type":"uint256"},{"internalType":"uint256","name":"_boolIndex","type":"uint256"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"packBool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint64","name":"_mintAmount","type":"uint64"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleCost","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setClaimActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"holderMints","type":"uint256[]"}],"name":"setUsedTokenIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"usedTokenId","outputs":[{"internalType":"bool","name":"freeMintUsed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405261022b600a60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555066470de4df820000600b5566038d7ea4c68000600c556000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055503480156200008857600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601281526020017f4d4547554d4920556e64657267726f756e6400000000000000000000000000008152506040518060400160405280600681526020017f4d4547554d4900000000000000000000000000000000000000000000000000008152506200012c62000120620003ba60201b60201c565b620003c260201b60201c565b81600390816200013d919062000709565b5080600490816200014f919062000709565b50620001606200048660201b60201c565b600181905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200035d57801562000223576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001e992919062000835565b600060405180830381600087803b1580156200020457600080fd5b505af115801562000219573d6000803e3d6000fd5b505050506200035c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002dd576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002a392919062000835565b600060405180830381600087803b158015620002be57600080fd5b505af1158015620002d3573d6000803e3d6000fd5b505050506200035b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000326919062000862565b600060405180830381600087803b1580156200034157600080fd5b505af115801562000356573d6000803e3d6000fd5b505050505b5b5b50507336dcebe5537c23d59945560e216c8ae902d0cd09600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200087f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051157607f821691505b602082108103620005275762000526620004c9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000552565b6200059d868362000552565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005ea620005e4620005de84620005b5565b620005bf565b620005b5565b9050919050565b6000819050919050565b6200060683620005c9565b6200061e6200061582620005f1565b8484546200055f565b825550505050565b600090565b6200063562000626565b62000642818484620005fb565b505050565b5b818110156200066a576200065e6000826200062b565b60018101905062000648565b5050565b601f821115620006b95762000683816200052d565b6200068e8462000542565b810160208510156200069e578190505b620006b6620006ad8562000542565b83018262000647565b50505b505050565b600082821c905092915050565b6000620006de60001984600802620006be565b1980831691505092915050565b6000620006f98383620006cb565b9150826002028217905092915050565b62000714826200048f565b67ffffffffffffffff81111562000730576200072f6200049a565b5b6200073c8254620004f8565b620007498282856200066e565b600060209050601f8311600181146200078157600084156200076c578287015190505b620007788582620006eb565b865550620007e8565b601f19841662000791866200052d565b60005b82811015620007bb5784890151825560018201915060208501945060208101905062000794565b86831015620007db5784890151620007d7601f891682620006cb565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200081d82620007f0565b9050919050565b6200082f8162000810565b82525050565b60006040820190506200084c600083018562000824565b6200085b602083018462000824565b9392505050565b600060208201905062000879600083018462000824565b92915050565b614b91806200088f6000396000f3fe6080604052600436106102085760003560e01c806370a0823111610118578063c87b56dd116100a0578063dc33e6811161006f578063dc33e68114610767578063e61250c5146107a4578063e985e9c5146107e1578063f2fde38b1461081e578063fa926a9d146108475761020f565b8063c87b56dd146106ab578063d4a6a2fd146106e8578063d52c57e014610713578063d5abeb011461073c5761020f565b806395d89b41116100e757806395d89b41146105d8578063a22cb46514610603578063a2309ff81461062c578063b88d4fde14610657578063bc8893b4146106805761020f565b806370a082311461051e57806373417b091461055b5780638aca408c146105845780638da5cb5b146105ad5761020f565b80633ccfd60b1161019b5780634f558e791161016a5780634f558e791461042257806355f804b31461045f5780636352211e1461048857806369d9dd4f146104c55780636afcb7b0146105025761020f565b80633ccfd60b1461037a57806342842e0e14610391578063438b6300146103ba578063453afb0f146103f75761020f565b806318160ddd116101d757806318160ddd146102df57806318ff321b1461030a57806323b872dd14610326578063343c82d31461034f5761020f565b806301ffc9a71461021157806306fdde031461024e578063081812fc14610279578063095ea7b3146102b65761020f565b3661020f57005b005b34801561021d57600080fd5b506102386004803603810190610233919061362c565b610870565b6040516102459190613674565b60405180910390f35b34801561025a57600080fd5b50610263610952565b604051610270919061371f565b60405180910390f35b34801561028557600080fd5b506102a0600480360381019061029b9190613777565b6109e4565b6040516102ad91906137e5565b60405180910390f35b3480156102c257600080fd5b506102dd60048036038101906102d8919061382c565b610a60565b005b3480156102eb57600080fd5b506102f4610b6a565b604051610301919061387b565b60405180910390f35b610324600480360381019061031f91906138fb565b610b81565b005b34801561033257600080fd5b5061034d60048036038101906103489190613948565b610e87565b005b34801561035b57600080fd5b50610364611069565b604051610371919061387b565b60405180910390f35b34801561038657600080fd5b5061038f61106f565b005b34801561039d57600080fd5b506103b860048036038101906103b39190613948565b61116b565b005b3480156103c657600080fd5b506103e160048036038101906103dc919061399b565b61134d565b6040516103ee9190613a86565b60405180910390f35b34801561040357600080fd5b5061040c61148a565b604051610419919061387b565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613777565b611490565b6040516104569190613674565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613afe565b6114a2565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613777565b611534565b6040516104bc91906137e5565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e79190613777565b61154a565b6040516104f99190613674565b60405180910390f35b61051c60048036038101906105179190613b8b565b611596565b005b34801561052a57600080fd5b506105456004803603810190610540919061399b565b611752565b604051610552919061387b565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190613be4565b611821565b005b34801561059057600080fd5b506105ab60048036038101906105a69190613be4565b6118ba565b005b3480156105b957600080fd5b506105c2611953565b6040516105cf91906137e5565b60405180910390f35b3480156105e457600080fd5b506105ed61197c565b6040516105fa919061371f565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190613c11565b611a0e565b005b34801561063857600080fd5b50610641611b85565b60405161064e919061387b565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190613d81565b611b94565b005b34801561068c57600080fd5b50610695611d79565b6040516106a29190613674565b60405180910390f35b3480156106b757600080fd5b506106d260048036038101906106cd9190613777565b611d8c565b6040516106df919061371f565b60405180910390f35b3480156106f457600080fd5b506106fd611e33565b60405161070a9190613674565b60405180910390f35b34801561071f57600080fd5b5061073a60048036038101906107359190613e04565b611e46565b005b34801561074857600080fd5b50610751611f8a565b60405161075e9190613e53565b60405180910390f35b34801561077357600080fd5b5061078e6004803603810190610789919061399b565b611fa4565b60405161079b919061387b565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c69190613e6e565b611fb6565b6040516107d8919061387b565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613ec1565b611fdb565b6040516108159190613674565b60405180910390f35b34801561082a57600080fd5b506108456004803603810190610840919061399b565b61206f565b005b34801561085357600080fd5b5061086e600480360381019061086991906138fb565b612166565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094b575061094a82612248565b5b9050919050565b60606003805461096190613f30565b80601f016020809104026020016040519081016040528092919081815260200182805461098d90613f30565b80156109da5780601f106109af576101008083540402835291602001916109da565b820191906000526020600020905b8154815290600101906020018083116109bd57829003601f168201915b5050505050905090565b60006109ef826122b2565b610a25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6b82611534565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ad2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af1612300565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b235750610b2181610b1c612300565b611fdb565b155b15610b5a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b65838383612308565b505050565b6000610b746123ba565b6002546001540303905090565b6000828290509050600d60019054906101000a900460ff16610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90613fad565b60405180910390fd5b60008111610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1290614019565b60405180910390fd5b80600c54610c299190614068565b341015610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c62906140f6565b60405180910390fd5b610c73610b6a565b600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff16610c9e9190614116565b811115610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790614196565b60405180910390fd5b610cea83836123c3565b15610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190614202565b60405180910390fd5b60005b83839050811015610e6d57600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858584818110610d8957610d88614222565b5b905060200201356040518263ffffffff1660e01b8152600401610dac919061387b565b602060405180830381865afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ded9190614266565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e51906142df565b60405180910390fd5b8080610e65906142ff565b915050610d2d565b50610e788383612166565b610e8233826124b1565b505050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611057573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ef957610ef48484846124cf565b611063565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f42929190614347565b602060405180830381865afa158015610f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f839190614385565b801561101557506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610fd3929190614347565b602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190614385565b5b61105657336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161104d91906137e5565b60405180910390fd5b5b6110628484846124cf565b5b50505050565b600c5481565b611077612300565b73ffffffffffffffffffffffffffffffffffffffff16611095611953565b73ffffffffffffffffffffffffffffffffffffffff16146110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e2906143fe565b60405180910390fd5b60006110f5611953565b73ffffffffffffffffffffffffffffffffffffffff16476040516111189061444f565b60006040518083038185875af1925050503d8060008114611155576040519150601f19603f3d011682016040523d82523d6000602084013e61115a565b606091505b505090508061116857600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561133b573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111dd576111d88484846124df565b611347565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611226929190614347565b602060405180830381865afa158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190614385565b80156112f957506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016112b7929190614347565b602060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f89190614385565b5b61133a57336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161133191906137e5565b60405180910390fd5b5b6113468484846124df565b5b50505050565b6060600061135a83611752565b905060008167ffffffffffffffff81111561137857611377613c56565b5b6040519080825280602002602001820160405280156113a65781602001602082028036833780820191505090505b50905060006001905060005b83811080156113e15750600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff168211155b1561147e57600115156113f383611490565b15150361146b57600061140583611534565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611469578284838151811061144e5761144d614222565b5b6020026020010181815250508180611465906142ff565b9250505b505b8180611476906142ff565b9250506113b2565b82945050505050919050565b600b5481565b600061149b826122b2565b9050919050565b6114aa612300565b73ffffffffffffffffffffffffffffffffffffffff166114c8611953565b73ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906143fe565b60405180910390fd5b81816009918261152f92919061461b565b505050565b600061153f826124ff565b600001519050919050565b60008060006115588461278e565b915091506000600e60008481526020019081526020016000205490506000826001901b82161161158957600061158c565b60015b9350505050919050565b8067ffffffffffffffff16600081116115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90614737565b60405180910390fd5b600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff168161160e611b85565b6116189190614757565b1115611659576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611650906147d7565b60405180910390fd5b600d60009054906101000a900460ff166116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90614843565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116e057600080fd5b8167ffffffffffffffff16600b546116f89190614068565b34101561173a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611731906140f6565b60405180910390fd5b61174e338367ffffffffffffffff166124b1565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117b9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611829612300565b73ffffffffffffffffffffffffffffffffffffffff16611847611953565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611894906143fe565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6118c2612300565b73ffffffffffffffffffffffffffffffffffffffff166118e0611953565b73ffffffffffffffffffffffffffffffffffffffff1614611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d906143fe565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461198b90613f30565b80601f01602080910402602001604051908101604052809291908181526020018280546119b790613f30565b8015611a045780601f106119d957610100808354040283529160200191611a04565b820191906000526020600020905b8154815290600101906020018083116119e757829003601f168201915b5050505050905090565b611a16612300565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a7a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000611a87612300565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b34612300565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b799190613674565b60405180910390a35050565b6000611b8f6127be565b905090565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d65573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c0757611c02858585856127d1565b611d72565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611c50929190614347565b602060405180830381865afa158015611c6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c919190614385565b8015611d2357506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ce1929190614347565b602060405180830381865afa158015611cfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d229190614385565b5b611d6457336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d5b91906137e5565b60405180910390fd5b5b611d71858585856127d1565b5b5050505050565b600d60009054906101000a900460ff1681565b6060611d97826122b2565b611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcd906148d5565b60405180910390fd5b6000611de061284d565b90506000815111611e005760405180602001604052806000815250611e2b565b80611e0a846128df565b604051602001611e1b929190614931565b6040516020818303038152906040525b915050919050565b600d60019054906101000a900460ff1681565b8160008111611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8190614737565b60405180910390fd5b600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681611eb4611b85565b611ebe9190614757565b1115611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef6906147d7565b60405180910390fd5b611f07612300565b73ffffffffffffffffffffffffffffffffffffffff16611f25611953565b73ffffffffffffffffffffffffffffffffffffffff1614611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f72906143fe565b60405180910390fd5b611f8582846124b1565b505050565b600a60009054906101000a900467ffffffffffffffff1681565b6000611faf82612a3f565b9050919050565b600081611fca57826001901b198416611fd2565b826001901b84175b90509392505050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612077612300565b73ffffffffffffffffffffffffffffffffffffffff16612095611953565b73ffffffffffffffffffffffffffffffffffffffff16146120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e2906143fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361215a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612151906149c7565b60405180910390fd5b61216381612aa9565b50565b600080600e600080815260200190815260200160002054905060005b84849050811015612241576000806121b28787858181106121a6576121a5614222565b5b9050602002013561278e565b915091508482146121ef5783600e600087815260200190815260200160002081905550819450600e60008381526020019081526020016000205493505b6121fb84826001611fb6565b93508686905060018461220e9190614757565b0361222c5783600e6000878152602001908152602001600020819055505b50508080612239906142ff565b915050612182565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816122bd6123ba565b111580156122cc575060015482105b80156122f9575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000806000600e60008081526020019081526020016000205490506000805b868690508110156124a25760008061241289898581811061240657612405614222565b5b9050602002013561278e565b9150915085821461245357600084111561243557600196505050505050506124ab565b819550600e6000838152602001908152602001600020549450600093505b806001901b8516841793508888905060018461246f9190614757565b0361248d57600084111561248c57600196505050505050506124ab565b5b5050808061249a906142ff565b9150506123e2565b50600093505050505b92915050565b6124cb828260405180602001604052806000815250612b6d565b5050565b6124da838383612b7f565b505050565b6124fa83838360405180602001604052806000815250611b94565b505050565b61250761357d565b6000829050806125156123ba565b11158015612524575060015481105b15612757576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161275557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612639578092505050612789565b5b60011561275457818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461274f578092505050612789565b61263a565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600080610100600184901b6127a39190614a16565b9150610100600184901b6127b79190614a47565b9050915091565b60006127c86123ba565b60015403905090565b6127dc848484612b7f565b6127fb8373ffffffffffffffffffffffffffffffffffffffff16613033565b8015612810575061280e84848484613056565b155b15612847576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606009805461285c90613f30565b80601f016020809104026020016040519081016040528092919081815260200182805461288890613f30565b80156128d55780601f106128aa576101008083540402835291602001916128d5565b820191906000526020600020905b8154815290600101906020018083116128b857829003601f168201915b5050505050905090565b606060008203612926576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a3a565b600082905060005b60008214612958578080612941906142ff565b915050600a826129519190614a16565b915061292e565b60008167ffffffffffffffff81111561297457612973613c56565b5b6040519080825280601f01601f1916602001820160405280156129a65781602001600182028036833780820191505090505b5090505b60008514612a33576001826129bf9190614116565b9150600a856129ce9190614a47565b60306129da9190614757565b60f81b8183815181106129f0576129ef614222565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a2c9190614a16565b94506129aa565b8093505050505b919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b7a83838360016131a6565b505050565b6000612b8a826124ff565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612bf5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c16612300565b73ffffffffffffffffffffffffffffffffffffffff161480612c455750612c4485612c3f612300565b611fdb565b5b80612c8a5750612c53612300565b73ffffffffffffffffffffffffffffffffffffffff16612c72846109e4565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612cc3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d29576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d368585856001613571565b612d4260008487612308565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612fc1576001548214612fc057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461302c8585856001613577565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261307c612300565b8786866040518563ffffffff1660e01b815260040161309e9493929190614acd565b6020604051808303816000875af19250505080156130da57506040513d601f19601f820116820180604052508101906130d79190614b2e565b60015b613153573d806000811461310a576040519150601f19603f3d011682016040523d82523d6000602084013e61310f565b606091505b50600081510361314b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613213576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361324d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61325a6000868387613571565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561342457506134238773ffffffffffffffffffffffffffffffffffffffff16613033565b5b156134e9575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134996000888480600101955088613056565b6134cf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361342a5782600154146134e457600080fd5b613554565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036134ea575b81600181905550505061356a6000868387613577565b5050505050565b50505050565b50505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613609816135d4565b811461361457600080fd5b50565b60008135905061362681613600565b92915050565b600060208284031215613642576136416135ca565b5b600061365084828501613617565b91505092915050565b60008115159050919050565b61366e81613659565b82525050565b60006020820190506136896000830184613665565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136c95780820151818401526020810190506136ae565b60008484015250505050565b6000601f19601f8301169050919050565b60006136f18261368f565b6136fb818561369a565b935061370b8185602086016136ab565b613714816136d5565b840191505092915050565b6000602082019050818103600083015261373981846136e6565b905092915050565b6000819050919050565b61375481613741565b811461375f57600080fd5b50565b6000813590506137718161374b565b92915050565b60006020828403121561378d5761378c6135ca565b5b600061379b84828501613762565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137cf826137a4565b9050919050565b6137df816137c4565b82525050565b60006020820190506137fa60008301846137d6565b92915050565b613809816137c4565b811461381457600080fd5b50565b60008135905061382681613800565b92915050565b60008060408385031215613843576138426135ca565b5b600061385185828601613817565b925050602061386285828601613762565b9150509250929050565b61387581613741565b82525050565b6000602082019050613890600083018461386c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138bb576138ba613896565b5b8235905067ffffffffffffffff8111156138d8576138d761389b565b5b6020830191508360208202830111156138f4576138f36138a0565b5b9250929050565b60008060208385031215613912576139116135ca565b5b600083013567ffffffffffffffff8111156139305761392f6135cf565b5b61393c858286016138a5565b92509250509250929050565b600080600060608486031215613961576139606135ca565b5b600061396f86828701613817565b935050602061398086828701613817565b925050604061399186828701613762565b9150509250925092565b6000602082840312156139b1576139b06135ca565b5b60006139bf84828501613817565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139fd81613741565b82525050565b6000613a0f83836139f4565b60208301905092915050565b6000602082019050919050565b6000613a33826139c8565b613a3d81856139d3565b9350613a48836139e4565b8060005b83811015613a79578151613a608882613a03565b9750613a6b83613a1b565b925050600181019050613a4c565b5085935050505092915050565b60006020820190508181036000830152613aa08184613a28565b905092915050565b60008083601f840112613abe57613abd613896565b5b8235905067ffffffffffffffff811115613adb57613ada61389b565b5b602083019150836001820283011115613af757613af66138a0565b5b9250929050565b60008060208385031215613b1557613b146135ca565b5b600083013567ffffffffffffffff811115613b3357613b326135cf565b5b613b3f85828601613aa8565b92509250509250929050565b600067ffffffffffffffff82169050919050565b613b6881613b4b565b8114613b7357600080fd5b50565b600081359050613b8581613b5f565b92915050565b600060208284031215613ba157613ba06135ca565b5b6000613baf84828501613b76565b91505092915050565b613bc181613659565b8114613bcc57600080fd5b50565b600081359050613bde81613bb8565b92915050565b600060208284031215613bfa57613bf96135ca565b5b6000613c0884828501613bcf565b91505092915050565b60008060408385031215613c2857613c276135ca565b5b6000613c3685828601613817565b9250506020613c4785828601613bcf565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c8e826136d5565b810181811067ffffffffffffffff82111715613cad57613cac613c56565b5b80604052505050565b6000613cc06135c0565b9050613ccc8282613c85565b919050565b600067ffffffffffffffff821115613cec57613ceb613c56565b5b613cf5826136d5565b9050602081019050919050565b82818337600083830152505050565b6000613d24613d1f84613cd1565b613cb6565b905082815260208101848484011115613d4057613d3f613c51565b5b613d4b848285613d02565b509392505050565b600082601f830112613d6857613d67613896565b5b8135613d78848260208601613d11565b91505092915050565b60008060008060808587031215613d9b57613d9a6135ca565b5b6000613da987828801613817565b9450506020613dba87828801613817565b9350506040613dcb87828801613762565b925050606085013567ffffffffffffffff811115613dec57613deb6135cf565b5b613df887828801613d53565b91505092959194509250565b60008060408385031215613e1b57613e1a6135ca565b5b6000613e2985828601613762565b9250506020613e3a85828601613817565b9150509250929050565b613e4d81613b4b565b82525050565b6000602082019050613e686000830184613e44565b92915050565b600080600060608486031215613e8757613e866135ca565b5b6000613e9586828701613762565b9350506020613ea686828701613762565b9250506040613eb786828701613bcf565b9150509250925092565b60008060408385031215613ed857613ed76135ca565b5b6000613ee685828601613817565b9250506020613ef785828601613817565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f4857607f821691505b602082108103613f5b57613f5a613f01565b5b50919050565b7f436c61696d206973206e6f742041637469766500000000000000000000000000600082015250565b6000613f9760138361369a565b9150613fa282613f61565b602082019050919050565b60006020820190508181036000830152613fc681613f8a565b9050919050565b7f596f75206d757374206d696e74206174206c6561737420310000000000000000600082015250565b600061400360188361369a565b915061400e82613fcd565b602082019050919050565b6000602082019050818103600083015261403281613ff6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061407382613741565b915061407e83613741565b925082820261408c81613741565b915082820484148315176140a3576140a2614039565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006140e060138361369a565b91506140eb826140aa565b602082019050919050565b6000602082019050818103600083015261410f816140d3565b9050919050565b600061412182613741565b915061412c83613741565b925082820390508181111561414457614143614039565b5b92915050565b7f4e6f7420656e6f75676820737570706c79000000000000000000000000000000600082015250565b600061418060118361369a565b915061418b8261414a565b602082019050919050565b600060208201905081810360008301526141af81614173565b9050919050565b7f546f6b656e20616c726561647920757365640000000000000000000000000000600082015250565b60006141ec60128361369a565b91506141f7826141b6565b602082019050919050565b6000602082019050818103600083015261421b816141df565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061426081613800565b92915050565b60006020828403121561427c5761427b6135ca565b5b600061428a84828501614251565b91505092915050565b7f546f6b656e206e6f74206f776e65640000000000000000000000000000000000600082015250565b60006142c9600f8361369a565b91506142d482614293565b602082019050919050565b600060208201905081810360008301526142f8816142bc565b9050919050565b600061430a82613741565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361433c5761433b614039565b5b600182019050919050565b600060408201905061435c60008301856137d6565b61436960208301846137d6565b9392505050565b60008151905061437f81613bb8565b92915050565b60006020828403121561439b5761439a6135ca565b5b60006143a984828501614370565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143e860208361369a565b91506143f3826143b2565b602082019050919050565b60006020820190508181036000830152614417816143db565b9050919050565b600081905092915050565b50565b600061443960008361441e565b915061444482614429565b600082019050919050565b600061445a8261442c565b9150819050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144d17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614494565b6144db8683614494565b95508019841693508086168417925050509392505050565b6000819050919050565b600061451861451361450e84613741565b6144f3565b613741565b9050919050565b6000819050919050565b614532836144fd565b61454661453e8261451f565b8484546144a1565b825550505050565b600090565b61455b61454e565b614566818484614529565b505050565b5b8181101561458a5761457f600082614553565b60018101905061456c565b5050565b601f8211156145cf576145a08161446f565b6145a984614484565b810160208510156145b8578190505b6145cc6145c485614484565b83018261456b565b50505b505050565b600082821c905092915050565b60006145f2600019846008026145d4565b1980831691505092915050565b600061460b83836145e1565b9150826002028217905092915050565b6146258383614464565b67ffffffffffffffff81111561463e5761463d613c56565b5b6146488254613f30565b61465382828561458e565b6000601f8311600181146146825760008415614670578287013590505b61467a85826145ff565b8655506146e2565b601f1984166146908661446f565b60005b828110156146b857848901358255600182019150602085019450602081019050614693565b868310156146d557848901356146d1601f8916826145e1565b8355505b6001600288020188555050505b50505050505050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061472160148361369a565b915061472c826146eb565b602082019050919050565b6000602082019050818103600083015261475081614714565b9050919050565b600061476282613741565b915061476d83613741565b925082820190508082111561478557614784614039565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006147c160148361369a565b91506147cc8261478b565b602082019050919050565b600060208201905081810360008301526147f0816147b4565b9050919050565b7f5075626c6963206973206e6f7420416374697665000000000000000000000000600082015250565b600061482d60148361369a565b9150614838826147f7565b602082019050919050565b6000602082019050818103600083015261485c81614820565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148bf602f8361369a565b91506148ca82614863565b604082019050919050565b600060208201905081810360008301526148ee816148b2565b9050919050565b600081905092915050565b600061490b8261368f565b61491581856148f5565b93506149258185602086016136ab565b80840191505092915050565b600061493d8285614900565b91506149498284614900565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149b160268361369a565b91506149bc82614955565b604082019050919050565b600060208201905081810360008301526149e0816149a4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a2182613741565b9150614a2c83613741565b925082614a3c57614a3b6149e7565b5b828204905092915050565b6000614a5282613741565b9150614a5d83613741565b925082614a6d57614a6c6149e7565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614a9f82614a78565b614aa98185614a83565b9350614ab98185602086016136ab565b614ac2816136d5565b840191505092915050565b6000608082019050614ae260008301876137d6565b614aef60208301866137d6565b614afc604083018561386c565b8181036060830152614b0e8184614a94565b905095945050505050565b600081519050614b2881613600565b92915050565b600060208284031215614b4457614b436135ca565b5b6000614b5284828501614b19565b9150509291505056fea26469706673582212208206e77cdbac5cd0567f2f6651eacf61f48b9b1b32f7b447c316e737330af7c864736f6c63430008120033
Deployed Bytecode
0x6080604052600436106102085760003560e01c806370a0823111610118578063c87b56dd116100a0578063dc33e6811161006f578063dc33e68114610767578063e61250c5146107a4578063e985e9c5146107e1578063f2fde38b1461081e578063fa926a9d146108475761020f565b8063c87b56dd146106ab578063d4a6a2fd146106e8578063d52c57e014610713578063d5abeb011461073c5761020f565b806395d89b41116100e757806395d89b41146105d8578063a22cb46514610603578063a2309ff81461062c578063b88d4fde14610657578063bc8893b4146106805761020f565b806370a082311461051e57806373417b091461055b5780638aca408c146105845780638da5cb5b146105ad5761020f565b80633ccfd60b1161019b5780634f558e791161016a5780634f558e791461042257806355f804b31461045f5780636352211e1461048857806369d9dd4f146104c55780636afcb7b0146105025761020f565b80633ccfd60b1461037a57806342842e0e14610391578063438b6300146103ba578063453afb0f146103f75761020f565b806318160ddd116101d757806318160ddd146102df57806318ff321b1461030a57806323b872dd14610326578063343c82d31461034f5761020f565b806301ffc9a71461021157806306fdde031461024e578063081812fc14610279578063095ea7b3146102b65761020f565b3661020f57005b005b34801561021d57600080fd5b506102386004803603810190610233919061362c565b610870565b6040516102459190613674565b60405180910390f35b34801561025a57600080fd5b50610263610952565b604051610270919061371f565b60405180910390f35b34801561028557600080fd5b506102a0600480360381019061029b9190613777565b6109e4565b6040516102ad91906137e5565b60405180910390f35b3480156102c257600080fd5b506102dd60048036038101906102d8919061382c565b610a60565b005b3480156102eb57600080fd5b506102f4610b6a565b604051610301919061387b565b60405180910390f35b610324600480360381019061031f91906138fb565b610b81565b005b34801561033257600080fd5b5061034d60048036038101906103489190613948565b610e87565b005b34801561035b57600080fd5b50610364611069565b604051610371919061387b565b60405180910390f35b34801561038657600080fd5b5061038f61106f565b005b34801561039d57600080fd5b506103b860048036038101906103b39190613948565b61116b565b005b3480156103c657600080fd5b506103e160048036038101906103dc919061399b565b61134d565b6040516103ee9190613a86565b60405180910390f35b34801561040357600080fd5b5061040c61148a565b604051610419919061387b565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613777565b611490565b6040516104569190613674565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613afe565b6114a2565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613777565b611534565b6040516104bc91906137e5565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e79190613777565b61154a565b6040516104f99190613674565b60405180910390f35b61051c60048036038101906105179190613b8b565b611596565b005b34801561052a57600080fd5b506105456004803603810190610540919061399b565b611752565b604051610552919061387b565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190613be4565b611821565b005b34801561059057600080fd5b506105ab60048036038101906105a69190613be4565b6118ba565b005b3480156105b957600080fd5b506105c2611953565b6040516105cf91906137e5565b60405180910390f35b3480156105e457600080fd5b506105ed61197c565b6040516105fa919061371f565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190613c11565b611a0e565b005b34801561063857600080fd5b50610641611b85565b60405161064e919061387b565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190613d81565b611b94565b005b34801561068c57600080fd5b50610695611d79565b6040516106a29190613674565b60405180910390f35b3480156106b757600080fd5b506106d260048036038101906106cd9190613777565b611d8c565b6040516106df919061371f565b60405180910390f35b3480156106f457600080fd5b506106fd611e33565b60405161070a9190613674565b60405180910390f35b34801561071f57600080fd5b5061073a60048036038101906107359190613e04565b611e46565b005b34801561074857600080fd5b50610751611f8a565b60405161075e9190613e53565b60405180910390f35b34801561077357600080fd5b5061078e6004803603810190610789919061399b565b611fa4565b60405161079b919061387b565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c69190613e6e565b611fb6565b6040516107d8919061387b565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613ec1565b611fdb565b6040516108159190613674565b60405180910390f35b34801561082a57600080fd5b506108456004803603810190610840919061399b565b61206f565b005b34801561085357600080fd5b5061086e600480360381019061086991906138fb565b612166565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094b575061094a82612248565b5b9050919050565b60606003805461096190613f30565b80601f016020809104026020016040519081016040528092919081815260200182805461098d90613f30565b80156109da5780601f106109af576101008083540402835291602001916109da565b820191906000526020600020905b8154815290600101906020018083116109bd57829003601f168201915b5050505050905090565b60006109ef826122b2565b610a25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6b82611534565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ad2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af1612300565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b235750610b2181610b1c612300565b611fdb565b155b15610b5a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b65838383612308565b505050565b6000610b746123ba565b6002546001540303905090565b6000828290509050600d60019054906101000a900460ff16610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90613fad565b60405180910390fd5b60008111610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1290614019565b60405180910390fd5b80600c54610c299190614068565b341015610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c62906140f6565b60405180910390fd5b610c73610b6a565b600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff16610c9e9190614116565b811115610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790614196565b60405180910390fd5b610cea83836123c3565b15610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190614202565b60405180910390fd5b60005b83839050811015610e6d57600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858584818110610d8957610d88614222565b5b905060200201356040518263ffffffff1660e01b8152600401610dac919061387b565b602060405180830381865afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ded9190614266565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e51906142df565b60405180910390fd5b8080610e65906142ff565b915050610d2d565b50610e788383612166565b610e8233826124b1565b505050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611057573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ef957610ef48484846124cf565b611063565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f42929190614347565b602060405180830381865afa158015610f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f839190614385565b801561101557506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610fd3929190614347565b602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190614385565b5b61105657336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161104d91906137e5565b60405180910390fd5b5b6110628484846124cf565b5b50505050565b600c5481565b611077612300565b73ffffffffffffffffffffffffffffffffffffffff16611095611953565b73ffffffffffffffffffffffffffffffffffffffff16146110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e2906143fe565b60405180910390fd5b60006110f5611953565b73ffffffffffffffffffffffffffffffffffffffff16476040516111189061444f565b60006040518083038185875af1925050503d8060008114611155576040519150601f19603f3d011682016040523d82523d6000602084013e61115a565b606091505b505090508061116857600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561133b573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111dd576111d88484846124df565b611347565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611226929190614347565b602060405180830381865afa158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190614385565b80156112f957506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016112b7929190614347565b602060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f89190614385565b5b61133a57336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161133191906137e5565b60405180910390fd5b5b6113468484846124df565b5b50505050565b6060600061135a83611752565b905060008167ffffffffffffffff81111561137857611377613c56565b5b6040519080825280602002602001820160405280156113a65781602001602082028036833780820191505090505b50905060006001905060005b83811080156113e15750600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff168211155b1561147e57600115156113f383611490565b15150361146b57600061140583611534565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611469578284838151811061144e5761144d614222565b5b6020026020010181815250508180611465906142ff565b9250505b505b8180611476906142ff565b9250506113b2565b82945050505050919050565b600b5481565b600061149b826122b2565b9050919050565b6114aa612300565b73ffffffffffffffffffffffffffffffffffffffff166114c8611953565b73ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906143fe565b60405180910390fd5b81816009918261152f92919061461b565b505050565b600061153f826124ff565b600001519050919050565b60008060006115588461278e565b915091506000600e60008481526020019081526020016000205490506000826001901b82161161158957600061158c565b60015b9350505050919050565b8067ffffffffffffffff16600081116115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90614737565b60405180910390fd5b600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff168161160e611b85565b6116189190614757565b1115611659576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611650906147d7565b60405180910390fd5b600d60009054906101000a900460ff166116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90614843565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116e057600080fd5b8167ffffffffffffffff16600b546116f89190614068565b34101561173a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611731906140f6565b60405180910390fd5b61174e338367ffffffffffffffff166124b1565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117b9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611829612300565b73ffffffffffffffffffffffffffffffffffffffff16611847611953565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611894906143fe565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b6118c2612300565b73ffffffffffffffffffffffffffffffffffffffff166118e0611953565b73ffffffffffffffffffffffffffffffffffffffff1614611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d906143fe565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461198b90613f30565b80601f01602080910402602001604051908101604052809291908181526020018280546119b790613f30565b8015611a045780601f106119d957610100808354040283529160200191611a04565b820191906000526020600020905b8154815290600101906020018083116119e757829003601f168201915b5050505050905090565b611a16612300565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a7a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000611a87612300565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b34612300565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b799190613674565b60405180910390a35050565b6000611b8f6127be565b905090565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d65573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c0757611c02858585856127d1565b611d72565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611c50929190614347565b602060405180830381865afa158015611c6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c919190614385565b8015611d2357506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ce1929190614347565b602060405180830381865afa158015611cfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d229190614385565b5b611d6457336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d5b91906137e5565b60405180910390fd5b5b611d71858585856127d1565b5b5050505050565b600d60009054906101000a900460ff1681565b6060611d97826122b2565b611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcd906148d5565b60405180910390fd5b6000611de061284d565b90506000815111611e005760405180602001604052806000815250611e2b565b80611e0a846128df565b604051602001611e1b929190614931565b6040516020818303038152906040525b915050919050565b600d60019054906101000a900460ff1681565b8160008111611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8190614737565b60405180910390fd5b600a60009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681611eb4611b85565b611ebe9190614757565b1115611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef6906147d7565b60405180910390fd5b611f07612300565b73ffffffffffffffffffffffffffffffffffffffff16611f25611953565b73ffffffffffffffffffffffffffffffffffffffff1614611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f72906143fe565b60405180910390fd5b611f8582846124b1565b505050565b600a60009054906101000a900467ffffffffffffffff1681565b6000611faf82612a3f565b9050919050565b600081611fca57826001901b198416611fd2565b826001901b84175b90509392505050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612077612300565b73ffffffffffffffffffffffffffffffffffffffff16612095611953565b73ffffffffffffffffffffffffffffffffffffffff16146120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e2906143fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361215a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612151906149c7565b60405180910390fd5b61216381612aa9565b50565b600080600e600080815260200190815260200160002054905060005b84849050811015612241576000806121b28787858181106121a6576121a5614222565b5b9050602002013561278e565b915091508482146121ef5783600e600087815260200190815260200160002081905550819450600e60008381526020019081526020016000205493505b6121fb84826001611fb6565b93508686905060018461220e9190614757565b0361222c5783600e6000878152602001908152602001600020819055505b50508080612239906142ff565b915050612182565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816122bd6123ba565b111580156122cc575060015482105b80156122f9575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000806000600e60008081526020019081526020016000205490506000805b868690508110156124a25760008061241289898581811061240657612405614222565b5b9050602002013561278e565b9150915085821461245357600084111561243557600196505050505050506124ab565b819550600e6000838152602001908152602001600020549450600093505b806001901b8516841793508888905060018461246f9190614757565b0361248d57600084111561248c57600196505050505050506124ab565b5b5050808061249a906142ff565b9150506123e2565b50600093505050505b92915050565b6124cb828260405180602001604052806000815250612b6d565b5050565b6124da838383612b7f565b505050565b6124fa83838360405180602001604052806000815250611b94565b505050565b61250761357d565b6000829050806125156123ba565b11158015612524575060015481105b15612757576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161275557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612639578092505050612789565b5b60011561275457818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461274f578092505050612789565b61263a565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600080610100600184901b6127a39190614a16565b9150610100600184901b6127b79190614a47565b9050915091565b60006127c86123ba565b60015403905090565b6127dc848484612b7f565b6127fb8373ffffffffffffffffffffffffffffffffffffffff16613033565b8015612810575061280e84848484613056565b155b15612847576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606009805461285c90613f30565b80601f016020809104026020016040519081016040528092919081815260200182805461288890613f30565b80156128d55780601f106128aa576101008083540402835291602001916128d5565b820191906000526020600020905b8154815290600101906020018083116128b857829003601f168201915b5050505050905090565b606060008203612926576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a3a565b600082905060005b60008214612958578080612941906142ff565b915050600a826129519190614a16565b915061292e565b60008167ffffffffffffffff81111561297457612973613c56565b5b6040519080825280601f01601f1916602001820160405280156129a65781602001600182028036833780820191505090505b5090505b60008514612a33576001826129bf9190614116565b9150600a856129ce9190614a47565b60306129da9190614757565b60f81b8183815181106129f0576129ef614222565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a2c9190614a16565b94506129aa565b8093505050505b919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b7a83838360016131a6565b505050565b6000612b8a826124ff565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612bf5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c16612300565b73ffffffffffffffffffffffffffffffffffffffff161480612c455750612c4485612c3f612300565b611fdb565b5b80612c8a5750612c53612300565b73ffffffffffffffffffffffffffffffffffffffff16612c72846109e4565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612cc3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d29576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d368585856001613571565b612d4260008487612308565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612fc1576001548214612fc057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461302c8585856001613577565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261307c612300565b8786866040518563ffffffff1660e01b815260040161309e9493929190614acd565b6020604051808303816000875af19250505080156130da57506040513d601f19601f820116820180604052508101906130d79190614b2e565b60015b613153573d806000811461310a576040519150601f19603f3d011682016040523d82523d6000602084013e61310f565b606091505b50600081510361314b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613213576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361324d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61325a6000868387613571565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561342457506134238773ffffffffffffffffffffffffffffffffffffffff16613033565b5b156134e9575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134996000888480600101955088613056565b6134cf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361342a5782600154146134e457600080fd5b613554565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036134ea575b81600181905550505061356a6000868387613577565b5050505050565b50505050565b50505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613609816135d4565b811461361457600080fd5b50565b60008135905061362681613600565b92915050565b600060208284031215613642576136416135ca565b5b600061365084828501613617565b91505092915050565b60008115159050919050565b61366e81613659565b82525050565b60006020820190506136896000830184613665565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136c95780820151818401526020810190506136ae565b60008484015250505050565b6000601f19601f8301169050919050565b60006136f18261368f565b6136fb818561369a565b935061370b8185602086016136ab565b613714816136d5565b840191505092915050565b6000602082019050818103600083015261373981846136e6565b905092915050565b6000819050919050565b61375481613741565b811461375f57600080fd5b50565b6000813590506137718161374b565b92915050565b60006020828403121561378d5761378c6135ca565b5b600061379b84828501613762565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137cf826137a4565b9050919050565b6137df816137c4565b82525050565b60006020820190506137fa60008301846137d6565b92915050565b613809816137c4565b811461381457600080fd5b50565b60008135905061382681613800565b92915050565b60008060408385031215613843576138426135ca565b5b600061385185828601613817565b925050602061386285828601613762565b9150509250929050565b61387581613741565b82525050565b6000602082019050613890600083018461386c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138bb576138ba613896565b5b8235905067ffffffffffffffff8111156138d8576138d761389b565b5b6020830191508360208202830111156138f4576138f36138a0565b5b9250929050565b60008060208385031215613912576139116135ca565b5b600083013567ffffffffffffffff8111156139305761392f6135cf565b5b61393c858286016138a5565b92509250509250929050565b600080600060608486031215613961576139606135ca565b5b600061396f86828701613817565b935050602061398086828701613817565b925050604061399186828701613762565b9150509250925092565b6000602082840312156139b1576139b06135ca565b5b60006139bf84828501613817565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139fd81613741565b82525050565b6000613a0f83836139f4565b60208301905092915050565b6000602082019050919050565b6000613a33826139c8565b613a3d81856139d3565b9350613a48836139e4565b8060005b83811015613a79578151613a608882613a03565b9750613a6b83613a1b565b925050600181019050613a4c565b5085935050505092915050565b60006020820190508181036000830152613aa08184613a28565b905092915050565b60008083601f840112613abe57613abd613896565b5b8235905067ffffffffffffffff811115613adb57613ada61389b565b5b602083019150836001820283011115613af757613af66138a0565b5b9250929050565b60008060208385031215613b1557613b146135ca565b5b600083013567ffffffffffffffff811115613b3357613b326135cf565b5b613b3f85828601613aa8565b92509250509250929050565b600067ffffffffffffffff82169050919050565b613b6881613b4b565b8114613b7357600080fd5b50565b600081359050613b8581613b5f565b92915050565b600060208284031215613ba157613ba06135ca565b5b6000613baf84828501613b76565b91505092915050565b613bc181613659565b8114613bcc57600080fd5b50565b600081359050613bde81613bb8565b92915050565b600060208284031215613bfa57613bf96135ca565b5b6000613c0884828501613bcf565b91505092915050565b60008060408385031215613c2857613c276135ca565b5b6000613c3685828601613817565b9250506020613c4785828601613bcf565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c8e826136d5565b810181811067ffffffffffffffff82111715613cad57613cac613c56565b5b80604052505050565b6000613cc06135c0565b9050613ccc8282613c85565b919050565b600067ffffffffffffffff821115613cec57613ceb613c56565b5b613cf5826136d5565b9050602081019050919050565b82818337600083830152505050565b6000613d24613d1f84613cd1565b613cb6565b905082815260208101848484011115613d4057613d3f613c51565b5b613d4b848285613d02565b509392505050565b600082601f830112613d6857613d67613896565b5b8135613d78848260208601613d11565b91505092915050565b60008060008060808587031215613d9b57613d9a6135ca565b5b6000613da987828801613817565b9450506020613dba87828801613817565b9350506040613dcb87828801613762565b925050606085013567ffffffffffffffff811115613dec57613deb6135cf565b5b613df887828801613d53565b91505092959194509250565b60008060408385031215613e1b57613e1a6135ca565b5b6000613e2985828601613762565b9250506020613e3a85828601613817565b9150509250929050565b613e4d81613b4b565b82525050565b6000602082019050613e686000830184613e44565b92915050565b600080600060608486031215613e8757613e866135ca565b5b6000613e9586828701613762565b9350506020613ea686828701613762565b9250506040613eb786828701613bcf565b9150509250925092565b60008060408385031215613ed857613ed76135ca565b5b6000613ee685828601613817565b9250506020613ef785828601613817565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f4857607f821691505b602082108103613f5b57613f5a613f01565b5b50919050565b7f436c61696d206973206e6f742041637469766500000000000000000000000000600082015250565b6000613f9760138361369a565b9150613fa282613f61565b602082019050919050565b60006020820190508181036000830152613fc681613f8a565b9050919050565b7f596f75206d757374206d696e74206174206c6561737420310000000000000000600082015250565b600061400360188361369a565b915061400e82613fcd565b602082019050919050565b6000602082019050818103600083015261403281613ff6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061407382613741565b915061407e83613741565b925082820261408c81613741565b915082820484148315176140a3576140a2614039565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006140e060138361369a565b91506140eb826140aa565b602082019050919050565b6000602082019050818103600083015261410f816140d3565b9050919050565b600061412182613741565b915061412c83613741565b925082820390508181111561414457614143614039565b5b92915050565b7f4e6f7420656e6f75676820737570706c79000000000000000000000000000000600082015250565b600061418060118361369a565b915061418b8261414a565b602082019050919050565b600060208201905081810360008301526141af81614173565b9050919050565b7f546f6b656e20616c726561647920757365640000000000000000000000000000600082015250565b60006141ec60128361369a565b91506141f7826141b6565b602082019050919050565b6000602082019050818103600083015261421b816141df565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061426081613800565b92915050565b60006020828403121561427c5761427b6135ca565b5b600061428a84828501614251565b91505092915050565b7f546f6b656e206e6f74206f776e65640000000000000000000000000000000000600082015250565b60006142c9600f8361369a565b91506142d482614293565b602082019050919050565b600060208201905081810360008301526142f8816142bc565b9050919050565b600061430a82613741565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361433c5761433b614039565b5b600182019050919050565b600060408201905061435c60008301856137d6565b61436960208301846137d6565b9392505050565b60008151905061437f81613bb8565b92915050565b60006020828403121561439b5761439a6135ca565b5b60006143a984828501614370565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143e860208361369a565b91506143f3826143b2565b602082019050919050565b60006020820190508181036000830152614417816143db565b9050919050565b600081905092915050565b50565b600061443960008361441e565b915061444482614429565b600082019050919050565b600061445a8261442c565b9150819050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144d17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614494565b6144db8683614494565b95508019841693508086168417925050509392505050565b6000819050919050565b600061451861451361450e84613741565b6144f3565b613741565b9050919050565b6000819050919050565b614532836144fd565b61454661453e8261451f565b8484546144a1565b825550505050565b600090565b61455b61454e565b614566818484614529565b505050565b5b8181101561458a5761457f600082614553565b60018101905061456c565b5050565b601f8211156145cf576145a08161446f565b6145a984614484565b810160208510156145b8578190505b6145cc6145c485614484565b83018261456b565b50505b505050565b600082821c905092915050565b60006145f2600019846008026145d4565b1980831691505092915050565b600061460b83836145e1565b9150826002028217905092915050565b6146258383614464565b67ffffffffffffffff81111561463e5761463d613c56565b5b6146488254613f30565b61465382828561458e565b6000601f8311600181146146825760008415614670578287013590505b61467a85826145ff565b8655506146e2565b601f1984166146908661446f565b60005b828110156146b857848901358255600182019150602085019450602081019050614693565b868310156146d557848901356146d1601f8916826145e1565b8355505b6001600288020188555050505b50505050505050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061472160148361369a565b915061472c826146eb565b602082019050919050565b6000602082019050818103600083015261475081614714565b9050919050565b600061476282613741565b915061476d83613741565b925082820190508082111561478557614784614039565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006147c160148361369a565b91506147cc8261478b565b602082019050919050565b600060208201905081810360008301526147f0816147b4565b9050919050565b7f5075626c6963206973206e6f7420416374697665000000000000000000000000600082015250565b600061482d60148361369a565b9150614838826147f7565b602082019050919050565b6000602082019050818103600083015261485c81614820565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148bf602f8361369a565b91506148ca82614863565b604082019050919050565b600060208201905081810360008301526148ee816148b2565b9050919050565b600081905092915050565b600061490b8261368f565b61491581856148f5565b93506149258185602086016136ab565b80840191505092915050565b600061493d8285614900565b91506149498284614900565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149b160268361369a565b91506149bc82614955565b604082019050919050565b600060208201905081810360008301526149e0816149a4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a2182613741565b9150614a2c83613741565b925082614a3c57614a3b6149e7565b5b828204905092915050565b6000614a5282613741565b9150614a5d83613741565b925082614a6d57614a6c6149e7565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614a9f82614a78565b614aa98185614a83565b9350614ab98185602086016136ab565b614ac2816136d5565b840191505092915050565b6000608082019050614ae260008301876137d6565b614aef60208301866137d6565b614afc604083018561386c565b8181036060830152614b0e8184614a94565b905095945050505050565b600081519050614b2881613600565b92915050565b600060208284031215614b4457614b436135ca565b5b6000614b5284828501614b19565b9150509291505056fea26469706673582212208206e77cdbac5cd0567f2f6651eacf61f48b9b1b32f7b447c316e737330af7c864736f6c63430008120033
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.