Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 IDIOT
Holders
41
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
20,586,402.79328373912 IDIOTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AID
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 300 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: NONE /* https://artificialidiot.tech/ https://twitter.com/ArtIdiotEth https://t.me/artificialidioterc */ pragma solidity ^0.8.16; library SafeMath { 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 sub(uint256 a, uint256 b) internal pure returns (uint256) {return a - b;} } abstract contract Context { function _msgSender() internal view virtual returns (address) {return msg.sender;} } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, 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 from, address to, uint256 amount) external returns (bool); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } 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 to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } 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; } 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); } 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); } 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 _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract AID is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address private constant DEAD = address(0xdead); address private constant ZERO = address(0); string private _name = "Artificial Idiot"; string private _symbol = "IDIOT"; bool private swapping; uint256 public buyFee; uint256 public sellFee; uint256 public maxTransactionAmount; uint256 public maxWallet; mapping(address => bool) private isExcludedFromFees; mapping(address => bool) private isExcludedMaxTransactionAmount; uint256 public swapTokensAtAmount; bool public tradingEnabled = false; bool public swapEnabled = false; bool public limitsInEffect = true; address public marketingWallet; mapping(address => bool) private pairs; constructor() ERC20(_name, _symbol) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; excludeFromMaxTransactionAmount(address(_uniswapV2Router), true); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); pairs[address(uniswapV2Pair)] = true; excludeFromMaxTransactionAmount(address(uniswapV2Pair), true); uint256 totalSupply = 1000000000 * 10**decimals(); maxTransactionAmount = totalSupply; maxWallet = totalSupply; swapTokensAtAmount = totalSupply.mul(1).div(1000); marketingWallet = address(0x05136399994618aD0ee87B31F008eD7f29b5C1fC); buyFee = 0; sellFee = 0; excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(marketingWallet, true); excludeFromMaxTransactionAmount(owner(), true); excludeFromMaxTransactionAmount(address(this), true); excludeFromMaxTransactionAmount(DEAD, true); excludeFromMaxTransactionAmount(marketingWallet, true); _mint(_msgSender(), totalSupply.mul(100).div(100)); } receive() external payable {} function removeLimits() external onlyOwner { require(limitsInEffect == true, "The limits has been removed."); limitsInEffect = false; } function excludeFromMaxTransactionAmount(address _address, bool excluded) public onlyOwner { isExcludedMaxTransactionAmount[_address] = excluded; } function excludeFromFees(address _address, bool excluded) public onlyOwner { isExcludedFromFees[_address] = excluded; } function _transfer(address from, address to, uint256 amount) internal override { require(from != ZERO, "ERC20: transfer from the zero address."); require(to != DEAD, "ERC20: transfer to the zero address."); require(amount > 0, "ERC20: transfer amount must be greater than zero."); if (from != owner() && to != owner() && to != ZERO && to != DEAD && !swapping) { if (!tradingEnabled) { require(isExcludedFromFees[from] || isExcludedFromFees[to], "Trading is not active."); } if (limitsInEffect) { if (pairs[from] && !isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the max transaction amount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded."); } else if (pairs[to] && !isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the max transaction amount."); require(!swapEnabled, "Swap has not been enabled."); } else if (!isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded."); } } } bool canSwap = balanceOf(address(this)) >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !pairs[from] && !isExcludedFromFees[from] && !isExcludedFromFees[to] ) { swapping = true; swapBack(false); swapping = false; } bool takeFee = !swapping; if (isExcludedFromFees[from] || isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if(pairs[to] || pairs[from]) { fees = amount.mul(buyFee).div(100); } if (pairs[to] && buyFee > 0) { fees = amount.mul(buyFee).div(100); } else if (pairs[from] && sellFee > 0) { fees = amount.mul(sellFee).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function openTrading() external onlyOwner { require(!tradingEnabled, "Trading is already open"); tradingEnabled = true; } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function swapBack(bool _manualSwap) private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0) { return; } if (_manualSwap == false && contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } swapTokensForEth(contractBalance); (success, ) = address(marketingWallet).call{value: address(this).balance}(""); } function toggleSwap() external onlyOwner { swapEnabled = !swapEnabled; } }
{ "optimizer": { "enabled": true, "runs": 300 }, "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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"toggleSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052601060809081526f105c9d1a599a58da585b0812591a5bdd60821b60a052600890620000319082620007fd565b5060408051808201909152600581526412511253d560da1b60208201526009906200005d9082620007fd565b506012805462ffffff1916620100001790553480156200007c57600080fd5b50600880546200008c906200076f565b80601f0160208091040260200160405190810160405280929190818152602001828054620000ba906200076f565b80156200010b5780601f10620000df576101008083540402835291602001916200010b565b820191906000526020600020905b815481529060010190602001808311620000ed57829003601f168201915b5050505050600980546200011f906200076f565b80601f01602080910402602001604051908101604052809291908181526020018280546200014d906200076f565b80156200019e5780601f1062000172576101008083540402835291602001916200019e565b820191906000526020600020905b8154815290600101906020018083116200018057829003601f168201915b50505050508160039081620001b49190620007fd565b506004620001c38282620007fd565b505050620001e0620001da6200054a60201b60201c565b6200054e565b600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915562000216816001620005a0565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002909190620008c9565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003199190620008c9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000367573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038d9190620008c9565b600780546001600160a01b0319166001600160a01b0392831690811782556000908152601360205260409020805460ff191660019081179091559054620003d6921690620005a0565b6000620003e66012600a62000a0e565b620003f690633b9aca0062000a1f565b600d819055600e8190559050620004366103e862000422836001620005d5602090811b6200078b17901c565b620005ec60201b6200079e1790919060201c565b601155601280546301000000600160b81b0319167605136399994618ad0ee87b31f008ed7f29b5c1fc0000001790556000600b819055600c556200048e620004866005546001600160a01b031690565b6001620005fa565b6200049b306001620005fa565b601254620004bb90630100000090046001600160a01b03166001620005fa565b620004da620004d26005546001600160a01b031690565b6001620005a0565b620004e7306001620005a0565b620004f661dead6001620005a0565b6012546200051690630100000090046001600160a01b03166001620005a0565b62000542336200053c606462000422606486620005d560201b6200078b1790919060201c565b6200062f565b505062000a7a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620005aa620006f6565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6000620005e3828462000a1f565b90505b92915050565b6000620005e3828462000a41565b62000604620006f6565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6001600160a01b0382166200068b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200069f919062000a64565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620007525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000682565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200078457607f821691505b602082108103620007a557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075457600081815260208120601f850160051c81016020861015620007d45750805b601f850160051c820191505b81811015620007f557828155600101620007e0565b505050505050565b81516001600160401b0381111562000819576200081962000759565b62000831816200082a84546200076f565b84620007ab565b602080601f831160018114620008695760008415620008505750858301515b600019600386901b1c1916600185901b178555620007f5565b600085815260208120601f198616915b828110156200089a5788860151825594840194600190910190840162000879565b5085821015620008b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008dc57600080fd5b81516001600160a01b0381168114620008f457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000952578160001904821115620009365762000936620008fb565b808516156200094457918102915b93841c939080029062000916565b509250929050565b6000826200096b57506001620005e6565b816200097a57506000620005e6565b81600181146200099357600281146200099e57620009be565b6001915050620005e6565b60ff841115620009b257620009b2620008fb565b50506001821b620005e6565b5060208310610133831016604e8410600b8410161715620009e3575081810a620005e6565b620009ef838362000911565b806000190482111562000a065762000a06620008fb565b029392505050565b6000620005e360ff8416836200095a565b600081600019048311821515161562000a3c5762000a3c620008fb565b500290565b60008262000a5f57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620005e657620005e6620008fb565b6118168062000a8a6000396000f3fe6080604052600436106101b05760003560e01c80636ddd1713116100ec578063a9059cbb1161008a578063c9567bf911610064578063c9567bf914610496578063dd62ed3e146104ab578063e2f45605146104f1578063f8b45b051461050757600080fd5b8063a9059cbb14610440578063c024666814610460578063c8c8ebe41461048057600080fd5b8063751039fc116100c6578063751039fc146103d157806375f0a874146103e65780638da5cb5b1461040d57806395d89b411461042b57600080fd5b80636ddd17131461036757806370a0823114610386578063715018a6146103bc57600080fd5b80632ae2f12111610159578063470624021161013357806347062402146102f757806349bd5a5e1461030d5780634a62bb651461032d5780634ada218b1461034d57600080fd5b80632ae2f121146102a55780632b14ca56146102c5578063313ce567146102db57600080fd5b806318160ddd1161018a57806318160ddd1461024f5780631ff8d5071461026e57806323b872dd1461028557600080fd5b806306fdde03146101bc578063095ea7b3146101e75780631694505e1461021757600080fd5b366101b757005b600080fd5b3480156101c857600080fd5b506101d161051d565b6040516101de9190611529565b60405180910390f35b3480156101f357600080fd5b5061020761020236600461158f565b6105af565b60405190151581526020016101de565b34801561022357600080fd5b50600654610237906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b34801561025b57600080fd5b506002545b6040519081526020016101de565b34801561027a57600080fd5b506102836105c9565b005b34801561029157600080fd5b506102076102a03660046115bb565b6105ee565b3480156102b157600080fd5b506102836102c03660046115fc565b610612565b3480156102d157600080fd5b50610260600c5481565b3480156102e757600080fd5b50604051601281526020016101de565b34801561030357600080fd5b50610260600b5481565b34801561031957600080fd5b50600754610237906001600160a01b031681565b34801561033957600080fd5b506012546102079062010000900460ff1681565b34801561035957600080fd5b506012546102079060ff1681565b34801561037357600080fd5b5060125461020790610100900460ff1681565b34801561039257600080fd5b506102606103a136600461163a565b6001600160a01b031660009081526020819052604090205490565b3480156103c857600080fd5b50610283610645565b3480156103dd57600080fd5b50610283610659565b3480156103f257600080fd5b5060125461023790630100000090046001600160a01b031681565b34801561041957600080fd5b506005546001600160a01b0316610237565b34801561043757600080fd5b506101d16106d1565b34801561044c57600080fd5b5061020761045b36600461158f565b6106e0565b34801561046c57600080fd5b5061028361047b3660046115fc565b6106ee565b34801561048c57600080fd5b50610260600d5481565b3480156104a257600080fd5b50610283610721565b3480156104b757600080fd5b506102606104c6366004611657565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104fd57600080fd5b5061026060115481565b34801561051357600080fd5b50610260600e5481565b60606003805461052c90611685565b80601f016020809104026020016040519081016040528092919081815260200182805461055890611685565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b5050505050905090565b6000336105bd8185856107aa565b60019150505b92915050565b6105d16108ce565b6012805461ff001981166101009182900460ff1615909102179055565b6000336105fc858285610928565b6106078585856109ba565b506001949350505050565b61061a6108ce565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b61064d6108ce565b610657600061112b565b565b6106616108ce565b60125462010000900460ff1615156001146106c35760405162461bcd60e51b815260206004820152601c60248201527f546865206c696d69747320686173206265656e2072656d6f7665642e0000000060448201526064015b60405180910390fd5b6012805462ff000019169055565b60606004805461052c90611685565b6000336105bd8185856109ba565b6106f66108ce565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6107296108ce565b60125460ff161561077c5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106ba565b6012805460ff19166001179055565b600061079782846116d5565b9392505050565b600061079782846116f4565b6001600160a01b03831661080c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ba565b6001600160a01b03821661086d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ba565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146106575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ba565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109b457818110156109a75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ba565b6109b484848484036107aa565b50505050565b6001600160a01b038316610a1f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015265323932b9b99760d11b60648201526084016106ba565b61deac196001600160a01b03831601610a865760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526332b9b99760e11b60648201526084016106ba565b60008111610af05760405162461bcd60e51b815260206004820152603160248201527f45524332303a207472616e7366657220616d6f756e74206d75737420626520676044820152703932b0ba32b9103a3430b7103d32b9379760791b60648201526084016106ba565b6005546001600160a01b03848116911614801590610b1c57506005546001600160a01b03838116911614155b8015610b3057506001600160a01b03821615155b8015610b4757506001600160a01b03821661dead14155b8015610b565750600a5460ff16155b15610ed05760125460ff16610bf0576001600160a01b0383166000908152600f602052604090205460ff1680610ba457506001600160a01b0382166000908152600f602052604090205460ff165b610bf05760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e0000000000000000000060448201526064016106ba565b60125462010000900460ff1615610ed0576001600160a01b03831660009081526013602052604090205460ff168015610c4257506001600160a01b03821660009081526010602052604090205460ff16155b15610d2f57600d54811115610cbf5760405162461bcd60e51b815260206004820152603760248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d6178207472616e73616374696f6e20616d6f756e742e00000000000000000060648201526084016106ba565b600e546001600160a01b038316600090815260208190526040902054610ce59083611716565b1115610d2a5760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ba565b610ed0565b6001600160a01b03821660009081526013602052604090205460ff168015610d7057506001600160a01b03831660009081526010602052604090205460ff16155b15610e4557600d54811115610ded5760405162461bcd60e51b815260206004820152603860248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d6178207472616e73616374696f6e20616d6f756e742e000000000000000060648201526084016106ba565b601254610100900460ff1615610d2a5760405162461bcd60e51b815260206004820152601a60248201527f5377617020686173206e6f74206265656e20656e61626c65642e00000000000060448201526064016106ba565b6001600160a01b03821660009081526010602052604090205460ff16610ed057600e546001600160a01b038316600090815260208190526040902054610e8b9083611716565b1115610ed05760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ba565b60115430600090815260208190526040902054108015908190610efa5750601254610100900460ff165b8015610f095750600a5460ff16155b8015610f2e57506001600160a01b03841660009081526013602052604090205460ff16155b8015610f5357506001600160a01b0384166000908152600f602052604090205460ff16155b8015610f7857506001600160a01b0383166000908152600f602052604090205460ff16155b15610f9f57600a805460ff19166001179055610f94600061118a565b600a805460ff191690555b600a546001600160a01b0385166000908152600f602052604090205460ff91821615911680610fe657506001600160a01b0384166000908152600f602052604090205460ff165b15610fef575060005b60008115611118576001600160a01b03851660009081526013602052604090205460ff168061103657506001600160a01b03861660009081526013602052604090205460ff165b1561105e5761105b6064611055600b548761078b90919063ffffffff16565b9061079e565b90505b6001600160a01b03851660009081526013602052604090205460ff16801561108857506000600b54115b156110ae576110a76064611055600b548761078b90919063ffffffff16565b90506110fa565b6001600160a01b03861660009081526013602052604090205460ff1680156110d857506000600c54115b156110fa576110f76064611055600c548761078b90919063ffffffff16565b90505b801561110b5761110b863083611233565b6111158185611729565b93505b611123868686611233565b505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054908181036111a757505050565b821580156111c157506011546111be9060146116d5565b82115b156111d7576011546111d49060146116d5565b91505b6111e0826113d7565b60125460405163010000009091046001600160a01b0316904790600081818185875af1925050503d8060008114611123576040519150601f19603f3d011682016040523d82523d6000602084013e611123565b6001600160a01b0383166112975760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ba565b6001600160a01b0382166112f95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ba565b6001600160a01b038316600090815260208190526040902054818110156113715760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ba565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109b4565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061140c5761140c61173c565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611465573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114899190611752565b8160018151811061149c5761149c61173c565b6001600160a01b0392831660209182029290920101526006546114c291309116846107aa565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906114fb90859060009086903090429060040161176f565b600060405180830381600087803b15801561151557600080fd5b505af1158015611123573d6000803e3d6000fd5b600060208083528351808285015260005b818110156115565785810183015185820160400152820161153a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461158c57600080fd5b50565b600080604083850312156115a257600080fd5b82356115ad81611577565b946020939093013593505050565b6000806000606084860312156115d057600080fd5b83356115db81611577565b925060208401356115eb81611577565b929592945050506040919091013590565b6000806040838503121561160f57600080fd5b823561161a81611577565b91506020830135801515811461162f57600080fd5b809150509250929050565b60006020828403121561164c57600080fd5b813561079781611577565b6000806040838503121561166a57600080fd5b823561167581611577565b9150602083013561162f81611577565b600181811c9082168061169957607f821691505b6020821081036116b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116ef576116ef6116bf565b500290565b60008261171157634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105c3576105c36116bf565b818103818111156105c3576105c36116bf565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561176457600080fd5b815161079781611577565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117bf5784516001600160a01b03168352938301939183019160010161179a565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200df2eab98d8f88a1b7497ae5483707d1bbfb855d54f2d4a23ec6175b880480bf64736f6c63430008100033
Deployed Bytecode
0x6080604052600436106101b05760003560e01c80636ddd1713116100ec578063a9059cbb1161008a578063c9567bf911610064578063c9567bf914610496578063dd62ed3e146104ab578063e2f45605146104f1578063f8b45b051461050757600080fd5b8063a9059cbb14610440578063c024666814610460578063c8c8ebe41461048057600080fd5b8063751039fc116100c6578063751039fc146103d157806375f0a874146103e65780638da5cb5b1461040d57806395d89b411461042b57600080fd5b80636ddd17131461036757806370a0823114610386578063715018a6146103bc57600080fd5b80632ae2f12111610159578063470624021161013357806347062402146102f757806349bd5a5e1461030d5780634a62bb651461032d5780634ada218b1461034d57600080fd5b80632ae2f121146102a55780632b14ca56146102c5578063313ce567146102db57600080fd5b806318160ddd1161018a57806318160ddd1461024f5780631ff8d5071461026e57806323b872dd1461028557600080fd5b806306fdde03146101bc578063095ea7b3146101e75780631694505e1461021757600080fd5b366101b757005b600080fd5b3480156101c857600080fd5b506101d161051d565b6040516101de9190611529565b60405180910390f35b3480156101f357600080fd5b5061020761020236600461158f565b6105af565b60405190151581526020016101de565b34801561022357600080fd5b50600654610237906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b34801561025b57600080fd5b506002545b6040519081526020016101de565b34801561027a57600080fd5b506102836105c9565b005b34801561029157600080fd5b506102076102a03660046115bb565b6105ee565b3480156102b157600080fd5b506102836102c03660046115fc565b610612565b3480156102d157600080fd5b50610260600c5481565b3480156102e757600080fd5b50604051601281526020016101de565b34801561030357600080fd5b50610260600b5481565b34801561031957600080fd5b50600754610237906001600160a01b031681565b34801561033957600080fd5b506012546102079062010000900460ff1681565b34801561035957600080fd5b506012546102079060ff1681565b34801561037357600080fd5b5060125461020790610100900460ff1681565b34801561039257600080fd5b506102606103a136600461163a565b6001600160a01b031660009081526020819052604090205490565b3480156103c857600080fd5b50610283610645565b3480156103dd57600080fd5b50610283610659565b3480156103f257600080fd5b5060125461023790630100000090046001600160a01b031681565b34801561041957600080fd5b506005546001600160a01b0316610237565b34801561043757600080fd5b506101d16106d1565b34801561044c57600080fd5b5061020761045b36600461158f565b6106e0565b34801561046c57600080fd5b5061028361047b3660046115fc565b6106ee565b34801561048c57600080fd5b50610260600d5481565b3480156104a257600080fd5b50610283610721565b3480156104b757600080fd5b506102606104c6366004611657565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104fd57600080fd5b5061026060115481565b34801561051357600080fd5b50610260600e5481565b60606003805461052c90611685565b80601f016020809104026020016040519081016040528092919081815260200182805461055890611685565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b5050505050905090565b6000336105bd8185856107aa565b60019150505b92915050565b6105d16108ce565b6012805461ff001981166101009182900460ff1615909102179055565b6000336105fc858285610928565b6106078585856109ba565b506001949350505050565b61061a6108ce565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b61064d6108ce565b610657600061112b565b565b6106616108ce565b60125462010000900460ff1615156001146106c35760405162461bcd60e51b815260206004820152601c60248201527f546865206c696d69747320686173206265656e2072656d6f7665642e0000000060448201526064015b60405180910390fd5b6012805462ff000019169055565b60606004805461052c90611685565b6000336105bd8185856109ba565b6106f66108ce565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6107296108ce565b60125460ff161561077c5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106ba565b6012805460ff19166001179055565b600061079782846116d5565b9392505050565b600061079782846116f4565b6001600160a01b03831661080c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ba565b6001600160a01b03821661086d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ba565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146106575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ba565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109b457818110156109a75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ba565b6109b484848484036107aa565b50505050565b6001600160a01b038316610a1f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015265323932b9b99760d11b60648201526084016106ba565b61deac196001600160a01b03831601610a865760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526332b9b99760e11b60648201526084016106ba565b60008111610af05760405162461bcd60e51b815260206004820152603160248201527f45524332303a207472616e7366657220616d6f756e74206d75737420626520676044820152703932b0ba32b9103a3430b7103d32b9379760791b60648201526084016106ba565b6005546001600160a01b03848116911614801590610b1c57506005546001600160a01b03838116911614155b8015610b3057506001600160a01b03821615155b8015610b4757506001600160a01b03821661dead14155b8015610b565750600a5460ff16155b15610ed05760125460ff16610bf0576001600160a01b0383166000908152600f602052604090205460ff1680610ba457506001600160a01b0382166000908152600f602052604090205460ff165b610bf05760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e0000000000000000000060448201526064016106ba565b60125462010000900460ff1615610ed0576001600160a01b03831660009081526013602052604090205460ff168015610c4257506001600160a01b03821660009081526010602052604090205460ff16155b15610d2f57600d54811115610cbf5760405162461bcd60e51b815260206004820152603760248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d6178207472616e73616374696f6e20616d6f756e742e00000000000000000060648201526084016106ba565b600e546001600160a01b038316600090815260208190526040902054610ce59083611716565b1115610d2a5760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ba565b610ed0565b6001600160a01b03821660009081526013602052604090205460ff168015610d7057506001600160a01b03831660009081526010602052604090205460ff16155b15610e4557600d54811115610ded5760405162461bcd60e51b815260206004820152603860248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d6178207472616e73616374696f6e20616d6f756e742e000000000000000060648201526084016106ba565b601254610100900460ff1615610d2a5760405162461bcd60e51b815260206004820152601a60248201527f5377617020686173206e6f74206265656e20656e61626c65642e00000000000060448201526064016106ba565b6001600160a01b03821660009081526010602052604090205460ff16610ed057600e546001600160a01b038316600090815260208190526040902054610e8b9083611716565b1115610ed05760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ba565b60115430600090815260208190526040902054108015908190610efa5750601254610100900460ff165b8015610f095750600a5460ff16155b8015610f2e57506001600160a01b03841660009081526013602052604090205460ff16155b8015610f5357506001600160a01b0384166000908152600f602052604090205460ff16155b8015610f7857506001600160a01b0383166000908152600f602052604090205460ff16155b15610f9f57600a805460ff19166001179055610f94600061118a565b600a805460ff191690555b600a546001600160a01b0385166000908152600f602052604090205460ff91821615911680610fe657506001600160a01b0384166000908152600f602052604090205460ff165b15610fef575060005b60008115611118576001600160a01b03851660009081526013602052604090205460ff168061103657506001600160a01b03861660009081526013602052604090205460ff165b1561105e5761105b6064611055600b548761078b90919063ffffffff16565b9061079e565b90505b6001600160a01b03851660009081526013602052604090205460ff16801561108857506000600b54115b156110ae576110a76064611055600b548761078b90919063ffffffff16565b90506110fa565b6001600160a01b03861660009081526013602052604090205460ff1680156110d857506000600c54115b156110fa576110f76064611055600c548761078b90919063ffffffff16565b90505b801561110b5761110b863083611233565b6111158185611729565b93505b611123868686611233565b505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054908181036111a757505050565b821580156111c157506011546111be9060146116d5565b82115b156111d7576011546111d49060146116d5565b91505b6111e0826113d7565b60125460405163010000009091046001600160a01b0316904790600081818185875af1925050503d8060008114611123576040519150601f19603f3d011682016040523d82523d6000602084013e611123565b6001600160a01b0383166112975760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ba565b6001600160a01b0382166112f95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ba565b6001600160a01b038316600090815260208190526040902054818110156113715760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ba565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109b4565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061140c5761140c61173c565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611465573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114899190611752565b8160018151811061149c5761149c61173c565b6001600160a01b0392831660209182029290920101526006546114c291309116846107aa565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906114fb90859060009086903090429060040161176f565b600060405180830381600087803b15801561151557600080fd5b505af1158015611123573d6000803e3d6000fd5b600060208083528351808285015260005b818110156115565785810183015185820160400152820161153a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461158c57600080fd5b50565b600080604083850312156115a257600080fd5b82356115ad81611577565b946020939093013593505050565b6000806000606084860312156115d057600080fd5b83356115db81611577565b925060208401356115eb81611577565b929592945050506040919091013590565b6000806040838503121561160f57600080fd5b823561161a81611577565b91506020830135801515811461162f57600080fd5b809150509250929050565b60006020828403121561164c57600080fd5b813561079781611577565b6000806040838503121561166a57600080fd5b823561167581611577565b9150602083013561162f81611577565b600181811c9082168061169957607f821691505b6020821081036116b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116ef576116ef6116bf565b500290565b60008261171157634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105c3576105c36116bf565b818103818111156105c3576105c36116bf565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561176457600080fd5b815161079781611577565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117bf5784516001600160a01b03168352938301939183019160010161179a565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200df2eab98d8f88a1b7497ae5483707d1bbfb855d54f2d4a23ec6175b880480bf64736f6c63430008100033
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.