ERC-20
Overview
Max Total Supply
1,000,000,000 POTTER
Holders
114
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4,034,398.989746187977278535 POTTERValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MiladyPotter
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* https://t.me/miladypotter https://pogwarts.com https://twitter.com/miladypottererc */ pragma solidity ^0.8.21; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } pragma solidity ^0.8.21; interface IUniswapV2Router02 { 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 swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } pragma solidity ^0.8.21; library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } pragma solidity ^0.8.21; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity ^0.8.21; interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } pragma solidity ^0.8.21; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.21; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.21; 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_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } 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; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } 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; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } 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); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } pragma solidity ^0.8.21; contract MiladyPotter is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address private marketingWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public maxSwapAmount; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 private launchedAt; uint256 private launchedTime; uint256 public blocks; uint256 public buyTotalFees; uint256 public sellTotalFees; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); constructor() ERC20("Milady Potter", "POTTER") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 totalSupply = 1_000_000_000 * 1e18; maxTransactionAmount = totalSupply.mul(100).div(10000); maxWallet = totalSupply.mul(100).div(10000); swapTokensAtAmount = totalSupply.mul(1).div(10000); maxSwapAmount = totalSupply.mul(100).div(10000); marketingWallet = msg.sender; excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, totalSupply); } receive() external payable {} function enableTrading(uint256 _blocks) external onlyOwner { blocks = _blocks; tradingActive = true; swapEnabled = true; launchedAt = block.number; launchedTime = block.timestamp; } function removeLimits(bool _input) external onlyOwner { limitsInEffect = _input; } function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner { swapTokensAtAmount = newAmount * (10 ** 18); } function updateMaxSwap(uint256 newAmount) external onlyOwner { maxSwapAmount = newAmount * (10 ** 18); } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { maxTransactionAmount = newNum * (10 ** 18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { maxWallet = newNum * (10 ** 18); } function whitelistContract(address _whitelist, bool isWL) public onlyOwner { _isExcludedMaxTransactionAmount[_whitelist] = isWL; _isExcludedFromFees[_whitelist] = isWL; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function manualswap(uint256 amount) external { require(_msgSender() == marketingWallet); require(amount <= balanceOf(address(this)) && amount > 0, "Wrong amount"); swapTokensForEth(amount); } function manualsend() external { bool success; (success,) = address(marketingWallet).call{value: address(this).balance}(""); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateBuyFees(uint256 _marketingFee) external onlyOwner { buyTotalFees = _marketingFee; } function updateSellFees(uint256 _marketingFee) external onlyOwner { sellTotalFees = _marketingFee; } function updateMarketingWallet(address newMarketingWallet) external onlyOwner { emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function airdrop(address[] calldata addresses, uint256[] calldata amounts) external { require(addresses.length > 0 && amounts.length == addresses.length); address from = msg.sender; for (uint256 i = 0; i < addresses.length; i++) { _transfer(from, addresses[i], amounts[i] * (10 ** 18)); } } 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 (limitsInEffect) { if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) { if ((launchedAt + blocks) >= block.number) { buyTotalFees = 45; sellTotalFees = 45; } if (!tradingActive) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //when sell 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 exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0) { return; } if (contractBalance > maxSwapAmount) { contractBalance = maxSwapAmount; } // Halve the amount of liquidity tokens uint256 amountToSwapForETH = contractBalance; swapTokensForEth(amountToSwapForETH); uint256 totalETH = address(this).balance; (success,) = address(marketingWallet).call{value: totalETH}(""); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blocks","type":"uint256"}],"name":"enableTrading","outputs":[],"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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_input","type":"bool"}],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"},{"internalType":"bool","name":"isWL","type":"bool"}],"name":"whitelistContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600b805462ffffff191660011790553480156200001f575f80fd5b506040518060400160405280600d81526020016c26b4b630b23c902837ba3a32b960991b815250604051806040016040528060068152602001652827aa2a22a960d11b8152508160039081620000769190620006be565b506004620000858282620006be565b505050620000a26200009c6200034d60201b60201c565b62000351565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000c4816001620003a2565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200010d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000133919062000786565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a5919062000786565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000216919062000786565b6001600160a01b031660a081905262000231906001620003a2565b60a051620002419060016200041a565b6b033b2e3c9fd0803ce800000062000269612710620002628360646200046d565b9062000483565b60075562000280612710620002628360646200046d565b60095562000297612710620002628360016200046d565b600855620002ae612710620002628360646200046d565b600a55600680546001600160a01b03191633179055620002e2620002da6005546001600160a01b031690565b600162000490565b620002ef30600162000490565b620002fe61dead600162000490565b6200031d620003156005546001600160a01b031690565b6001620003a2565b6200032a306001620003a2565b6200033961dead6001620003a2565b62000345338262000538565b505062000819565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6005546001600160a01b03163314620003f05760405162461bcd60e51b815260206004820181905260248201525f80516020620029e783398151915260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152601260205260409020805460ff1916911515919091179055565b6001600160a01b0382165f81815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b5f6200047a8284620007c9565b90505b92915050565b5f6200047a8284620007e3565b6005546001600160a01b03163314620004da5760405162461bcd60e51b815260206004820181905260248201525f80516020620029e78339815191526044820152606401620003e7565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005905760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003e7565b8060025f828254620005a3919062000803565b90915550506001600160a01b0382165f9081526020819052604081208054839290620005d190849062000803565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200064857607f821691505b6020821081036200066757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200061a575f81815260208120601f850160051c81016020861015620006955750805b601f850160051c820191505b81811015620006b657828155600101620006a1565b505050505050565b81516001600160401b03811115620006da57620006da6200061f565b620006f281620006eb845462000633565b846200066d565b602080601f83116001811462000728575f8415620007105750858301515b5f19600386901b1c1916600185901b178555620006b6565b5f85815260208120601f198616915b82811015620007585788860151825594840194600190910190840162000737565b50858210156200077657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000797575f80fd5b81516001600160a01b0381168114620007ae575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176200047d576200047d620007b5565b5f82620007fe57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156200047d576200047d620007b5565b60805160a051612190620008575f395f81816104510152610d8e01525f818161033c0152818161196501528181611a1c0152611a5801526121905ff3fe608060405260043610610278575f3560e01c8063881dce601161014a578063bbc0c742116100be578063d85ba06311610078578063d85ba0631461078a578063dd62ed3e1461079f578063e2f45605146107e3578063eba4c333146107f8578063f2fde38b14610817578063f8b45b0514610836575f80fd5b8063bbc0c742146106e5578063c024666814610703578063c18bc19514610722578063c8c8ebe414610741578063cce987d414610756578063d257b34f1461076b575f80fd5b80639a7a23d61161010f5780639a7a23d61461061c578063a457c2d71461063b578063a672990c1461065a578063a9059cbb14610679578063aacebbe314610698578063b62496f5146106b7575f80fd5b8063881dce60146105985780638da5cb5b146105b7578063924de9b7146105d457806395d89b41146105f3578063967ff23e14610607575f80fd5b806339509351116101ec5780636fc3eaec116101a65780636fc3eaec146104df57806370a08231146104f3578063715018a61461052757806371fc46881461053b5780637571336a1461055a57806382aa7c6814610579575f80fd5b8063395093511461042157806349bd5a5e146104405780634a62bb6514610473578063672434821461048c5780636a486a8e146104ab5780636ddd1713146104c0575f80fd5b806317090ec81161023d57806317090ec81461037657806318160ddd14610395578063203e727e146103b357806323b872dd146103d257806327c8f835146103f1578063313ce56714610406575f80fd5b806306fdde0314610283578063095ea7b3146102ad57806310d5de53146102dc578063150074a31461030a5780631694505e1461032b575f80fd5b3661027f57005b5f80fd5b34801561028e575f80fd5b5061029761084b565b6040516102a49190611d00565b60405180910390f35b3480156102b8575f80fd5b506102cc6102c7366004611d5f565b6108db565b60405190151581526020016102a4565b3480156102e7575f80fd5b506102cc6102f6366004611d89565b60126020525f908152604090205460ff1681565b348015610315575f80fd5b50610329610324366004611da4565b6108f1565b005b348015610336575f80fd5b5061035e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102a4565b348015610381575f80fd5b50610329610390366004611dcf565b61093c565b3480156103a0575f80fd5b506002545b6040519081526020016102a4565b3480156103be575f80fd5b506103296103cd366004611da4565b610979565b3480156103dd575f80fd5b506102cc6103ec366004611de8565b6109bb565b3480156103fc575f80fd5b5061035e61dead81565b348015610411575f80fd5b50604051601281526020016102a4565b34801561042c575f80fd5b506102cc61043b366004611d5f565b610a63565b34801561044b575f80fd5b5061035e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561047e575f80fd5b50600b546102cc9060ff1681565b348015610497575f80fd5b506103296104a6366004611e6e565b610a9e565b3480156104b6575f80fd5b506103a560105481565b3480156104cb575f80fd5b50600b546102cc9062010000900460ff1681565b3480156104ea575f80fd5b50610329610b35565b3480156104fe575f80fd5b506103a561050d366004611d89565b6001600160a01b03165f9081526020819052604090205490565b348015610532575f80fd5b50610329610b8a565b348015610546575f80fd5b50610329610555366004611da4565b610bbf565b348015610565575f80fd5b50610329610574366004611ed5565b610bee565b348015610584575f80fd5b50610329610593366004611da4565b610c42565b3480156105a3575f80fd5b506103296105b2366004611da4565b610c8a565b3480156105c2575f80fd5b506005546001600160a01b031661035e565b3480156105df575f80fd5b506103296105ee366004611dcf565b610d0d565b3480156105fe575f80fd5b50610297610d53565b348015610612575f80fd5b506103a5600e5481565b348015610627575f80fd5b50610329610636366004611ed5565b610d62565b348015610646575f80fd5b506102cc610655366004611d5f565b610e41565b348015610665575f80fd5b50610329610674366004611ed5565b610ed9565b348015610684575f80fd5b506102cc610693366004611d5f565b610f40565b3480156106a3575f80fd5b506103296106b2366004611d89565b610f4c565b3480156106c2575f80fd5b506102cc6106d1366004611d89565b60136020525f908152604090205460ff1681565b3480156106f0575f80fd5b50600b546102cc90610100900460ff1681565b34801561070e575f80fd5b5061032961071d366004611ed5565b610fd2565b34801561072d575f80fd5b5061032961073c366004611da4565b61105a565b34801561074c575f80fd5b506103a560075481565b348015610761575f80fd5b506103a5600a5481565b348015610776575f80fd5b50610329610785366004611da4565b61109c565b348015610795575f80fd5b506103a5600f5481565b3480156107aa575f80fd5b506103a56107b9366004611f08565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156107ee575f80fd5b506103a560085481565b348015610803575f80fd5b50610329610812366004611da4565b6110de565b348015610822575f80fd5b50610329610831366004611d89565b61110d565b348015610841575f80fd5b506103a560095481565b60606003805461085a90611f3f565b80601f016020809104026020016040519081016040528092919081815260200182805461088690611f3f565b80156108d15780601f106108a8576101008083540402835291602001916108d1565b820191905f5260205f20905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b5f6108e73384846111a5565b5060015b92915050565b6005546001600160a01b031633146109245760405162461bcd60e51b815260040161091b90611f77565b60405180910390fd5b61093681670de0b6b3a7640000611fc0565b600a5550565b6005546001600160a01b031633146109665760405162461bcd60e51b815260040161091b90611f77565b600b805460ff1916911515919091179055565b6005546001600160a01b031633146109a35760405162461bcd60e51b815260040161091b90611f77565b6109b581670de0b6b3a7640000611fc0565b60075550565b5f6109c78484846112c8565b6001600160a01b0384165f90815260016020908152604080832033845290915290205482811015610a4b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161091b565b610a5885338584036111a5565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916108e7918590610a99908690611fd7565b6111a5565b8215801590610aac57508083145b610ab4575f80fd5b335f5b84811015610b2d57610b1b82878784818110610ad557610ad5611fea565b9050602002016020810190610aea9190611d89565b868685818110610afc57610afc611fea565b90506020020135670de0b6b3a7640000610b169190611fc0565b6112c8565b80610b2581611ffe565b915050610ab7565b505050505050565b6006546040515f916001600160a01b03169047908381818185875af1925050503d805f8114610b7f576040519150601f19603f3d011682016040523d82523d5f602084013e610b84565b606091505b50505050565b6005546001600160a01b03163314610bb45760405162461bcd60e51b815260040161091b90611f77565b610bbd5f6118bf565b565b6005546001600160a01b03163314610be95760405162461bcd60e51b815260040161091b90611f77565b600f55565b6005546001600160a01b03163314610c185760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b03919091165f908152601260205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610c6c5760405162461bcd60e51b815260040161091b90611f77565b600e55600b805462ffff0019166201010017905543600c5542600d55565b6006546001600160a01b0316336001600160a01b031614610ca9575f80fd5b305f908152602081905260409020548111158015610cc657505f81115b610d015760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8185b5bdd5b9d60a21b604482015260640161091b565b610d0a81611910565b50565b6005546001600160a01b03163314610d375760405162461bcd60e51b815260040161091b90611f77565b600b8054911515620100000262ff000019909216919091179055565b60606004805461085a90611f3f565b6005546001600160a01b03163314610d8c5760405162461bcd60e51b815260040161091b90611f77565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e335760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161091b565b610e3d8282611abe565b5050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610ec25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161091b565b610ecf33858584036111a5565b5060019392505050565b6005546001600160a01b03163314610f035760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b039091165f908152601260209081526040808320805494151560ff19958616811790915560119092529091208054909216179055565b5f6108e73384846112c8565b6005546001600160a01b03163314610f765760405162461bcd60e51b815260040161091b90611f77565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ffc5760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110845760405162461bcd60e51b815260040161091b90611f77565b61109681670de0b6b3a7640000611fc0565b60095550565b6005546001600160a01b031633146110c65760405162461bcd60e51b815260040161091b90611f77565b6110d881670de0b6b3a7640000611fc0565b60085550565b6005546001600160a01b031633146111085760405162461bcd60e51b815260040161091b90611f77565b601055565b6005546001600160a01b031633146111375760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b03811661119c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091b565b610d0a816118bf565b6001600160a01b0383166112075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161091b565b6001600160a01b0382166112685760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161091b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112ee5760405162461bcd60e51b815260040161091b90612016565b6001600160a01b0382166113145760405162461bcd60e51b815260040161091b9061205b565b805f0361132b5761132683835f611b11565b505050565b600b5460ff16156116b9576005546001600160a01b0384811691161480159061136257506005546001600160a01b03838116911614155b801561137657506001600160a01b03821615155b801561138d57506001600160a01b03821661dead14155b80156113a35750600554600160a01b900460ff16155b156116b95743600e54600c546113b99190611fd7565b106113c957602d600f8190556010555b600b54610100900460ff1661145a576001600160a01b0383165f9081526011602052604090205460ff168061141557506001600160a01b0382165f9081526011602052604090205460ff165b61145a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161091b565b6001600160a01b0383165f9081526013602052604090205460ff16801561149957506001600160a01b0382165f9081526012602052604090205460ff16155b1561157c5760075481111561150e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161091b565b6009546001600160a01b0383165f908152602081905260409020546115339083611fd7565b11156115775760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161091b565b6116b9565b6001600160a01b0382165f9081526013602052604090205460ff1680156115bb57506001600160a01b0383165f9081526012602052604090205460ff16155b15611631576007548111156115775760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161091b565b6001600160a01b0382165f9081526012602052604090205460ff166116b9576009546001600160a01b0383165f908152602081905260409020546116759083611fd7565b11156116b95760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161091b565b305f90815260208190526040902054600854811080159081906116e45750600b5462010000900460ff165b80156116fa5750600554600160a01b900460ff16155b801561171e57506001600160a01b0385165f9081526013602052604090205460ff16155b801561174257506001600160a01b0385165f9081526011602052604090205460ff16155b801561176657506001600160a01b0384165f9081526011602052604090205460ff16155b15611794576005805460ff60a01b1916600160a01b179055611786611c64565b6005805460ff60a01b191690555b6005546001600160a01b0386165f9081526011602052604090205460ff600160a01b9092048216159116806117e057506001600160a01b0385165f9081526011602052604090205460ff165b156117e857505f5b5f81156118ab576001600160a01b0386165f9081526013602052604090205460ff16801561181757505f601054115b156118435761183c606461183660105488611ce390919063ffffffff16565b90611cf5565b905061188d565b6001600160a01b0387165f9081526013602052604090205460ff16801561186b57505f600f54115b1561188d5761188a6064611836600f5488611ce390919063ffffffff16565b90505b801561189e5761189e873083611b11565b6118a8818661209e565b94505b6118b6878787611b11565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061194357611943611fea565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e391906120b1565b816001815181106119f6576119f6611fea565b60200260200101906001600160a01b031690816001600160a01b031681525050611a41307f0000000000000000000000000000000000000000000000000000000000000000846111a5565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611a959085905f908690309042906004016120cc565b5f604051808303815f87803b158015611aac575f80fd5b505af1158015610b2d573d5f803e3d5ffd5b6001600160a01b0382165f81815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b375760405162461bcd60e51b815260040161091b90612016565b6001600160a01b038216611b5d5760405162461bcd60e51b815260040161091b9061205b565b6001600160a01b0383165f9081526020819052604090205481811015611bd45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161091b565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611c0a908490611fd7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c5691815260200190565b60405180910390a350505050565b305f9081526020819052604081205490818103611c7f575050565b600a54821115611c8f57600a5491505b81611c9981611910565b60065460405147916001600160a01b03169082905f81818185875af1925050503d805f81146118b6576040519150601f19603f3d011682016040523d82523d5f602084013e6118b6565b5f611cee8284611fc0565b9392505050565b5f611cee828461213b565b5f6020808352835180828501525f5b81811015611d2b57858101830151858201604001528201611d0f565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d0a575f80fd5b5f8060408385031215611d70575f80fd5b8235611d7b81611d4b565b946020939093013593505050565b5f60208284031215611d99575f80fd5b8135611cee81611d4b565b5f60208284031215611db4575f80fd5b5035919050565b80358015158114611dca575f80fd5b919050565b5f60208284031215611ddf575f80fd5b611cee82611dbb565b5f805f60608486031215611dfa575f80fd5b8335611e0581611d4b565b92506020840135611e1581611d4b565b929592945050506040919091013590565b5f8083601f840112611e36575f80fd5b50813567ffffffffffffffff811115611e4d575f80fd5b6020830191508360208260051b8501011115611e67575f80fd5b9250929050565b5f805f8060408587031215611e81575f80fd5b843567ffffffffffffffff80821115611e98575f80fd5b611ea488838901611e26565b90965094506020870135915080821115611ebc575f80fd5b50611ec987828801611e26565b95989497509550505050565b5f8060408385031215611ee6575f80fd5b8235611ef181611d4b565b9150611eff60208401611dbb565b90509250929050565b5f8060408385031215611f19575f80fd5b8235611f2481611d4b565b91506020830135611f3481611d4b565b809150509250929050565b600181811c90821680611f5357607f821691505b602082108103611f7157634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176108eb576108eb611fac565b808201808211156108eb576108eb611fac565b634e487b7160e01b5f52603260045260245ffd5b5f6001820161200f5761200f611fac565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108eb576108eb611fac565b5f602082840312156120c1575f80fd5b8151611cee81611d4b565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561211a5784516001600160a01b0316835293830193918301916001016120f5565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8261215557634e487b7160e01b5f52601260045260245ffd5b50049056fea264697066735822122046a429ddafd66e7fe82aa2e2175ef3698bd3434866737df98fa21692e019320064736f6c634300081500334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x608060405260043610610278575f3560e01c8063881dce601161014a578063bbc0c742116100be578063d85ba06311610078578063d85ba0631461078a578063dd62ed3e1461079f578063e2f45605146107e3578063eba4c333146107f8578063f2fde38b14610817578063f8b45b0514610836575f80fd5b8063bbc0c742146106e5578063c024666814610703578063c18bc19514610722578063c8c8ebe414610741578063cce987d414610756578063d257b34f1461076b575f80fd5b80639a7a23d61161010f5780639a7a23d61461061c578063a457c2d71461063b578063a672990c1461065a578063a9059cbb14610679578063aacebbe314610698578063b62496f5146106b7575f80fd5b8063881dce60146105985780638da5cb5b146105b7578063924de9b7146105d457806395d89b41146105f3578063967ff23e14610607575f80fd5b806339509351116101ec5780636fc3eaec116101a65780636fc3eaec146104df57806370a08231146104f3578063715018a61461052757806371fc46881461053b5780637571336a1461055a57806382aa7c6814610579575f80fd5b8063395093511461042157806349bd5a5e146104405780634a62bb6514610473578063672434821461048c5780636a486a8e146104ab5780636ddd1713146104c0575f80fd5b806317090ec81161023d57806317090ec81461037657806318160ddd14610395578063203e727e146103b357806323b872dd146103d257806327c8f835146103f1578063313ce56714610406575f80fd5b806306fdde0314610283578063095ea7b3146102ad57806310d5de53146102dc578063150074a31461030a5780631694505e1461032b575f80fd5b3661027f57005b5f80fd5b34801561028e575f80fd5b5061029761084b565b6040516102a49190611d00565b60405180910390f35b3480156102b8575f80fd5b506102cc6102c7366004611d5f565b6108db565b60405190151581526020016102a4565b3480156102e7575f80fd5b506102cc6102f6366004611d89565b60126020525f908152604090205460ff1681565b348015610315575f80fd5b50610329610324366004611da4565b6108f1565b005b348015610336575f80fd5b5061035e7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102a4565b348015610381575f80fd5b50610329610390366004611dcf565b61093c565b3480156103a0575f80fd5b506002545b6040519081526020016102a4565b3480156103be575f80fd5b506103296103cd366004611da4565b610979565b3480156103dd575f80fd5b506102cc6103ec366004611de8565b6109bb565b3480156103fc575f80fd5b5061035e61dead81565b348015610411575f80fd5b50604051601281526020016102a4565b34801561042c575f80fd5b506102cc61043b366004611d5f565b610a63565b34801561044b575f80fd5b5061035e7f000000000000000000000000a3c9d47344e5b482d2c074ee6ab4aac08413f63381565b34801561047e575f80fd5b50600b546102cc9060ff1681565b348015610497575f80fd5b506103296104a6366004611e6e565b610a9e565b3480156104b6575f80fd5b506103a560105481565b3480156104cb575f80fd5b50600b546102cc9062010000900460ff1681565b3480156104ea575f80fd5b50610329610b35565b3480156104fe575f80fd5b506103a561050d366004611d89565b6001600160a01b03165f9081526020819052604090205490565b348015610532575f80fd5b50610329610b8a565b348015610546575f80fd5b50610329610555366004611da4565b610bbf565b348015610565575f80fd5b50610329610574366004611ed5565b610bee565b348015610584575f80fd5b50610329610593366004611da4565b610c42565b3480156105a3575f80fd5b506103296105b2366004611da4565b610c8a565b3480156105c2575f80fd5b506005546001600160a01b031661035e565b3480156105df575f80fd5b506103296105ee366004611dcf565b610d0d565b3480156105fe575f80fd5b50610297610d53565b348015610612575f80fd5b506103a5600e5481565b348015610627575f80fd5b50610329610636366004611ed5565b610d62565b348015610646575f80fd5b506102cc610655366004611d5f565b610e41565b348015610665575f80fd5b50610329610674366004611ed5565b610ed9565b348015610684575f80fd5b506102cc610693366004611d5f565b610f40565b3480156106a3575f80fd5b506103296106b2366004611d89565b610f4c565b3480156106c2575f80fd5b506102cc6106d1366004611d89565b60136020525f908152604090205460ff1681565b3480156106f0575f80fd5b50600b546102cc90610100900460ff1681565b34801561070e575f80fd5b5061032961071d366004611ed5565b610fd2565b34801561072d575f80fd5b5061032961073c366004611da4565b61105a565b34801561074c575f80fd5b506103a560075481565b348015610761575f80fd5b506103a5600a5481565b348015610776575f80fd5b50610329610785366004611da4565b61109c565b348015610795575f80fd5b506103a5600f5481565b3480156107aa575f80fd5b506103a56107b9366004611f08565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156107ee575f80fd5b506103a560085481565b348015610803575f80fd5b50610329610812366004611da4565b6110de565b348015610822575f80fd5b50610329610831366004611d89565b61110d565b348015610841575f80fd5b506103a560095481565b60606003805461085a90611f3f565b80601f016020809104026020016040519081016040528092919081815260200182805461088690611f3f565b80156108d15780601f106108a8576101008083540402835291602001916108d1565b820191905f5260205f20905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b5f6108e73384846111a5565b5060015b92915050565b6005546001600160a01b031633146109245760405162461bcd60e51b815260040161091b90611f77565b60405180910390fd5b61093681670de0b6b3a7640000611fc0565b600a5550565b6005546001600160a01b031633146109665760405162461bcd60e51b815260040161091b90611f77565b600b805460ff1916911515919091179055565b6005546001600160a01b031633146109a35760405162461bcd60e51b815260040161091b90611f77565b6109b581670de0b6b3a7640000611fc0565b60075550565b5f6109c78484846112c8565b6001600160a01b0384165f90815260016020908152604080832033845290915290205482811015610a4b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161091b565b610a5885338584036111a5565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916108e7918590610a99908690611fd7565b6111a5565b8215801590610aac57508083145b610ab4575f80fd5b335f5b84811015610b2d57610b1b82878784818110610ad557610ad5611fea565b9050602002016020810190610aea9190611d89565b868685818110610afc57610afc611fea565b90506020020135670de0b6b3a7640000610b169190611fc0565b6112c8565b80610b2581611ffe565b915050610ab7565b505050505050565b6006546040515f916001600160a01b03169047908381818185875af1925050503d805f8114610b7f576040519150601f19603f3d011682016040523d82523d5f602084013e610b84565b606091505b50505050565b6005546001600160a01b03163314610bb45760405162461bcd60e51b815260040161091b90611f77565b610bbd5f6118bf565b565b6005546001600160a01b03163314610be95760405162461bcd60e51b815260040161091b90611f77565b600f55565b6005546001600160a01b03163314610c185760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b03919091165f908152601260205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610c6c5760405162461bcd60e51b815260040161091b90611f77565b600e55600b805462ffff0019166201010017905543600c5542600d55565b6006546001600160a01b0316336001600160a01b031614610ca9575f80fd5b305f908152602081905260409020548111158015610cc657505f81115b610d015760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8185b5bdd5b9d60a21b604482015260640161091b565b610d0a81611910565b50565b6005546001600160a01b03163314610d375760405162461bcd60e51b815260040161091b90611f77565b600b8054911515620100000262ff000019909216919091179055565b60606004805461085a90611f3f565b6005546001600160a01b03163314610d8c5760405162461bcd60e51b815260040161091b90611f77565b7f000000000000000000000000a3c9d47344e5b482d2c074ee6ab4aac08413f6336001600160a01b0316826001600160a01b031603610e335760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161091b565b610e3d8282611abe565b5050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610ec25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161091b565b610ecf33858584036111a5565b5060019392505050565b6005546001600160a01b03163314610f035760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b039091165f908152601260209081526040808320805494151560ff19958616811790915560119092529091208054909216179055565b5f6108e73384846112c8565b6005546001600160a01b03163314610f765760405162461bcd60e51b815260040161091b90611f77565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ffc5760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110845760405162461bcd60e51b815260040161091b90611f77565b61109681670de0b6b3a7640000611fc0565b60095550565b6005546001600160a01b031633146110c65760405162461bcd60e51b815260040161091b90611f77565b6110d881670de0b6b3a7640000611fc0565b60085550565b6005546001600160a01b031633146111085760405162461bcd60e51b815260040161091b90611f77565b601055565b6005546001600160a01b031633146111375760405162461bcd60e51b815260040161091b90611f77565b6001600160a01b03811661119c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091b565b610d0a816118bf565b6001600160a01b0383166112075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161091b565b6001600160a01b0382166112685760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161091b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112ee5760405162461bcd60e51b815260040161091b90612016565b6001600160a01b0382166113145760405162461bcd60e51b815260040161091b9061205b565b805f0361132b5761132683835f611b11565b505050565b600b5460ff16156116b9576005546001600160a01b0384811691161480159061136257506005546001600160a01b03838116911614155b801561137657506001600160a01b03821615155b801561138d57506001600160a01b03821661dead14155b80156113a35750600554600160a01b900460ff16155b156116b95743600e54600c546113b99190611fd7565b106113c957602d600f8190556010555b600b54610100900460ff1661145a576001600160a01b0383165f9081526011602052604090205460ff168061141557506001600160a01b0382165f9081526011602052604090205460ff165b61145a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161091b565b6001600160a01b0383165f9081526013602052604090205460ff16801561149957506001600160a01b0382165f9081526012602052604090205460ff16155b1561157c5760075481111561150e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161091b565b6009546001600160a01b0383165f908152602081905260409020546115339083611fd7565b11156115775760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161091b565b6116b9565b6001600160a01b0382165f9081526013602052604090205460ff1680156115bb57506001600160a01b0383165f9081526012602052604090205460ff16155b15611631576007548111156115775760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161091b565b6001600160a01b0382165f9081526012602052604090205460ff166116b9576009546001600160a01b0383165f908152602081905260409020546116759083611fd7565b11156116b95760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161091b565b305f90815260208190526040902054600854811080159081906116e45750600b5462010000900460ff165b80156116fa5750600554600160a01b900460ff16155b801561171e57506001600160a01b0385165f9081526013602052604090205460ff16155b801561174257506001600160a01b0385165f9081526011602052604090205460ff16155b801561176657506001600160a01b0384165f9081526011602052604090205460ff16155b15611794576005805460ff60a01b1916600160a01b179055611786611c64565b6005805460ff60a01b191690555b6005546001600160a01b0386165f9081526011602052604090205460ff600160a01b9092048216159116806117e057506001600160a01b0385165f9081526011602052604090205460ff165b156117e857505f5b5f81156118ab576001600160a01b0386165f9081526013602052604090205460ff16801561181757505f601054115b156118435761183c606461183660105488611ce390919063ffffffff16565b90611cf5565b905061188d565b6001600160a01b0387165f9081526013602052604090205460ff16801561186b57505f600f54115b1561188d5761188a6064611836600f5488611ce390919063ffffffff16565b90505b801561189e5761189e873083611b11565b6118a8818661209e565b94505b6118b6878787611b11565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061194357611943611fea565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e391906120b1565b816001815181106119f6576119f6611fea565b60200260200101906001600160a01b031690816001600160a01b031681525050611a41307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846111a5565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611a959085905f908690309042906004016120cc565b5f604051808303815f87803b158015611aac575f80fd5b505af1158015610b2d573d5f803e3d5ffd5b6001600160a01b0382165f81815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b375760405162461bcd60e51b815260040161091b90612016565b6001600160a01b038216611b5d5760405162461bcd60e51b815260040161091b9061205b565b6001600160a01b0383165f9081526020819052604090205481811015611bd45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161091b565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611c0a908490611fd7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c5691815260200190565b60405180910390a350505050565b305f9081526020819052604081205490818103611c7f575050565b600a54821115611c8f57600a5491505b81611c9981611910565b60065460405147916001600160a01b03169082905f81818185875af1925050503d805f81146118b6576040519150601f19603f3d011682016040523d82523d5f602084013e6118b6565b5f611cee8284611fc0565b9392505050565b5f611cee828461213b565b5f6020808352835180828501525f5b81811015611d2b57858101830151858201604001528201611d0f565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d0a575f80fd5b5f8060408385031215611d70575f80fd5b8235611d7b81611d4b565b946020939093013593505050565b5f60208284031215611d99575f80fd5b8135611cee81611d4b565b5f60208284031215611db4575f80fd5b5035919050565b80358015158114611dca575f80fd5b919050565b5f60208284031215611ddf575f80fd5b611cee82611dbb565b5f805f60608486031215611dfa575f80fd5b8335611e0581611d4b565b92506020840135611e1581611d4b565b929592945050506040919091013590565b5f8083601f840112611e36575f80fd5b50813567ffffffffffffffff811115611e4d575f80fd5b6020830191508360208260051b8501011115611e67575f80fd5b9250929050565b5f805f8060408587031215611e81575f80fd5b843567ffffffffffffffff80821115611e98575f80fd5b611ea488838901611e26565b90965094506020870135915080821115611ebc575f80fd5b50611ec987828801611e26565b95989497509550505050565b5f8060408385031215611ee6575f80fd5b8235611ef181611d4b565b9150611eff60208401611dbb565b90509250929050565b5f8060408385031215611f19575f80fd5b8235611f2481611d4b565b91506020830135611f3481611d4b565b809150509250929050565b600181811c90821680611f5357607f821691505b602082108103611f7157634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176108eb576108eb611fac565b808201808211156108eb576108eb611fac565b634e487b7160e01b5f52603260045260245ffd5b5f6001820161200f5761200f611fac565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108eb576108eb611fac565b5f602082840312156120c1575f80fd5b8151611cee81611d4b565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561211a5784516001600160a01b0316835293830193918301916001016120f5565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8261215557634e487b7160e01b5f52601260045260245ffd5b50049056fea264697066735822122046a429ddafd66e7fe82aa2e2175ef3698bd3434866737df98fa21692e019320064736f6c63430008150033
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.