Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
20,000,000,000 CAT
Holders
1,277
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,000,000 CATValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
EveOneCat
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-10-25 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol) pragma solidity ^0.8.20; // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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/interfaces/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol) pragma solidity ^0.8.20; // File: @openzeppelin/contracts/interfaces/IERC1363.sol // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol) pragma solidity ^0.8.20; /** * @title IERC1363 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363]. * * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction. */ interface IERC1363 is IERC20, IERC165 { /* * Note: the ERC-165 identifier for this interface is 0xb0202a11. * 0xb0202a11 === * bytes4(keccak256('transferAndCall(address,uint256)')) ^ * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^ * bytes4(keccak256('approveAndCall(address,uint256)')) ^ * bytes4(keccak256('approveAndCall(address,uint256,bytes)')) */ /** * @dev Moves a `value` amount of tokens from the caller's account to `to` * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferAndCall(address to, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from the caller's account to `to` * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @param data Additional data with no specified format, sent in call to `to`. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param from The address which you want to send tokens from. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferFromAndCall(address from, address to, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism * and then calls {IERC1363Receiver-onTransferReceived} on `to`. * @param from The address which you want to send tokens from. * @param to The address which you want to transfer to. * @param value The amount of tokens to be transferred. * @param data Additional data with no specified format, sent in call to `to`. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`. * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function approveAndCall(address spender, uint256 value) external returns (bool); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`. * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. * @param data Additional data with no specified format, sent in call to `spender`. * @return A boolean value indicating whether the operation succeeded unless throwing. */ function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool); } // File: @openzeppelin/contracts/utils/Errors.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol) pragma solidity ^0.8.20; /** * @dev Collection of common custom errors used in multiple contracts * * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library. * It is recommended to avoid relying on the error API for critical functionality. * * _Available since v5.1._ */ library Errors { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error InsufficientBalance(uint256 balance, uint256 needed); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedCall(); /** * @dev The deployment failed. */ error FailedDeployment(); /** * @dev A necessary precompile is missing. */ error MissingPrecompile(address); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert Errors.InsufficientBalance(address(this).balance, amount); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert Errors.FailedCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {Errors.FailedCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert Errors.InsufficientBalance(address(this).balance, value); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case * of an unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {Errors.FailedCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}. */ function _revert(bytes memory returndata) private pure { // 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 ("memory-safe") { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert Errors.FailedCall(); } } } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; /** * @title SafeERC20 * @dev Wrappers around ERC-20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { /** * @dev An operation with an ERC-20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. * * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client" * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. * * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client" * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. * * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being * set here. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when * targeting contracts. * * Reverts if the returned value is other than `true`. */ function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal { if (to.code.length == 0) { safeTransfer(token, to, value); } else if (!token.transferAndCall(to, value, data)) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when * targeting contracts. * * Reverts if the returned value is other than `true`. */ function transferFromAndCallRelaxed( IERC1363 token, address from, address to, uint256 value, bytes memory data ) internal { if (to.code.length == 0) { safeTransferFrom(token, from, to, value); } else if (!token.transferFromAndCall(from, to, value, data)) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when * targeting contracts. * * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}. * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall} * once without retrying, and relies on the returned value to be true. * * Reverts if the returned value is other than `true`. */ function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal { if (to.code.length == 0) { forceApprove(token, to, value); } else if (!token.approveAndCall(to, value, data)) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements. */ function _callOptionalReturn(IERC20 token, bytes memory data) private { uint256 returnSize; uint256 returnValue; assembly ("memory-safe") { let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20) // bubble errors if iszero(success) { let ptr := mload(0x40) returndatacopy(ptr, 0, returndatasize()) revert(ptr, returndatasize()) } returnSize := returndatasize() returnValue := mload(0) } if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { bool success; uint256 returnSize; uint256 returnValue; assembly ("memory-safe") { success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20) returnSize := returndatasize() returnValue := mload(0) } return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1); } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at, * consider using {ReentrancyGuardTransient} instead. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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/evecat.sol pragma solidity ^0.8.19; interface IUniswapV2Router01 { function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IUniswapV2Factory { function getPair( address tokenA, address tokenB ) external view returns (address pair); function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } contract EveOneCat is ERC20, ReentrancyGuard, Ownable { using SafeERC20 for IERC20; event AddLiquidityEvent( address indexed to, uint256 amount, uint256 ethAmount, uint256 liquidity ); address public uniswapRouter; address public uniswapFactory; uint256 public mintLimit; uint256 public mintPrice; address public _pair; mapping(address => uint256) public mintsPerAddress; constructor() ERC20("EveOneCAT", "CAT") Ownable(msg.sender) { address _uniswapRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address _uniswapFactory = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f ; uint256 totalSupply = 10000000000; _mint(address(this), totalSupply * (10 ** 18)); _mint(msg.sender, totalSupply * (10 ** 18)); uniswapRouter = _uniswapRouter; uniswapFactory = _uniswapFactory; mintLimit = 10; mintPrice = 0.0005 ether; _approve(address(this), uniswapRouter, type(uint256).max); address _weth = IUniswapV2Router01(uniswapRouter).WETH(); _pair = IUniswapV2Factory(uniswapFactory).createPair(address(this), _weth); } function mint() public payable nonReentrant { require(!_isContract(msg.sender), "ERC123: cannot mint to contract"); require(msg.sender == tx.origin, "ERC123: cannot mint via contract"); require(mintsPerAddress[msg.sender] < mintLimit, "Mint limit reached"); require(msg.value == mintPrice, "Incorrect ETH amount sent"); uint256 amount = 100000 * (10 ** 18); _transfer(address(this), msg.sender, amount); mintsPerAddress[msg.sender] += 1; // Increment the mint count for the address // Check if the mint count for this address has reached 10 if (mintsPerAddress[msg.sender] % 1000 == 0) { addLiquidityETH(address(this).balance); // Add liquidity with the current ETH balance } } function addLiquidityETH(uint256 ethAmount) private { require(_pair != address(0), "Pair does not exist"); uint256 tokenAmount = balanceOf(address(this)); IUniswapV2Router01 router = IUniswapV2Router01(uniswapRouter); (uint256 amountToken, uint256 amountETH, uint256 liquidity) = router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, ethAmount, 0x000000000000000000000000000000000000dEaD, //black hole address block.timestamp + 1 days ); emit AddLiquidityEvent(address(this), amountToken, amountETH, liquidity); } function reserves() public view returns (uint112, uint112) { (uint112 reserveETH, uint112 reserveToken,) = IUniswapV2Pair(_pair).getReserves(); return (reserveETH, reserveToken); } function getCurrentTokenPrice() public view returns (uint256) { require(_pair != address(0), "Pair does not exist"); (uint112 reserveETH, uint112 reserveToken,) = IUniswapV2Pair(_pair).getReserves(); // Ensure we have both reserves require(reserveToken > 0 && reserveETH > 0, "Insufficient liquidity"); // Calculate the price of the token in ETH // price = reserveETH / reserveToken uint256 tokenPriceInETH = (reserveETH * 10 ** 18) / reserveToken; return tokenPriceInETH; } function _isContract(address _addr) internal view returns (bool) { uint32 size; assembly { size := extcodesize(_addr) } return (size > 0); } // Function to withdraw ETH from the contract function withdrawETH() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No ETH to withdraw"); payable(owner()).transfer(balance); } // Function to withdraw ERC20 tokens from the contract function withdrawTokens(uint256 amount) external onlyOwner { _transfer(address(this), msg.sender, amount); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"AddLiquidityEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserves","outputs":[{"internalType":"uint112","name":"","type":"uint112"},{"internalType":"uint112","name":"","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561000f575f80fd5b503360405180604001604052806009815260200168115d9953db9950d05560ba1b8152506040518060400160405280600381526020016210d05560ea1b815250816003908161005e919061058d565b50600461006b828261058d565b50506001600555506001600160a01b0381166100a157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100aa81610262565b50737a250d5630b4cf539739df2c5dacb4c659f2488d735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f6402540be4006100f6306100f183670de0b6b3a764000061065b565b6102b3565b61010c336100f183670de0b6b3a764000061065b565b600780546001600160a01b038086166001600160a01b031992831681179093556008805491861691909216179055600a60098190556601c6bf5263400090556101589030905f196102eb565b600754604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa15801561019f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c39190610678565b6008546040516364e329cb60e11b81523060048201526001600160a01b03808416602483015292935091169063c9c65396906044016020604051808303815f875af1158015610214573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102389190610678565b600b80546001600160a01b0319166001600160a01b0392909216919091179055506106b892505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166102dc5760405163ec442f0560e01b81525f6004820152602401610098565b6102e75f83836102fd565b5050565b6102f88383836001610423565b505050565b6001600160a01b038316610327578060025f82825461031c91906106a5565b909155506103979050565b6001600160a01b0383165f90815260208190526040902054818110156103795760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610098565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166103b3576002805482900390556103d1565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161041691815260200190565b60405180910390a3505050565b6001600160a01b03841661044c5760405163e602df0560e01b81525f6004820152602401610098565b6001600160a01b03831661047557604051634a1406b160e11b81525f6004820152602401610098565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104f057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104e791815260200190565b60405180910390a35b50505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061051e57607f821691505b60208210810361053c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102f857805f5260205f20601f840160051c810160208510156105675750805b601f840160051c820191505b81811015610586575f8155600101610573565b5050505050565b81516001600160401b038111156105a6576105a66104f6565b6105ba816105b4845461050a565b84610542565b6020601f8211600181146105ec575f83156105d55750848201515b5f19600385901b1c1916600184901b178455610586565b5f84815260208120601f198516915b8281101561061b57878501518255602094850194600190920191016105fb565b508482101561063857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761067257610672610647565b92915050565b5f60208284031215610688575f80fd5b81516001600160a01b038116811461069e575f80fd5b9392505050565b8082018082111561067257610672610647565b61116f806106c55f395ff3fe60806040526004361061013f575f3560e01c8063735de9f7116100b3578063a9059cbb1161006d578063a9059cbb1461037c578063b51449bb1461039b578063dd62ed3e146103ba578063e086e5ec146103fe578063f2fde38b14610412578063f751758b14610431575f80fd5b8063735de9f7146102ac57806375172a8b146102e35780638bdb2afa146103175780638da5cb5b1461033657806395d89b4114610353578063996517cf14610367575f80fd5b80633023eba6116101045780633023eba6146101ea578063313ce56714610215578063315a095d146102305780636817c76c1461024f57806370a0823114610264578063715018a614610298575f80fd5b806306fdde031461014a578063095ea7b3146101745780631249c58b146101a357806318160ddd146101ad57806323b872dd146101cb575f80fd5b3661014657005b5f80fd5b348015610155575f80fd5b5061015e610445565b60405161016b9190610eb6565b60405180910390f35b34801561017f575f80fd5b5061019361018e366004610f06565b6104d5565b604051901515815260200161016b565b6101ab6104ee565b005b3480156101b8575f80fd5b506002545b60405190815260200161016b565b3480156101d6575f80fd5b506101936101e5366004610f2e565b6106b6565b3480156101f5575f80fd5b506101bd610204366004610f68565b600c6020525f908152604090205481565b348015610220575f80fd5b506040516012815260200161016b565b34801561023b575f80fd5b506101ab61024a366004610f88565b6106d9565b34801561025a575f80fd5b506101bd600a5481565b34801561026f575f80fd5b506101bd61027e366004610f68565b6001600160a01b03165f9081526020819052604090205490565b3480156102a3575f80fd5b506101ab6106ef565b3480156102b7575f80fd5b506007546102cb906001600160a01b031681565b6040516001600160a01b03909116815260200161016b565b3480156102ee575f80fd5b506102f7610700565b604080516001600160701b0393841681529290911660208301520161016b565b348015610322575f80fd5b506008546102cb906001600160a01b031681565b348015610341575f80fd5b506006546001600160a01b03166102cb565b34801561035e575f80fd5b5061015e610784565b348015610372575f80fd5b506101bd60095481565b348015610387575f80fd5b50610193610396366004610f06565b610793565b3480156103a6575f80fd5b50600b546102cb906001600160a01b031681565b3480156103c5575f80fd5b506101bd6103d4366004610f9f565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610409575f80fd5b506101ab6107a0565b34801561041d575f80fd5b506101ab61042c366004610f68565b610826565b34801561043c575f80fd5b506101bd610860565b60606003805461045490610fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461048090610fd0565b80156104cb5780601f106104a2576101008083540402835291602001916104cb565b820191905f5260205f20905b8154815290600101906020018083116104ae57829003601f168201915b5050505050905090565b5f336104e28185856109bf565b60019150505b92915050565b6104f66109d1565b333b63ffffffff16156105505760405162461bcd60e51b815260206004820152601f60248201527f4552433132333a2063616e6e6f74206d696e7420746f20636f6e74726163740060448201526064015b60405180910390fd5b33321461059f5760405162461bcd60e51b815260206004820181905260248201527f4552433132333a2063616e6e6f74206d696e742076696120636f6e74726163746044820152606401610547565b600954335f908152600c6020526040902054106105f35760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610547565b600a5434146106445760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742045544820616d6f756e742073656e74000000000000006044820152606401610547565b69152d02c7e14af680000061065a3033836109fb565b335f908152600c6020526040812080546001929061067990849061101c565b9091555050335f908152600c602052604090205461069a906103e890611043565b5f036106a9576106a947610a58565b506106b46001600555565b565b5f336106c3858285610bc5565b6106ce8585856109fb565b506001949350505050565b6106e1610c40565b6106ec3033836109fb565b50565b6106f7610c40565b6106b45f610c6d565b5f805f80600b5f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610754573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610778919061106c565b50909590945092505050565b60606004805461045490610fd0565b5f336104e28185856109fb565b6107a8610c40565b47806107eb5760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b6044820152606401610547565b6006546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610822573d5f803e3d5ffd5b5050565b61082e610c40565b6001600160a01b03811661085757604051631e4fbdf760e01b81525f6004820152602401610547565b6106ec81610c6d565b600b545f906001600160a01b03166108b05760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610547565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610902573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610926919061106c565b50915091505f816001600160701b031611801561094b57505f826001600160701b0316115b6109905760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c697175696469747960501b6044820152606401610547565b5f816109a484670de0b6b3a76400006110b8565b6109ae91906110e1565b6001600160701b0316949350505050565b6109cc8383836001610cbe565b505050565b6002600554036109f457604051633ee5aeb560e01b815260040160405180910390fd5b6002600555565b6001600160a01b038316610a2457604051634b637e8f60e11b81525f6004820152602401610547565b6001600160a01b038216610a4d5760405163ec442f0560e01b81525f6004820152602401610547565b6109cc838383610d90565b600b546001600160a01b0316610aa65760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610547565b305f908152602081905260408120546007549091506001600160a01b03165f80808363f305d719873088858361dead610ae2426201518061101c565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015610b4d573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610b72919061110e565b6040805184815260208101849052908101829052929550909350915030907f225597b52a4856f446ebef0a7cd2dbf30dcd8d1d031ee26d60b005e314f027399060600160405180910390a2505050505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610c3a5781811015610c2c57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610547565b610c3a84848484035f610cbe565b50505050565b6006546001600160a01b031633146106b45760405163118cdaa760e01b8152336004820152602401610547565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610ce75760405163e602df0560e01b81525f6004820152602401610547565b6001600160a01b038316610d1057604051634a1406b160e11b81525f6004820152602401610547565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610c3a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d8291815260200190565b60405180910390a350505050565b6001600160a01b038316610dba578060025f828254610daf919061101c565b90915550610e2a9050565b6001600160a01b0383165f9081526020819052604090205481811015610e0c5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610547565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610e4657600280548290039055610e64565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ea991815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610f01575f80fd5b919050565b5f8060408385031215610f17575f80fd5b610f2083610eeb565b946020939093013593505050565b5f805f60608486031215610f40575f80fd5b610f4984610eeb565b9250610f5760208501610eeb565b929592945050506040919091013590565b5f60208284031215610f78575f80fd5b610f8182610eeb565b9392505050565b5f60208284031215610f98575f80fd5b5035919050565b5f8060408385031215610fb0575f80fd5b610fb983610eeb565b9150610fc760208401610eeb565b90509250929050565b600181811c90821680610fe457607f821691505b60208210810361100257634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104e8576104e8611008565b634e487b7160e01b5f52601260045260245ffd5b5f826110515761105161102f565b500690565b80516001600160701b0381168114610f01575f80fd5b5f805f6060848603121561107e575f80fd5b61108784611056565b925061109560208501611056565b9150604084015163ffffffff811681146110ad575f80fd5b809150509250925092565b6001600160701b0381811683821602908116908181146110da576110da611008565b5092915050565b5f6001600160701b038316806110f9576110f961102f565b806001600160701b0384160491505092915050565b5f805f60608486031215611120575f80fd5b505081516020830151604090930151909492935091905056fea26469706673582212202966bd0fe92aef43c411fc380d39ea9f67f0579c18cee859c2d4cdc78cdcb3cf64736f6c634300081a0033
Deployed Bytecode
0x60806040526004361061013f575f3560e01c8063735de9f7116100b3578063a9059cbb1161006d578063a9059cbb1461037c578063b51449bb1461039b578063dd62ed3e146103ba578063e086e5ec146103fe578063f2fde38b14610412578063f751758b14610431575f80fd5b8063735de9f7146102ac57806375172a8b146102e35780638bdb2afa146103175780638da5cb5b1461033657806395d89b4114610353578063996517cf14610367575f80fd5b80633023eba6116101045780633023eba6146101ea578063313ce56714610215578063315a095d146102305780636817c76c1461024f57806370a0823114610264578063715018a614610298575f80fd5b806306fdde031461014a578063095ea7b3146101745780631249c58b146101a357806318160ddd146101ad57806323b872dd146101cb575f80fd5b3661014657005b5f80fd5b348015610155575f80fd5b5061015e610445565b60405161016b9190610eb6565b60405180910390f35b34801561017f575f80fd5b5061019361018e366004610f06565b6104d5565b604051901515815260200161016b565b6101ab6104ee565b005b3480156101b8575f80fd5b506002545b60405190815260200161016b565b3480156101d6575f80fd5b506101936101e5366004610f2e565b6106b6565b3480156101f5575f80fd5b506101bd610204366004610f68565b600c6020525f908152604090205481565b348015610220575f80fd5b506040516012815260200161016b565b34801561023b575f80fd5b506101ab61024a366004610f88565b6106d9565b34801561025a575f80fd5b506101bd600a5481565b34801561026f575f80fd5b506101bd61027e366004610f68565b6001600160a01b03165f9081526020819052604090205490565b3480156102a3575f80fd5b506101ab6106ef565b3480156102b7575f80fd5b506007546102cb906001600160a01b031681565b6040516001600160a01b03909116815260200161016b565b3480156102ee575f80fd5b506102f7610700565b604080516001600160701b0393841681529290911660208301520161016b565b348015610322575f80fd5b506008546102cb906001600160a01b031681565b348015610341575f80fd5b506006546001600160a01b03166102cb565b34801561035e575f80fd5b5061015e610784565b348015610372575f80fd5b506101bd60095481565b348015610387575f80fd5b50610193610396366004610f06565b610793565b3480156103a6575f80fd5b50600b546102cb906001600160a01b031681565b3480156103c5575f80fd5b506101bd6103d4366004610f9f565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610409575f80fd5b506101ab6107a0565b34801561041d575f80fd5b506101ab61042c366004610f68565b610826565b34801561043c575f80fd5b506101bd610860565b60606003805461045490610fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461048090610fd0565b80156104cb5780601f106104a2576101008083540402835291602001916104cb565b820191905f5260205f20905b8154815290600101906020018083116104ae57829003601f168201915b5050505050905090565b5f336104e28185856109bf565b60019150505b92915050565b6104f66109d1565b333b63ffffffff16156105505760405162461bcd60e51b815260206004820152601f60248201527f4552433132333a2063616e6e6f74206d696e7420746f20636f6e74726163740060448201526064015b60405180910390fd5b33321461059f5760405162461bcd60e51b815260206004820181905260248201527f4552433132333a2063616e6e6f74206d696e742076696120636f6e74726163746044820152606401610547565b600954335f908152600c6020526040902054106105f35760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610547565b600a5434146106445760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742045544820616d6f756e742073656e74000000000000006044820152606401610547565b69152d02c7e14af680000061065a3033836109fb565b335f908152600c6020526040812080546001929061067990849061101c565b9091555050335f908152600c602052604090205461069a906103e890611043565b5f036106a9576106a947610a58565b506106b46001600555565b565b5f336106c3858285610bc5565b6106ce8585856109fb565b506001949350505050565b6106e1610c40565b6106ec3033836109fb565b50565b6106f7610c40565b6106b45f610c6d565b5f805f80600b5f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610754573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610778919061106c565b50909590945092505050565b60606004805461045490610fd0565b5f336104e28185856109fb565b6107a8610c40565b47806107eb5760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b6044820152606401610547565b6006546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610822573d5f803e3d5ffd5b5050565b61082e610c40565b6001600160a01b03811661085757604051631e4fbdf760e01b81525f6004820152602401610547565b6106ec81610c6d565b600b545f906001600160a01b03166108b05760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610547565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610902573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610926919061106c565b50915091505f816001600160701b031611801561094b57505f826001600160701b0316115b6109905760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c697175696469747960501b6044820152606401610547565b5f816109a484670de0b6b3a76400006110b8565b6109ae91906110e1565b6001600160701b0316949350505050565b6109cc8383836001610cbe565b505050565b6002600554036109f457604051633ee5aeb560e01b815260040160405180910390fd5b6002600555565b6001600160a01b038316610a2457604051634b637e8f60e11b81525f6004820152602401610547565b6001600160a01b038216610a4d5760405163ec442f0560e01b81525f6004820152602401610547565b6109cc838383610d90565b600b546001600160a01b0316610aa65760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610547565b305f908152602081905260408120546007549091506001600160a01b03165f80808363f305d719873088858361dead610ae2426201518061101c565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015610b4d573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610b72919061110e565b6040805184815260208101849052908101829052929550909350915030907f225597b52a4856f446ebef0a7cd2dbf30dcd8d1d031ee26d60b005e314f027399060600160405180910390a2505050505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610c3a5781811015610c2c57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610547565b610c3a84848484035f610cbe565b50505050565b6006546001600160a01b031633146106b45760405163118cdaa760e01b8152336004820152602401610547565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610ce75760405163e602df0560e01b81525f6004820152602401610547565b6001600160a01b038316610d1057604051634a1406b160e11b81525f6004820152602401610547565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610c3a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d8291815260200190565b60405180910390a350505050565b6001600160a01b038316610dba578060025f828254610daf919061101c565b90915550610e2a9050565b6001600160a01b0383165f9081526020819052604090205481811015610e0c5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610547565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610e4657600280548290039055610e64565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ea991815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610f01575f80fd5b919050565b5f8060408385031215610f17575f80fd5b610f2083610eeb565b946020939093013593505050565b5f805f60608486031215610f40575f80fd5b610f4984610eeb565b9250610f5760208501610eeb565b929592945050506040919091013590565b5f60208284031215610f78575f80fd5b610f8182610eeb565b9392505050565b5f60208284031215610f98575f80fd5b5035919050565b5f8060408385031215610fb0575f80fd5b610fb983610eeb565b9150610fc760208401610eeb565b90509250929050565b600181811c90821680610fe457607f821691505b60208210810361100257634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104e8576104e8611008565b634e487b7160e01b5f52601260045260245ffd5b5f826110515761105161102f565b500690565b80516001600160701b0381168114610f01575f80fd5b5f805f6060848603121561107e575f80fd5b61108784611056565b925061109560208501611056565b9150604084015163ffffffff811681146110ad575f80fd5b809150509250925092565b6001600160701b0381811683821602908116908181146110da576110da611008565b5092915050565b5f6001600160701b038316806110f9576110f961102f565b806001600160701b0384160491505092915050565b5f805f60608486031215611120575f80fd5b505081516020830151604090930151909492935091905056fea26469706673582212202966bd0fe92aef43c411fc380d39ea9f67f0579c18cee859c2d4cdc78cdcb3cf64736f6c634300081a0033
Deployed Bytecode Sourcemap
54946:4171:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35715:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38008:190;;;;;;;;;;-1:-1:-1;38008:190:0;;;;;:::i;:::-;;:::i;:::-;;;1085:14:1;;1078:22;1060:41;;1048:2;1033:18;38008:190:0;920:187:1;56173:791:0;;;:::i;:::-;;36817:99;;;;;;;;;;-1:-1:-1;36896:12:0;;36817:99;;;1258:25:1;;;1246:2;1231:18;36817:99:0;1112:177:1;38776:249:0;;;;;;;;;;-1:-1:-1;38776:249:0;;;;;:::i;:::-;;:::i;55351:50::-;;;;;;;;;;-1:-1:-1;55351:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;36668:84;;;;;;;;;;-1:-1:-1;36668:84:0;;36742:2;2006:36:1;;1994:2;1979:18;36668:84:0;1864:184:1;58955:122:0;;;;;;;;;;-1:-1:-1;58955:122:0;;;;;:::i;:::-;;:::i;55293:24::-;;;;;;;;;;;;;;;;36979:118;;;;;;;;;;-1:-1:-1;36979:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;37071:18:0;37044:7;37071:18;;;;;;;;;;;;36979:118;50894:103;;;;;;;;;;;;;:::i;55191:28::-;;;;;;;;;;-1:-1:-1;55191:28:0;;;;-1:-1:-1;;;;;55191:28:0;;;;;;-1:-1:-1;;;;;2448:32:1;;;2430:51;;2418:2;2403:18;55191:28:0;2284:203:1;57658::0;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2684:43:1;;;2666:62;;2764:43;;;;2759:2;2744:18;;2737:71;2639:18;57658:203:0;2492:322:1;55226:29:0;;;;;;;;;;-1:-1:-1;55226:29:0;;;;-1:-1:-1;;;;;55226:29:0;;;50219:87;;;;;;;;;;-1:-1:-1;50292:6:0;;-1:-1:-1;;;;;50292:6:0;50219:87;;35925:95;;;;;;;;;;;;;:::i;55262:24::-;;;;;;;;;;;;;;;;37302:182;;;;;;;;;;-1:-1:-1;37302:182:0;;;;;:::i;:::-;;:::i;55324:20::-;;;;;;;;;;-1:-1:-1;55324:20:0;;;;-1:-1:-1;;;;;55324:20:0;;;37547:142;;;;;;;;;;-1:-1:-1;37547:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;37654:18:0;;;37627:7;37654:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;37547:142;58689:198;;;;;;;;;;;;;:::i;51152:220::-;;;;;;;;;;-1:-1:-1;51152:220:0;;;;;:::i;:::-;;:::i;57869:559::-;;;;;;;;;;;;;:::i;35715:91::-;35760:13;35793:5;35786:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35715:91;:::o;38008:190::-;38081:4;26800:10;38137:31;26800:10;38153:7;38162:5;38137:8;:31::i;:::-;38186:4;38179:11;;;38008:190;;;;;:::o;56173:791::-;47634:21;:19;:21::i;:::-;56249:10:::1;58566:18:::0;58613:8;;;56228:68:::1;;;::::0;-1:-1:-1;;;56228:68:0;;3671:2:1;56228:68:0::1;::::0;::::1;3653:21:1::0;3710:2;3690:18;;;3683:30;3749:33;3729:18;;;3722:61;3800:18;;56228:68:0::1;;;;;;;;;56315:10;56329:9;56315:23;56307:68;;;::::0;-1:-1:-1;;;56307:68:0;;4031:2:1;56307:68:0::1;::::0;::::1;4013:21:1::0;;;4050:18;;;4043:30;4109:34;4089:18;;;4082:62;4161:18;;56307:68:0::1;3829:356:1::0;56307:68:0::1;56424:9;::::0;56410:10:::1;56394:27;::::0;;;:15:::1;:27;::::0;;;;;:39:::1;56386:70;;;::::0;-1:-1:-1;;;56386:70:0;;4392:2:1;56386:70:0::1;::::0;::::1;4374:21:1::0;4431:2;4411:18;;;4404:30;-1:-1:-1;;;4450:18:1;;;4443:48;4508:18;;56386:70:0::1;4190:342:1::0;56386:70:0::1;56488:9;;56475;:22;56467:60;;;::::0;-1:-1:-1;;;56467:60:0;;4739:2:1;56467:60:0::1;::::0;::::1;4721:21:1::0;4778:2;4758:18;;;4751:30;4817:27;4797:18;;;4790:55;4862:18;;56467:60:0::1;4537:349:1::0;56467:60:0::1;56557:19;56589:44;56607:4;56614:10;56557:19:::0;56589:9:::1;:44::i;:::-;56660:10;56644:27;::::0;;;:15:::1;:27;::::0;;;;:32;;56675:1:::1;::::0;56644:27;:32:::1;::::0;56675:1;;56644:32:::1;:::i;:::-;::::0;;;-1:-1:-1;;56821:10:0::1;56805:27;::::0;;;:15:::1;:27;::::0;;;;;:34:::1;::::0;56835:4:::1;::::0;56805:34:::1;:::i;:::-;56843:1;56805:39:::0;56801:156:::1;;56861:38;56877:21;56861:15;:38::i;:::-;56217:747;47678:20:::0;46969:1;48220:7;:21;48037:212;47678:20;56173:791::o;38776:249::-;38863:4;26800:10;38921:37;38937:4;26800:10;38952:5;38921:15;:37::i;:::-;38969:26;38979:4;38985:2;38989:5;38969:9;:26::i;:::-;-1:-1:-1;39013:4:0;;38776:249;-1:-1:-1;;;;38776:249:0:o;58955:122::-;50105:13;:11;:13::i;:::-;59025:44:::1;59043:4;59050:10;59062:6;59025:9;:44::i;:::-;58955:122:::0;:::o;50894:103::-;50105:13;:11;:13::i;:::-;50959:30:::1;50986:1;50959:18;:30::i;57658:203::-:0;57699:7;57708;57729:18;57749:20;57789:5;;;;;;;;;-1:-1:-1;;;;;57789:5:0;-1:-1:-1;;;;;57774:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;57728:81:0;;;;-1:-1:-1;57658:203:0;-1:-1:-1;;;57658:203:0:o;35925:95::-;35972:13;36005:7;35998:14;;;;;:::i;37302:182::-;37371:4;26800:10;37427:27;26800:10;37444:2;37448:5;37427:9;:27::i;58689:198::-;50105:13;:11;:13::i;:::-;58760:21:::1;58800:11:::0;58792:42:::1;;;::::0;-1:-1:-1;;;58792:42:0;;6252:2:1;58792:42:0::1;::::0;::::1;6234:21:1::0;6291:2;6271:18;;;6264:30;-1:-1:-1;;;6310:18:1;;;6303:48;6368:18;;58792:42:0::1;6050:342:1::0;58792:42:0::1;50292:6:::0;;58845:34:::1;::::0;-1:-1:-1;;;;;50292:6:0;;;;58845:34;::::1;;;::::0;58871:7;;58845:34:::1;::::0;;;58871:7;50292:6;58845:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;58731:156;58689:198::o:0;51152:220::-;50105:13;:11;:13::i;:::-;-1:-1:-1;;;;;51237:22:0;::::1;51233:93;;51283:31;::::0;-1:-1:-1;;;51283:31:0;;51311:1:::1;51283:31;::::0;::::1;2430:51:1::0;2403:18;;51283:31:0::1;2284:203:1::0;51233:93:0::1;51336:28;51355:8;51336:18;:28::i;57869:559::-:0;57950:5;;57922:7;;-1:-1:-1;;;;;57950:5:0;57942:51;;;;-1:-1:-1;;;57942:51:0;;6599:2:1;57942:51:0;;;6581:21:1;6638:2;6618:18;;;6611:30;-1:-1:-1;;;6657:18:1;;;6650:49;6716:18;;57942:51:0;6397:343:1;57942:51:0;58007:18;58027:20;58067:5;;;;;;;;;-1:-1:-1;;;;;58067:5:0;-1:-1:-1;;;;;58052:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58006:81;;;;;58164:1;58149:12;-1:-1:-1;;;;;58149:16:0;;:34;;;;;58182:1;58169:10;-1:-1:-1;;;;;58169:14:0;;58149:34;58141:69;;;;-1:-1:-1;;;58141:69:0;;6947:2:1;58141:69:0;;;6929:21:1;6986:2;6966:18;;;6959:30;-1:-1:-1;;;7005:18:1;;;6998:52;7067:18;;58141:69:0;6745:346:1;58141:69:0;58321:23;58373:12;58348:21;:10;58361:8;58348:21;:::i;:::-;58347:38;;;;:::i;:::-;-1:-1:-1;;;;;58321:64:0;;57869:559;-1:-1:-1;;;;57869:559:0:o;42835:130::-;42920:37;42929:5;42936:7;42945:5;42952:4;42920:8;:37::i;:::-;42835:130;;;:::o;47714:315::-;47012:1;47843:7;;:18;47839:88;;47885:30;;-1:-1:-1;;;47885:30:0;;;;;;;;;;;47839:88;47012:1;48004:7;:17;47714:315::o;39410:308::-;-1:-1:-1;;;;;39494:18:0;;39490:88;;39536:30;;-1:-1:-1;;;39536:30:0;;39563:1;39536:30;;;2430:51:1;2403:18;;39536:30:0;2284:203:1;39490:88:0;-1:-1:-1;;;;;39592:16:0;;39588:88;;39632:32;;-1:-1:-1;;;39632:32:0;;39661:1;39632:32;;;2430:51:1;2403:18;;39632:32:0;2284:203:1;39588:88:0;39686:24;39694:4;39700:2;39704:5;39686:7;:24::i;56972:676::-;57043:5;;-1:-1:-1;;;;;57043:5:0;57035:51;;;;-1:-1:-1;;;57035:51:0;;6599:2:1;57035:51:0;;;6581:21:1;6638:2;6618:18;;;6611:30;-1:-1:-1;;;6657:18:1;;;6650:49;6716:18;;57035:51:0;6397:343:1;57035:51:0;57137:4;57097:19;37071:18;;;;;;;;;;;57203:13;;57097:46;;-1:-1:-1;;;;;;57203:13:0;57156:25;;;57203:13;57292:22;57322:9;57355:4;57097:46;57156:25;57322:9;57441:42;57520:24;:15;57538:6;57520:24;:::i;:::-;57292:263;;;;;;-1:-1:-1;;;;;;57292:263:0;;;-1:-1:-1;;;;;7943:32:1;;;57292:263:0;;;7925:51:1;7992:18;;;7985:34;;;;8035:18;;;8028:34;;;;8078:18;;;8071:34;;;;8142:32;;;8121:19;;;8114:61;8191:19;;;8184:35;;;;7897:19;;57292:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57573:67;;;8893:25:1;;;8949:2;8934:18;;8927:34;;;8977:18;;;8970:34;;;57230:325:0;;-1:-1:-1;57230:325:0;;-1:-1:-1;57230:325:0;-1:-1:-1;57599:4:0;;57573:67;;8881:2:1;8866:18;57573:67:0;;;;;;;57024:624;;;;;56972:676;:::o;44551:487::-;-1:-1:-1;;;;;37654:18:0;;;44651:24;37654:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;44718:37:0;;44714:317;;44795:5;44776:16;:24;44772:132;;;44828:60;;-1:-1:-1;;;44828:60:0;;-1:-1:-1;;;;;9235:32:1;;44828:60:0;;;9217:51:1;9284:18;;;9277:34;;;9327:18;;;9320:34;;;9190:18;;44828:60:0;9015:345:1;44772:132:0;44947:57;44956:5;44963:7;44991:5;44972:16;:24;44998:5;44947:8;:57::i;:::-;44640:398;44551:487;;;:::o;50384:166::-;50292:6;;-1:-1:-1;;;;;50292:6:0;26800:10;50444:23;50440:103;;50491:40;;-1:-1:-1;;;50491:40:0;;26800:10;50491:40;;;2430:51:1;2403:18;;50491:40:0;2284:203:1;51532:191:0;51625:6;;;-1:-1:-1;;;;;51642:17:0;;;-1:-1:-1;;;;;;51642:17:0;;;;;;;51675:40;;51625:6;;;51642:17;51625:6;;51675:40;;51606:16;;51675:40;51595:128;51532:191;:::o;43816:443::-;-1:-1:-1;;;;;43929:19:0;;43925:91;;43972:32;;-1:-1:-1;;;43972:32:0;;44001:1;43972:32;;;2430:51:1;2403:18;;43972:32:0;2284:203:1;43925:91:0;-1:-1:-1;;;;;44030:21:0;;44026:92;;44075:31;;-1:-1:-1;;;44075:31:0;;44103:1;44075:31;;;2430:51:1;2403:18;;44075:31:0;2284:203:1;44026:92:0;-1:-1:-1;;;;;44128:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;44174:78;;;;44225:7;-1:-1:-1;;;;;44209:31:0;44218:5;-1:-1:-1;;;;;44209:31:0;;44234:5;44209:31;;;;1258:25:1;;1246:2;1231:18;;1112:177;44209:31:0;;;;;;;;43816:443;;;;:::o;40042:1135::-;-1:-1:-1;;;;;40132:18:0;;40128:552;;40286:5;40270:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;40128:552:0;;-1:-1:-1;40128:552:0;;-1:-1:-1;;;;;40346:15:0;;40324:19;40346:15;;;;;;;;;;;40380:19;;;40376:117;;;40427:50;;-1:-1:-1;;;40427:50:0;;-1:-1:-1;;;;;9235:32:1;;40427:50:0;;;9217:51:1;9284:18;;;9277:34;;;9327:18;;;9320:34;;;9190:18;;40427:50:0;9015:345:1;40376:117:0;-1:-1:-1;;;;;40616:15:0;;:9;:15;;;;;;;;;;40634:19;;;;40616:37;;40128:552;-1:-1:-1;;;;;40696:16:0;;40692:435;;40862:12;:21;;;;;;;40692:435;;;-1:-1:-1;;;;;41078:13:0;;:9;:13;;;;;;;;;;:22;;;;;;40692:435;41159:2;-1:-1:-1;;;;;41144:25:0;41153:4;-1:-1:-1;;;;;41144:25:0;;41163:5;41144:25;;;;1258::1;;1246:2;1231:18;;1112:177;41144:25:0;;;;;;;;40042:1135;;;:::o;14:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:173::-;505:20;;-1:-1:-1;;;;;554:31:1;;544:42;;534:70;;600:1;597;590:12;534:70;437:173;;;:::o;615:300::-;683:6;691;744:2;732:9;723:7;719:23;715:32;712:52;;;760:1;757;750:12;712:52;783:29;802:9;783:29;:::i;:::-;773:39;881:2;866:18;;;;853:32;;-1:-1:-1;;;615:300:1:o;1294:374::-;1371:6;1379;1387;1440:2;1428:9;1419:7;1415:23;1411:32;1408:52;;;1456:1;1453;1446:12;1408:52;1479:29;1498:9;1479:29;:::i;:::-;1469:39;;1527:38;1561:2;1550:9;1546:18;1527:38;:::i;:::-;1294:374;;1517:48;;-1:-1:-1;;;1634:2:1;1619:18;;;;1606:32;;1294:374::o;1673:186::-;1732:6;1785:2;1773:9;1764:7;1760:23;1756:32;1753:52;;;1801:1;1798;1791:12;1753:52;1824:29;1843:9;1824:29;:::i;:::-;1814:39;1673:186;-1:-1:-1;;;1673:186:1:o;2053:226::-;2112:6;2165:2;2153:9;2144:7;2140:23;2136:32;2133:52;;;2181:1;2178;2171:12;2133:52;-1:-1:-1;2226:23:1;;2053:226;-1:-1:-1;2053:226:1:o;2819:260::-;2887:6;2895;2948:2;2936:9;2927:7;2923:23;2919:32;2916:52;;;2964:1;2961;2954:12;2916:52;2987:29;3006:9;2987:29;:::i;:::-;2977:39;;3035:38;3069:2;3058:9;3054:18;3035:38;:::i;:::-;3025:48;;2819:260;;;;;:::o;3084:380::-;3163:1;3159:12;;;;3206;;;3227:61;;3281:4;3273:6;3269:17;3259:27;;3227:61;3334:2;3326:6;3323:14;3303:18;3300:38;3297:161;;3380:10;3375:3;3371:20;3368:1;3361:31;3415:4;3412:1;3405:15;3443:4;3440:1;3433:15;3297:161;;3084:380;;;:::o;4891:127::-;4952:10;4947:3;4943:20;4940:1;4933:31;4983:4;4980:1;4973:15;5007:4;5004:1;4997:15;5023:125;5088:9;;;5109:10;;;5106:36;;;5122:18;;:::i;5153:127::-;5214:10;5209:3;5205:20;5202:1;5195:31;5245:4;5242:1;5235:15;5269:4;5266:1;5259:15;5285:112;5317:1;5343;5333:35;;5348:18;;:::i;:::-;-1:-1:-1;5382:9:1;;5285:112::o;5402:188::-;5481:13;;-1:-1:-1;;;;;5523:42:1;;5513:53;;5503:81;;5580:1;5577;5570:12;5595:450;5682:6;5690;5698;5751:2;5739:9;5730:7;5726:23;5722:32;5719:52;;;5767:1;5764;5757:12;5719:52;5790:40;5820:9;5790:40;:::i;:::-;5780:50;;5849:49;5894:2;5883:9;5879:18;5849:49;:::i;:::-;5839:59;;5941:2;5930:9;5926:18;5920:25;5985:10;5978:5;5974:22;5967:5;5964:33;5954:61;;6011:1;6008;6001:12;5954:61;6034:5;6024:15;;;5595:450;;;;;:::o;7096:305::-;-1:-1:-1;;;;;7181:38:1;;;7221;;;7177:83;7280:48;;;;7347:24;;;7337:58;;7375:18;;:::i;:::-;7337:58;7096:305;;;;:::o;7406:219::-;7446:1;-1:-1:-1;;;;;7477:1:1;7473:38;7530:3;7520:37;;7537:18;;:::i;:::-;7615:3;-1:-1:-1;;;;;7579:1:1;7575:38;7571:48;7566:53;;;7406:219;;;;:::o;8230:456::-;8318:6;8326;8334;8387:2;8375:9;8366:7;8362:23;8358:32;8355:52;;;8403:1;8400;8393:12;8355:52;-1:-1:-1;;8448:16:1;;8554:2;8539:18;;8533:25;8650:2;8635:18;;;8629:25;8448:16;;8533:25;;-1:-1:-1;8629:25:1;8230:456;-1:-1:-1;8230:456:1:o
Swarm Source
ipfs://2966bd0fe92aef43c411fc380d39ea9f67f0579c18cee859c2d4cdc78cdcb3cf
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.