ERC-20
Overview
Max Total Supply
999,999,999 MEOW
Holders
144
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.692230460456106376 MEOWValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Meow
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import {IUniswapV2Router02, IUniswapV2Factory} from "./interfaces.sol"; import "openzeppelin/token/ERC20/ERC20.sol"; import "openzeppelin/access/Ownable.sol"; // https://twitter.com/meowcoineth // https://t.me/meowcoineth contract Meow is ERC20, Ownable { // events event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool excluded); event ExcludeFromMaxTransaction(address indexed account, bool excluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); // errors error ERC20FromZero(); error ERC20ToZero(); error TradingNotActive(); error BuyTransferExceedsMaxTransactionAmount(); error BuyExceedsMaxWallet(); error SellTransferExceedsMaxTransactionAmount(); error MaxWallet(); error SwapAmountTooLow(); error SwapAmountTooHigh(); // constants uint256 public constant MAX_SUPPLY = 999_999_999 ether; address constant DEV_WALLET = 0x888c523E4031A09B94DfCE14EA01Da931e88dF34; IUniswapV2Router02 public constant UNISWAP_V2_ROUTER = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public immutable UNISWAP_V2_PAIR; address private constant BURN_ADDRESS = address(0xdEaD); uint256 private constant INITIAL_MAX_TRANSACTION_AMOUNT = 30_000_000 ether; // 3% uint256 private constant INITIAL_MAX_WALLET = 30_000_000 ether; // 3% uint256 private constant INITIAL_BUY_FEE = 20; uint256 private constant INITIAL_SELL_FEE = 50; // states bool public tradingEnabled = false; bool public swapEnabled = false; bool public limitsEnabled = true; uint256 public maxTransactionAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 public buyFee; uint256 public sellFee; uint256 public tokensForDev; bool private _isSwapping; // - exclude from fees and max transaction amount mapping(address => bool) public isExcludedFromFees; mapping(address => bool) public isExcludedMaxTransactionAmount; // - store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; // constructor constructor() ERC20("Meow", unicode"MEOW") { // create uniswap pair address _uniswapPair = IUniswapV2Factory(UNISWAP_V2_ROUTER.factory()) .createPair(address(this), UNISWAP_V2_ROUTER.WETH()); UNISWAP_V2_PAIR = _uniswapPair; // initialize states maxTransactionAmount = INITIAL_MAX_TRANSACTION_AMOUNT; maxWallet = INITIAL_MAX_WALLET; swapTokensAtAmount = MAX_SUPPLY / 1000; // 0.1% swap wallet buyFee = INITIAL_BUY_FEE; sellFee = INITIAL_SELL_FEE; // exclude from paying fees or having max transaction amount excludeFromFees(msg.sender, true); excludeFromFees(address(this), true); excludeFromFees(BURN_ADDRESS, true); excludeFromMaxTransaction(address(UNISWAP_V2_ROUTER), true); excludeFromMaxTransaction(address(_uniswapPair), true); excludeFromMaxTransaction(msg.sender, true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(BURN_ADDRESS, true); // set amm pair _setAutomatedMarketMakerPair(address(_uniswapPair), true); // mint _mint(msg.sender, MAX_SUPPLY); } // receive receive() external payable {} // transfer function _transfer( address from, address to, uint256 amount ) internal override { if (from == address(0)) { revert ERC20FromZero(); } if (to == address(0)) { revert ERC20ToZero(); } // zero amount if (amount == 0) { super._transfer(from, to, 0); return; } bool isBuying = automatedMarketMakerPairs[from] && !isExcludedMaxTransactionAmount[to]; bool isSelling = automatedMarketMakerPairs[to] && !isExcludedMaxTransactionAmount[from]; bool isOwner = from == owner() || to == owner(); bool isBurning = to == BURN_ADDRESS; // check limits if (limitsEnabled && !_isSwapping && !isOwner && !isBurning) { if (!tradingEnabled) { if (!isExcludedFromFees[from] && !isExcludedFromFees[to]) { revert TradingNotActive(); } } if (isBuying) { if (amount > maxTransactionAmount) { revert BuyTransferExceedsMaxTransactionAmount(); } if (amount + balanceOf(to) > maxWallet) { revert BuyExceedsMaxWallet(); } } else if (isSelling) { if (amount > maxTransactionAmount) { revert SellTransferExceedsMaxTransactionAmount(); } } else if (!isExcludedMaxTransactionAmount[to]) { if (amount + balanceOf(to) > maxWallet) { revert MaxWallet(); } } } // swap if ( swapEnabled && balanceOf(address(this)) >= swapTokensAtAmount && !_isSwapping && !automatedMarketMakerPairs[from] && !isExcludedFromFees[from] && !isExcludedFromFees[to] ) { _isSwapping = true; _swap(); _isSwapping = false; } // fees uint256 fees = 0; if ( !_isSwapping && !isExcludedFromFees[from] && !isExcludedFromFees[to] ) { // only take fees on buys/sells, never on wallet transfers uint256 sellTotalFees = sellFee; uint256 buyTotalFees = buyFee; // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = (amount * sellTotalFees) / 100; tokensForDev += fees; super._transfer(from, address(this), fees); } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 100; tokensForDev += fees; super._transfer(from, address(this), fees); } } super._transfer(from, to, amount - fees); } /* -------------------------------------------------------------------------- */ /* owners */ /* -------------------------------------------------------------------------- */ function excludeFromMaxTransaction( address addr, bool excluded ) public onlyOwner { isExcludedMaxTransactionAmount[addr] = excluded; emit ExcludeFromMaxTransaction(addr, excluded); } function excludeFromFees(address addr, bool excluded) public onlyOwner { isExcludedFromFees[addr] = excluded; emit ExcludeFromFees(addr, excluded); } function enableTrading() external onlyOwner { tradingEnabled = true; swapEnabled = true; } function removeLimits() external onlyOwner { limitsEnabled = false; } function setFees(uint256 _buyFee, uint256 _sellFee) external onlyOwner { buyFee = _buyFee; sellFee = _sellFee; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner { uint256 _totalSupply = totalSupply(); if (newAmount < _totalSupply / 100000) { revert SwapAmountTooLow(); } if (newAmount > (_totalSupply * 5) / 1000) { revert SwapAmountTooHigh(); } swapTokensAtAmount = newAmount; } function setSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function setMaxTransactionAmount(uint256 max) external onlyOwner { maxTransactionAmount = max; } function setMaxWallet(uint256 max) external onlyOwner { maxWallet = max; } /* -------------------------------------------------------------------------- */ /* private */ /* -------------------------------------------------------------------------- */ function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = UNISWAP_V2_ROUTER.WETH(); _approve(address(this), address(UNISWAP_V2_ROUTER), tokenAmount); // make the swap UNISWAP_V2_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function _swap() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForDev; // nothing to swap if (contractBalance == 0 || totalTokensToSwap == 0) { return; } // swap amount uint256 swapAmount = contractBalance; if (swapAmount > swapTokensAtAmount * 20) { swapAmount = swapTokensAtAmount * 20; } // swap to ETH _swapTokensForEth(swapAmount); // reset states tokensForDev = 0; // dev transfer payable(address(DEV_WALLET)).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * 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]. * * 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. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 value {ERC20} uses, unless this function is * 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` 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. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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 amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` 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 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IWETH { function balanceOf(address account) external view returns (uint256); function approve(address guy, uint256 wad) external returns (bool); }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BuyExceedsMaxWallet","type":"error"},{"inputs":[],"name":"BuyTransferExceedsMaxTransactionAmount","type":"error"},{"inputs":[],"name":"ERC20FromZero","type":"error"},{"inputs":[],"name":"ERC20ToZero","type":"error"},{"inputs":[],"name":"MaxWallet","type":"error"},{"inputs":[],"name":"SellTransferExceedsMaxTransactionAmount","type":"error"},{"inputs":[],"name":"SwapAmountTooHigh","type":"error"},{"inputs":[],"name":"SwapAmountTooLow","type":"error"},{"inputs":[],"name":"TradingNotActive","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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_ROUTER","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526005805462ffffff60a01b1916600160b01b1790553480156200002657600080fd5b50604051806040016040528060048152602001634d656f7760e01b815250604051806040016040528060048152602001634d454f5760e01b815250816003908162000072919062000650565b50600462000081828262000650565b5050506200009e620000986200030b60201b60201c565b6200030f565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011991906200071c565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a191906200071c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021591906200071c565b6001600160a01b0381166080526a18d0bf423c03d8de00000060068190556007559050620002526103e86b033b2e3c91efc989409c00006200074e565b60085560146009556032600a556200026c33600162000361565b6200027930600162000361565b6200028861dead600162000361565b620002a9737a250d5630b4cf539739df2c5dacb4c659f2488d6001620003cb565b620002b6816001620003cb565b620002c3336001620003cb565b620002d0306001620003cb565b620002df61dead6001620003cb565b620002ec8160016200042e565b62000304336b033b2e3c91efc989409c000062000482565b5062000799565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200036b62000549565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b620003d562000549565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089101620003bf565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216620004de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620004f2919062000771565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005a55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004d5565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005d757607f821691505b602082108103620005f857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005a757600081815260208120601f850160051c81016020861015620006275750805b601f850160051c820191505b81811015620006485782815560010162000633565b505050505050565b81516001600160401b038111156200066c576200066c620005ac565b62000684816200067d8454620005c2565b84620005fe565b602080601f831160018114620006bc5760008415620006a35750858301515b600019600386901b1c1916600185901b17855562000648565b600085815260208120601f198616915b82811015620006ed57888601518255948401946001909101908401620006cc565b50858210156200070c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200072f57600080fd5b81516001600160a01b03811681146200074757600080fd5b9392505050565b6000826200076c57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200079357634e487b7160e01b600052601160045260246000fd5b92915050565b6080516119b4620007b560003960006106e401526119b46000f3fe6080604052600436106102295760003560e01c8063751039fc11610123578063afa4f3b2116100ab578063e01af92c1161006f578063e01af92c1461067c578063e2f456051461069c578063f2fde38b146106b2578063f40acc3d146106d2578063f8b45b051461070657600080fd5b8063afa4f3b2146105d6578063b62496f5146105f6578063c024666814610626578063c8c8ebe414610646578063dd62ed3e1461065c57600080fd5b806395d89b41116100f257806395d89b41146105435780639fccce3214610558578063a457c2d71461056e578063a82ed9ec1461058e578063a9059cbb146105b657600080fd5b8063751039fc146104c75780637571336a146104dc5780638a8c523c146104fc5780638da5cb5b1461051157600080fd5b80633582ad23116101b15780634fbee193116101755780634fbee1931461040b5780635d0044ca1461043b5780636ddd17131461045b57806370a082311461047c578063715018a6146104b257600080fd5b80633582ad2314610363578063395093511461038457806347062402146103a45780634ada218b146103ba5780634bb2c785146103db57600080fd5b80631e293c10116101f85780631e293c10146102d157806323b872dd146102f15780632b14ca5614610311578063313ce5671461032757806332cb6b0c1461034357600080fd5b806306fdde0314610235578063095ea7b3146102605780630b78f9c01461029057806318160ddd146102b257600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a61071c565b604051610257919061165e565b60405180910390f35b34801561026c57600080fd5b5061028061027b3660046116c1565b6107ae565b6040519015158152602001610257565b34801561029c57600080fd5b506102b06102ab3660046116ed565b6107c8565b005b3480156102be57600080fd5b506002545b604051908152602001610257565b3480156102dd57600080fd5b506102b06102ec36600461170f565b6107db565b3480156102fd57600080fd5b5061028061030c366004611728565b6107e8565b34801561031d57600080fd5b506102c3600a5481565b34801561033357600080fd5b5060405160128152602001610257565b34801561034f57600080fd5b506102c36b033b2e3c91efc989409c000081565b34801561036f57600080fd5b5060055461028090600160b01b900460ff1681565b34801561039057600080fd5b5061028061039f3660046116c1565b61080c565b3480156103b057600080fd5b506102c360095481565b3480156103c657600080fd5b5060055461028090600160a01b900460ff1681565b3480156103e757600080fd5b506102806103f6366004611769565b600e6020526000908152604090205460ff1681565b34801561041757600080fd5b50610280610426366004611769565b600d6020526000908152604090205460ff1681565b34801561044757600080fd5b506102b061045636600461170f565b61082e565b34801561046757600080fd5b5060055461028090600160a81b900460ff1681565b34801561048857600080fd5b506102c3610497366004611769565b6001600160a01b031660009081526020819052604090205490565b3480156104be57600080fd5b506102b061083b565b3480156104d357600080fd5b506102b061084f565b3480156104e857600080fd5b506102b06104f73660046117a2565b610866565b34801561050857600080fd5b506102b06108ce565b34801561051d57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610257565b34801561054f57600080fd5b5061024a6108ed565b34801561056457600080fd5b506102c3600b5481565b34801561057a57600080fd5b506102806105893660046116c1565b6108fc565b34801561059a57600080fd5b5061052b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156105c257600080fd5b506102806105d13660046116c1565b61097c565b3480156105e257600080fd5b506102b06105f136600461170f565b61098a565b34801561060257600080fd5b50610280610611366004611769565b600f6020526000908152604090205460ff1681565b34801561063257600080fd5b506102b06106413660046117a2565b610a0a565b34801561065257600080fd5b506102c360065481565b34801561066857600080fd5b506102c36106773660046117d7565b610a6a565b34801561068857600080fd5b506102b0610697366004611810565b610a95565b3480156106a857600080fd5b506102c360085481565b3480156106be57600080fd5b506102b06106cd366004611769565b610abb565b3480156106de57600080fd5b5061052b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561071257600080fd5b506102c360075481565b60606003805461072b9061182b565b80601f01602080910402602001604051908101604052809291908181526020018280546107579061182b565b80156107a45780601f10610779576101008083540402835291602001916107a4565b820191906000526020600020905b81548152906001019060200180831161078757829003601f168201915b5050505050905090565b6000336107bc818585610b34565b60019150505b92915050565b6107d0610c58565b600991909155600a55565b6107e3610c58565b600655565b6000336107f6858285610cb2565b610801858585610d2c565b506001949350505050565b6000336107bc81858561081f8383610a6a565b610829919061187b565b610b34565b610836610c58565b600755565b610843610c58565b61084d6000611236565b565b610857610c58565b6005805460ff60b01b19169055565b61086e610c58565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b6108d6610c58565b6005805461ffff60a01b191661010160a01b179055565b60606004805461072b9061182b565b6000338161090a8286610a6a565b90508381101561096f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6108018286868403610b34565b6000336107bc818585610d2c565b610992610c58565b600061099d60025490565b90506109ac620186a08261188e565b8210156109cc5760405163f570cd7760e01b815260040160405180910390fd5b6103e86109da8260056118b0565b6109e4919061188e565b821115610a0457604051635fe38dcb60e11b815260040160405180910390fd5b50600855565b610a12610c58565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791016108c2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a9d610c58565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610ac3610c58565b6001600160a01b038116610b285760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610966565b610b3181611236565b50565b6001600160a01b038316610b965760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610966565b6001600160a01b038216610bf75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610966565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461084d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b6000610cbe8484610a6a565b90506000198114610d265781811015610d195760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610966565b610d268484848403610b34565b50505050565b6001600160a01b038316610d535760405163065c8d2b60e01b815260040160405180910390fd5b6001600160a01b038216610d7a57604051631ccd5cbb60e21b815260040160405180910390fd5b80600003610d9357610d8e83836000611288565b505050565b6001600160a01b0383166000908152600f602052604081205460ff168015610dd457506001600160a01b0383166000908152600e602052604090205460ff16155b6001600160a01b0384166000908152600f60205260408120549192509060ff168015610e1957506001600160a01b0385166000908152600e602052604090205460ff16155b90506000610e2f6005546001600160a01b031690565b6001600160a01b0316866001600160a01b03161480610e5b57506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff168015610e895750600c5460ff16155b8015610e93575081155b8015610e9d575080155b1561101457600554600160a01b900460ff16610f13576001600160a01b0387166000908152600d602052604090205460ff16158015610ef557506001600160a01b0386166000908152600d602052604090205460ff16155b15610f1357604051632924508760e21b815260040160405180910390fd5b8315610f8657600654851115610f3c5760405163b366cf4960e01b815260040160405180910390fd5b6007546001600160a01b038716600090815260208190526040902054610f62908761187b565b1115610f8157604051633c530f8d60e21b815260040160405180910390fd5b611014565b8215610faf57600654851115610f8157604051638a17263b60e01b815260040160405180910390fd5b6001600160a01b0386166000908152600e602052604090205460ff16611014576007546001600160a01b038716600090815260208190526040902054610ff5908761187b565b111561101457604051630949534d60e31b815260040160405180910390fd5b600554600160a81b900460ff16801561103e57506008543060009081526020819052604090205410155b801561104d5750600c5460ff16155b801561107257506001600160a01b0387166000908152600f602052604090205460ff16155b801561109757506001600160a01b0387166000908152600d602052604090205460ff16155b80156110bc57506001600160a01b0386166000908152600d602052604090205460ff16155b156110e157600c805460ff191660011790556110d661142c565b600c805460ff191690555b600c5460009060ff1615801561111057506001600160a01b0388166000908152600d602052604090205460ff16155b801561113557506001600160a01b0387166000908152600d602052604090205460ff16155b1561121857600a546009546001600160a01b0389166000908152600f602052604090205460ff1680156111685750600082115b156111ad576064611179838a6118b0565b611183919061188e565b925082600b6000828254611197919061187b565b909155506111a890508a3085611288565b611215565b6001600160a01b038a166000908152600f602052604090205460ff1680156111d55750600081115b156112155760646111e6828a6118b0565b6111f0919061188e565b925082600b6000828254611204919061187b565b9091555061121590508a3085611288565b50505b61122c8888611227848a6118c7565b611288565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166112ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610966565b6001600160a01b03821661134e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610966565b6001600160a01b038316600090815260208190526040902054818110156113c65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610966565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d26565b30600090815260208190526040902054600b5481158061144a575080155b15611453575050565b60085482906114639060146118b0565b81111561147b576008546114789060146118b0565b90505b611484816114cb565b6000600b81905560405173888c523e4031a09b94dfce14ea01da931e88df34914780156108fc02929091818181858888f19350505050158015610d26573d6000803e3d6000fd5b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611500576115006118da565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611572573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159691906118f0565b816001815181106115a9576115a96118da565b60200260200101906001600160a01b031690816001600160a01b0316815250506115e830737a250d5630b4cf539739df2c5dacb4c659f2488d84610b34565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac9479061162890859060009086903090429060040161190d565b600060405180830381600087803b15801561164257600080fd5b505af1158015611656573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561168b5785810183015185820160400152820161166f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b3157600080fd5b600080604083850312156116d457600080fd5b82356116df816116ac565b946020939093013593505050565b6000806040838503121561170057600080fd5b50508035926020909101359150565b60006020828403121561172157600080fd5b5035919050565b60008060006060848603121561173d57600080fd5b8335611748816116ac565b92506020840135611758816116ac565b929592945050506040919091013590565b60006020828403121561177b57600080fd5b8135611786816116ac565b9392505050565b8035801515811461179d57600080fd5b919050565b600080604083850312156117b557600080fd5b82356117c0816116ac565b91506117ce6020840161178d565b90509250929050565b600080604083850312156117ea57600080fd5b82356117f5816116ac565b91506020830135611805816116ac565b809150509250929050565b60006020828403121561182257600080fd5b6117868261178d565b600181811c9082168061183f57607f821691505b60208210810361185f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107c2576107c2611865565b6000826118ab57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107c2576107c2611865565b818103818111156107c2576107c2611865565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561190257600080fd5b8151611786816116ac565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561195d5784516001600160a01b031683529383019391830191600101611938565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b6ce45818bc53269211ea6fd0bcd89714a3db0390141ef4cebae9757c691dca864736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102295760003560e01c8063751039fc11610123578063afa4f3b2116100ab578063e01af92c1161006f578063e01af92c1461067c578063e2f456051461069c578063f2fde38b146106b2578063f40acc3d146106d2578063f8b45b051461070657600080fd5b8063afa4f3b2146105d6578063b62496f5146105f6578063c024666814610626578063c8c8ebe414610646578063dd62ed3e1461065c57600080fd5b806395d89b41116100f257806395d89b41146105435780639fccce3214610558578063a457c2d71461056e578063a82ed9ec1461058e578063a9059cbb146105b657600080fd5b8063751039fc146104c75780637571336a146104dc5780638a8c523c146104fc5780638da5cb5b1461051157600080fd5b80633582ad23116101b15780634fbee193116101755780634fbee1931461040b5780635d0044ca1461043b5780636ddd17131461045b57806370a082311461047c578063715018a6146104b257600080fd5b80633582ad2314610363578063395093511461038457806347062402146103a45780634ada218b146103ba5780634bb2c785146103db57600080fd5b80631e293c10116101f85780631e293c10146102d157806323b872dd146102f15780632b14ca5614610311578063313ce5671461032757806332cb6b0c1461034357600080fd5b806306fdde0314610235578063095ea7b3146102605780630b78f9c01461029057806318160ddd146102b257600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a61071c565b604051610257919061165e565b60405180910390f35b34801561026c57600080fd5b5061028061027b3660046116c1565b6107ae565b6040519015158152602001610257565b34801561029c57600080fd5b506102b06102ab3660046116ed565b6107c8565b005b3480156102be57600080fd5b506002545b604051908152602001610257565b3480156102dd57600080fd5b506102b06102ec36600461170f565b6107db565b3480156102fd57600080fd5b5061028061030c366004611728565b6107e8565b34801561031d57600080fd5b506102c3600a5481565b34801561033357600080fd5b5060405160128152602001610257565b34801561034f57600080fd5b506102c36b033b2e3c91efc989409c000081565b34801561036f57600080fd5b5060055461028090600160b01b900460ff1681565b34801561039057600080fd5b5061028061039f3660046116c1565b61080c565b3480156103b057600080fd5b506102c360095481565b3480156103c657600080fd5b5060055461028090600160a01b900460ff1681565b3480156103e757600080fd5b506102806103f6366004611769565b600e6020526000908152604090205460ff1681565b34801561041757600080fd5b50610280610426366004611769565b600d6020526000908152604090205460ff1681565b34801561044757600080fd5b506102b061045636600461170f565b61082e565b34801561046757600080fd5b5060055461028090600160a81b900460ff1681565b34801561048857600080fd5b506102c3610497366004611769565b6001600160a01b031660009081526020819052604090205490565b3480156104be57600080fd5b506102b061083b565b3480156104d357600080fd5b506102b061084f565b3480156104e857600080fd5b506102b06104f73660046117a2565b610866565b34801561050857600080fd5b506102b06108ce565b34801561051d57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610257565b34801561054f57600080fd5b5061024a6108ed565b34801561056457600080fd5b506102c3600b5481565b34801561057a57600080fd5b506102806105893660046116c1565b6108fc565b34801561059a57600080fd5b5061052b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156105c257600080fd5b506102806105d13660046116c1565b61097c565b3480156105e257600080fd5b506102b06105f136600461170f565b61098a565b34801561060257600080fd5b50610280610611366004611769565b600f6020526000908152604090205460ff1681565b34801561063257600080fd5b506102b06106413660046117a2565b610a0a565b34801561065257600080fd5b506102c360065481565b34801561066857600080fd5b506102c36106773660046117d7565b610a6a565b34801561068857600080fd5b506102b0610697366004611810565b610a95565b3480156106a857600080fd5b506102c360085481565b3480156106be57600080fd5b506102b06106cd366004611769565b610abb565b3480156106de57600080fd5b5061052b7f0000000000000000000000001ac8ca719bc458fcff53c0b029f57412a468702e81565b34801561071257600080fd5b506102c360075481565b60606003805461072b9061182b565b80601f01602080910402602001604051908101604052809291908181526020018280546107579061182b565b80156107a45780601f10610779576101008083540402835291602001916107a4565b820191906000526020600020905b81548152906001019060200180831161078757829003601f168201915b5050505050905090565b6000336107bc818585610b34565b60019150505b92915050565b6107d0610c58565b600991909155600a55565b6107e3610c58565b600655565b6000336107f6858285610cb2565b610801858585610d2c565b506001949350505050565b6000336107bc81858561081f8383610a6a565b610829919061187b565b610b34565b610836610c58565b600755565b610843610c58565b61084d6000611236565b565b610857610c58565b6005805460ff60b01b19169055565b61086e610c58565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b6108d6610c58565b6005805461ffff60a01b191661010160a01b179055565b60606004805461072b9061182b565b6000338161090a8286610a6a565b90508381101561096f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6108018286868403610b34565b6000336107bc818585610d2c565b610992610c58565b600061099d60025490565b90506109ac620186a08261188e565b8210156109cc5760405163f570cd7760e01b815260040160405180910390fd5b6103e86109da8260056118b0565b6109e4919061188e565b821115610a0457604051635fe38dcb60e11b815260040160405180910390fd5b50600855565b610a12610c58565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791016108c2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a9d610c58565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610ac3610c58565b6001600160a01b038116610b285760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610966565b610b3181611236565b50565b6001600160a01b038316610b965760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610966565b6001600160a01b038216610bf75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610966565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461084d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b6000610cbe8484610a6a565b90506000198114610d265781811015610d195760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610966565b610d268484848403610b34565b50505050565b6001600160a01b038316610d535760405163065c8d2b60e01b815260040160405180910390fd5b6001600160a01b038216610d7a57604051631ccd5cbb60e21b815260040160405180910390fd5b80600003610d9357610d8e83836000611288565b505050565b6001600160a01b0383166000908152600f602052604081205460ff168015610dd457506001600160a01b0383166000908152600e602052604090205460ff16155b6001600160a01b0384166000908152600f60205260408120549192509060ff168015610e1957506001600160a01b0385166000908152600e602052604090205460ff16155b90506000610e2f6005546001600160a01b031690565b6001600160a01b0316866001600160a01b03161480610e5b57506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff168015610e895750600c5460ff16155b8015610e93575081155b8015610e9d575080155b1561101457600554600160a01b900460ff16610f13576001600160a01b0387166000908152600d602052604090205460ff16158015610ef557506001600160a01b0386166000908152600d602052604090205460ff16155b15610f1357604051632924508760e21b815260040160405180910390fd5b8315610f8657600654851115610f3c5760405163b366cf4960e01b815260040160405180910390fd5b6007546001600160a01b038716600090815260208190526040902054610f62908761187b565b1115610f8157604051633c530f8d60e21b815260040160405180910390fd5b611014565b8215610faf57600654851115610f8157604051638a17263b60e01b815260040160405180910390fd5b6001600160a01b0386166000908152600e602052604090205460ff16611014576007546001600160a01b038716600090815260208190526040902054610ff5908761187b565b111561101457604051630949534d60e31b815260040160405180910390fd5b600554600160a81b900460ff16801561103e57506008543060009081526020819052604090205410155b801561104d5750600c5460ff16155b801561107257506001600160a01b0387166000908152600f602052604090205460ff16155b801561109757506001600160a01b0387166000908152600d602052604090205460ff16155b80156110bc57506001600160a01b0386166000908152600d602052604090205460ff16155b156110e157600c805460ff191660011790556110d661142c565b600c805460ff191690555b600c5460009060ff1615801561111057506001600160a01b0388166000908152600d602052604090205460ff16155b801561113557506001600160a01b0387166000908152600d602052604090205460ff16155b1561121857600a546009546001600160a01b0389166000908152600f602052604090205460ff1680156111685750600082115b156111ad576064611179838a6118b0565b611183919061188e565b925082600b6000828254611197919061187b565b909155506111a890508a3085611288565b611215565b6001600160a01b038a166000908152600f602052604090205460ff1680156111d55750600081115b156112155760646111e6828a6118b0565b6111f0919061188e565b925082600b6000828254611204919061187b565b9091555061121590508a3085611288565b50505b61122c8888611227848a6118c7565b611288565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166112ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610966565b6001600160a01b03821661134e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610966565b6001600160a01b038316600090815260208190526040902054818110156113c65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610966565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d26565b30600090815260208190526040902054600b5481158061144a575080155b15611453575050565b60085482906114639060146118b0565b81111561147b576008546114789060146118b0565b90505b611484816114cb565b6000600b81905560405173888c523e4031a09b94dfce14ea01da931e88df34914780156108fc02929091818181858888f19350505050158015610d26573d6000803e3d6000fd5b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611500576115006118da565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611572573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159691906118f0565b816001815181106115a9576115a96118da565b60200260200101906001600160a01b031690816001600160a01b0316815250506115e830737a250d5630b4cf539739df2c5dacb4c659f2488d84610b34565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac9479061162890859060009086903090429060040161190d565b600060405180830381600087803b15801561164257600080fd5b505af1158015611656573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561168b5785810183015185820160400152820161166f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b3157600080fd5b600080604083850312156116d457600080fd5b82356116df816116ac565b946020939093013593505050565b6000806040838503121561170057600080fd5b50508035926020909101359150565b60006020828403121561172157600080fd5b5035919050565b60008060006060848603121561173d57600080fd5b8335611748816116ac565b92506020840135611758816116ac565b929592945050506040919091013590565b60006020828403121561177b57600080fd5b8135611786816116ac565b9392505050565b8035801515811461179d57600080fd5b919050565b600080604083850312156117b557600080fd5b82356117c0816116ac565b91506117ce6020840161178d565b90509250929050565b600080604083850312156117ea57600080fd5b82356117f5816116ac565b91506020830135611805816116ac565b809150509250929050565b60006020828403121561182257600080fd5b6117868261178d565b600181811c9082168061183f57607f821691505b60208210810361185f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107c2576107c2611865565b6000826118ab57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107c2576107c2611865565b818103818111156107c2576107c2611865565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561190257600080fd5b8151611786816116ac565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561195d5784516001600160a01b031683529383019391830191600101611938565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b6ce45818bc53269211ea6fd0bcd89714a3db0390141ef4cebae9757c691dca864736f6c63430008110033
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.