ERC-20
Overview
Max Total Supply
1,000,000,000,000 Watsuka
Holders
34
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
6,169,913,788.61056466 WatsukaValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Watsuka
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.16; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } } contract Ownable is Context { address private _owner; address private _previousOwner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } contract Watsuka is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private bots; mapping (address => uint) private cooldown; uint256 private constant MAX = ~uint256(0); uint256 private constant _tTotal = 1000000000000 * 10**8; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 private _feeAddr1; uint256 private _feeAddr2; uint256 private _initialTax; uint256 private _finalTax; uint256 private _reduceTaxTarget; uint256 private _reduceTaxCountdown; address payable private _feeAddrWallet; string private constant _name = "Mizuchi Shoki"; string private constant _symbol = "Watsuka"; uint8 private constant _decimals = 8; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; bool private cooldownEnabled = false; uint256 public _maxTxAmount = _tTotal.mul(20).div(1000); uint256 public _maxWalletSize = _tTotal.mul(20).div(1000); event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _feeAddrWallet = payable(_msgSender()); _rOwned[_msgSender()] = _rTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_feeAddrWallet] = true; _initialTax=5; _finalTax=0; _reduceTaxCountdown=40; _reduceTaxTarget = _reduceTaxCountdown.div(2); emit Transfer(address(0), _msgSender(), _tTotal); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function setCooldownEnabled(bool onoff) external onlyOwner() { cooldownEnabled = onoff; } function tokenFromReflection(uint256 rAmount) private view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function _approve(address owner, address spender, uint256 amount) private { 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 _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (from != owner() && to != owner()) { require(!bots[from] && !bots[to]); _feeAddr1 = 0; _feeAddr2 = (_reduceTaxCountdown==0)?_finalTax:_initialTax; if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] && cooldownEnabled) { // Cooldown require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); if(_reduceTaxCountdown>0){_reduceTaxCountdown--;} } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && from != uniswapV2Pair && swapEnabled && contractTokenBalance>0 && _reduceTaxCountdown<_reduceTaxTarget) { swapTokensForEth(contractTokenBalance); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } }else{ _feeAddr1 = 0; _feeAddr2 = 0; } _tokenTransfer(from,to,amount); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function removeLimits() external onlyOwner{ _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; } function sendETHToFee(uint256 amount) private { _feeAddrWallet.transfer(amount); } function addBots(address[] memory bots_) public onlyOwner { for (uint i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function delBots(address[] memory notbot) public onlyOwner { for (uint i = 0; i < notbot.length; i++) { bots[notbot[i]] = false; } } function openTrading() external onlyOwner() { require(!tradingOpen,"trading is already open"); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp); swapEnabled = true; cooldownEnabled = true; tradingOpen = true; IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); } function _tokenTransfer(address sender, address recipient, uint256 amount) private { _transferStandard(sender, recipient, amount); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeTeam(tTeam); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _takeTeam(uint256 tTeam) private { uint256 currentRate = _getRate(); uint256 rTeam = tTeam.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rTeam); } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } receive() external payable {} function manualswap() external { require(_msgSender() == _feeAddrWallet); uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance); } function manualsend() external { require(_msgSender() == _feeAddrWallet); uint256 contractETHBalance = address(this).balance; sendETHToFee(contractETHBalance); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _feeAddr1, _feeAddr2); uint256 currentRate = _getRate(); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, currentRate); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam); } function _getTValues(uint256 tAmount, uint256 taxFee, uint256 TeamFee) private pure returns (uint256, uint256, uint256) { uint256 tFee = tAmount.mul(taxFee).div(100); uint256 tTeam = tAmount.mul(TeamFee).div(100); uint256 tTransferAmount = tAmount.sub(tFee).sub(tTeam); return (tTransferAmount, tFee, tTeam); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rTeam = tTeam.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rTeam); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","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":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"addBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"notbot","type":"address[]"}],"name":"delBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setCooldownEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526200001b68056bc75e2d6310000060001962000337565b620000299060001962000364565b6008556012805462ffffff60a81b19169055620000786103e86200006468056bc75e2d63100000601462000204602090811b62000a8717901c565b6200029b60201b62000b101790919060201c565b601355620000a66103e862000064601468056bc75e2d631000006200020460201b62000a871790919060201c565b601455348015620000b657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601080546001600160a01b03191633908117909155600854600091825260026020526040822055600190600590620001386000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600580855283822080548716600190811790915560105490931682529281208054909516909117909355600c55600d919091556028600f819055620001ba9160029062000b106200029b821b17901c565b600e5560405168056bc75e2d63100000815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a362000403565b600082600003620002185750600062000295565b60006200022683856200037a565b9050826200023585836200039c565b14620002925760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b90505b92915050565b60006200029283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620002e560201b60201c565b60008183620003095760405162461bcd60e51b8152600401620002899190620003b3565b5060006200031884866200039c565b95945050505050565b634e487b7160e01b600052601260045260246000fd5b60008262000349576200034962000321565b500690565b634e487b7160e01b600052601160045260246000fd5b818103818111156200029557620002956200034e565b60008160001904831182151516156200039757620003976200034e565b500290565b600082620003ae57620003ae62000321565b500490565b600060208083528351808285015260005b81811015620003e257858101830151858201604001528201620003c4565b506000604082860101526040601f19601f8301168501019250505092915050565b611a9880620004136000396000f3fe6080604052600436106101235760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb1461032e578063c3c8cd801461034e578063c9567bf914610363578063d34628cc14610378578063dd62ed3e1461039857600080fd5b8063751039fc146102955780637d1db4a5146102aa5780638da5cb5b146102c05780638f9a55c0146102e857806395d89b41146102fe57600080fd5b806331c2d847116100e757806331c2d847146102095780635932ead11461022b5780636fc3eaec1461024b57806370a0823114610260578063715018a61461028057600080fd5b806306fdde031461012f578063095ea7b31461017757806318160ddd146101a757806323b872dd146101cd578063313ce567146101ed57600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5060408051808201909152600d81526c4d697a756368692053686f6b6960981b60208201525b60405161016e919061162d565b60405180910390f35b34801561018357600080fd5b506101976101923660046116a0565b6103de565b604051901515815260200161016e565b3480156101b357600080fd5b5068056bc75e2d631000005b60405190815260200161016e565b3480156101d957600080fd5b506101976101e83660046116cc565b6103f5565b3480156101f957600080fd5b506040516008815260200161016e565b34801561021557600080fd5b50610229610224366004611723565b61045e565b005b34801561023757600080fd5b506102296102463660046117f6565b6104fd565b34801561025757600080fd5b50610229610545565b34801561026c57600080fd5b506101bf61027b366004611813565b610572565b34801561028c57600080fd5b50610229610594565b3480156102a157600080fd5b50610229610608565b3480156102b657600080fd5b506101bf60135481565b3480156102cc57600080fd5b506000546040516001600160a01b03909116815260200161016e565b3480156102f457600080fd5b506101bf60145481565b34801561030a57600080fd5b5060408051808201909152600781526657617473756b6160c81b6020820152610161565b34801561033a57600080fd5b506101976103493660046116a0565b610646565b34801561035a57600080fd5b50610229610653565b34801561036f57600080fd5b50610229610689565b34801561038457600080fd5b50610229610393366004611723565b6109f5565b3480156103a457600080fd5b506101bf6103b3366004611830565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006103eb338484610b52565b5060015b92915050565b6000610402848484610c76565b610454843361044f85604051806060016040528060288152602001611a3b602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061101c565b610b52565b5060019392505050565b6000546001600160a01b031633146104915760405162461bcd60e51b815260040161048890611869565b60405180910390fd5b60005b81518110156104f9576000600660008484815181106104b5576104b561189e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806104f1816118ca565b915050610494565b5050565b6000546001600160a01b031633146105275760405162461bcd60e51b815260040161048890611869565b60128054911515600160b81b0260ff60b81b19909216919091179055565b6010546001600160a01b0316336001600160a01b03161461056557600080fd5b4761056f81611056565b50565b6001600160a01b0381166000908152600260205260408120546103ef90611090565b6000546001600160a01b031633146105be5760405162461bcd60e51b815260040161048890611869565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106325760405162461bcd60e51b815260040161048890611869565b68056bc75e2d631000006013819055601455565b60006103eb338484610c76565b6010546001600160a01b0316336001600160a01b03161461067357600080fd5b600061067e30610572565b905061056f8161110d565b6000546001600160a01b031633146106b35760405162461bcd60e51b815260040161048890611869565b601254600160a01b900460ff161561070d5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610488565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561074a308268056bc75e2d63100000610b52565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac91906118e3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d91906118e3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561086a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088e91906118e3565b601280546001600160a01b0319166001600160a01b039283161790556011541663f305d71947306108be81610572565b6000806108d36000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561093b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109609190611900565b50506012805463ffff00ff60a01b198116630101000160a01b1790915560115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f9919061192e565b6000546001600160a01b03163314610a1f5760405162461bcd60e51b815260040161048890611869565b60005b81518110156104f957600160066000848481518110610a4357610a4361189e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a7f816118ca565b915050610a22565b600082600003610a99575060006103ef565b6000610aa5838561194b565b905082610ab2858361196a565b14610b095760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610488565b9392505050565b6000610b0983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611287565b6001600160a01b038316610bb45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610488565b6001600160a01b038216610c155760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610488565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cda5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610488565b6001600160a01b038216610d3c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610488565b60008111610d9e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610488565b6000546001600160a01b03848116911614801590610dca57506000546001600160a01b03838116911614155b15611001576001600160a01b03831660009081526006602052604090205460ff16158015610e1157506001600160a01b03821660009081526006602052604090205460ff16155b610e1a57600080fd5b6000600a55600f5415610e2f57600c54610e33565b600d545b600b556012546001600160a01b038481169116148015610e6157506011546001600160a01b03838116911614155b8015610e8657506001600160a01b03821660009081526005602052604090205460ff16155b8015610e9b5750601254600160b81b900460ff165b15610f7557601354811115610ef25760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610488565b60145481610eff84610572565b610f09919061198c565b1115610f575760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610488565b600f5415610f7557600f8054906000610f6f8361199f565b91905055505b6000610f8030610572565b601254909150600160a81b900460ff16158015610fab57506012546001600160a01b03858116911614155b8015610fc05750601254600160b01b900460ff165b8015610fcc5750600081115b8015610fdb5750600e54600f54105b15610ffb57610fe98161110d565b478015610ff957610ff947611056565b505b5061100c565b6000600a819055600b555b6110178383836112b5565b505050565b600081848411156110405760405162461bcd60e51b8152600401610488919061162d565b50600061104d84866119b6565b95945050505050565b6010546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104f9573d6000803e3d6000fd5b60006008548211156110f75760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610488565b60006111016112c0565b9050610b098382610b10565b6012805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106111555761115561189e565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d291906118e3565b816001815181106111e5576111e561189e565b6001600160a01b03928316602091820292909201015260115461120b9130911684610b52565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906112449085906000908690309042906004016119c9565b600060405180830381600087803b15801561125e57600080fd5b505af1158015611272573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b600081836112a85760405162461bcd60e51b8152600401610488919061162d565b50600061104d848661196a565b6110178383836112e3565b60008060006112cd6113da565b90925090506112dc8282610b10565b9250505090565b6000806000806000806112f58761141c565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506113279087611479565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461135690866114bb565b6001600160a01b0389166000908152600260205260409020556113788161151a565b6113828483611564565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516113c791815260200190565b60405180910390a3505050505050505050565b600854600090819068056bc75e2d631000006113f68282610b10565b8210156114135750506008549268056bc75e2d6310000092509050565b90939092509050565b60008060008060008060008060006114398a600a54600b54611588565b92509250925060006114496112c0565b9050600080600061145c8e8787876115dd565b919e509c509a509598509396509194505050505091939550919395565b6000610b0983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061101c565b6000806114c8838561198c565b905083811015610b095760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610488565b60006115246112c0565b905060006115328383610a87565b3060009081526002602052604090205490915061154f90826114bb565b30600090815260026020526040902055505050565b6008546115719083611479565b60085560095461158190826114bb565b6009555050565b60008080806115a2606461159c8989610a87565b90610b10565b905060006115b5606461159c8a89610a87565b905060006115cd826115c78b86611479565b90611479565b9992985090965090945050505050565b60008080806115ec8886610a87565b905060006115fa8887610a87565b905060006116088888610a87565b9050600061161a826115c78686611479565b939b939a50919850919650505050505050565b600060208083528351808285015260005b8181101561165a5785810183015185820160400152820161163e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461056f57600080fd5b803561169b8161167b565b919050565b600080604083850312156116b357600080fd5b82356116be8161167b565b946020939093013593505050565b6000806000606084860312156116e157600080fd5b83356116ec8161167b565b925060208401356116fc8161167b565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561173657600080fd5b823567ffffffffffffffff8082111561174e57600080fd5b818501915085601f83011261176257600080fd5b8135818111156117745761177461170d565b8060051b604051601f19603f830116810181811085821117156117995761179961170d565b6040529182528482019250838101850191888311156117b757600080fd5b938501935b828510156117dc576117cd85611690565b845293850193928501926117bc565b98975050505050505050565b801515811461056f57600080fd5b60006020828403121561180857600080fd5b8135610b09816117e8565b60006020828403121561182557600080fd5b8135610b098161167b565b6000806040838503121561184357600080fd5b823561184e8161167b565b9150602083013561185e8161167b565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016118dc576118dc6118b4565b5060010190565b6000602082840312156118f557600080fd5b8151610b098161167b565b60008060006060848603121561191557600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561194057600080fd5b8151610b09816117e8565b6000816000190483118215151615611965576119656118b4565b500290565b60008261198757634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156103ef576103ef6118b4565b6000816119ae576119ae6118b4565b506000190190565b818103818111156103ef576103ef6118b4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611a195784516001600160a01b0316835293830193918301916001016119f4565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212201e4ab1c674c204550c6ab5d9802ec8afe54fc15122fa5cba4997563d61b1be3d64736f6c63430008100033
Deployed Bytecode
0x6080604052600436106101235760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb1461032e578063c3c8cd801461034e578063c9567bf914610363578063d34628cc14610378578063dd62ed3e1461039857600080fd5b8063751039fc146102955780637d1db4a5146102aa5780638da5cb5b146102c05780638f9a55c0146102e857806395d89b41146102fe57600080fd5b806331c2d847116100e757806331c2d847146102095780635932ead11461022b5780636fc3eaec1461024b57806370a0823114610260578063715018a61461028057600080fd5b806306fdde031461012f578063095ea7b31461017757806318160ddd146101a757806323b872dd146101cd578063313ce567146101ed57600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5060408051808201909152600d81526c4d697a756368692053686f6b6960981b60208201525b60405161016e919061162d565b60405180910390f35b34801561018357600080fd5b506101976101923660046116a0565b6103de565b604051901515815260200161016e565b3480156101b357600080fd5b5068056bc75e2d631000005b60405190815260200161016e565b3480156101d957600080fd5b506101976101e83660046116cc565b6103f5565b3480156101f957600080fd5b506040516008815260200161016e565b34801561021557600080fd5b50610229610224366004611723565b61045e565b005b34801561023757600080fd5b506102296102463660046117f6565b6104fd565b34801561025757600080fd5b50610229610545565b34801561026c57600080fd5b506101bf61027b366004611813565b610572565b34801561028c57600080fd5b50610229610594565b3480156102a157600080fd5b50610229610608565b3480156102b657600080fd5b506101bf60135481565b3480156102cc57600080fd5b506000546040516001600160a01b03909116815260200161016e565b3480156102f457600080fd5b506101bf60145481565b34801561030a57600080fd5b5060408051808201909152600781526657617473756b6160c81b6020820152610161565b34801561033a57600080fd5b506101976103493660046116a0565b610646565b34801561035a57600080fd5b50610229610653565b34801561036f57600080fd5b50610229610689565b34801561038457600080fd5b50610229610393366004611723565b6109f5565b3480156103a457600080fd5b506101bf6103b3366004611830565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006103eb338484610b52565b5060015b92915050565b6000610402848484610c76565b610454843361044f85604051806060016040528060288152602001611a3b602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061101c565b610b52565b5060019392505050565b6000546001600160a01b031633146104915760405162461bcd60e51b815260040161048890611869565b60405180910390fd5b60005b81518110156104f9576000600660008484815181106104b5576104b561189e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806104f1816118ca565b915050610494565b5050565b6000546001600160a01b031633146105275760405162461bcd60e51b815260040161048890611869565b60128054911515600160b81b0260ff60b81b19909216919091179055565b6010546001600160a01b0316336001600160a01b03161461056557600080fd5b4761056f81611056565b50565b6001600160a01b0381166000908152600260205260408120546103ef90611090565b6000546001600160a01b031633146105be5760405162461bcd60e51b815260040161048890611869565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106325760405162461bcd60e51b815260040161048890611869565b68056bc75e2d631000006013819055601455565b60006103eb338484610c76565b6010546001600160a01b0316336001600160a01b03161461067357600080fd5b600061067e30610572565b905061056f8161110d565b6000546001600160a01b031633146106b35760405162461bcd60e51b815260040161048890611869565b601254600160a01b900460ff161561070d5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610488565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561074a308268056bc75e2d63100000610b52565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac91906118e3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d91906118e3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561086a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088e91906118e3565b601280546001600160a01b0319166001600160a01b039283161790556011541663f305d71947306108be81610572565b6000806108d36000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561093b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109609190611900565b50506012805463ffff00ff60a01b198116630101000160a01b1790915560115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f9919061192e565b6000546001600160a01b03163314610a1f5760405162461bcd60e51b815260040161048890611869565b60005b81518110156104f957600160066000848481518110610a4357610a4361189e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a7f816118ca565b915050610a22565b600082600003610a99575060006103ef565b6000610aa5838561194b565b905082610ab2858361196a565b14610b095760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610488565b9392505050565b6000610b0983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611287565b6001600160a01b038316610bb45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610488565b6001600160a01b038216610c155760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610488565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cda5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610488565b6001600160a01b038216610d3c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610488565b60008111610d9e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610488565b6000546001600160a01b03848116911614801590610dca57506000546001600160a01b03838116911614155b15611001576001600160a01b03831660009081526006602052604090205460ff16158015610e1157506001600160a01b03821660009081526006602052604090205460ff16155b610e1a57600080fd5b6000600a55600f5415610e2f57600c54610e33565b600d545b600b556012546001600160a01b038481169116148015610e6157506011546001600160a01b03838116911614155b8015610e8657506001600160a01b03821660009081526005602052604090205460ff16155b8015610e9b5750601254600160b81b900460ff165b15610f7557601354811115610ef25760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610488565b60145481610eff84610572565b610f09919061198c565b1115610f575760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610488565b600f5415610f7557600f8054906000610f6f8361199f565b91905055505b6000610f8030610572565b601254909150600160a81b900460ff16158015610fab57506012546001600160a01b03858116911614155b8015610fc05750601254600160b01b900460ff165b8015610fcc5750600081115b8015610fdb5750600e54600f54105b15610ffb57610fe98161110d565b478015610ff957610ff947611056565b505b5061100c565b6000600a819055600b555b6110178383836112b5565b505050565b600081848411156110405760405162461bcd60e51b8152600401610488919061162d565b50600061104d84866119b6565b95945050505050565b6010546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104f9573d6000803e3d6000fd5b60006008548211156110f75760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610488565b60006111016112c0565b9050610b098382610b10565b6012805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106111555761115561189e565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d291906118e3565b816001815181106111e5576111e561189e565b6001600160a01b03928316602091820292909201015260115461120b9130911684610b52565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906112449085906000908690309042906004016119c9565b600060405180830381600087803b15801561125e57600080fd5b505af1158015611272573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b600081836112a85760405162461bcd60e51b8152600401610488919061162d565b50600061104d848661196a565b6110178383836112e3565b60008060006112cd6113da565b90925090506112dc8282610b10565b9250505090565b6000806000806000806112f58761141c565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506113279087611479565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461135690866114bb565b6001600160a01b0389166000908152600260205260409020556113788161151a565b6113828483611564565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516113c791815260200190565b60405180910390a3505050505050505050565b600854600090819068056bc75e2d631000006113f68282610b10565b8210156114135750506008549268056bc75e2d6310000092509050565b90939092509050565b60008060008060008060008060006114398a600a54600b54611588565b92509250925060006114496112c0565b9050600080600061145c8e8787876115dd565b919e509c509a509598509396509194505050505091939550919395565b6000610b0983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061101c565b6000806114c8838561198c565b905083811015610b095760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610488565b60006115246112c0565b905060006115328383610a87565b3060009081526002602052604090205490915061154f90826114bb565b30600090815260026020526040902055505050565b6008546115719083611479565b60085560095461158190826114bb565b6009555050565b60008080806115a2606461159c8989610a87565b90610b10565b905060006115b5606461159c8a89610a87565b905060006115cd826115c78b86611479565b90611479565b9992985090965090945050505050565b60008080806115ec8886610a87565b905060006115fa8887610a87565b905060006116088888610a87565b9050600061161a826115c78686611479565b939b939a50919850919650505050505050565b600060208083528351808285015260005b8181101561165a5785810183015185820160400152820161163e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461056f57600080fd5b803561169b8161167b565b919050565b600080604083850312156116b357600080fd5b82356116be8161167b565b946020939093013593505050565b6000806000606084860312156116e157600080fd5b83356116ec8161167b565b925060208401356116fc8161167b565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561173657600080fd5b823567ffffffffffffffff8082111561174e57600080fd5b818501915085601f83011261176257600080fd5b8135818111156117745761177461170d565b8060051b604051601f19603f830116810181811085821117156117995761179961170d565b6040529182528482019250838101850191888311156117b757600080fd5b938501935b828510156117dc576117cd85611690565b845293850193928501926117bc565b98975050505050505050565b801515811461056f57600080fd5b60006020828403121561180857600080fd5b8135610b09816117e8565b60006020828403121561182557600080fd5b8135610b098161167b565b6000806040838503121561184357600080fd5b823561184e8161167b565b9150602083013561185e8161167b565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016118dc576118dc6118b4565b5060010190565b6000602082840312156118f557600080fd5b8151610b098161167b565b60008060006060848603121561191557600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561194057600080fd5b8151610b09816117e8565b6000816000190483118215151615611965576119656118b4565b500290565b60008261198757634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156103ef576103ef6118b4565b6000816119ae576119ae6118b4565b506000190190565b818103818111156103ef576103ef6118b4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611a195784516001600160a01b0316835293830193918301916001016119f4565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212201e4ab1c674c204550c6ab5d9802ec8afe54fc15122fa5cba4997563d61b1be3d64736f6c63430008100033
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.