Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 YUNA
Holders
546
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
15,199.082254120756894819 YUNAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProtectionToken
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../lib/IUniswapV2Router.sol"; import "../lib/IUniswapV2Factory.sol"; contract ProtectionToken is ERC20, Ownable { IUniswapV2Router02 public _uniswapV2Router; address public uniswapV2Pair; address private devWallet; address private constant deadAddress = address(0xdead); uint8 private constant _decimals = 18; uint256 public initialTotalSupply = 1e9 * 1e18; // 1b tokens; // 1% is the max wallet uint256 public maxWallet = (1e9 * 1e18) / 100; // 1% uint256 public maxTransactionAmount = maxWallet; bool public transferDelayEnabled = true; mapping(address => uint256) private _holderLastTransferTimestamp; bool public tradingOpen = false; bool public swapEnabled = false; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTransactionAmount; mapping(address => bool) private automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); constructor( string memory name, string memory symbol, address uniswapV2RouterAddr ) ERC20(name, symbol) { _uniswapV2Router = IUniswapV2Router02(uniswapV2RouterAddr); devWallet = payable(_msgSender()); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(address(uniswapV2RouterAddr), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(address(_msgSender()), true); excludeFromMaxTransaction(devWallet, true); excludeFromFees(address(_msgSender()), true); excludeFromFees(devWallet, true); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); // mint _mint(devWallet, initialTotalSupply); } receive() external payable {} function addLP() external onlyOwner { require(!tradingOpen, "Trading is already open"); _approve(address(this), address(_uniswapV2Router), initialTotalSupply); _uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, devWallet, block.timestamp ); } function burn(uint256 amount) external { _burn(_msgSender(), amount); } function openTrading() external onlyOwner { swapEnabled = true; tradingOpen = true; } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } 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"); if (amount == 0) { super._transfer(from, to, 0); return; } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) ) { if (!tradingOpen) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if ( transferDelayEnabled && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { if ( to != address(_uniswapV2Router) && to != address(uniswapV2Pair) ) { require( _holderLastTransferTimestamp[tx.origin] < block.number && _holderLastTransferTimestamp[to] < block.number, "_transfer:: Transfer Delay enabled. Try again later." ); _holderLastTransferTimestamp[tx.origin] = block.number; _holderLastTransferTimestamp[to] = block.number; } } if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require(amount + balanceOf(to) <= maxWallet, "Max wallet!"); } else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxWallet, "Max wallet!"); } } super._transfer(from, to, amount); } function stopTheDelay() external onlyOwner { require(transferDelayEnabled, "Already disabled!"); transferDelayEnabled = false; } function removeLimits() external onlyOwner { maxTransactionAmount = initialTotalSupply; maxWallet = initialTotalSupply; } function tokensWithdraw() external { require(_msgSender() == devWallet); uint256 amount = balanceOf(address(this)); _transfer(address(this), devWallet, amount); } function withdrawEth() external { require(address(this).balance > 0, "Token: no ETH in the contract"); require(_msgSender() == devWallet); payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { 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.9.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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * 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}. * * 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 default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual 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 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 (last updated v4.9.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 (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"uniswapV2RouterAddr","type":"address"}],"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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"},{"inputs":[],"name":"_uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"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":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","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":[],"name":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","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":"openTrading","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopTheDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526b033b2e3c9fd0803ce80000006009556a084595161401484a000000600a819055600b55600c805460ff19166001179055600e805461ffff191690553480156200004d57600080fd5b50604051620021a3380380620021a38339810160408190526200007091620007ac565b825183908390620000899060039060208501906200060d565b5080516200009f9060049060208401906200060d565b505050620000bc620000b6620003a060201b60201c565b620003a4565b600680546001600160a01b0319166001600160a01b038316179055620000df3390565b600880546001600160a01b0319166001600160a01b03929092169190911790556200010c306001620003f6565b6200011b61dead6001620003f6565b620001288160016200045f565b620001353060016200045f565b6200014461dead60016200045f565b620001513360016200045f565b6008546200016a906001600160a01b031660016200045f565b62000177336001620003f6565b60085462000190906001600160a01b03166001620003f6565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001df57600080fd5b505afa158015620001f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021a919062000787565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027857600080fd5b505afa1580156200028d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b3919062000787565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002fc57600080fd5b505af115801562000311573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000337919062000787565b600780546001600160a01b0319166001600160a01b03929092169182179055620003639060016200045f565b6007546200037c906001600160a01b0316600162000494565b60085460095462000397916001600160a01b031690620004e8565b505050620008a2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000400620005af565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b62000469620005af565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216620005445760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000558919062000828565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031633146200060b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200053b565b565b8280546200061b906200084f565b90600052602060002090601f0160209004810192826200063f57600085556200068a565b82601f106200065a57805160ff19168380011785556200068a565b828001600101855582156200068a579182015b828111156200068a5782518255916020019190600101906200066d565b50620006989291506200069c565b5090565b5b808211156200069857600081556001016200069d565b80516001600160a01b0381168114620006cb57600080fd5b919050565b600082601f830112620006e257600080fd5b81516001600160401b0380821115620006ff57620006ff6200088c565b604051601f8301601f19908116603f011681019082821181831017156200072a576200072a6200088c565b816040528381526020925086838588010111156200074757600080fd5b600091505b838210156200076b57858201830151818301840152908201906200074c565b838211156200077d5760008385830101525b9695505050505050565b6000602082840312156200079a57600080fd5b620007a582620006b3565b9392505050565b600080600060608486031215620007c257600080fd5b83516001600160401b0380821115620007da57600080fd5b620007e887838801620006d0565b94506020860151915080821115620007ff57600080fd5b506200080e86828701620006d0565b9250506200081f60408501620006b3565b90509250925092565b600082198211156200084a57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200086457607f821691505b602082108114156200088657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6118f180620008b26000396000f3fe6080604052600436106101f25760003560e01c80637571336a1161010d578063bc37e1a3116100a0578063c9567bf91161006f578063c9567bf914610573578063dd62ed3e14610588578063f2fde38b146105a8578063f8b45b05146105c8578063ffb54a99146105de57600080fd5b8063bc37e1a31461050e578063c024666814610523578063c876d0b914610543578063c8c8ebe41461055d57600080fd5b80639a7a23d6116100dc5780639a7a23d614610499578063a0ef91df146104b9578063a457c2d7146104ce578063a9059cbb146104ee57600080fd5b80637571336a1461043157806385447656146104515780638da5cb5b1461046657806395d89b411461048457600080fd5b806342966c68116101855780636ddd1713116101545780636ddd1713146103b257806370a08231146103d1578063715018a614610407578063751039fc1461041c57600080fd5b806342966c681461030157806349bd5a5e146103215780634fbee19314610359578063583e05681461039257600080fd5b80632cb743f7116101c15780632cb743f714610298578063311028af146102af578063313ce567146102c557806339509351146102e157600080fd5b806306fdde03146101fe578063095ea7b31461022957806318160ddd1461025957806323b872dd1461027857600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b506102136105f8565b604051610220919061177d565b60405180910390f35b34801561023557600080fd5b5061024961024436600461170c565b61068a565b6040519015158152602001610220565b34801561026557600080fd5b506002545b604051908152602001610220565b34801561028457600080fd5b50610249610293366004611694565b6106a2565b3480156102a457600080fd5b506102ad6106c6565b005b3480156102bb57600080fd5b5061026a60095481565b3480156102d157600080fd5b5060405160128152602001610220565b3480156102ed57600080fd5b506102496102fc36600461170c565b610711565b34801561030d57600080fd5b506102ad61031c366004611736565b610733565b34801561032d57600080fd5b50600754610341906001600160a01b031681565b6040516001600160a01b039091168152602001610220565b34801561036557600080fd5b5061024961037436600461163f565b6001600160a01b03166000908152600f602052604090205460ff1690565b34801561039e57600080fd5b50600654610341906001600160a01b031681565b3480156103be57600080fd5b50600e5461024990610100900460ff1681565b3480156103dd57600080fd5b5061026a6103ec36600461163f565b6001600160a01b031660009081526020819052604090205490565b34801561041357600080fd5b506102ad61073d565b34801561042857600080fd5b506102ad610751565b34801561043d57600080fd5b506102ad61044c3660046116d0565b610766565b34801561045d57600080fd5b506102ad610799565b34801561047257600080fd5b506005546001600160a01b0316610341565b34801561049057600080fd5b506102136107f8565b3480156104a557600080fd5b506102ad6104b43660046116d0565b610807565b3480156104c557600080fd5b506102ad6108a1565b3480156104da57600080fd5b506102496104e936600461170c565b61093d565b3480156104fa57600080fd5b5061024961050936600461170c565b6109b8565b34801561051a57600080fd5b506102ad6109c6565b34801561052f57600080fd5b506102ad61053e3660046116d0565b610b16565b34801561054f57600080fd5b50600c546102499060ff1681565b34801561056957600080fd5b5061026a600b5481565b34801561057f57600080fd5b506102ad610b7d565b34801561059457600080fd5b5061026a6105a3366004611661565b610b96565b3480156105b457600080fd5b506102ad6105c336600461163f565b610bc1565b3480156105d457600080fd5b5061026a600a5481565b3480156105ea57600080fd5b50600e546102499060ff1681565b60606003805461060790611880565b80601f016020809104026020016040519081016040528092919081815260200182805461063390611880565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b600033610698818585610c37565b5060019392505050565b6000336106b0858285610d5b565b6106bb858585610dd5565b506001949350505050565b6008546001600160a01b0316336001600160a01b0316146106e657600080fd5b30600081815260208190526040902054600854909161070e916001600160a01b031683610dd5565b50565b6000336106988185856107248383610b96565b61072e919061185a565b610c37565b61070e33826112c7565b6107456113f9565b61074f6000611453565b565b6107596113f9565b600954600b819055600a55565b61076e6113f9565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6107a16113f9565b600c5460ff166107ec5760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b60448201526064015b60405180910390fd5b600c805460ff19169055565b60606004805461060790611880565b61080f6113f9565b6007546001600160a01b03838116911614156108935760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016107e3565b61089d82826114a5565b5050565b600047116108f15760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e3a206e6f2045544820696e2074686520636f6e747261637400000060448201526064016107e3565b6008546001600160a01b0316336001600160a01b03161461091157600080fd5b60405133904780156108fc02916000818181858888f1935050505015801561070e573d6000803e3d6000fd5b6000338161094b8286610b96565b9050838110156109ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107e3565b6106bb8286868403610c37565b600033610698818585610dd5565b6109ce6113f9565b600e5460ff1615610a215760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016107e3565b600654600954610a3e9130916001600160a01b0390911690610c37565b6006546001600160a01b031663f305d7194730610a70816001600160a01b031660009081526020819052604090205490565b60085460405160e086901b6001600160e01b03191681526001600160a01b039384166004820152602481019290925260006044830181905260648301529190911660848201524260a482015260c4016060604051808303818588803b158015610ad857600080fd5b505af1158015610aec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b11919061174f565b505050565b610b1e6113f9565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610b856113f9565b600e805461ffff1916610101179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bc96113f9565b6001600160a01b038116610c2e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e3565b61070e81611453565b6001600160a01b038316610c995760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107e3565b6001600160a01b038216610cfa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107e3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d678484610b96565b90506000198114610dcf5781811015610dc25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e3565b610dcf8484848403610c37565b50505050565b6001600160a01b038316610dfb5760405162461bcd60e51b81526004016107e390611815565b6001600160a01b038216610e215760405162461bcd60e51b81526004016107e3906117d2565b80610e3257610b11838360006114f9565b6005546001600160a01b03848116911614801590610e5e57506005546001600160a01b03838116911614155b8015610e7257506001600160a01b03821615155b8015610e8957506001600160a01b03821661dead14155b156112bc57600e5460ff16610f1c576001600160a01b0383166000908152600f602052604090205460ff1680610ed757506001600160a01b0382166000908152600f602052604090205460ff165b610f1c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107e3565b600c5460ff168015610f4757506001600160a01b0383166000908152600f602052604090205460ff16155b8015610f6c57506001600160a01b0382166000908152600f602052604090205460ff16155b15611066576006546001600160a01b03838116911614801590610f9d57506007546001600160a01b03838116911614155b1561106657326000908152600d602052604090205443118015610fd757506001600160a01b0382166000908152600d602052604090205443115b6110415760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b60648201526084016107e3565b326000908152600d602052604080822043908190556001600160a01b03851683529120555b6001600160a01b03831660009081526011602052604090205460ff1680156110a757506001600160a01b03821660009081526010602052604090205460ff16155b1561118357600b5481111561111c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107e3565b600a546001600160a01b038316600090815260208190526040902054611142908361185a565b111561117e5760405162461bcd60e51b815260206004820152600b60248201526a4d61782077616c6c65742160a81b60448201526064016107e3565b6112bc565b6001600160a01b03821660009081526011602052604090205460ff1680156111c457506001600160a01b03831660009081526010602052604090205460ff16155b1561123a57600b5481111561117e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107e3565b6001600160a01b03821660009081526010602052604090205460ff166112bc57600a546001600160a01b038316600090815260208190526040902054611280908361185a565b11156112bc5760405162461bcd60e51b815260206004820152600b60248201526a4d61782077616c6c65742160a81b60448201526064016107e3565b610b118383836114f9565b6001600160a01b0382166113275760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107e3565b6001600160a01b0382166000908152602081905260409020548181101561139b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107e3565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b0316331461074f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661151f5760405162461bcd60e51b81526004016107e390611815565b6001600160a01b0382166115455760405162461bcd60e51b81526004016107e3906117d2565b6001600160a01b038316600090815260208190526040902054818110156115bd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107e3565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610dcf565b80356001600160a01b038116811461163a57600080fd5b919050565b60006020828403121561165157600080fd5b61165a82611623565b9392505050565b6000806040838503121561167457600080fd5b61167d83611623565b915061168b60208401611623565b90509250929050565b6000806000606084860312156116a957600080fd5b6116b284611623565b92506116c060208501611623565b9150604084013590509250925092565b600080604083850312156116e357600080fd5b6116ec83611623565b91506020830135801515811461170157600080fd5b809150509250929050565b6000806040838503121561171f57600080fd5b61172883611623565b946020939093013593505050565b60006020828403121561174857600080fd5b5035919050565b60008060006060848603121561176457600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156117aa5785810183015185820160400152820161178e565b818111156117bc576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6000821982111561187b57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168061189457607f821691505b602082108114156118b557634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122060a9933bbfae6087bf473bd901561b2651b5e7a81eda9ccfdd106b0bd63d2ab964736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000459756e6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000459554e4100000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f25760003560e01c80637571336a1161010d578063bc37e1a3116100a0578063c9567bf91161006f578063c9567bf914610573578063dd62ed3e14610588578063f2fde38b146105a8578063f8b45b05146105c8578063ffb54a99146105de57600080fd5b8063bc37e1a31461050e578063c024666814610523578063c876d0b914610543578063c8c8ebe41461055d57600080fd5b80639a7a23d6116100dc5780639a7a23d614610499578063a0ef91df146104b9578063a457c2d7146104ce578063a9059cbb146104ee57600080fd5b80637571336a1461043157806385447656146104515780638da5cb5b1461046657806395d89b411461048457600080fd5b806342966c68116101855780636ddd1713116101545780636ddd1713146103b257806370a08231146103d1578063715018a614610407578063751039fc1461041c57600080fd5b806342966c681461030157806349bd5a5e146103215780634fbee19314610359578063583e05681461039257600080fd5b80632cb743f7116101c15780632cb743f714610298578063311028af146102af578063313ce567146102c557806339509351146102e157600080fd5b806306fdde03146101fe578063095ea7b31461022957806318160ddd1461025957806323b872dd1461027857600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b506102136105f8565b604051610220919061177d565b60405180910390f35b34801561023557600080fd5b5061024961024436600461170c565b61068a565b6040519015158152602001610220565b34801561026557600080fd5b506002545b604051908152602001610220565b34801561028457600080fd5b50610249610293366004611694565b6106a2565b3480156102a457600080fd5b506102ad6106c6565b005b3480156102bb57600080fd5b5061026a60095481565b3480156102d157600080fd5b5060405160128152602001610220565b3480156102ed57600080fd5b506102496102fc36600461170c565b610711565b34801561030d57600080fd5b506102ad61031c366004611736565b610733565b34801561032d57600080fd5b50600754610341906001600160a01b031681565b6040516001600160a01b039091168152602001610220565b34801561036557600080fd5b5061024961037436600461163f565b6001600160a01b03166000908152600f602052604090205460ff1690565b34801561039e57600080fd5b50600654610341906001600160a01b031681565b3480156103be57600080fd5b50600e5461024990610100900460ff1681565b3480156103dd57600080fd5b5061026a6103ec36600461163f565b6001600160a01b031660009081526020819052604090205490565b34801561041357600080fd5b506102ad61073d565b34801561042857600080fd5b506102ad610751565b34801561043d57600080fd5b506102ad61044c3660046116d0565b610766565b34801561045d57600080fd5b506102ad610799565b34801561047257600080fd5b506005546001600160a01b0316610341565b34801561049057600080fd5b506102136107f8565b3480156104a557600080fd5b506102ad6104b43660046116d0565b610807565b3480156104c557600080fd5b506102ad6108a1565b3480156104da57600080fd5b506102496104e936600461170c565b61093d565b3480156104fa57600080fd5b5061024961050936600461170c565b6109b8565b34801561051a57600080fd5b506102ad6109c6565b34801561052f57600080fd5b506102ad61053e3660046116d0565b610b16565b34801561054f57600080fd5b50600c546102499060ff1681565b34801561056957600080fd5b5061026a600b5481565b34801561057f57600080fd5b506102ad610b7d565b34801561059457600080fd5b5061026a6105a3366004611661565b610b96565b3480156105b457600080fd5b506102ad6105c336600461163f565b610bc1565b3480156105d457600080fd5b5061026a600a5481565b3480156105ea57600080fd5b50600e546102499060ff1681565b60606003805461060790611880565b80601f016020809104026020016040519081016040528092919081815260200182805461063390611880565b80156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b600033610698818585610c37565b5060019392505050565b6000336106b0858285610d5b565b6106bb858585610dd5565b506001949350505050565b6008546001600160a01b0316336001600160a01b0316146106e657600080fd5b30600081815260208190526040902054600854909161070e916001600160a01b031683610dd5565b50565b6000336106988185856107248383610b96565b61072e919061185a565b610c37565b61070e33826112c7565b6107456113f9565b61074f6000611453565b565b6107596113f9565b600954600b819055600a55565b61076e6113f9565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6107a16113f9565b600c5460ff166107ec5760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b60448201526064015b60405180910390fd5b600c805460ff19169055565b60606004805461060790611880565b61080f6113f9565b6007546001600160a01b03838116911614156108935760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016107e3565b61089d82826114a5565b5050565b600047116108f15760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e3a206e6f2045544820696e2074686520636f6e747261637400000060448201526064016107e3565b6008546001600160a01b0316336001600160a01b03161461091157600080fd5b60405133904780156108fc02916000818181858888f1935050505015801561070e573d6000803e3d6000fd5b6000338161094b8286610b96565b9050838110156109ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107e3565b6106bb8286868403610c37565b600033610698818585610dd5565b6109ce6113f9565b600e5460ff1615610a215760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016107e3565b600654600954610a3e9130916001600160a01b0390911690610c37565b6006546001600160a01b031663f305d7194730610a70816001600160a01b031660009081526020819052604090205490565b60085460405160e086901b6001600160e01b03191681526001600160a01b039384166004820152602481019290925260006044830181905260648301529190911660848201524260a482015260c4016060604051808303818588803b158015610ad857600080fd5b505af1158015610aec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b11919061174f565b505050565b610b1e6113f9565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610b856113f9565b600e805461ffff1916610101179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bc96113f9565b6001600160a01b038116610c2e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e3565b61070e81611453565b6001600160a01b038316610c995760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107e3565b6001600160a01b038216610cfa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107e3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d678484610b96565b90506000198114610dcf5781811015610dc25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e3565b610dcf8484848403610c37565b50505050565b6001600160a01b038316610dfb5760405162461bcd60e51b81526004016107e390611815565b6001600160a01b038216610e215760405162461bcd60e51b81526004016107e3906117d2565b80610e3257610b11838360006114f9565b6005546001600160a01b03848116911614801590610e5e57506005546001600160a01b03838116911614155b8015610e7257506001600160a01b03821615155b8015610e8957506001600160a01b03821661dead14155b156112bc57600e5460ff16610f1c576001600160a01b0383166000908152600f602052604090205460ff1680610ed757506001600160a01b0382166000908152600f602052604090205460ff165b610f1c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107e3565b600c5460ff168015610f4757506001600160a01b0383166000908152600f602052604090205460ff16155b8015610f6c57506001600160a01b0382166000908152600f602052604090205460ff16155b15611066576006546001600160a01b03838116911614801590610f9d57506007546001600160a01b03838116911614155b1561106657326000908152600d602052604090205443118015610fd757506001600160a01b0382166000908152600d602052604090205443115b6110415760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b60648201526084016107e3565b326000908152600d602052604080822043908190556001600160a01b03851683529120555b6001600160a01b03831660009081526011602052604090205460ff1680156110a757506001600160a01b03821660009081526010602052604090205460ff16155b1561118357600b5481111561111c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107e3565b600a546001600160a01b038316600090815260208190526040902054611142908361185a565b111561117e5760405162461bcd60e51b815260206004820152600b60248201526a4d61782077616c6c65742160a81b60448201526064016107e3565b6112bc565b6001600160a01b03821660009081526011602052604090205460ff1680156111c457506001600160a01b03831660009081526010602052604090205460ff16155b1561123a57600b5481111561117e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107e3565b6001600160a01b03821660009081526010602052604090205460ff166112bc57600a546001600160a01b038316600090815260208190526040902054611280908361185a565b11156112bc5760405162461bcd60e51b815260206004820152600b60248201526a4d61782077616c6c65742160a81b60448201526064016107e3565b610b118383836114f9565b6001600160a01b0382166113275760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107e3565b6001600160a01b0382166000908152602081905260409020548181101561139b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107e3565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b0316331461074f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661151f5760405162461bcd60e51b81526004016107e390611815565b6001600160a01b0382166115455760405162461bcd60e51b81526004016107e3906117d2565b6001600160a01b038316600090815260208190526040902054818110156115bd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107e3565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610dcf565b80356001600160a01b038116811461163a57600080fd5b919050565b60006020828403121561165157600080fd5b61165a82611623565b9392505050565b6000806040838503121561167457600080fd5b61167d83611623565b915061168b60208401611623565b90509250929050565b6000806000606084860312156116a957600080fd5b6116b284611623565b92506116c060208501611623565b9150604084013590509250925092565b600080604083850312156116e357600080fd5b6116ec83611623565b91506020830135801515811461170157600080fd5b809150509250929050565b6000806040838503121561171f57600080fd5b61172883611623565b946020939093013593505050565b60006020828403121561174857600080fd5b5035919050565b60008060006060848603121561176457600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156117aa5785810183015185820160400152820161178e565b818111156117bc576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6000821982111561187b57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168061189457607f821691505b602082108114156118b557634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122060a9933bbfae6087bf473bd901561b2651b5e7a81eda9ccfdd106b0bd63d2ab964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000459756e6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000459554e4100000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Yuna
Arg [1] : symbol (string): YUNA
Arg [2] : uniswapV2RouterAddr (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 59756e6100000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 59554e4100000000000000000000000000000000000000000000000000000000
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.