Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 GOAT
Holders
2
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
300,000,000 GOATValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Goat
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.28; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Goat is ERC20, Ownable { uint256 public constant MAX_SUPPLY = 1_000_000_000 * 10**18; // 1 billion tokens address public marketingWallet; bool public tradingEnabled = false; bool antiSnipping = false; uint256 public antiSniperlaunchBlock; uint256 public snipingDuration = 40; // Number of blocks for high taxes uint256 public launchMaxHold = MAX_SUPPLY / 50; // 2% max hold during launch phase uint256 public transferTax = 20; // Initial high tax (20%) mapping(address => bool) public isExcludedFromTax; constructor(address _marketingWallet) ERC20("Goat", "GOAT") Ownable(msg.sender) { require(_marketingWallet != address(0), "Marketing wallet cannot be zero address"); marketingWallet = _marketingWallet; isExcludedFromTax[msg.sender] = true; isExcludedFromTax[_marketingWallet] = true; // Mint tokens to deployer _mint(msg.sender, MAX_SUPPLY); } function toggleAntiSnipping(bool choice) external onlyOwner { antiSnipping = choice; if (choice) { antiSniperlaunchBlock = block.number; transferTax = 20; launchMaxHold = MAX_SUPPLY / 50; } else { transferTax = 0; launchMaxHold = MAX_SUPPLY; } } function setSnipingDuration(uint256 newDuration) external onlyOwner { snipingDuration = newDuration; } function setTransferTax(uint256 newTax) external onlyOwner { require(newTax <= 20, "Tax too high"); // Limit the max tax rate to 20% transferTax = newTax; } function excludeFromTax(address account, bool excluded) external onlyOwner { isExcludedFromTax[account] = excluded; } function changeMarketingWallet(address marketing) external onlyOwner { marketingWallet = marketing; } function setTradingStatus(bool _enabled) external onlyOwner { tradingEnabled = _enabled; } function _update( address from, address to, uint256 amount ) internal virtual override { // Skip tax logic for minting and burning if (from == address(0) || to == address(0)) { super._update(from, to, amount); return; } //set trading status require(tradingEnabled, "Trading not active"); if ( antiSnipping && block.number < antiSniperlaunchBlock + snipingDuration ) { // Apply max hold limit require(balanceOf(to) + amount <= launchMaxHold, "Max hold exceeded"); if (!isExcludedFromTax[from] && !isExcludedFromTax[to]) { // Calculate and apply tax for antisnipping uint256 taxAmount = (amount * transferTax) / 100; uint256 sendAmount = amount - taxAmount; super._update(from, marketingWallet, taxAmount); super._update(from, to, sendAmount); return; } } else { transferTax = 0; launchMaxHold = MAX_SUPPLY; } super._update(from, to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @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 ERC-20 * applications. */ 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}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * 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: * * ```solidity * 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 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); }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "viaIR": true, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"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"},{"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"antiSniperlaunchBlock","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":[{"internalType":"address","name":"marketing","type":"address"}],"name":"changeMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchMaxHold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"setSnipingDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTradingStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setTransferTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snipingDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"choice","type":"bool"}],"name":"toggleAntiSnipping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"transferTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234610456576112ac6020813803918261001c8161045b565b93849283398101031261045657516001600160a01b0381169081900361045657610046604061045b565b90600482526311dbd85d60e21b6020830152610062604061045b565b600481526311d3d05560e21b602082015282519091906001600160401b03811161035f57600354600181811c9116801561044c575b602082101461033f57601f81116103e7575b506020601f82116001146103805781929394600092610375575b50508160011b916000199060031b1c1916176003555b81516001600160401b03811161035f57600454600181811c91168015610355575b602082101461033f57601f81116102da575b50602092601f8211600114610275579281929360009261026a575b50508160011b916000199060031b1c1916176004555b33156102545760058054336001600160a01b0319821681179092556040519291906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a360065460286008556a108b2a2c280290940000006009556014600a558115610202576001600160b01b0319168117600655336000818152600b60205260408082208054600160ff19918216811790925594835291208054909316179091556101f390610480565b604051610d9690816105168239f35b62461bcd60e51b835260206004840152602760248401527f4d61726b6574696e672077616c6c65742063616e6e6f74206265207a65726f206044840152666164647265737360c81b6064840152608483fd5b631e4fbdf760e01b600052600060045260246000fd5b015190503880610127565b601f198216936004600052806000209160005b8681106102c257508360019596106102a9575b505050811b0160045561013d565b015160001960f88460031b161c1916905538808061029b565b91926020600181928685015181550194019201610288565b60046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610335575b601f0160051c01905b818110610329575061010c565b6000815560010161031c565b9091508190610313565b634e487b7160e01b600052602260045260246000fd5b90607f16906100fa565b634e487b7160e01b600052604160045260246000fd5b0151905038806100c3565b601f198216906003600052806000209160005b8181106103cf575095836001959697106103b6575b505050811b016003556100d9565b015160001960f88460031b161c191690553880806103a8565b9192602060018192868b015181550194019201610393565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c81019160208410610442575b601f0160051c01905b81811061043657506100a9565b60008155600101610429565b9091508190610420565b90607f1690610097565b600080fd5b6040519190601f01601f191682016001600160401b0381118382101761035f57604052565b6b033b2e3c9fd0803ce8000000906000906002548381018091116104ff577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916020916002556001600160a01b031693846104e75780600254036002555b604051908152a3565b846000526000825260406000208181540190556104de565b634e487b7160e01b600052601160045260246000fdfe608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146108d457508063095ea7b31461084e578063117e24161461083057806318160ddd1461081257806323b872dd146107255780632f3e3a45146106b1578063313ce5671461069557806332cb6b0c1461066e578063379ba1d91461062e5780634ada218b1461060857806354e58064146105ea57806370a08231146105b0578063715018a61461055357806375f0a8741461052a5780638124f7ac1461050c5780638b525903146104af5780638da5cb5b1461048657806395d89b411461036557806399735c9314610344578063a9059cbb14610313578063bb85c6d1146102d0578063c6a306471461027a578063c94c97eb1461025c578063cb4ca6311461021d578063dd62ed3e146101cc5763f2fde38b1461013d57600080fd5b346101c75760203660031901126101c7576101566109f0565b61015e610a82565b6001600160a01b031680156101b157600580546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b346101c75760403660031901126101c7576101e56109f0565b6101ed610a06565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b346101c75760203660031901126101c7576001600160a01b0361023e6109f0565b16600052600b602052602060ff604060002054166040519015158152f35b346101c75760003660031901126101c7576020600954604051908152f35b346101c75760403660031901126101c7576102936109f0565b602435908115158092036101c7576102a9610a82565b60018060a01b0316600052600b60205260406000209060ff80198354169116179055600080f35b346101c75760203660031901126101c7576102e96109f0565b6102f1610a82565b600680546001600160a01b0319166001600160a01b0392909216919091179055005b346101c75760403660031901126101c75761033961032f6109f0565b6024359033610a2b565b602060405160018152f35b346101c75760203660031901126101c75761035d610a82565b600435600855005b346101c75760003660031901126101c75760405160006004548060011c9060018116801561047c575b6020831081146104685782855290811561044c57506001146103f5575b50819003601f01601f191681019067ffffffffffffffff8211818310176103df576103db829182604052826109a7565b0390f35b634e487b7160e01b600052604160045260246000fd5b905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b6000905b828210610436575060209150820101826103ab565b6001816020925483858801015201910190610421565b90506020925060ff191682840152151560051b820101826103ab565b634e487b7160e01b84526022600452602484fd5b91607f169161038e565b346101c75760003660031901126101c7576005546040516001600160a01b039091168152602090f35b346101c75760203660031901126101c7576004356104cb610a82565b601481116104d857600a55005b60405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606490fd5b346101c75760003660031901126101c7576020600a54604051908152f35b346101c75760003660031901126101c7576006546040516001600160a01b039091168152602090f35b346101c75760003660031901126101c75761056c610a82565b600580546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101c75760203660031901126101c7576001600160a01b036105d16109f0565b1660005260006020526020604060002054604051908152f35b346101c75760003660031901126101c7576020600754604051908152f35b346101c75760003660031901126101c757602060ff60065460a01c166040519015158152f35b346101c75760203660031901126101c757610647610a1c565b61064f610a82565b6006805460ff60a01b191691151560a01b60ff60a01b16919091179055005b346101c75760003660031901126101c75760206040516b033b2e3c9fd0803ce80000008152f35b346101c75760003660031901126101c757602060405160128152f35b346101c75760203660031901126101c7576106ca610a1c565b6106d2610a82565b6006805460ff60a81b19169115801560a81b60ff60a81b1692909217905561070e57436007556014600a556a108b2a2c28029094000000600955005b6000600a556b033b2e3c9fd0803ce8000000600955005b346101c75760603660031901126101c75761073e6109f0565b610746610a06565b6001600160a01b0382166000818152600160208181526040808420338552909152909120549193604435939290918101610786575b506103399350610a2b565b8381106107f55784156107df5733156107c957610339946000526001602052604060002060018060a01b033316600052602052836040600020910390558461077b565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b346101c75760003660031901126101c7576020600254604051908152f35b346101c75760003660031901126101c7576020600854604051908152f35b346101c75760403660031901126101c7576108676109f0565b6024359033156107df576001600160a01b03169081156107c957336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101c75760003660031901126101c75760006003548060011c9060018116801561099d575b6020831081146104685782855290811561044c57506001146109465750819003601f01601f191681019067ffffffffffffffff8211818310176103df576103db829182604052826109a7565b905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b6000905b828210610987575060209150820101826103ab565b6001816020925483858801015201910190610972565b91607f16916108fa565b91909160208152825180602083015260005b8181106109da575060409293506000838284010152601f8019910116010190565b80602080928701015160408286010152016109b9565b600435906001600160a01b03821682036101c757565b602435906001600160a01b03821682036101c757565b6004359081151582036101c757565b91906001600160a01b03831615610a6c576001600160a01b03811615610a5657610a5492610ace565b565b63ec442f0560e01b600052600060045260246000fd5b634b637e8f60e11b600052600060045260246000fd5b6005546001600160a01b03163303610a9657565b63118cdaa760e01b6000523360045260246000fd5b91908201809211610ab857565b634e487b7160e01b600052601160045260246000fd5b91906001600160a01b03831680158015610c66575b610c5c5760065460ff8160a01c1615610c225760a81c60ff1680610c0b575b15610bec5760018060a01b03821690816000526000602052610b2984604060002054610aab565b60095410610bb357600052600b60205260ff60406000205416159081610b99575b50610b5857610a5492610c77565b600a54808302908382041483151715610ab8576064900492838303928311610ab857600654610a5494610b94916001600160a01b031683610c77565b610c77565b9050600052600b60205260ff604060002054161538610b4a565b60405162461bcd60e51b815260206004820152601160248201527013585e081a1bdb1908195e18d959591959607a1b6044820152606490fd5b50610a54926000600a556b033b2e3c9fd0803ce8000000600955610c77565b50610c1b60075460085490610aab565b4310610b02565b60405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606490fd5b50610a5492610c77565b506001600160a01b03821615610ae3565b6001600160a01b03169081610cf35760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91610cb685600254610aab565b6002555b6001600160a01b03169384610cdb5780600254036002555b604051908152a3565b84600052600082526040600020818154019055610cd2565b816000526000602052604060002054838110610d43577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9184602092856000526000845203604060002055610cba565b91905063391434e360e21b60005260045260245260445260646000fdfea26469706673582212202f1cec1d8c347355247b654e8b27d1f0c8c73ed6f98e395f0d736b116e41f0c964736f6c634300081c0033000000000000000000000000914d9ec7eaa76b2bcfe0af364304de9d8ce8c0b3
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146108d457508063095ea7b31461084e578063117e24161461083057806318160ddd1461081257806323b872dd146107255780632f3e3a45146106b1578063313ce5671461069557806332cb6b0c1461066e578063379ba1d91461062e5780634ada218b1461060857806354e58064146105ea57806370a08231146105b0578063715018a61461055357806375f0a8741461052a5780638124f7ac1461050c5780638b525903146104af5780638da5cb5b1461048657806395d89b411461036557806399735c9314610344578063a9059cbb14610313578063bb85c6d1146102d0578063c6a306471461027a578063c94c97eb1461025c578063cb4ca6311461021d578063dd62ed3e146101cc5763f2fde38b1461013d57600080fd5b346101c75760203660031901126101c7576101566109f0565b61015e610a82565b6001600160a01b031680156101b157600580546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b346101c75760403660031901126101c7576101e56109f0565b6101ed610a06565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b346101c75760203660031901126101c7576001600160a01b0361023e6109f0565b16600052600b602052602060ff604060002054166040519015158152f35b346101c75760003660031901126101c7576020600954604051908152f35b346101c75760403660031901126101c7576102936109f0565b602435908115158092036101c7576102a9610a82565b60018060a01b0316600052600b60205260406000209060ff80198354169116179055600080f35b346101c75760203660031901126101c7576102e96109f0565b6102f1610a82565b600680546001600160a01b0319166001600160a01b0392909216919091179055005b346101c75760403660031901126101c75761033961032f6109f0565b6024359033610a2b565b602060405160018152f35b346101c75760203660031901126101c75761035d610a82565b600435600855005b346101c75760003660031901126101c75760405160006004548060011c9060018116801561047c575b6020831081146104685782855290811561044c57506001146103f5575b50819003601f01601f191681019067ffffffffffffffff8211818310176103df576103db829182604052826109a7565b0390f35b634e487b7160e01b600052604160045260246000fd5b905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b6000905b828210610436575060209150820101826103ab565b6001816020925483858801015201910190610421565b90506020925060ff191682840152151560051b820101826103ab565b634e487b7160e01b84526022600452602484fd5b91607f169161038e565b346101c75760003660031901126101c7576005546040516001600160a01b039091168152602090f35b346101c75760203660031901126101c7576004356104cb610a82565b601481116104d857600a55005b60405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606490fd5b346101c75760003660031901126101c7576020600a54604051908152f35b346101c75760003660031901126101c7576006546040516001600160a01b039091168152602090f35b346101c75760003660031901126101c75761056c610a82565b600580546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101c75760203660031901126101c7576001600160a01b036105d16109f0565b1660005260006020526020604060002054604051908152f35b346101c75760003660031901126101c7576020600754604051908152f35b346101c75760003660031901126101c757602060ff60065460a01c166040519015158152f35b346101c75760203660031901126101c757610647610a1c565b61064f610a82565b6006805460ff60a01b191691151560a01b60ff60a01b16919091179055005b346101c75760003660031901126101c75760206040516b033b2e3c9fd0803ce80000008152f35b346101c75760003660031901126101c757602060405160128152f35b346101c75760203660031901126101c7576106ca610a1c565b6106d2610a82565b6006805460ff60a81b19169115801560a81b60ff60a81b1692909217905561070e57436007556014600a556a108b2a2c28029094000000600955005b6000600a556b033b2e3c9fd0803ce8000000600955005b346101c75760603660031901126101c75761073e6109f0565b610746610a06565b6001600160a01b0382166000818152600160208181526040808420338552909152909120549193604435939290918101610786575b506103399350610a2b565b8381106107f55784156107df5733156107c957610339946000526001602052604060002060018060a01b033316600052602052836040600020910390558461077b565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b346101c75760003660031901126101c7576020600254604051908152f35b346101c75760003660031901126101c7576020600854604051908152f35b346101c75760403660031901126101c7576108676109f0565b6024359033156107df576001600160a01b03169081156107c957336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101c75760003660031901126101c75760006003548060011c9060018116801561099d575b6020831081146104685782855290811561044c57506001146109465750819003601f01601f191681019067ffffffffffffffff8211818310176103df576103db829182604052826109a7565b905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b6000905b828210610987575060209150820101826103ab565b6001816020925483858801015201910190610972565b91607f16916108fa565b91909160208152825180602083015260005b8181106109da575060409293506000838284010152601f8019910116010190565b80602080928701015160408286010152016109b9565b600435906001600160a01b03821682036101c757565b602435906001600160a01b03821682036101c757565b6004359081151582036101c757565b91906001600160a01b03831615610a6c576001600160a01b03811615610a5657610a5492610ace565b565b63ec442f0560e01b600052600060045260246000fd5b634b637e8f60e11b600052600060045260246000fd5b6005546001600160a01b03163303610a9657565b63118cdaa760e01b6000523360045260246000fd5b91908201809211610ab857565b634e487b7160e01b600052601160045260246000fd5b91906001600160a01b03831680158015610c66575b610c5c5760065460ff8160a01c1615610c225760a81c60ff1680610c0b575b15610bec5760018060a01b03821690816000526000602052610b2984604060002054610aab565b60095410610bb357600052600b60205260ff60406000205416159081610b99575b50610b5857610a5492610c77565b600a54808302908382041483151715610ab8576064900492838303928311610ab857600654610a5494610b94916001600160a01b031683610c77565b610c77565b9050600052600b60205260ff604060002054161538610b4a565b60405162461bcd60e51b815260206004820152601160248201527013585e081a1bdb1908195e18d959591959607a1b6044820152606490fd5b50610a54926000600a556b033b2e3c9fd0803ce8000000600955610c77565b50610c1b60075460085490610aab565b4310610b02565b60405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606490fd5b50610a5492610c77565b506001600160a01b03821615610ae3565b6001600160a01b03169081610cf35760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91610cb685600254610aab565b6002555b6001600160a01b03169384610cdb5780600254036002555b604051908152a3565b84600052600082526040600020818154019055610cd2565b816000526000602052604060002054838110610d43577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9184602092856000526000845203604060002055610cba565b91905063391434e360e21b60005260045260245260445260646000fdfea26469706673582212202f1cec1d8c347355247b654e8b27d1f0c8c73ed6f98e395f0d736b116e41f0c964736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000914d9ec7eaa76b2bcfe0af364304de9d8ce8c0b3
-----Decoded View---------------
Arg [0] : _marketingWallet (address): 0x914d9eC7EAA76b2bCfe0aF364304De9D8ce8c0B3
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000914d9ec7eaa76b2bcfe0af364304de9d8ce8c0b3
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.