Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 9GAG
Holders
410
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
250,000 9GAGValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NINEGAG
Compiler Version
v0.8.17+commit.8df45f5f
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.17; 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; 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 NINEGAG is Context , IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled = true; address payable private _taxWallet; uint256 private _initialBuyTax=20; uint256 private _initialSellTax=20; uint256 private _finalBuyTax=10; uint256 private _finalSellTax=10; uint256 private _reduceBuyTaxAt=30; uint256 private _reduceSellTaxAt=25; uint256 private _preventSwapBefore=20; uint256 private _buyCount=0; uint8 private constant _decimals = 9; uint256 private constant _tTotal = 1000000000 * 10**_decimals; string private constant _name = unicode"9GAG"; string private constant _symbol = unicode"9GAG"; uint256 public _maxTxAmount = 10000000 * 10**_decimals; //1% uint256 public _maxWalletSize = 7000000 * 10**_decimals; //0.7% uint256 public _taxSwapThreshold= 1000000 * 10**_decimals; //0.1% uint256 public _maxTaxSwap= 10000000 * 10**_decimals; //1% IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _taxWallet = payable(_msgSender()); _balances[_msgSender()] = _tTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_taxWallet] = true; 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 _balances[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 _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"); uint256 taxAmount=0; if (from != owner() && to != owner()) { taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100); if (transferDelayEnabled) { if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) { require( _holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); _holderLastTransferTimestamp[tx.origin] = block.number; } } if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); _buyCount++; } if(to == uniswapV2Pair && from!= address(this) ){ taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100); } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) { swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap))); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } if(taxAmount>0){ _balances[address(this)]=_balances[address(this)].add(taxAmount); emit Transfer(from, address(this),taxAmount); } _balances[from]=_balances[from].sub(amount); _balances[to]=_balances[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } 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; transferDelayEnabled=false; emit MaxTxAmountUpdated(_tTotal); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function openTrading() external onlyOwner() { require(!tradingOpen,"trading is already open"); uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _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); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); swapEnabled = true; tradingOpen = true; } function reduceFee(uint256 _newBuy, uint256 _newSell) external{ require(_msgSender()==_taxWallet); require(_newBuy <= 5); require(_newSell <= 5); _finalBuyTax=_newBuy; _finalSellTax=_newSell; } receive() external payable {} }
{ "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":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"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":[{"internalType":"uint256","name":"_newBuy","type":"uint256"},{"internalType":"uint256","name":"_newSell","type":"uint256"}],"name":"reduceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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
60806040526005805460ff19166001179055601460068190556007819055600a60088190556009818155601e82556019600b55600c929092556000600d5562000049919062000352565b6200005890629896806200036a565b600e55620000696009600a62000352565b6200007890626acfc06200036a565b600f55620000896009600a62000352565b6200009890620f42406200036a565b601055620000a96009600a62000352565b620000b890629896806200036a565b6011556013805461ffff60a81b19169055348015620000d657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060058054610100600160a81b03191661010033021790556200013d6009600a62000352565b6200014d90633b9aca006200036a565b336000908152600160208190526040822092909255600390620001786000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556005546101009004909116835291208054909216179055620001dc3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002166009600a62000352565b6200022690633b9aca006200036a565b60405190815260200160405180910390a362000384565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002945781600019048211156200027857620002786200023d565b808516156200028657918102915b93841c939080029062000258565b509250929050565b600082620002ad575060016200034c565b81620002bc575060006200034c565b8160018114620002d55760028114620002e05762000300565b60019150506200034c565b60ff841115620002f457620002f46200023d565b50506001821b6200034c565b5060208310610133831016604e8410600b841016171562000325575081810a6200034c565b62000331838362000253565b80600019048211156200034857620003486200023d565b0290505b92915050565b60006200036360ff8416836200029c565b9392505050565b80820281158282048414176200034c576200034c6200023d565b61186b80620003946000396000f3fe6080604052600436106101185760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb146102db578063bf474bed146102fb578063c876d0b914610311578063c9567bf91461032b578063dd62ed3e1461034057600080fd5b8063751039fc146102725780637d1db4a5146102875780638da5cb5b1461029d5780638f9a55c0146102c557806395d89b411461012457600080fd5b806323b872dd116100e757806323b872dd146101c9578063313ce567146101e957806370a0823114610205578063715018a61461023b578063723333561461025257600080fd5b806306fdde0314610124578063095ea7b3146101605780630faee56f1461019057806318160ddd146101b457600080fd5b3661011f57005b600080fd5b34801561013057600080fd5b5060408051808201825260048152633947414760e01b602082015290516101579190611418565b60405180910390f35b34801561016c57600080fd5b5061018061017b36600461147e565b610386565b6040519015158152602001610157565b34801561019c57600080fd5b506101a660115481565b604051908152602001610157565b3480156101c057600080fd5b506101a661039d565b3480156101d557600080fd5b506101806101e43660046114aa565b6103be565b3480156101f557600080fd5b5060405160098152602001610157565b34801561021157600080fd5b506101a66102203660046114eb565b6001600160a01b031660009081526001602052604090205490565b34801561024757600080fd5b50610250610427565b005b34801561025e57600080fd5b5061025061026d366004611508565b6104a4565b34801561027e57600080fd5b506102506104f0565b34801561029357600080fd5b506101a6600e5481565b3480156102a957600080fd5b506000546040516001600160a01b039091168152602001610157565b3480156102d157600080fd5b506101a6600f5481565b3480156102e757600080fd5b506101806102f636600461147e565b6105ac565b34801561030757600080fd5b506101a660105481565b34801561031d57600080fd5b506005546101809060ff1681565b34801561033757600080fd5b506102506105b9565b34801561034c57600080fd5b506101a661035b36600461152a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000610393338484610975565b5060015b92915050565b60006103ab6009600a61165d565b6103b990633b9aca0061166c565b905090565b60006103cb848484610a99565b61041d84336104188560405180606001604052806028815260200161180e602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611073565b610975565b5060019392505050565b6000546001600160a01b0316331461045a5760405162461bcd60e51b815260040161045190611683565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60055461010090046001600160a01b0316336001600160a01b0316146104c957600080fd5b60058211156104d757600080fd5b60058111156104e557600080fd5b600891909155600955565b6000546001600160a01b0316331461051a5760405162461bcd60e51b815260040161045190611683565b6105266009600a61165d565b61053490633b9aca0061166c565b600e556105436009600a61165d565b61055190633b9aca0061166c565b600f556005805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61058b6009600a61165d565b61059990633b9aca0061166c565b60405190815260200160405180910390a1565b6000610393338484610a99565b6000546001600160a01b031633146105e35760405162461bcd60e51b815260040161045190611683565b601354600160a01b900460ff161561063d5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610451565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106869030906106786009600a61165d565b61041890633b9aca0061166c565b601260009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd91906116b8565b6001600160a01b031663c9c6539630601260009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561075f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078391906116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f491906116b8565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d719473061083c816001600160a01b031660009081526001602052604090205490565b6000806108516000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108b9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108de91906116d5565b505060135460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095b9190611703565b506013805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166109d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610451565b6001600160a01b038216610a385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610451565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610afd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610451565b6001600160a01b038216610b5f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610451565b60008111610bc15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610451565b600080546001600160a01b03858116911614801590610bee57506000546001600160a01b03848116911614155b15610f3057610c1f6064610c19600a54600d5411610c0e57600654610c12565b6008545b85906110ad565b90611136565b60055490915060ff1615610d07576012546001600160a01b03848116911614801590610c5957506013546001600160a01b03848116911614155b15610d0757326000908152600460205260409020544311610cf45760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610451565b3260009081526004602052604090204390555b6013546001600160a01b038581169116148015610d3257506012546001600160a01b03848116911614155b8015610d5757506001600160a01b03831660009081526003602052604090205460ff16155b15610e3f57600e54821115610dae5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610451565b600f5482610dd1856001600160a01b031660009081526001602052604090205490565b610ddb9190611725565b1115610e295760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610451565b600d8054906000610e3983611738565b91905055505b6013546001600160a01b038481169116148015610e6557506001600160a01b0384163014155b15610e9257610e8f6064610c19600b54600d5411610e8557600754610c12565b60095485906110ad565b90505b30600090815260016020526040902054601354600160a81b900460ff16158015610ec957506013546001600160a01b038581169116145b8015610ede5750601354600160b01b900460ff165b8015610eeb575060105481115b8015610efa5750600c54600d54115b15610f2e57610f1c610f1784610f1284601154611178565b611178565b61118d565b478015610f2c57610f2c47611307565b505b505b8015610faa5730600090815260016020526040902054610f509082611349565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fa19085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610fcd90836113a8565b6001600160a01b038516600090815260016020526040902055611012610ff383836113a8565b6001600160a01b03851660009081526001602052604090205490611349565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61105c85856113a8565b60405190815260200160405180910390a350505050565b600081848411156110975760405162461bcd60e51b81526004016104519190611418565b5060006110a48486611751565b95945050505050565b6000826000036110bf57506000610397565b60006110cb838561166c565b9050826110d88583611764565b1461112f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610451565b9392505050565b600061112f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113ea565b6000818311611187578261112f565b50919050565b6013805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106111d5576111d5611786565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125291906116b8565b8160018151811061126557611265611786565b6001600160a01b03928316602091820292909201015260125461128b9130911684610975565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906112c490859060009086903090429060040161179c565b600060405180830381600087803b1580156112de57600080fd5b505af11580156112f2573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b6005546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015611345573d6000803e3d6000fd5b5050565b6000806113568385611725565b90508381101561112f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610451565b600061112f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611073565b6000818361140b5760405162461bcd60e51b81526004016104519190611418565b5060006110a48486611764565b600060208083528351808285015260005b8181101561144557858101830151858201604001528201611429565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461147b57600080fd5b50565b6000806040838503121561149157600080fd5b823561149c81611466565b946020939093013593505050565b6000806000606084860312156114bf57600080fd5b83356114ca81611466565b925060208401356114da81611466565b929592945050506040919091013590565b6000602082840312156114fd57600080fd5b813561112f81611466565b6000806040838503121561151b57600080fd5b50508035926020909101359150565b6000806040838503121561153d57600080fd5b823561154881611466565b9150602083013561155881611466565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156115b457816000190482111561159a5761159a611563565b808516156115a757918102915b93841c939080029061157e565b509250929050565b6000826115cb57506001610397565b816115d857506000610397565b81600181146115ee57600281146115f857611614565b6001915050610397565b60ff84111561160957611609611563565b50506001821b610397565b5060208310610133831016604e8410600b8410161715611637575081810a610397565b6116418383611579565b806000190482111561165557611655611563565b029392505050565b600061112f60ff8416836115bc565b808202811582820484141761039757610397611563565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156116ca57600080fd5b815161112f81611466565b6000806000606084860312156116ea57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561171557600080fd5b8151801515811461112f57600080fd5b8082018082111561039757610397611563565b60006001820161174a5761174a611563565b5060010190565b8181038181111561039757610397611563565b60008261178157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117ec5784516001600160a01b0316835293830193918301916001016117c7565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122085311b44d8ec969828379d99a96db3fa1095b3115cd76480160b3dff450c023e64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101185760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb146102db578063bf474bed146102fb578063c876d0b914610311578063c9567bf91461032b578063dd62ed3e1461034057600080fd5b8063751039fc146102725780637d1db4a5146102875780638da5cb5b1461029d5780638f9a55c0146102c557806395d89b411461012457600080fd5b806323b872dd116100e757806323b872dd146101c9578063313ce567146101e957806370a0823114610205578063715018a61461023b578063723333561461025257600080fd5b806306fdde0314610124578063095ea7b3146101605780630faee56f1461019057806318160ddd146101b457600080fd5b3661011f57005b600080fd5b34801561013057600080fd5b5060408051808201825260048152633947414760e01b602082015290516101579190611418565b60405180910390f35b34801561016c57600080fd5b5061018061017b36600461147e565b610386565b6040519015158152602001610157565b34801561019c57600080fd5b506101a660115481565b604051908152602001610157565b3480156101c057600080fd5b506101a661039d565b3480156101d557600080fd5b506101806101e43660046114aa565b6103be565b3480156101f557600080fd5b5060405160098152602001610157565b34801561021157600080fd5b506101a66102203660046114eb565b6001600160a01b031660009081526001602052604090205490565b34801561024757600080fd5b50610250610427565b005b34801561025e57600080fd5b5061025061026d366004611508565b6104a4565b34801561027e57600080fd5b506102506104f0565b34801561029357600080fd5b506101a6600e5481565b3480156102a957600080fd5b506000546040516001600160a01b039091168152602001610157565b3480156102d157600080fd5b506101a6600f5481565b3480156102e757600080fd5b506101806102f636600461147e565b6105ac565b34801561030757600080fd5b506101a660105481565b34801561031d57600080fd5b506005546101809060ff1681565b34801561033757600080fd5b506102506105b9565b34801561034c57600080fd5b506101a661035b36600461152a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000610393338484610975565b5060015b92915050565b60006103ab6009600a61165d565b6103b990633b9aca0061166c565b905090565b60006103cb848484610a99565b61041d84336104188560405180606001604052806028815260200161180e602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611073565b610975565b5060019392505050565b6000546001600160a01b0316331461045a5760405162461bcd60e51b815260040161045190611683565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60055461010090046001600160a01b0316336001600160a01b0316146104c957600080fd5b60058211156104d757600080fd5b60058111156104e557600080fd5b600891909155600955565b6000546001600160a01b0316331461051a5760405162461bcd60e51b815260040161045190611683565b6105266009600a61165d565b61053490633b9aca0061166c565b600e556105436009600a61165d565b61055190633b9aca0061166c565b600f556005805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61058b6009600a61165d565b61059990633b9aca0061166c565b60405190815260200160405180910390a1565b6000610393338484610a99565b6000546001600160a01b031633146105e35760405162461bcd60e51b815260040161045190611683565b601354600160a01b900460ff161561063d5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610451565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106869030906106786009600a61165d565b61041890633b9aca0061166c565b601260009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd91906116b8565b6001600160a01b031663c9c6539630601260009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561075f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078391906116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f491906116b8565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d719473061083c816001600160a01b031660009081526001602052604090205490565b6000806108516000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108b9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108de91906116d5565b505060135460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095b9190611703565b506013805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166109d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610451565b6001600160a01b038216610a385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610451565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610afd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610451565b6001600160a01b038216610b5f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610451565b60008111610bc15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610451565b600080546001600160a01b03858116911614801590610bee57506000546001600160a01b03848116911614155b15610f3057610c1f6064610c19600a54600d5411610c0e57600654610c12565b6008545b85906110ad565b90611136565b60055490915060ff1615610d07576012546001600160a01b03848116911614801590610c5957506013546001600160a01b03848116911614155b15610d0757326000908152600460205260409020544311610cf45760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610451565b3260009081526004602052604090204390555b6013546001600160a01b038581169116148015610d3257506012546001600160a01b03848116911614155b8015610d5757506001600160a01b03831660009081526003602052604090205460ff16155b15610e3f57600e54821115610dae5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610451565b600f5482610dd1856001600160a01b031660009081526001602052604090205490565b610ddb9190611725565b1115610e295760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610451565b600d8054906000610e3983611738565b91905055505b6013546001600160a01b038481169116148015610e6557506001600160a01b0384163014155b15610e9257610e8f6064610c19600b54600d5411610e8557600754610c12565b60095485906110ad565b90505b30600090815260016020526040902054601354600160a81b900460ff16158015610ec957506013546001600160a01b038581169116145b8015610ede5750601354600160b01b900460ff165b8015610eeb575060105481115b8015610efa5750600c54600d54115b15610f2e57610f1c610f1784610f1284601154611178565b611178565b61118d565b478015610f2c57610f2c47611307565b505b505b8015610faa5730600090815260016020526040902054610f509082611349565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fa19085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610fcd90836113a8565b6001600160a01b038516600090815260016020526040902055611012610ff383836113a8565b6001600160a01b03851660009081526001602052604090205490611349565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61105c85856113a8565b60405190815260200160405180910390a350505050565b600081848411156110975760405162461bcd60e51b81526004016104519190611418565b5060006110a48486611751565b95945050505050565b6000826000036110bf57506000610397565b60006110cb838561166c565b9050826110d88583611764565b1461112f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610451565b9392505050565b600061112f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113ea565b6000818311611187578261112f565b50919050565b6013805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106111d5576111d5611786565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125291906116b8565b8160018151811061126557611265611786565b6001600160a01b03928316602091820292909201015260125461128b9130911684610975565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906112c490859060009086903090429060040161179c565b600060405180830381600087803b1580156112de57600080fd5b505af11580156112f2573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b6005546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015611345573d6000803e3d6000fd5b5050565b6000806113568385611725565b90508381101561112f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610451565b600061112f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611073565b6000818361140b5760405162461bcd60e51b81526004016104519190611418565b5060006110a48486611764565b600060208083528351808285015260005b8181101561144557858101830151858201604001528201611429565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461147b57600080fd5b50565b6000806040838503121561149157600080fd5b823561149c81611466565b946020939093013593505050565b6000806000606084860312156114bf57600080fd5b83356114ca81611466565b925060208401356114da81611466565b929592945050506040919091013590565b6000602082840312156114fd57600080fd5b813561112f81611466565b6000806040838503121561151b57600080fd5b50508035926020909101359150565b6000806040838503121561153d57600080fd5b823561154881611466565b9150602083013561155881611466565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156115b457816000190482111561159a5761159a611563565b808516156115a757918102915b93841c939080029061157e565b509250929050565b6000826115cb57506001610397565b816115d857506000610397565b81600181146115ee57600281146115f857611614565b6001915050610397565b60ff84111561160957611609611563565b50506001821b610397565b5060208310610133831016604e8410600b8410161715611637575081810a610397565b6116418383611579565b806000190482111561165557611655611563565b029392505050565b600061112f60ff8416836115bc565b808202811582820484141761039757610397611563565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156116ca57600080fd5b815161112f81611466565b6000806000606084860312156116ea57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561171557600080fd5b8151801515811461112f57600080fd5b8082018082111561039757610397611563565b60006001820161174a5761174a611563565b5060010190565b8181038181111561039757610397611563565b60008261178157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117ec5784516001600160a01b0316835293830193918301916001016117c7565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122085311b44d8ec969828379d99a96db3fa1095b3115cd76480160b3dff450c023e64736f6c63430008110033
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.