Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
302 KVM
Holders
235
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 KVMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KevinMeow
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "Strings.sol"; import "ERC721Enum.sol"; contract KevinMeow is ERC721Enum { using Strings for uint256; uint256 public constant SUPPLY = 555; uint256 public constant MAX_MINT_PER_TX = 1; uint256 public constant MAX_MINT_PER_WALLET = 2; bool public pauseMint = true; string public baseURI; string internal baseExtension = ".json"; address public immutable owner; constructor() ERC721P("KevinMeow", "KVM") { owner = msg.sender; } modifier mintOpen() { require(!pauseMint, "mint paused"); _; } modifier onlyOwner() { _onlyOwner(); _; } /** INTERNAL */ function _onlyOwner() private view { require(msg.sender == owner, "onlyOwner"); } function _baseURI() internal view virtual returns (string memory) { return baseURI; } /** Mint KevinMeow */ function mint(uint16 amountPurchase) external payable mintOpen { uint256 currentSupply = totalSupply(); uint256 buyerTokenCount = balanceOf(msg.sender); require( amountPurchase <= MAX_MINT_PER_TX, "Max1perTX" ); require( amountPurchase + buyerTokenCount <= MAX_MINT_PER_WALLET,"Max2perWallet" ); require( currentSupply + amountPurchase <= SUPPLY, "soldout" ); for (uint8 i; i < amountPurchase; i++) { _safeMint(msg.sender, currentSupply + i); } } /** Get tokenURI */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent meow"); string memory currentBaseURI = _baseURI(); return ( bytes(currentBaseURI).length > 0 ? string( abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension) ) : "" ); } /** ADMIN SetPauseMint*/ function setPauseMint(bool _setPauseMint) external onlyOwner { pauseMint = _setPauseMint; } /** ADMIN SetBaseURI*/ function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } /** ADMIN Withdraw*/ function withdrawAll() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No money"); _withdraw(msg.sender, address(this).balance); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{ value: _amount }(""); require(success, "Transfer failed"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.10; import "ERC721P.sol"; import "IERC721Enumerable.sol"; abstract contract ERC721Enum is ERC721P, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721P) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) { require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) { if (count == index) return i; else ++count; } } require(false, "ERC721Enum: owner ioob"); } function tokensOfOwner(address owner) public view returns (uint256[] memory) { require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function totalSupply() public view virtual override returns (uint256) { return _owners.length; } function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob"); return index; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.10; import "IERC721.sol"; import "IERC721Receiver.sol"; import "IERC721Metadata.sol"; import "Address.sol"; import "Context.sol"; import "ERC165.sol"; abstract contract ERC721P is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint256 count = 0; uint256 length = _owners.length; for (uint256 i = 0; i < length; ++i) { if (owner == _owners[i]) { ++count; } } delete length; return count; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721P.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721P.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721P.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721P.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721P.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "KevinMeow.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amountPurchase","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPauseMint","type":"bool"}],"name":"setPauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6005805460ff1916600117815560e060405260a081905264173539b7b760d91b60c0908152620000339160079190620000b1565b503480156200004157600080fd5b5060408051808201825260098152684b6576696e4d656f7760b81b6020808301918252835180850190945260038452624b564d60e81b9084015281519192916200008e91600091620000b1565b508051620000a4906001906020840190620000b1565b5050336080525062000194565b828054620000bf9062000157565b90600052602060002090601f016020900481019282620000e357600085556200012e565b82601f10620000fe57805160ff19168380011785556200012e565b828001600101855582156200012e579182015b828111156200012e57825182559160200191906001019062000111565b506200013c92915062000140565b5090565b5b808211156200013c576000815560010162000141565b600181811c908216806200016c57607f821691505b602082108114156200018e57634e487b7160e01b600052602260045260246000fd5b50919050565b608051611eb4620001b7600039600081816103cd01526112d00152611eb46000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063b19960e61161008a578063c87b56dd11610064578063c87b56dd14610484578063cd85cdb5146104a4578063e985e9c5146104be578063f59e26d01461050757600080fd5b8063b19960e614610439578063b88d4fde1461044e578063c50497ae1461046e57600080fd5b80638da5cb5b116100c65780638da5cb5b146103bb5780638ecad721146103ef57806395d89b4114610404578063a22cb4651461041957600080fd5b806370a08231146103595780638462151c14610379578063853828b6146103a657600080fd5b806323cf0a22116101595780634f6ccce7116101335780634f6ccce7146102e457806355f804b3146103045780636352211e146103245780636c0360eb1461034457600080fd5b806323cf0a22146102915780632f745c59146102a457806342842e0e146102c457600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461025257806323b872dd14610271575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046117ff565b610527565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb610552565b6040516101cd9190611874565b34801561020457600080fd5b50610218610213366004611887565b6105e4565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b3660046118bc565b610671565b005b34801561025e57600080fd5b506002545b6040519081526020016101cd565b34801561027d57600080fd5b5061025061028c3660046118e6565b610787565b61025061029f366004611922565b6107b8565b3480156102b057600080fd5b506102636102bf3660046118bc565b61092b565b3480156102d057600080fd5b506102506102df3660046118e6565b6109da565b3480156102f057600080fd5b506102636102ff366004611887565b6109f5565b34801561031057600080fd5b5061025061031f3660046119d2565b610a52565b34801561033057600080fd5b5061021861033f366004611887565b610a71565b34801561035057600080fd5b506101eb610afd565b34801561036557600080fd5b50610263610374366004611a1b565b610b8b565b34801561038557600080fd5b50610399610394366004611a1b565b610c5d565b6040516101cd9190611a36565b3480156103b257600080fd5b50610250610d27565b3480156103c757600080fd5b506102187f000000000000000000000000000000000000000000000000000000000000000081565b3480156103fb57600080fd5b50610263600181565b34801561041057600080fd5b506101eb610d75565b34801561042557600080fd5b50610250610434366004611a8a565b610d84565b34801561044557600080fd5b50610263600281565b34801561045a57600080fd5b50610250610469366004611abd565b610e49565b34801561047a57600080fd5b5061026361022b81565b34801561049057600080fd5b506101eb61049f366004611887565b610e7b565b3480156104b057600080fd5b506005546101c19060ff1681565b3480156104ca57600080fd5b506101c16104d9366004611b39565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561051357600080fd5b50610250610522366004611b63565b610f48565b60006001600160e01b0319821663780e9d6360e01b148061054c575061054c82610f63565b92915050565b60606000805461056190611b7e565b80601f016020809104026020016040519081016040528092919081815260200182805461058d90611b7e565b80156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b5050505050905090565b60006105ef82610fb3565b6106555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061067c82610a71565b9050806001600160a01b0316836001600160a01b031614156106ea5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161064c565b336001600160a01b0382161480610706575061070681336104d9565b6107785760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161064c565b6107828383610ffd565b505050565b610791338261106b565b6107ad5760405162461bcd60e51b815260040161064c90611bb9565b610782838383611155565b60055460ff16156107f95760405162461bcd60e51b815260206004820152600b60248201526a1b5a5b9d081c185d5cd95960aa1b604482015260640161064c565b600061080460025490565b9050600061081133610b8b565b905060018361ffff1611156108545760405162461bcd60e51b815260206004820152600960248201526809ac2f062e0cae4a8b60bb1b604482015260640161064c565b60026108648261ffff8616611c20565b11156108a25760405162461bcd60e51b815260206004820152600d60248201526c13585e0c9c195c95d85b1b195d609a1b604482015260640161064c565b61022b6108b361ffff851684611c20565b11156108eb5760405162461bcd60e51b81526020600482015260076024820152661cdbdb191bdd5d60ca1b604482015260640161064c565b60005b8361ffff168160ff161015610925576109133361090e60ff841686611c20565b6112ab565b8061091d81611c38565b9150506108ee565b50505050565b600061093683610b8b565b82106109545760405162461bcd60e51b815260040161064c90611c58565b6000805b6002548110156109c1576002818154811061097557610975611c88565b6000918252602090912001546001600160a01b03868116911614156109b157838214156109a557915061054c9050565b6109ae82611c9e565b91505b6109ba81611c9e565b9050610958565b5060405162461bcd60e51b815260040161064c90611c58565b61078283838360405180602001604052806000815250610e49565b6000610a0060025490565b8210610a4e5760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000604482015260640161064c565b5090565b610a5a6112c5565b8051610a6d906006906020840190611759565b5050565b60008060028381548110610a8757610a87611c88565b6000918252602090912001546001600160a01b031690508061054c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161064c565b60068054610b0a90611b7e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3690611b7e565b8015610b835780601f10610b5857610100808354040283529160200191610b83565b820191906000526020600020905b815481529060010190602001808311610b6657829003601f168201915b505050505081565b60006001600160a01b038216610bf65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161064c565b600254600090815b81811015610c545760028181548110610c1957610c19611c88565b6000918252602090912001546001600160a01b0386811691161415610c4457610c4183611c9e565b92505b610c4d81611c9e565b9050610bfe565b50909392505050565b6060610c6882610b8b565b600010610c875760405162461bcd60e51b815260040161064c90611c58565b6000610c9283610b8b565b905060008167ffffffffffffffff811115610caf57610caf611946565b604051908082528060200260200182016040528015610cd8578160200160208202803683370190505b50905060005b82811015610d1f57610cf0858261092b565b828281518110610d0257610d02611c88565b602090810291909101015280610d1781611c9e565b915050610cde565b509392505050565b610d2f6112c5565b4780610d685760405162461bcd60e51b81526020600482015260086024820152674e6f206d6f6e657960c01b604482015260640161064c565b610d72334761132b565b50565b60606001805461056190611b7e565b6001600160a01b038216331415610ddd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161064c565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e53338361106b565b610e6f5760405162461bcd60e51b815260040161064c90611bb9565b610925848484846113c0565b6060610e8682610fb3565b610ee95760405162461bcd60e51b815260206004820152602e60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526d6e6578697374656e74206d656f7760901b606482015260840161064c565b6000610ef36113f3565b90506000815111610f135760405180602001604052806000815250610f41565b80610f1d84611402565b6007604051602001610f3193929190611cb9565b6040516020818303038152906040525b9392505050565b610f506112c5565b6005805460ff1916911515919091179055565b60006001600160e01b031982166380ac58cd60e01b1480610f9457506001600160e01b03198216635b5e139f60e01b145b8061054c57506301ffc9a760e01b6001600160e01b031983161461054c565b6002546000908210801561054c575060006001600160a01b031660028381548110610fe057610fe0611c88565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061103282610a71565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061107682610fb3565b6110d75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161064c565b60006110e283610a71565b9050806001600160a01b0316846001600160a01b0316148061111d5750836001600160a01b0316611112846105e4565b6001600160a01b0316145b8061114d57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661116882610a71565b6001600160a01b0316146111d05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161064c565b6001600160a01b0382166112325760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161064c565b61123d600082610ffd565b816002828154811061125157611251611c88565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610a6d828260405180602001604052806000815250611500565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146113295760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b604482015260640161064c565b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611378576040519150601f19603f3d011682016040523d82523d6000602084013e61137d565b606091505b50509050806107825760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640161064c565b6113cb848484611155565b6113d784848484611533565b6109255760405162461bcd60e51b815260040161064c90611d7d565b60606006805461056190611b7e565b6060816114265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611450578061143a81611c9e565b91506114499050600a83611de5565b915061142a565b60008167ffffffffffffffff81111561146b5761146b611946565b6040519080825280601f01601f191660200182016040528015611495576020820181803683370190505b5090505b841561114d576114aa600183611df9565b91506114b7600a86611e10565b6114c2906030611c20565b60f81b8183815181106114d7576114d7611c88565b60200101906001600160f81b031916908160001a9053506114f9600a86611de5565b9450611499565b61150a8383611631565b6115176000848484611533565b6107825760405162461bcd60e51b815260040161064c90611d7d565b60006001600160a01b0384163b1561162657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611577903390899088908890600401611e24565b6020604051808303816000875af19250505080156115b2575060408051601f3d908101601f191682019092526115af91810190611e61565b60015b61160c573d8080156115e0576040519150601f19603f3d011682016040523d82523d6000602084013e6115e5565b606091505b5080516116045760405162461bcd60e51b815260040161064c90611d7d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061114d565b506001949350505050565b6001600160a01b0382166116875760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161064c565b61169081610fb3565b156116dd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161064c565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461176590611b7e565b90600052602060002090601f01602090048101928261178757600085556117cd565b82601f106117a057805160ff19168380011785556117cd565b828001600101855582156117cd579182015b828111156117cd5782518255916020019190600101906117b2565b50610a4e9291505b80821115610a4e57600081556001016117d5565b6001600160e01b031981168114610d7257600080fd5b60006020828403121561181157600080fd5b8135610f41816117e9565b60005b8381101561183757818101518382015260200161181f565b838111156109255750506000910152565b6000815180845261186081602086016020860161181c565b601f01601f19169290920160200192915050565b602081526000610f416020830184611848565b60006020828403121561189957600080fd5b5035919050565b80356001600160a01b03811681146118b757600080fd5b919050565b600080604083850312156118cf57600080fd5b6118d8836118a0565b946020939093013593505050565b6000806000606084860312156118fb57600080fd5b611904846118a0565b9250611912602085016118a0565b9150604084013590509250925092565b60006020828403121561193457600080fd5b813561ffff81168114610f4157600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561197757611977611946565b604051601f8501601f19908116603f0116810190828211818310171561199f5761199f611946565b816040528093508581528686860111156119b857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119e457600080fd5b813567ffffffffffffffff8111156119fb57600080fd5b8201601f81018413611a0c57600080fd5b61114d8482356020840161195c565b600060208284031215611a2d57600080fd5b610f41826118a0565b6020808252825182820181905260009190848201906040850190845b81811015611a6e57835183529284019291840191600101611a52565b50909695505050505050565b803580151581146118b757600080fd5b60008060408385031215611a9d57600080fd5b611aa6836118a0565b9150611ab460208401611a7a565b90509250929050565b60008060008060808587031215611ad357600080fd5b611adc856118a0565b9350611aea602086016118a0565b925060408501359150606085013567ffffffffffffffff811115611b0d57600080fd5b8501601f81018713611b1e57600080fd5b611b2d8782356020840161195c565b91505092959194509250565b60008060408385031215611b4c57600080fd5b611b55836118a0565b9150611ab4602084016118a0565b600060208284031215611b7557600080fd5b610f4182611a7a565b600181811c90821680611b9257607f821691505b60208210811415611bb357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611c3357611c33611c0a565b500190565b600060ff821660ff811415611c4f57611c4f611c0a565b60010192915050565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611cb257611cb2611c0a565b5060010190565b600084516020611ccc8285838a0161181c565b855191840191611cdf8184848a0161181c565b8554920191600090600181811c9080831680611cfc57607f831692505b858310811415611d1a57634e487b7160e01b85526022600452602485fd5b808015611d2e5760018114611d3f57611d6c565b60ff19851688528388019550611d6c565b60008b81526020902060005b85811015611d645781548a820152908401908801611d4b565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611df457611df4611dcf565b500490565b600082821015611e0b57611e0b611c0a565b500390565b600082611e1f57611e1f611dcf565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e5790830184611848565b9695505050505050565b600060208284031215611e7357600080fd5b8151610f41816117e956fea2646970667358221220c25472dd60b0484d4a13344cd8340169e0e82752de5386e9072bba351075bc9a64736f6c634300080a0033
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806370a08231116100ec578063b19960e61161008a578063c87b56dd11610064578063c87b56dd14610484578063cd85cdb5146104a4578063e985e9c5146104be578063f59e26d01461050757600080fd5b8063b19960e614610439578063b88d4fde1461044e578063c50497ae1461046e57600080fd5b80638da5cb5b116100c65780638da5cb5b146103bb5780638ecad721146103ef57806395d89b4114610404578063a22cb4651461041957600080fd5b806370a08231146103595780638462151c14610379578063853828b6146103a657600080fd5b806323cf0a22116101595780634f6ccce7116101335780634f6ccce7146102e457806355f804b3146103045780636352211e146103245780636c0360eb1461034457600080fd5b806323cf0a22146102915780632f745c59146102a457806342842e0e146102c457600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461025257806323b872dd14610271575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046117ff565b610527565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb610552565b6040516101cd9190611874565b34801561020457600080fd5b50610218610213366004611887565b6105e4565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b3660046118bc565b610671565b005b34801561025e57600080fd5b506002545b6040519081526020016101cd565b34801561027d57600080fd5b5061025061028c3660046118e6565b610787565b61025061029f366004611922565b6107b8565b3480156102b057600080fd5b506102636102bf3660046118bc565b61092b565b3480156102d057600080fd5b506102506102df3660046118e6565b6109da565b3480156102f057600080fd5b506102636102ff366004611887565b6109f5565b34801561031057600080fd5b5061025061031f3660046119d2565b610a52565b34801561033057600080fd5b5061021861033f366004611887565b610a71565b34801561035057600080fd5b506101eb610afd565b34801561036557600080fd5b50610263610374366004611a1b565b610b8b565b34801561038557600080fd5b50610399610394366004611a1b565b610c5d565b6040516101cd9190611a36565b3480156103b257600080fd5b50610250610d27565b3480156103c757600080fd5b506102187f00000000000000000000000071f4b30a21d8f49e90dfb6286e3ef9665e1dc44581565b3480156103fb57600080fd5b50610263600181565b34801561041057600080fd5b506101eb610d75565b34801561042557600080fd5b50610250610434366004611a8a565b610d84565b34801561044557600080fd5b50610263600281565b34801561045a57600080fd5b50610250610469366004611abd565b610e49565b34801561047a57600080fd5b5061026361022b81565b34801561049057600080fd5b506101eb61049f366004611887565b610e7b565b3480156104b057600080fd5b506005546101c19060ff1681565b3480156104ca57600080fd5b506101c16104d9366004611b39565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561051357600080fd5b50610250610522366004611b63565b610f48565b60006001600160e01b0319821663780e9d6360e01b148061054c575061054c82610f63565b92915050565b60606000805461056190611b7e565b80601f016020809104026020016040519081016040528092919081815260200182805461058d90611b7e565b80156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b5050505050905090565b60006105ef82610fb3565b6106555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061067c82610a71565b9050806001600160a01b0316836001600160a01b031614156106ea5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161064c565b336001600160a01b0382161480610706575061070681336104d9565b6107785760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161064c565b6107828383610ffd565b505050565b610791338261106b565b6107ad5760405162461bcd60e51b815260040161064c90611bb9565b610782838383611155565b60055460ff16156107f95760405162461bcd60e51b815260206004820152600b60248201526a1b5a5b9d081c185d5cd95960aa1b604482015260640161064c565b600061080460025490565b9050600061081133610b8b565b905060018361ffff1611156108545760405162461bcd60e51b815260206004820152600960248201526809ac2f062e0cae4a8b60bb1b604482015260640161064c565b60026108648261ffff8616611c20565b11156108a25760405162461bcd60e51b815260206004820152600d60248201526c13585e0c9c195c95d85b1b195d609a1b604482015260640161064c565b61022b6108b361ffff851684611c20565b11156108eb5760405162461bcd60e51b81526020600482015260076024820152661cdbdb191bdd5d60ca1b604482015260640161064c565b60005b8361ffff168160ff161015610925576109133361090e60ff841686611c20565b6112ab565b8061091d81611c38565b9150506108ee565b50505050565b600061093683610b8b565b82106109545760405162461bcd60e51b815260040161064c90611c58565b6000805b6002548110156109c1576002818154811061097557610975611c88565b6000918252602090912001546001600160a01b03868116911614156109b157838214156109a557915061054c9050565b6109ae82611c9e565b91505b6109ba81611c9e565b9050610958565b5060405162461bcd60e51b815260040161064c90611c58565b61078283838360405180602001604052806000815250610e49565b6000610a0060025490565b8210610a4e5760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000604482015260640161064c565b5090565b610a5a6112c5565b8051610a6d906006906020840190611759565b5050565b60008060028381548110610a8757610a87611c88565b6000918252602090912001546001600160a01b031690508061054c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161064c565b60068054610b0a90611b7e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3690611b7e565b8015610b835780601f10610b5857610100808354040283529160200191610b83565b820191906000526020600020905b815481529060010190602001808311610b6657829003601f168201915b505050505081565b60006001600160a01b038216610bf65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161064c565b600254600090815b81811015610c545760028181548110610c1957610c19611c88565b6000918252602090912001546001600160a01b0386811691161415610c4457610c4183611c9e565b92505b610c4d81611c9e565b9050610bfe565b50909392505050565b6060610c6882610b8b565b600010610c875760405162461bcd60e51b815260040161064c90611c58565b6000610c9283610b8b565b905060008167ffffffffffffffff811115610caf57610caf611946565b604051908082528060200260200182016040528015610cd8578160200160208202803683370190505b50905060005b82811015610d1f57610cf0858261092b565b828281518110610d0257610d02611c88565b602090810291909101015280610d1781611c9e565b915050610cde565b509392505050565b610d2f6112c5565b4780610d685760405162461bcd60e51b81526020600482015260086024820152674e6f206d6f6e657960c01b604482015260640161064c565b610d72334761132b565b50565b60606001805461056190611b7e565b6001600160a01b038216331415610ddd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161064c565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e53338361106b565b610e6f5760405162461bcd60e51b815260040161064c90611bb9565b610925848484846113c0565b6060610e8682610fb3565b610ee95760405162461bcd60e51b815260206004820152602e60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526d6e6578697374656e74206d656f7760901b606482015260840161064c565b6000610ef36113f3565b90506000815111610f135760405180602001604052806000815250610f41565b80610f1d84611402565b6007604051602001610f3193929190611cb9565b6040516020818303038152906040525b9392505050565b610f506112c5565b6005805460ff1916911515919091179055565b60006001600160e01b031982166380ac58cd60e01b1480610f9457506001600160e01b03198216635b5e139f60e01b145b8061054c57506301ffc9a760e01b6001600160e01b031983161461054c565b6002546000908210801561054c575060006001600160a01b031660028381548110610fe057610fe0611c88565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061103282610a71565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061107682610fb3565b6110d75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161064c565b60006110e283610a71565b9050806001600160a01b0316846001600160a01b0316148061111d5750836001600160a01b0316611112846105e4565b6001600160a01b0316145b8061114d57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661116882610a71565b6001600160a01b0316146111d05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161064c565b6001600160a01b0382166112325760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161064c565b61123d600082610ffd565b816002828154811061125157611251611c88565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610a6d828260405180602001604052806000815250611500565b336001600160a01b037f00000000000000000000000071f4b30a21d8f49e90dfb6286e3ef9665e1dc44516146113295760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b604482015260640161064c565b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611378576040519150601f19603f3d011682016040523d82523d6000602084013e61137d565b606091505b50509050806107825760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640161064c565b6113cb848484611155565b6113d784848484611533565b6109255760405162461bcd60e51b815260040161064c90611d7d565b60606006805461056190611b7e565b6060816114265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611450578061143a81611c9e565b91506114499050600a83611de5565b915061142a565b60008167ffffffffffffffff81111561146b5761146b611946565b6040519080825280601f01601f191660200182016040528015611495576020820181803683370190505b5090505b841561114d576114aa600183611df9565b91506114b7600a86611e10565b6114c2906030611c20565b60f81b8183815181106114d7576114d7611c88565b60200101906001600160f81b031916908160001a9053506114f9600a86611de5565b9450611499565b61150a8383611631565b6115176000848484611533565b6107825760405162461bcd60e51b815260040161064c90611d7d565b60006001600160a01b0384163b1561162657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611577903390899088908890600401611e24565b6020604051808303816000875af19250505080156115b2575060408051601f3d908101601f191682019092526115af91810190611e61565b60015b61160c573d8080156115e0576040519150601f19603f3d011682016040523d82523d6000602084013e6115e5565b606091505b5080516116045760405162461bcd60e51b815260040161064c90611d7d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061114d565b506001949350505050565b6001600160a01b0382166116875760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161064c565b61169081610fb3565b156116dd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161064c565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461176590611b7e565b90600052602060002090601f01602090048101928261178757600085556117cd565b82601f106117a057805160ff19168380011785556117cd565b828001600101855582156117cd579182015b828111156117cd5782518255916020019190600101906117b2565b50610a4e9291505b80821115610a4e57600081556001016117d5565b6001600160e01b031981168114610d7257600080fd5b60006020828403121561181157600080fd5b8135610f41816117e9565b60005b8381101561183757818101518382015260200161181f565b838111156109255750506000910152565b6000815180845261186081602086016020860161181c565b601f01601f19169290920160200192915050565b602081526000610f416020830184611848565b60006020828403121561189957600080fd5b5035919050565b80356001600160a01b03811681146118b757600080fd5b919050565b600080604083850312156118cf57600080fd5b6118d8836118a0565b946020939093013593505050565b6000806000606084860312156118fb57600080fd5b611904846118a0565b9250611912602085016118a0565b9150604084013590509250925092565b60006020828403121561193457600080fd5b813561ffff81168114610f4157600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561197757611977611946565b604051601f8501601f19908116603f0116810190828211818310171561199f5761199f611946565b816040528093508581528686860111156119b857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119e457600080fd5b813567ffffffffffffffff8111156119fb57600080fd5b8201601f81018413611a0c57600080fd5b61114d8482356020840161195c565b600060208284031215611a2d57600080fd5b610f41826118a0565b6020808252825182820181905260009190848201906040850190845b81811015611a6e57835183529284019291840191600101611a52565b50909695505050505050565b803580151581146118b757600080fd5b60008060408385031215611a9d57600080fd5b611aa6836118a0565b9150611ab460208401611a7a565b90509250929050565b60008060008060808587031215611ad357600080fd5b611adc856118a0565b9350611aea602086016118a0565b925060408501359150606085013567ffffffffffffffff811115611b0d57600080fd5b8501601f81018713611b1e57600080fd5b611b2d8782356020840161195c565b91505092959194509250565b60008060408385031215611b4c57600080fd5b611b55836118a0565b9150611ab4602084016118a0565b600060208284031215611b7557600080fd5b610f4182611a7a565b600181811c90821680611b9257607f821691505b60208210811415611bb357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611c3357611c33611c0a565b500190565b600060ff821660ff811415611c4f57611c4f611c0a565b60010192915050565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611cb257611cb2611c0a565b5060010190565b600084516020611ccc8285838a0161181c565b855191840191611cdf8184848a0161181c565b8554920191600090600181811c9080831680611cfc57607f831692505b858310811415611d1a57634e487b7160e01b85526022600452602485fd5b808015611d2e5760018114611d3f57611d6c565b60ff19851688528388019550611d6c565b60008b81526020902060005b85811015611d645781548a820152908401908801611d4b565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611df457611df4611dcf565b500490565b600082821015611e0b57611e0b611c0a565b500390565b600082611e1f57611e1f611dcf565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e5790830184611848565b9695505050505050565b600060208284031215611e7357600080fd5b8151610f41816117e956fea2646970667358221220c25472dd60b0484d4a13344cd8340169e0e82752de5386e9072bba351075bc9a64736f6c634300080a0033
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.