ERC-20
Overview
Max Total Supply
80,000,000 AFY
Holders
256
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000022490904 AFYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AFYToken
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; interface IWETH is IERC20 { function deposit() external payable; } contract AFYToken is ERC20, Ownable { uint256 private constant TOTAL_SUPPLY = 100_000_000 * 10**18; address public developmentWallet; address public marketingWallet; address public liquidityFund; address private uniswapRouterAddress; mapping (address => bool) public liquidityPools; mapping (address => uint256) private lastTransactionBlock; bool public tradingEnabled = false; uint256 public tradingStartTime; uint256 public launchTime; IUniswapV2Router02 public uniswapRouter; IWETH public weth; IUniswapV2Factory public uniswapFactory; // Uniswap Factory interface bool inSwapAndLiquify; uint256 public liquidityAdditionThreshold = 500 * 10**18; event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); constructor( address initialOwner, address _developmentWallet, address _marketingWallet, address _liquidityFund, address _uniswapRouterAddress, address _wethAddress, address _uniswapFactoryAddress // Add the factory address parameter ) ERC20("AFYToken", "AFY") Ownable(initialOwner) { developmentWallet = _developmentWallet; marketingWallet = _marketingWallet; liquidityFund = _liquidityFund; uniswapRouterAddress = _uniswapRouterAddress; weth = IWETH(_wethAddress); tradingStartTime = block.timestamp + 5 minutes; launchTime = block.timestamp; _mint(initialOwner, TOTAL_SUPPLY); uniswapRouter = IUniswapV2Router02(_uniswapRouterAddress); uniswapFactory = IUniswapV2Factory(_uniswapFactoryAddress); // Initialize the Uniswap Factory } function enableTrading() public onlyOwner { tradingEnabled = true; } function transfer(address recipient, uint256 amount) public override returns (bool) { bool isOwnerInvolved = (msg.sender == owner() || recipient == owner()); bool isLiquidityTransfer = liquidityPools[msg.sender] || liquidityPools[recipient]; bool isBuy = liquidityPools[msg.sender]; // Assuming a buy if the sender is a liquidity pool if (!isOwnerInvolved && isLiquidityTransfer) { uint256 taxAmount = calculateTax(amount, isBuy); uint256 amountAfterTax = amount - taxAmount; distributeTax(msg.sender, taxAmount); // msg.sender is the sender in transfer amount = amountAfterTax; } return super.transfer(recipient, amount); } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { bool isOwnerInvolved = (sender == owner() || recipient == owner()); bool isLiquidityTransfer = liquidityPools[sender] || liquidityPools[recipient]; bool isBuy = liquidityPools[sender]; // Assuming a buy if the sender is a liquidity pool if (!isOwnerInvolved && isLiquidityTransfer) { uint256 taxAmount = calculateTax(amount, isBuy); uint256 amountAfterTax = amount - taxAmount; distributeTax(sender, taxAmount); // sender is the sender in transferFrom amount = amountAfterTax; } return super.transferFrom(sender, recipient, amount); } function _applyTaxAndTransfer(address sender, address recipient, uint256 amount) private returns (uint256) { // Apply Buy or Sell Tax based on whether the transaction is a buy or a sell if (liquidityPools[recipient]) { // Sell transaction amount = applySellTax(sender, recipient, amount); } else if (liquidityPools[sender]) { // Buy transaction amount = applyBuyTax(sender, recipient, amount); } else { super._transfer(sender, recipient, amount); } return amount; } function applyBuyTax(address sender, address recipient, uint256 amount) private returns (uint256) { uint256 tax = calculateTax(amount, true); uint256 amountAfterTax = amount - tax; distributeTax(sender, tax); return amountAfterTax; } function applySellTax(address sender, address recipient, uint256 amount) private returns (uint256) { uint256 tax = calculateTax(amount, false); uint256 amountAfterTax = amount - tax; distributeTax(sender, tax); return amountAfterTax; } function distributeTax(address sender, uint256 tax) private { uint256 devAmount = tax * 2 / 5; // 40% of tax uint256 marketingAmount = tax * 2 / 5; // 40% of tax uint256 liquidityAmount = tax / 5; // 20% of tax super._transfer(sender, developmentWallet, devAmount); super._transfer(sender, marketingWallet, marketingAmount); super._transfer(sender, liquidityFund, liquidityAmount); // for liquidity } function calculateTax(uint256 amount, bool isBuy) private view returns (uint256) { if (block.timestamp < launchTime + 30 minutes) { return amount * (isBuy ? 5 : 20) / 100; } else if (block.timestamp < launchTime + 24 hours) { return amount * (isBuy ? 5 : 10) / 100; } else { return amount * 5 / 100; } } function setLiquidityPool(address pool, bool status) public onlyOwner { liquidityPools[pool] = status; } function airdrop(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner { require(recipients.length == amounts.length, "Mismatch between recipient and amount length"); for (uint256 i = 0; i < recipients.length; i++) { _transfer(msg.sender, recipients[i], amounts[i]); } } function burnSpecificAmount(uint256 amount) external onlyOwner { require(amount > 0 && amount <= balanceOf(msg.sender), "Invalid or excessive amount"); _burn(msg.sender, amount); } // Function to create a Uniswap pair function createUniswapPair() external onlyOwner { require(address(uniswapFactory) != address(0), "Uniswap Factory address not set"); // Create the pair uniswapFactory.createPair(address(this), uniswapRouter.WETH()); } modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function shouldSwapAndLiquify(address sender) internal view returns (bool) { return !inSwapAndLiquify && tradingEnabled && sender != uniswapRouterAddress && balanceOf(address(this)) >= liquidityAdditionThreshold; } function swapAndLiquify() private lockTheSwap { uint256 half = liquidityAdditionThreshold / 2; uint256 otherHalf = liquidityAdditionThreshold - half; uint256 initialBalance = address(this).balance; swapTokensForEth(half); uint256 newBalance = address(this).balance - initialBalance; addLiquidity(otherHalf, newBalance); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapRouter.WETH(); _approve(address(this), address(uniswapRouter), tokenAmount); uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapRouter), tokenAmount); uniswapRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, owner(), block.timestamp ); } function withdrawETH(uint256 amount) external onlyOwner { require(amount <= address(this).balance, "Insufficient balance"); payable(owner()).transfer(amount); } function swapETHForTokens(uint256 minTokens) private { address[] memory path = new address[](2); path[0] = uniswapRouter.WETH(); path[1] = address(this); uniswapRouter.swapExactETHForTokens{value: address(this).balance}( minTokens, path, address(this), block.timestamp ); } function addETHToLiquidity(uint256 minTokensToAdd) external onlyOwner payable { // First, swap half of the ETH for tokens swapETHForTokens(minTokensToAdd); uint256 tokenAmount = balanceOf(address(this)); uint256 ethAmount = address(this).balance; // Approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapRouter), tokenAmount); // Add liquidity uniswapRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // Set slippage tolerance as needed 0, // Set slippage tolerance as needed owner(), block.timestamp ); } receive() external payable {} }
// 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.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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.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 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.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 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "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":"initialOwner","type":"address"},{"internalType":"address","name":"_developmentWallet","type":"address"},{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_liquidityFund","type":"address"},{"internalType":"address","name":"_uniswapRouterAddress","type":"address"},{"internalType":"address","name":"_wethAddress","type":"address"},{"internalType":"address","name":"_uniswapFactoryAddress","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","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":[{"internalType":"uint256","name":"minTokensToAdd","type":"uint256"}],"name":"addETHToLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnSpecificAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityAdditionThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"liquidityPools","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"pool","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setLiquidityPool","outputs":[],"stateMutability":"nonpayable","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":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600c805460ff19169055681b1ae4d6e2ef5000006012553480156200002857600080fd5b5060405162001dda38038062001dda8339810160408190526200004b9162000383565b866040518060400160405280600881526020016720a32caa37b5b2b760c11b8152506040518060400160405280600381526020016241465960e81b81525081600390816200009a9190620004bd565b506004620000a98282620004bd565b5050506001600160a01b038116620000dc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000e781620001a3565b50600680546001600160a01b03199081166001600160a01b0389811691909117909255600780548216888416179055600880548216878416179055600980548216868416179055601080549091169184169190911790556200014c4261012c62000589565b600d5542600e556200016a876a52b7d2dcc80cd2e4000000620001f5565b600f80546001600160a01b039485166001600160a01b031991821617909155601180549290941691161790915550620005b19350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002215760405163ec442f0560e01b815260006004820152602401620000d3565b6200022f6000838362000233565b5050565b6001600160a01b0383166200026257806002600082825462000256919062000589565b90915550620002d69050565b6001600160a01b03831660009081526020819052604090205481811015620002b75760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000d3565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002f45760028054829003905562000313565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200035991815260200190565b60405180910390a3505050565b80516001600160a01b03811681146200037e57600080fd5b919050565b600080600080600080600060e0888a0312156200039f57600080fd5b620003aa8862000366565b9650620003ba6020890162000366565b9550620003ca6040890162000366565b9450620003da6060890162000366565b9350620003ea6080890162000366565b9250620003fa60a0890162000366565b91506200040a60c0890162000366565b905092959891949750929550565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200044357607f821691505b6020821081036200046457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004b857600081815260208120601f850160051c81016020861015620004935750805b601f850160051c820191505b81811015620004b4578281556001016200049f565b5050505b505050565b81516001600160401b03811115620004d957620004d962000418565b620004f181620004ea84546200042e565b846200046a565b602080601f831160018114620005295760008415620005105750858301515b600019600386901b1c1916600185901b178555620004b4565b600085815260208120601f198616915b828110156200055a5788860151825594840194600190910190840162000539565b5085821015620005795787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620005ab57634e487b7160e01b600052601160045260246000fd5b92915050565b61181980620005c16000396000f3fe6080604052600436106101d15760003560e01c8063735de9f7116100f757806397eccf2a11610095578063d974e26811610064578063d974e2681461051e578063dd62ed3e14610534578063f14210a61461057a578063f2fde38b1461059a57600080fd5b806397eccf2a1461049e578063a9059cbb146104be578063c04a5414146104de578063c29c669a146104fe57600080fd5b80638a8c523c116100d15780638a8c523c146104365780638bdb2afa1461044b5780638da5cb5b1461046b57806395d89b411461048957600080fd5b8063735de9f7146103e057806375f0a87414610400578063790ca4131461042057600080fd5b80634a1316721161016f57806369b9546d1161013e57806369b9546d1461035f57806370a082311461037f57806370b7b80c146103b5578063715018a6146103cb57600080fd5b80634a131672146102fb5780634ada218b146103125780634e19b5201461032c578063672434821461033f57600080fd5b806318160ddd116101ab57806318160ddd1461026857806323b872dd14610287578063313ce567146102a75780633fc8cef3146102c357600080fd5b806306fdde03146101dd578063095ea7b3146102085780630b0fd47e1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26105ba565b6040516101ff919061134b565b60405180910390f35b34801561021457600080fd5b506102286102233660046113ae565b61064c565b60405190151581526020016101ff565b34801561024457600080fd5b506102286102533660046113da565b600a6020526000908152604090205460ff1681565b34801561027457600080fd5b506002545b6040519081526020016101ff565b34801561029357600080fd5b506102286102a23660046113fe565b610666565b3480156102b357600080fd5b50604051601281526020016101ff565b3480156102cf57600080fd5b506010546102e3906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b34801561030757600080fd5b50610310610759565b005b34801561031e57600080fd5b50600c546102289060ff1681565b61031061033a36600461143f565b6108ae565b34801561034b57600080fd5b5061031061035a3660046114a4565b6109a8565b34801561036b57600080fd5b5061031061037a36600461143f565b610a81565b34801561038b57600080fd5b5061027961039a3660046113da565b6001600160a01b031660009081526020819052604090205490565b3480156103c157600080fd5b50610279600d5481565b3480156103d757600080fd5b50610310610afe565b3480156103ec57600080fd5b50600f546102e3906001600160a01b031681565b34801561040c57600080fd5b506007546102e3906001600160a01b031681565b34801561042c57600080fd5b50610279600e5481565b34801561044257600080fd5b50610310610b12565b34801561045757600080fd5b506011546102e3906001600160a01b031681565b34801561047757600080fd5b506005546001600160a01b03166102e3565b34801561049557600080fd5b506101f2610b29565b3480156104aa57600080fd5b506008546102e3906001600160a01b031681565b3480156104ca57600080fd5b506102286104d93660046113ae565b610b38565b3480156104ea57600080fd5b506006546102e3906001600160a01b031681565b34801561050a57600080fd5b50610310610519366004611510565b610c17565b34801561052a57600080fd5b5061027960125481565b34801561054057600080fd5b5061027961054f36600461154e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058657600080fd5b5061031061059536600461143f565b610c4a565b3480156105a657600080fd5b506103106105b53660046113da565b610cd7565b6060600380546105c99061157c565b80601f01602080910402602001604051908101604052809291908181526020018280546105f59061157c565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b5050505050905090565b60003361065a818585610d12565b60019150505b92915050565b60008061067b6005546001600160a01b031690565b6001600160a01b0316856001600160a01b031614806106a757506005546001600160a01b038581169116145b6001600160a01b0386166000908152600a60205260408120549192509060ff16806106ea57506001600160a01b0385166000908152600a602052604090205460ff165b6001600160a01b0387166000908152600a602052604090205490915060ff16821580156107145750815b156107435760006107258683610d24565b9050600061073382886115cc565b905061073f8983610d9e565b9550505b61074e878787610e2c565b979650505050505050565b610761610e50565b6011546001600160a01b03166107be5760405162461bcd60e51b815260206004820152601f60248201527f556e697377617020466163746f72792061646472657373206e6f74207365740060448201526064015b60405180910390fd5b601154600f54604080516315ab88c960e31b815290516001600160a01b039384169363c9c6539693309391169163ad5c4648916004808201926020929091908290030181865afa158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a91906115df565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab91906115df565b50565b6108b6610e50565b6108bf81610e7d565b30600081815260208190526040902054600f54909147916108ea91906001600160a01b031684610d12565b600f546001600160a01b031663f305d7198230856000806109136005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561097b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109a091906115fc565b505050505050565b6109b0610e50565b828114610a145760405162461bcd60e51b815260206004820152602c60248201527f4d69736d61746368206265747765656e20726563697069656e7420616e64206160448201526b0dadeeadce840d8cadccee8d60a31b60648201526084016107b5565b60005b83811015610a7a57610a6833868684818110610a3557610a3561162a565b9050602002016020810190610a4a91906113da565b858585818110610a5c57610a5c61162a565b90506020020135610fde565b80610a7281611640565b915050610a17565b5050505050565b610a89610e50565b600081118015610aa85750336000908152602081905260409020548111155b610af45760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206f722065786365737369766520616d6f756e74000000000060448201526064016107b5565b6108ab338261103d565b610b06610e50565b610b106000611073565b565b610b1a610e50565b600c805460ff19166001179055565b6060600480546105c99061157c565b600080610b4d6005546001600160a01b031690565b6001600160a01b0316336001600160a01b03161480610b7957506005546001600160a01b038581169116145b336000908152600a60205260408120549192509060ff1680610bb357506001600160a01b0385166000908152600a602052604090205460ff165b336000908152600a602052604090205490915060ff1682158015610bd45750815b15610c03576000610be58683610d24565b90506000610bf382886115cc565b9050610bff3383610d9e565b9550505b610c0d86866110c5565b9695505050505050565b610c1f610e50565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b610c52610e50565b47811115610c995760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016107b5565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610cd3573d6000803e3d6000fd5b5050565b610cdf610e50565b6001600160a01b038116610d0957604051631e4fbdf760e01b8152600060048201526024016107b5565b6108ab81611073565b610d1f83838360016110d3565b505050565b6000600e54610708610d369190611659565b421015610d6c57606482610d4b576014610d4e565b60055b610d5b9060ff168561166c565b610d659190611683565b9050610660565b600e54610d7c9062015180611659565b421015610d9157606482610d4b57600a610d4e565b6064610d5b84600561166c565b60006005610dad83600261166c565b610db79190611683565b905060006005610dc884600261166c565b610dd29190611683565b90506000610de1600585611683565b600654909150610dfc9086906001600160a01b031685610fde565b600754610e149086906001600160a01b031684610fde565b600854610a7a9086906001600160a01b031683610fde565b600033610e3a8582856111a9565b610e45858585610fde565b506001949350505050565b6005546001600160a01b03163314610b105760405163118cdaa760e01b81523360048201526024016107b5565b6040805160028082526060820183526000926020830190803683375050600f54604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b91906115df565b81600081518110610f1e57610f1e61162a565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610f5257610f5261162a565b6001600160a01b039283166020918202929092010152600f54604051637ff36ab560e01b8152911690637ff36ab5904790610f979086908690309042906004016116bb565b60006040518083038185885af1158015610fb5573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610d1f9190810190611725565b6001600160a01b03831661100857604051634b637e8f60e11b8152600060048201526024016107b5565b6001600160a01b0382166110325760405163ec442f0560e01b8152600060048201526024016107b5565b610d1f838383611221565b6001600160a01b03821661106757604051634b637e8f60e11b8152600060048201526024016107b5565b610cd382600083611221565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60003361065a818585610fde565b6001600160a01b0384166110fd5760405163e602df0560e01b8152600060048201526024016107b5565b6001600160a01b03831661112757604051634a1406b160e11b8152600060048201526024016107b5565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156111a357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161119a91815260200190565b60405180910390a35b50505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146111a3578181101561121257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016107b5565b6111a3848484840360006110d3565b6001600160a01b03831661124c5780600260008282546112419190611659565b909155506112be9050565b6001600160a01b0383166000908152602081905260409020548181101561129f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016107b5565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166112da576002805482900390556112f9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161133e91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156113785785810183015185820160400152820161135c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108ab57600080fd5b600080604083850312156113c157600080fd5b82356113cc81611399565b946020939093013593505050565b6000602082840312156113ec57600080fd5b81356113f781611399565b9392505050565b60008060006060848603121561141357600080fd5b833561141e81611399565b9250602084013561142e81611399565b929592945050506040919091013590565b60006020828403121561145157600080fd5b5035919050565b60008083601f84011261146a57600080fd5b50813567ffffffffffffffff81111561148257600080fd5b6020830191508360208260051b850101111561149d57600080fd5b9250929050565b600080600080604085870312156114ba57600080fd5b843567ffffffffffffffff808211156114d257600080fd5b6114de88838901611458565b909650945060208701359150808211156114f757600080fd5b5061150487828801611458565b95989497509550505050565b6000806040838503121561152357600080fd5b823561152e81611399565b91506020830135801515811461154357600080fd5b809150509250929050565b6000806040838503121561156157600080fd5b823561156c81611399565b9150602083013561154381611399565b600181811c9082168061159057607f821691505b6020821081036115b057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610660576106606115b6565b6000602082840312156115f157600080fd5b81516113f781611399565b60008060006060848603121561161157600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060018201611652576116526115b6565b5060010190565b80820180821115610660576106606115b6565b8082028115828204841417610660576106606115b6565b6000826116a057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156117055784516001600160a01b0316835293830193918301916001016116e0565b50506001600160a01b039690961660408501525050506060015292915050565b6000602080838503121561173857600080fd5b825167ffffffffffffffff8082111561175057600080fd5b818501915085601f83011261176457600080fd5b815181811115611776576117766116a5565b8060051b604051601f19603f8301168101818110858211171561179b5761179b6116a5565b6040529182528482019250838101850191888311156117b957600080fd5b938501935b828510156117d7578451845293850193928501926117be565b9897505050505050505056fea264697066735822122001b96524fec3c40883d14b9fc689b296387a4d022a009c2626ec2dde3c085fd164736f6c63430008140033000000000000000000000000eecc1ca99f281b37699df9bf0f3ed4ceb45ffb7b000000000000000000000000e807359f23b6fe34b9e50d27f33b00e788d9f4f0000000000000000000000000d0bafa591dd354dd743c2f9147cb18f00c762a16000000000000000000000000b659ebd1cd145ce596dc8c8c6dfeccc570a88df20000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Deployed Bytecode
0x6080604052600436106101d15760003560e01c8063735de9f7116100f757806397eccf2a11610095578063d974e26811610064578063d974e2681461051e578063dd62ed3e14610534578063f14210a61461057a578063f2fde38b1461059a57600080fd5b806397eccf2a1461049e578063a9059cbb146104be578063c04a5414146104de578063c29c669a146104fe57600080fd5b80638a8c523c116100d15780638a8c523c146104365780638bdb2afa1461044b5780638da5cb5b1461046b57806395d89b411461048957600080fd5b8063735de9f7146103e057806375f0a87414610400578063790ca4131461042057600080fd5b80634a1316721161016f57806369b9546d1161013e57806369b9546d1461035f57806370a082311461037f57806370b7b80c146103b5578063715018a6146103cb57600080fd5b80634a131672146102fb5780634ada218b146103125780634e19b5201461032c578063672434821461033f57600080fd5b806318160ddd116101ab57806318160ddd1461026857806323b872dd14610287578063313ce567146102a75780633fc8cef3146102c357600080fd5b806306fdde03146101dd578063095ea7b3146102085780630b0fd47e1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26105ba565b6040516101ff919061134b565b60405180910390f35b34801561021457600080fd5b506102286102233660046113ae565b61064c565b60405190151581526020016101ff565b34801561024457600080fd5b506102286102533660046113da565b600a6020526000908152604090205460ff1681565b34801561027457600080fd5b506002545b6040519081526020016101ff565b34801561029357600080fd5b506102286102a23660046113fe565b610666565b3480156102b357600080fd5b50604051601281526020016101ff565b3480156102cf57600080fd5b506010546102e3906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b34801561030757600080fd5b50610310610759565b005b34801561031e57600080fd5b50600c546102289060ff1681565b61031061033a36600461143f565b6108ae565b34801561034b57600080fd5b5061031061035a3660046114a4565b6109a8565b34801561036b57600080fd5b5061031061037a36600461143f565b610a81565b34801561038b57600080fd5b5061027961039a3660046113da565b6001600160a01b031660009081526020819052604090205490565b3480156103c157600080fd5b50610279600d5481565b3480156103d757600080fd5b50610310610afe565b3480156103ec57600080fd5b50600f546102e3906001600160a01b031681565b34801561040c57600080fd5b506007546102e3906001600160a01b031681565b34801561042c57600080fd5b50610279600e5481565b34801561044257600080fd5b50610310610b12565b34801561045757600080fd5b506011546102e3906001600160a01b031681565b34801561047757600080fd5b506005546001600160a01b03166102e3565b34801561049557600080fd5b506101f2610b29565b3480156104aa57600080fd5b506008546102e3906001600160a01b031681565b3480156104ca57600080fd5b506102286104d93660046113ae565b610b38565b3480156104ea57600080fd5b506006546102e3906001600160a01b031681565b34801561050a57600080fd5b50610310610519366004611510565b610c17565b34801561052a57600080fd5b5061027960125481565b34801561054057600080fd5b5061027961054f36600461154e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058657600080fd5b5061031061059536600461143f565b610c4a565b3480156105a657600080fd5b506103106105b53660046113da565b610cd7565b6060600380546105c99061157c565b80601f01602080910402602001604051908101604052809291908181526020018280546105f59061157c565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b5050505050905090565b60003361065a818585610d12565b60019150505b92915050565b60008061067b6005546001600160a01b031690565b6001600160a01b0316856001600160a01b031614806106a757506005546001600160a01b038581169116145b6001600160a01b0386166000908152600a60205260408120549192509060ff16806106ea57506001600160a01b0385166000908152600a602052604090205460ff165b6001600160a01b0387166000908152600a602052604090205490915060ff16821580156107145750815b156107435760006107258683610d24565b9050600061073382886115cc565b905061073f8983610d9e565b9550505b61074e878787610e2c565b979650505050505050565b610761610e50565b6011546001600160a01b03166107be5760405162461bcd60e51b815260206004820152601f60248201527f556e697377617020466163746f72792061646472657373206e6f74207365740060448201526064015b60405180910390fd5b601154600f54604080516315ab88c960e31b815290516001600160a01b039384169363c9c6539693309391169163ad5c4648916004808201926020929091908290030181865afa158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a91906115df565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab91906115df565b50565b6108b6610e50565b6108bf81610e7d565b30600081815260208190526040902054600f54909147916108ea91906001600160a01b031684610d12565b600f546001600160a01b031663f305d7198230856000806109136005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561097b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109a091906115fc565b505050505050565b6109b0610e50565b828114610a145760405162461bcd60e51b815260206004820152602c60248201527f4d69736d61746368206265747765656e20726563697069656e7420616e64206160448201526b0dadeeadce840d8cadccee8d60a31b60648201526084016107b5565b60005b83811015610a7a57610a6833868684818110610a3557610a3561162a565b9050602002016020810190610a4a91906113da565b858585818110610a5c57610a5c61162a565b90506020020135610fde565b80610a7281611640565b915050610a17565b5050505050565b610a89610e50565b600081118015610aa85750336000908152602081905260409020548111155b610af45760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206f722065786365737369766520616d6f756e74000000000060448201526064016107b5565b6108ab338261103d565b610b06610e50565b610b106000611073565b565b610b1a610e50565b600c805460ff19166001179055565b6060600480546105c99061157c565b600080610b4d6005546001600160a01b031690565b6001600160a01b0316336001600160a01b03161480610b7957506005546001600160a01b038581169116145b336000908152600a60205260408120549192509060ff1680610bb357506001600160a01b0385166000908152600a602052604090205460ff165b336000908152600a602052604090205490915060ff1682158015610bd45750815b15610c03576000610be58683610d24565b90506000610bf382886115cc565b9050610bff3383610d9e565b9550505b610c0d86866110c5565b9695505050505050565b610c1f610e50565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b610c52610e50565b47811115610c995760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016107b5565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610cd3573d6000803e3d6000fd5b5050565b610cdf610e50565b6001600160a01b038116610d0957604051631e4fbdf760e01b8152600060048201526024016107b5565b6108ab81611073565b610d1f83838360016110d3565b505050565b6000600e54610708610d369190611659565b421015610d6c57606482610d4b576014610d4e565b60055b610d5b9060ff168561166c565b610d659190611683565b9050610660565b600e54610d7c9062015180611659565b421015610d9157606482610d4b57600a610d4e565b6064610d5b84600561166c565b60006005610dad83600261166c565b610db79190611683565b905060006005610dc884600261166c565b610dd29190611683565b90506000610de1600585611683565b600654909150610dfc9086906001600160a01b031685610fde565b600754610e149086906001600160a01b031684610fde565b600854610a7a9086906001600160a01b031683610fde565b600033610e3a8582856111a9565b610e45858585610fde565b506001949350505050565b6005546001600160a01b03163314610b105760405163118cdaa760e01b81523360048201526024016107b5565b6040805160028082526060820183526000926020830190803683375050600f54604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b91906115df565b81600081518110610f1e57610f1e61162a565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610f5257610f5261162a565b6001600160a01b039283166020918202929092010152600f54604051637ff36ab560e01b8152911690637ff36ab5904790610f979086908690309042906004016116bb565b60006040518083038185885af1158015610fb5573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610d1f9190810190611725565b6001600160a01b03831661100857604051634b637e8f60e11b8152600060048201526024016107b5565b6001600160a01b0382166110325760405163ec442f0560e01b8152600060048201526024016107b5565b610d1f838383611221565b6001600160a01b03821661106757604051634b637e8f60e11b8152600060048201526024016107b5565b610cd382600083611221565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60003361065a818585610fde565b6001600160a01b0384166110fd5760405163e602df0560e01b8152600060048201526024016107b5565b6001600160a01b03831661112757604051634a1406b160e11b8152600060048201526024016107b5565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156111a357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161119a91815260200190565b60405180910390a35b50505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146111a3578181101561121257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016107b5565b6111a3848484840360006110d3565b6001600160a01b03831661124c5780600260008282546112419190611659565b909155506112be9050565b6001600160a01b0383166000908152602081905260409020548181101561129f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016107b5565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166112da576002805482900390556112f9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161133e91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156113785785810183015185820160400152820161135c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108ab57600080fd5b600080604083850312156113c157600080fd5b82356113cc81611399565b946020939093013593505050565b6000602082840312156113ec57600080fd5b81356113f781611399565b9392505050565b60008060006060848603121561141357600080fd5b833561141e81611399565b9250602084013561142e81611399565b929592945050506040919091013590565b60006020828403121561145157600080fd5b5035919050565b60008083601f84011261146a57600080fd5b50813567ffffffffffffffff81111561148257600080fd5b6020830191508360208260051b850101111561149d57600080fd5b9250929050565b600080600080604085870312156114ba57600080fd5b843567ffffffffffffffff808211156114d257600080fd5b6114de88838901611458565b909650945060208701359150808211156114f757600080fd5b5061150487828801611458565b95989497509550505050565b6000806040838503121561152357600080fd5b823561152e81611399565b91506020830135801515811461154357600080fd5b809150509250929050565b6000806040838503121561156157600080fd5b823561156c81611399565b9150602083013561154381611399565b600181811c9082168061159057607f821691505b6020821081036115b057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610660576106606115b6565b6000602082840312156115f157600080fd5b81516113f781611399565b60008060006060848603121561161157600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060018201611652576116526115b6565b5060010190565b80820180821115610660576106606115b6565b8082028115828204841417610660576106606115b6565b6000826116a057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156117055784516001600160a01b0316835293830193918301916001016116e0565b50506001600160a01b039690961660408501525050506060015292915050565b6000602080838503121561173857600080fd5b825167ffffffffffffffff8082111561175057600080fd5b818501915085601f83011261176457600080fd5b815181811115611776576117766116a5565b8060051b604051601f19603f8301168101818110858211171561179b5761179b6116a5565b6040529182528482019250838101850191888311156117b957600080fd5b938501935b828510156117d7578451845293850193928501926117be565b9897505050505050505056fea264697066735822122001b96524fec3c40883d14b9fc689b296387a4d022a009c2626ec2dde3c085fd164736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000eecc1ca99f281b37699df9bf0f3ed4ceb45ffb7b000000000000000000000000e807359f23b6fe34b9e50d27f33b00e788d9f4f0000000000000000000000000d0bafa591dd354dd743c2f9147cb18f00c762a16000000000000000000000000b659ebd1cd145ce596dc8c8c6dfeccc570a88df20000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xeeCc1Ca99F281b37699DF9Bf0F3ED4cEb45fFB7b
Arg [1] : _developmentWallet (address): 0xe807359f23B6fe34b9E50D27F33B00E788D9F4F0
Arg [2] : _marketingWallet (address): 0xd0Bafa591Dd354DD743c2f9147Cb18F00C762a16
Arg [3] : _liquidityFund (address): 0xb659Ebd1Cd145Ce596dC8C8c6DfEccc570A88df2
Arg [4] : _uniswapRouterAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [5] : _wethAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [6] : _uniswapFactoryAddress (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000eecc1ca99f281b37699df9bf0f3ed4ceb45ffb7b
Arg [1] : 000000000000000000000000e807359f23b6fe34b9e50d27f33b00e788d9f4f0
Arg [2] : 000000000000000000000000d0bafa591dd354dd743c2f9147cb18f00c762a16
Arg [3] : 000000000000000000000000b659ebd1cd145ce596dc8c8c6dfeccc570a88df2
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
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.