Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
88,888,888 JOSHI
Holders
62
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.493670048 JOSHIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Joshi
Compiler Version
v0.8.16+commit.07a7930e
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.16; 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 allPairsLength() external view returns (uint256); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, 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 swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } /** * @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); } /** * @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 decimals places of the token. */ function decimals() external view returns (uint8); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); } /** * @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; } } /** * @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); } } /** * @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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() external view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the name of the token. */ function name() external view virtual override returns (string memory) { return _name; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @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 9; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() external view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @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) external virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @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) external 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 ) external virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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) external 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 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) external virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** @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"); _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); } /** * @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"); 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); } /** * @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); } } } 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"); 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); } } /** * @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 Joshi is ERC20, Ownable { // TOKENOMICS START ==========================================================> string private _name = "Joshi Kousei"; string private _symbol = "JOSHI"; uint8 private _decimals = 9; uint256 private _supply = 88888888; uint256 public taxForLiquidity = 1; uint256 public taxForMarketing = 1; uint256 public maxTxAmount = 888888 * 10**_decimals; uint256 public maxWalletAmount = 888888 * 10**_decimals; address public marketingWallet = 0x211FE78447671dDa8dd27c65B557C3cc3749449b; // TOKENOMICS END ============================================================> IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; uint256 private _marketingReserves = 0; mapping(address => bool) private _isExcludedFromFee; uint256 private _numTokensSellToAddToLiquidity = 500000 * 10**_decimals; uint256 private _numTokensSellToAddToETH = 200000 * 10**_decimals; bool inSwapAndLiquify; event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } /** * @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() ERC20(_name, _symbol) { _mint(msg.sender, (_supply * 10**_decimals)); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[address(uniswapV2Router)] = true; _isExcludedFromFee[msg.sender] = true; _isExcludedFromFee[marketingWallet] = 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 override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(balanceOf(from) >= amount, "ERC20: transfer amount exceeds balance"); if ((from == uniswapV2Pair || to == uniswapV2Pair) && !inSwapAndLiquify) { if (from != uniswapV2Pair) { uint256 contractLiquidityBalance = balanceOf(address(this)) - _marketingReserves; if (contractLiquidityBalance >= _numTokensSellToAddToLiquidity) { _swapAndLiquify(_numTokensSellToAddToLiquidity); } if ((_marketingReserves) >= _numTokensSellToAddToETH) { _swapTokensForEth(_numTokensSellToAddToETH); _marketingReserves -= _numTokensSellToAddToETH; bool sent = payable(marketingWallet).send(address(this).balance); require(sent, "Failed to send ETH"); } } uint256 transferAmount; if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) { transferAmount = amount; } else { require(amount <= maxTxAmount, "ERC20: transfer amount exceeds the max transaction amount"); if(from == uniswapV2Pair){ require((amount + balanceOf(to)) <= maxWalletAmount, "ERC20: balance amount exceeded max wallet amount limit"); } uint256 marketingShare = ((amount * taxForMarketing) / 100); uint256 liquidityShare = ((amount * taxForLiquidity) / 100); transferAmount = amount - (marketingShare + liquidityShare); _marketingReserves += marketingShare; super._transfer(from, address(this), (marketingShare + liquidityShare)); } super._transfer(from, to, transferAmount); } else { super._transfer(from, to, amount); } } function _swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { uint256 half = (contractTokenBalance / 2); uint256 otherHalf = (contractTokenBalance - half); uint256 initialBalance = address(this).balance; _swapTokensForEth(half); uint256 newBalance = (address(this).balance - initialBalance); _addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function _swapTokensForEth(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), (block.timestamp + 300) ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private lockTheSwap { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, marketingWallet, block.timestamp ); } function changeMarketingWallet(address newWallet) public onlyOwner returns (bool) { marketingWallet = newWallet; return true; } function changeTaxForLiquidityAndMarketing(uint256 _taxForLiquidity, uint256 _taxForMarketing) public onlyOwner returns (bool) { taxForLiquidity = _taxForLiquidity; taxForMarketing = _taxForMarketing; return true; } function changeMaxTxAmount(uint256 _maxTxAmount) public onlyOwner returns (bool) { require(_maxTxAmount > 0, "ERC20: maxTxAmount must be greater than 0"); maxTxAmount = _maxTxAmount; return true; } function changeMaxWalletAmount(uint256 _maxWalletAmount) public onlyOwner returns (bool) { require(_maxWalletAmount > 0, "ERC20: maxWalletAmount must be greater than 0"); maxWalletAmount = _maxWalletAmount; return true; } receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"changeMarketingWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"changeMaxTxAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"changeMaxWalletAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxForLiquidity","type":"uint256"},{"internalType":"uint256","name":"_taxForMarketing","type":"uint256"}],"name":"changeTaxForLiquidityAndMarketing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"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":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610100604052600c60c09081526b4a6f736869204b6f7573656960a01b60e0526006906200002e908262000658565b506040805180820190915260058152644a4f53484960d81b60208201526007906200005a908262000658565b506008805460ff1916600990811790915563054c563881556001600a818155600b919091556200008b919062000839565b6200009a90620d903862000851565b600c55600854620000b09060ff16600a62000839565b620000bf90620d903862000851565b600d55600e80546001600160a01b03191673211fe78447671dda8dd27c65b557c3cc3749449b1790556000600f55600854620001009060ff16600a62000839565b6200010f906207a12062000851565b601155600854620001259060ff16600a62000839565b620001349062030d4062000851565b6012553480156200014457600080fd5b50600680546200015490620005c9565b80601f01602080910402602001604051908101604052809291908181526020018280546200018290620005c9565b8015620001d35780601f10620001a757610100808354040283529160200191620001d3565b820191906000526020600020905b815481529060010190602001808311620001b557829003601f168201915b505050505060078054620001e790620005c9565b80601f01602080910402602001604051908101604052809291908181526020018280546200021590620005c9565b8015620002665780601f106200023a5761010080835404028352916020019162000266565b820191906000526020600020905b8154815290600101906020018083116200024857829003601f168201915b505050505081600390816200027c919062000658565b5060046200028b828262000658565b505050620002a8620002a26200049760201b60201c565b6200049b565b600854620002d7903390620002c29060ff16600a62000839565b600954620002d1919062000851565b620004ed565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200032f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000355919062000873565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c9919062000873565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000417573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200043d919062000873565b6001600160a01b0390811660a05290811660808190526000908152601060205260408082208054600160ff1991821681179092553384528284208054821683179055600e54909416835291208054909216179055620008b4565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620005485760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200055c91906200089e565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005de57607f821691505b602082108103620005ff57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065357600081815260208120601f850160051c810160208610156200062e5750805b601f850160051c820191505b818110156200064f578281556001016200063a565b5050505b505050565b81516001600160401b03811115620006745762000674620005b3565b6200068c81620006858454620005c9565b8462000605565b602080601f831160018114620006c45760008415620006ab5750858301515b600019600386901b1c1916600185901b1785556200064f565b600085815260208120601f198616915b82811015620006f557888601518255948401946001909101908401620006d4565b5085821015620007145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200077b5781600019048211156200075f576200075f62000724565b808516156200076d57918102915b93841c93908002906200073f565b509250929050565b600082620007945750600162000833565b81620007a35750600062000833565b8160018114620007bc5760028114620007c757620007e7565b600191505062000833565b60ff841115620007db57620007db62000724565b50506001821b62000833565b5060208310610133831016604e8410600b84101617156200080c575081810a62000833565b6200081883836200073a565b80600019048211156200082f576200082f62000724565b0290505b92915050565b60006200084a60ff84168362000783565b9392505050565b60008160001904831182151516156200086e576200086e62000724565b500290565b6000602082840312156200088657600080fd5b81516001600160a01b03811681146200084a57600080fd5b8082018082111562000833576200083362000724565b60805160a05161172f62000919600039600081816102aa01528181610a6b01528181610aa601528181610af00152610cbf0152600081816101e301528181610fd30152818161108c015281816110bb0152818161125001526112b8015261172f6000f3fe60806040526004361061016a5760003560e01c806375f0a874116100d1578063a9059cbb1161008a578063bb85c6d111610064578063bb85c6d11461044e578063dd62ed3e1461046e578063f2fde38b1461048e578063f345bd85146104ae57600080fd5b8063a9059cbb146103f8578063aa4bde2814610418578063af8af6901461042e57600080fd5b806375f0a8741461034f57806381bfdcca1461036f5780638c0b5e221461038f5780638da5cb5b146103a557806395d89b41146103c3578063a457c2d7146103d857600080fd5b80633950935111610123578063395093511461027857806349bd5a5e14610298578063527ffabd146102cc578063677daa57146102e257806370a0823114610302578063715018a61461033857600080fd5b806306fdde0314610176578063095ea7b3146101a15780631694505e146101d157806318160ddd1461021d57806323b872dd1461023c578063313ce5671461025c57600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061018b6104c4565b604051610198919061133a565b60405180910390f35b3480156101ad57600080fd5b506101c16101bc36600461139d565b610556565b6040519015158152602001610198565b3480156101dd57600080fd5b506102057f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610198565b34801561022957600080fd5b506002545b604051908152602001610198565b34801561024857600080fd5b506101c16102573660046113c9565b610570565b34801561026857600080fd5b5060405160098152602001610198565b34801561028457600080fd5b506101c161029336600461139d565b610594565b3480156102a457600080fd5b506102057f000000000000000000000000000000000000000000000000000000000000000081565b3480156102d857600080fd5b5061022e600b5481565b3480156102ee57600080fd5b506101c16102fd36600461140a565b6105b6565b34801561030e57600080fd5b5061022e61031d366004611423565b6001600160a01b031660009081526020819052604090205490565b34801561034457600080fd5b5061034d610630565b005b34801561035b57600080fd5b50600e54610205906001600160a01b031681565b34801561037b57600080fd5b506101c161038a36600461140a565b610644565b34801561039b57600080fd5b5061022e600c5481565b3480156103b157600080fd5b506005546001600160a01b0316610205565b3480156103cf57600080fd5b5061018b6106bd565b3480156103e457600080fd5b506101c16103f336600461139d565b6106cc565b34801561040457600080fd5b506101c161041336600461139d565b610747565b34801561042457600080fd5b5061022e600d5481565b34801561043a57600080fd5b506101c1610449366004611447565b610755565b34801561045a57600080fd5b506101c1610469366004611423565b61076e565b34801561047a57600080fd5b5061022e610489366004611469565b61079d565b34801561049a57600080fd5b5061034d6104a9366004611423565b6107c8565b3480156104ba57600080fd5b5061022e600a5481565b6060600380546104d3906114a2565b80601f01602080910402602001604051908101604052809291908181526020018280546104ff906114a2565b801561054c5780601f106105215761010080835404028352916020019161054c565b820191906000526020600020905b81548152906001019060200180831161052f57829003601f168201915b5050505050905090565b600033610564818585610841565b60019150505b92915050565b60003361057e858285610965565b6105898585856109df565b506001949350505050565b6000336105648185856105a7838361079d565b6105b191906114f2565b610841565b60006105c0610e25565b600082116106275760405162461bcd60e51b815260206004820152602960248201527f45524332303a206d61785478416d6f756e74206d75737420626520677265617460448201526806572207468616e20360bc1b60648201526084015b60405180910390fd5b50600c55600190565b610638610e25565b6106426000610e7f565b565b600061064e610e25565b600082116106b45760405162461bcd60e51b815260206004820152602d60248201527f45524332303a206d617857616c6c6574416d6f756e74206d757374206265206760448201526c0726561746572207468616e203609c1b606482015260840161061e565b50600d55600190565b6060600480546104d3906114a2565b600033816106da828661079d565b90508381101561073a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161061e565b6105898286868403610841565b6000336105648185856109df565b600061075f610e25565b50600a91909155600b55600190565b6000610778610e25565b50600e80546001600160a01b0383166001600160a01b03199091161790556001919050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107d0610e25565b6001600160a01b0381166108355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061e565b61083e81610e7f565b50565b6001600160a01b0383166108a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061e565b6001600160a01b0382166109045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610971848461079d565b905060001981146109d957818110156109cc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061e565b6109d98484848403610841565b50505050565b6001600160a01b038316610a055760405162461bcd60e51b815260040161061e90611505565b6001600160a01b038216610a2b5760405162461bcd60e51b815260040161061e9061154a565b80610a4b846001600160a01b031660009081526020819052604090205490565b1015610a695760405162461bcd60e51b815260040161061e9061158d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161480610ada57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8015610ae9575060135460ff16155b15610e15577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614610bfa57600f54306000908152602081905260408120549091610b45916115d3565b90506011548110610b5b57610b5b601154610ed1565b601254600f5410610bf857610b71601254610f6f565b601254600f6000828254610b8591906115d3565b9091555050600e546040516000916001600160a01b0316904780156108fc029184818181858888f19350505050905080610bf65760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b604482015260640161061e565b505b505b6001600160a01b03831660009081526010602052604081205460ff1680610c3957506001600160a01b03831660009081526010602052604090205460ff165b15610c45575080610e0a565b600c54821115610cbd5760405162461bcd60e51b815260206004820152603960248201527f45524332303a207472616e7366657220616d6f756e742065786365656473207460448201527f6865206d6178207472616e73616374696f6e20616d6f756e7400000000000000606482015260840161061e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603610d8957600d546001600160a01b038416600090815260208190526040902054610d1c90846114f2565b1115610d895760405162461bcd60e51b815260206004820152603660248201527f45524332303a2062616c616e636520616d6f756e74206578636565646564206d604482015275185e081dd85b1b195d08185b5bdd5b9d081b1a5b5a5d60521b606482015260840161061e565b60006064600b5484610d9b91906115e6565b610da59190611605565b905060006064600a5485610db991906115e6565b610dc39190611605565b9050610dcf81836114f2565b610dd990856115d3565b925081600f6000828254610ded91906114f2565b90915550610e0790508630610e0284866114f2565b611151565b50505b6109d9848483611151565b610e20838383611151565b505050565b6005546001600160a01b031633146106425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6013805460ff191660011790556000610eeb600283611605565b90506000610ef982846115d3565b905047610f0583610f6f565b6000610f1182476115d3565b9050610f1d838261123d565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506013805460ff19169055505050565b6013805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fb157610fb1611627565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611053919061163d565b8160018151811061106657611066611627565b60200260200101906001600160a01b031690816001600160a01b0316815250506110b1307f000000000000000000000000000000000000000000000000000000000000000084610841565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663791ac94783600084306110f14261012c6114f2565b6040518663ffffffff1660e01b815260040161111195949392919061165a565b600060405180830381600087803b15801561112b57600080fd5b505af115801561113f573d6000803e3d6000fd5b50506013805460ff1916905550505050565b6001600160a01b0383166111775760405162461bcd60e51b815260040161061e90611505565b6001600160a01b03821661119d5760405162461bcd60e51b815260040161061e9061154a565b6001600160a01b038316600090815260208190526040902054818110156111d65760405162461bcd60e51b815260040161061e9061158d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6013805460ff19166001179055611275307f000000000000000000000000000000000000000000000000000000000000000084610841565b600e5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af1158015611304573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061132991906116cb565b50506013805460ff19169055505050565b600060208083528351808285015260005b818110156113675785810183015185820160400152820161134b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461083e57600080fd5b600080604083850312156113b057600080fd5b82356113bb81611388565b946020939093013593505050565b6000806000606084860312156113de57600080fd5b83356113e981611388565b925060208401356113f981611388565b929592945050506040919091013590565b60006020828403121561141c57600080fd5b5035919050565b60006020828403121561143557600080fd5b813561144081611388565b9392505050565b6000806040838503121561145a57600080fd5b50508035926020909101359150565b6000806040838503121561147c57600080fd5b823561148781611388565b9150602083013561149781611388565b809150509250929050565b600181811c908216806114b657607f821691505b6020821081036114d657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561056a5761056a6114dc565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b8181038181111561056a5761056a6114dc565b6000816000190483118215151615611600576116006114dc565b500290565b60008261162257634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561164f57600080fd5b815161144081611388565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116aa5784516001600160a01b031683529383019391830191600101611685565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156116e057600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220ac474cfe5627cb49a38637eee78057fdd3af6c774109aafc44ab32d6667a5c4f64736f6c63430008100033
Deployed Bytecode
0x60806040526004361061016a5760003560e01c806375f0a874116100d1578063a9059cbb1161008a578063bb85c6d111610064578063bb85c6d11461044e578063dd62ed3e1461046e578063f2fde38b1461048e578063f345bd85146104ae57600080fd5b8063a9059cbb146103f8578063aa4bde2814610418578063af8af6901461042e57600080fd5b806375f0a8741461034f57806381bfdcca1461036f5780638c0b5e221461038f5780638da5cb5b146103a557806395d89b41146103c3578063a457c2d7146103d857600080fd5b80633950935111610123578063395093511461027857806349bd5a5e14610298578063527ffabd146102cc578063677daa57146102e257806370a0823114610302578063715018a61461033857600080fd5b806306fdde0314610176578063095ea7b3146101a15780631694505e146101d157806318160ddd1461021d57806323b872dd1461023c578063313ce5671461025c57600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061018b6104c4565b604051610198919061133a565b60405180910390f35b3480156101ad57600080fd5b506101c16101bc36600461139d565b610556565b6040519015158152602001610198565b3480156101dd57600080fd5b506102057f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610198565b34801561022957600080fd5b506002545b604051908152602001610198565b34801561024857600080fd5b506101c16102573660046113c9565b610570565b34801561026857600080fd5b5060405160098152602001610198565b34801561028457600080fd5b506101c161029336600461139d565b610594565b3480156102a457600080fd5b506102057f000000000000000000000000a63f147f99918618f9d07625a021467fe80c168a81565b3480156102d857600080fd5b5061022e600b5481565b3480156102ee57600080fd5b506101c16102fd36600461140a565b6105b6565b34801561030e57600080fd5b5061022e61031d366004611423565b6001600160a01b031660009081526020819052604090205490565b34801561034457600080fd5b5061034d610630565b005b34801561035b57600080fd5b50600e54610205906001600160a01b031681565b34801561037b57600080fd5b506101c161038a36600461140a565b610644565b34801561039b57600080fd5b5061022e600c5481565b3480156103b157600080fd5b506005546001600160a01b0316610205565b3480156103cf57600080fd5b5061018b6106bd565b3480156103e457600080fd5b506101c16103f336600461139d565b6106cc565b34801561040457600080fd5b506101c161041336600461139d565b610747565b34801561042457600080fd5b5061022e600d5481565b34801561043a57600080fd5b506101c1610449366004611447565b610755565b34801561045a57600080fd5b506101c1610469366004611423565b61076e565b34801561047a57600080fd5b5061022e610489366004611469565b61079d565b34801561049a57600080fd5b5061034d6104a9366004611423565b6107c8565b3480156104ba57600080fd5b5061022e600a5481565b6060600380546104d3906114a2565b80601f01602080910402602001604051908101604052809291908181526020018280546104ff906114a2565b801561054c5780601f106105215761010080835404028352916020019161054c565b820191906000526020600020905b81548152906001019060200180831161052f57829003601f168201915b5050505050905090565b600033610564818585610841565b60019150505b92915050565b60003361057e858285610965565b6105898585856109df565b506001949350505050565b6000336105648185856105a7838361079d565b6105b191906114f2565b610841565b60006105c0610e25565b600082116106275760405162461bcd60e51b815260206004820152602960248201527f45524332303a206d61785478416d6f756e74206d75737420626520677265617460448201526806572207468616e20360bc1b60648201526084015b60405180910390fd5b50600c55600190565b610638610e25565b6106426000610e7f565b565b600061064e610e25565b600082116106b45760405162461bcd60e51b815260206004820152602d60248201527f45524332303a206d617857616c6c6574416d6f756e74206d757374206265206760448201526c0726561746572207468616e203609c1b606482015260840161061e565b50600d55600190565b6060600480546104d3906114a2565b600033816106da828661079d565b90508381101561073a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161061e565b6105898286868403610841565b6000336105648185856109df565b600061075f610e25565b50600a91909155600b55600190565b6000610778610e25565b50600e80546001600160a01b0383166001600160a01b03199091161790556001919050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107d0610e25565b6001600160a01b0381166108355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061e565b61083e81610e7f565b50565b6001600160a01b0383166108a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061e565b6001600160a01b0382166109045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610971848461079d565b905060001981146109d957818110156109cc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061e565b6109d98484848403610841565b50505050565b6001600160a01b038316610a055760405162461bcd60e51b815260040161061e90611505565b6001600160a01b038216610a2b5760405162461bcd60e51b815260040161061e9061154a565b80610a4b846001600160a01b031660009081526020819052604090205490565b1015610a695760405162461bcd60e51b815260040161061e9061158d565b7f000000000000000000000000a63f147f99918618f9d07625a021467fe80c168a6001600160a01b0316836001600160a01b03161480610ada57507f000000000000000000000000a63f147f99918618f9d07625a021467fe80c168a6001600160a01b0316826001600160a01b0316145b8015610ae9575060135460ff16155b15610e15577f000000000000000000000000a63f147f99918618f9d07625a021467fe80c168a6001600160a01b0316836001600160a01b031614610bfa57600f54306000908152602081905260408120549091610b45916115d3565b90506011548110610b5b57610b5b601154610ed1565b601254600f5410610bf857610b71601254610f6f565b601254600f6000828254610b8591906115d3565b9091555050600e546040516000916001600160a01b0316904780156108fc029184818181858888f19350505050905080610bf65760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b604482015260640161061e565b505b505b6001600160a01b03831660009081526010602052604081205460ff1680610c3957506001600160a01b03831660009081526010602052604090205460ff165b15610c45575080610e0a565b600c54821115610cbd5760405162461bcd60e51b815260206004820152603960248201527f45524332303a207472616e7366657220616d6f756e742065786365656473207460448201527f6865206d6178207472616e73616374696f6e20616d6f756e7400000000000000606482015260840161061e565b7f000000000000000000000000a63f147f99918618f9d07625a021467fe80c168a6001600160a01b0316846001600160a01b031603610d8957600d546001600160a01b038416600090815260208190526040902054610d1c90846114f2565b1115610d895760405162461bcd60e51b815260206004820152603660248201527f45524332303a2062616c616e636520616d6f756e74206578636565646564206d604482015275185e081dd85b1b195d08185b5bdd5b9d081b1a5b5a5d60521b606482015260840161061e565b60006064600b5484610d9b91906115e6565b610da59190611605565b905060006064600a5485610db991906115e6565b610dc39190611605565b9050610dcf81836114f2565b610dd990856115d3565b925081600f6000828254610ded91906114f2565b90915550610e0790508630610e0284866114f2565b611151565b50505b6109d9848483611151565b610e20838383611151565b505050565b6005546001600160a01b031633146106425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6013805460ff191660011790556000610eeb600283611605565b90506000610ef982846115d3565b905047610f0583610f6f565b6000610f1182476115d3565b9050610f1d838261123d565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506013805460ff19169055505050565b6013805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fb157610fb1611627565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611053919061163d565b8160018151811061106657611066611627565b60200260200101906001600160a01b031690816001600160a01b0316815250506110b1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610841565b6001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac94783600084306110f14261012c6114f2565b6040518663ffffffff1660e01b815260040161111195949392919061165a565b600060405180830381600087803b15801561112b57600080fd5b505af115801561113f573d6000803e3d6000fd5b50506013805460ff1916905550505050565b6001600160a01b0383166111775760405162461bcd60e51b815260040161061e90611505565b6001600160a01b03821661119d5760405162461bcd60e51b815260040161061e9061154a565b6001600160a01b038316600090815260208190526040902054818110156111d65760405162461bcd60e51b815260040161061e9061158d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6013805460ff19166001179055611275307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610841565b600e5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af1158015611304573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061132991906116cb565b50506013805460ff19169055505050565b600060208083528351808285015260005b818110156113675785810183015185820160400152820161134b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461083e57600080fd5b600080604083850312156113b057600080fd5b82356113bb81611388565b946020939093013593505050565b6000806000606084860312156113de57600080fd5b83356113e981611388565b925060208401356113f981611388565b929592945050506040919091013590565b60006020828403121561141c57600080fd5b5035919050565b60006020828403121561143557600080fd5b813561144081611388565b9392505050565b6000806040838503121561145a57600080fd5b50508035926020909101359150565b6000806040838503121561147c57600080fd5b823561148781611388565b9150602083013561149781611388565b809150509250929050565b600181811c908216806114b657607f821691505b6020821081036114d657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561056a5761056a6114dc565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b8181038181111561056a5761056a6114dc565b6000816000190483118215151615611600576116006114dc565b500290565b60008261162257634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561164f57600080fd5b815161144081611388565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116aa5784516001600160a01b031683529383019391830191600101611685565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156116e057600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220ac474cfe5627cb49a38637eee78057fdd3af6c774109aafc44ab32d6667a5c4f64736f6c63430008100033
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.