Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000 CAI
Holders
332
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
261.021796157086603885 CAIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
CompareAI
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity Standard Json-Input format)
/** https://www.compareai.bot/ https://twitter.com/CompareAi_ https://t.me/CompareAi_Portal **/ // SPDX-License-Identifier: MIT pragma solidity 0.8.23; 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 CompareAI 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 => bool) private _buyerMap; mapping(address => bool) private bots; mapping(address => uint256) private _holderLastTransferTimestamp; address payable private _taxWallet; uint256 private _initialBuyTax = 30; uint256 private _initialSellTax = 40; uint256 private _finalBuyTax = 5; uint256 private _finalSellTax = 5; uint256 private _reduceBuyTaxAt = 56; uint256 private _reduceSellTaxAt = 56; uint256 private _preventSwapBefore = 20; uint256 private _buyCount = 0; uint256 public startTime; uint8 private constant _decimals = 18; uint256 private constant _tTotal = 10000000 * 10 ** _decimals; // 10 million string private constant _name = unicode"CompareAI"; string private constant _symbol = unicode"CAI"; uint256 public _maxTxAmount = (_tTotal * 30) / 1000; // 1% of total supply uint256 public _maxWalletSize = (_tTotal * 1) / 100; // 1% of total supply uint256 public _taxSwapThreshold = _tTotal / 1000; // 0.1% of total supply uint256 public _maxTaxSwap = _tTotal / 200; // 0.5% of total supply IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool public tradingOpen = false; 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; (uint256 _buyTax, uint256 _sellTax) = getTax(); if (from != owner() && to != owner()) { require(!bots[from] && !bots[to], "Not allow bot buy"); if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to]) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); if (_buyCount < _preventSwapBefore) { require(!isContract(to), "Not allow contract buy now"); } _buyCount++; _buyerMap[to] = true; } // buy tax taxAmount = amount.mul(_buyTax).div(100); if (to == uniswapV2Pair && from != address(this)) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); //sell tax taxAmount = amount.mul(_sellTax).div(100); require(_buyCount > _preventSwapBefore || _buyerMap[from], "Seller is not buyer"); } 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); } } } // add liquidity dont charge fee if (_isExcludedFromFee[to] && to == address(uniswapV2Pair)) { taxAmount = 0; } 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 { if (tokenAmount == 0) {return;} if (!tradingOpen) {return;} 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; emit MaxTxAmountUpdated(_tTotal); } function setMaxTxPercentToDefault() external onlyOwner() { _maxTxAmount = _tTotal.div(100); // Updates the maxTxAmount to be 1% of total supply emit MaxTxAmountUpdated(_maxTxAmount); // Emitting event for the update operation } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function isBot(address a) public view returns (bool){ return bots[a]; } 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()); _isExcludedFromFee[address(uniswapV2Pair)] = true; uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); _isExcludedFromFee[address(uniswapV2Pair)] = false; swapEnabled = true; tradingOpen = true; startTime = block.timestamp; } receive() external payable {} function isContract(address account) private view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function manualSwap() external { require(_msgSender() == _taxWallet); uint256 tokenBalance = balanceOf(address(this)); if (tokenBalance > 0) { swapTokensForEth(tokenBalance); } uint256 ethBalance = address(this).balance; if (ethBalance > 0) { sendETHToFee(ethBalance); } } function getTax() public view returns (uint, uint) { if (startTime + 60 * 6 > block.timestamp) { return (_initialBuyTax, _initialSellTax); } else if (startTime + 60 * 6 < block.timestamp && block.timestamp < startTime + 60 * 11) { return (20, 20); } else if (startTime + 60 * 11 < block.timestamp && block.timestamp < startTime + 60 * 15) { return (10, 10); } else if (block.timestamp > startTime + 60 * 15) { return (_finalBuyTax, _finalSellTax); } } }
{ "evmVersion": "paris", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "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":"getTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"setMaxTxPercentToDefault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052601e60085560286009556005600a556005600b556038600c556038600d556014600e556000600f556103e86012600a6200003f919062000390565b6200004e9062989680620003a8565b6200005b90601e620003a8565b620000679190620003c2565b60115560646200007a6012600a62000390565b620000899062989680620003a8565b62000096906001620003a8565b620000a29190620003c2565b6012556103e86012600a620000b8919062000390565b620000c79062989680620003a8565b620000d39190620003c2565b60135560c8620000e66012600a62000390565b620000f59062989680620003a8565b620001019190620003c2565b6014556016805462ffffff60a01b191690553480156200012057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600780546001600160a01b03191633179055620001826012600a62000390565b620001919062989680620003a8565b336000908152600160208190526040822092909255600390620001bc6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556007549091168352912080549092161790556200021b3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002556012600a62000390565b620002649062989680620003a8565b60405190815260200160405180910390a3620003e5565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002d2578160001904821115620002b657620002b66200027b565b80851615620002c457918102915b93841c939080029062000296565b509250929050565b600082620002eb575060016200038a565b81620002fa575060006200038a565b81600181146200031357600281146200031e576200033e565b60019150506200038a565b60ff8411156200033257620003326200027b565b50506001821b6200038a565b5060208310610133831016604e8410600b841016171562000363575081810a6200038a565b6200036f838362000291565b80600019048211156200038657620003866200027b565b0290505b92915050565b6000620003a160ff841683620002da565b9392505050565b80820281158282048414176200038a576200038a6200027b565b600082620003e057634e487b7160e01b600052601260045260246000fd5b500490565b611bc580620003f56000396000f3fe6080604052600436106101445760003560e01c8063715018a6116100b657806395d89b411161006f57806395d89b4114610392578063a9059cbb146103be578063bf474bed146103de578063c9567bf9146103f4578063dd62ed3e14610409578063ffb54a991461044f57600080fd5b8063715018a6146102fe578063751039fc1461031357806378e97925146103285780637d1db4a51461033e5780638da5cb5b146103545780638f9a55c01461037c57600080fd5b8063313ce56711610108578063313ce5671461021d5780633bbac5791461023957806351bc3c851461027257806354b762a6146102895780636727ba9b146102b357806370a08231146102c857600080fd5b806306fdde0314610150578063095ea7b3146101945780630faee56f146101c457806318160ddd146101e857806323b872dd146101fd57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b50604080518082019091526009815268436f6d70617265414960b81b60208201525b60405161018b9190611791565b60405180910390f35b3480156101a057600080fd5b506101b46101af3660046117f8565b610470565b604051901515815260200161018b565b3480156101d057600080fd5b506101da60145481565b60405190815260200161018b565b3480156101f457600080fd5b506101da610487565b34801561020957600080fd5b506101b4610218366004611824565b6104a7565b34801561022957600080fd5b506040516012815260200161018b565b34801561024557600080fd5b506101b4610254366004611865565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561027e57600080fd5b50610287610510565b005b34801561029557600080fd5b5061029e610563565b6040805192835260208301919091520161018b565b3480156102bf57600080fd5b50610287610621565b3480156102d457600080fd5b506101da6102e3366004611865565b6001600160a01b031660009081526001602052604090205490565b34801561030a57600080fd5b506102876106b3565b34801561031f57600080fd5b50610287610727565b34801561033457600080fd5b506101da60105481565b34801561034a57600080fd5b506101da60115481565b34801561036057600080fd5b506000546040516001600160a01b03909116815260200161018b565b34801561038857600080fd5b506101da60125481565b34801561039e57600080fd5b5060408051808201909152600381526243414960e81b602082015261017e565b3480156103ca57600080fd5b506101b46103d93660046117f8565b6107d3565b3480156103ea57600080fd5b506101da60135481565b34801561040057600080fd5b506102876107e0565b34801561041557600080fd5b506101da610424366004611882565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561045b57600080fd5b506016546101b490600160a01b900460ff1681565b600061047d338484610bdb565b5060015b92915050565b60006104956012600a6119b5565b6104a290629896806119c4565b905090565b60006104b4848484610cff565b610506843361050185604051806060016040528060288152602001611b68602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906113db565b610bdb565b5060019392505050565b6007546001600160a01b0316336001600160a01b03161461053057600080fd5b30600090815260016020526040902054801561054f5761054f81611415565b47801561055f5761055f816115a8565b5050565b6000804260105461016861057791906119db565b11156105895750506008546009549091565b4260105461016861059a91906119db565b1080156105b457506010546105b1906102946119db565b42105b156105c25750601491829150565b426010546102946105d391906119db565b1080156105ed57506010546105ea906103846119db565b42105b156105fb5750600a91829150565b60105461060a906103846119db565b42111561061d575050600a54600b549091565b9091565b6000546001600160a01b031633146106545760405162461bcd60e51b815260040161064b906119ee565b60405180910390fd5b61067860646106656012600a6119b5565b61067290629896806119c4565b906115e2565b60118190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a1565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161064b906119ee565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107515760405162461bcd60e51b815260040161064b906119ee565b61075d6012600a6119b5565b61076a90629896806119c4565b6011556107796012600a6119b5565b61078690629896806119c4565b60129081557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906107b890600a6119b5565b6107c590629896806119c4565b6040519081526020016106a9565b600061047d338484610cff565b6000546001600160a01b0316331461080a5760405162461bcd60e51b815260040161064b906119ee565b601654600160a01b900460ff16156108645760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161064b565b601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556108ac90309061089f6012600a6119b5565b61050190629896806119c4565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109239190611a23565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a99190611a23565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611a23565b601680546001600160a01b039283166001600160a01b031990911681179091556000908152600360205260409020805460ff191660011790556015541663f305d7194730610a7d816001600160a01b031660009081526001602052604090205490565b600080610a926000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610afa573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b1f9190611a40565b505060165460155460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c9190611a6e565b50601680546001600160a01b03166000908152600360205260409020805460ff19169055805462ff00ff60a01b19166201000160a01b17905542601055565b6001600160a01b038316610c3d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064b565b6001600160a01b038216610c9e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064b565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d635760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064b565b6001600160a01b038216610dc55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064b565b60008111610e275760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161064b565b60008080610e33610563565b91509150610e496000546001600160a01b031690565b6001600160a01b0316866001600160a01b031614158015610e7857506000546001600160a01b03868116911614155b15611257576001600160a01b03861660009081526005602052604090205460ff16158015610ebf57506001600160a01b03851660009081526005602052604090205460ff16155b610eff5760405162461bcd60e51b81526020600482015260116024820152704e6f7420616c6c6f7720626f742062757960781b604482015260640161064b565b6016546001600160a01b038781169116148015610f2a57506015546001600160a01b03868116911614155b8015610f4f57506001600160a01b03851660009081526003602052604090205460ff16155b156110b157601154841115610fa25760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b604482015260640161064b565b60125484610fc5876001600160a01b031660009081526001602052604090205490565b610fcf91906119db565b111561101d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161064b565b600e54600f54101561107857843b156110785760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420616c6c6f7720636f6e747261637420627579206e6f77000000000000604482015260640161064b565b600f805490600061108883611a90565b90915550506001600160a01b0385166000908152600460205260409020805460ff191660011790555b6110c06064610672868561162b565b6016549093506001600160a01b0386811691161480156110e957506001600160a01b0386163014155b156111b95760115484111561113c5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b604482015260640161064b565b61114b6064610672868461162b565b9250600e54600f54118061117757506001600160a01b03861660009081526004602052604090205460ff165b6111b95760405162461bcd60e51b815260206004820152601360248201527229b2b63632b91034b9903737ba10313abcb2b960691b604482015260640161064b565b30600090815260016020526040902054601654600160a81b900460ff161580156111f057506016546001600160a01b038781169116145b80156112055750601654600160b01b900460ff165b8015611212575060135481115b80156112215750600e54600f54115b156112555761124361123e86611239846014546116ad565b6116ad565b611415565b47801561125357611253476115a8565b505b505b6001600160a01b03851660009081526003602052604090205460ff16801561128c57506016546001600160a01b038681169116145b1561129657600092505b821561131057306000908152600160205260409020546112b690846116c2565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113079087815260200190565b60405180910390a35b6001600160a01b0386166000908152600160205260409020546113339085611721565b6001600160a01b0387166000908152600160205260409020556113786113598585611721565b6001600160a01b038716600090815260016020526040902054906116c2565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6113c28787611721565b60405190815260200160405180910390a3505050505050565b600081848411156113ff5760405162461bcd60e51b815260040161064b9190611791565b50600061140c8486611aa9565b95945050505050565b6016805460ff60a81b1916600160a81b179055801561159857601654600160a01b900460ff161561159857604080516002808252606082018352600092602083019080368337019050509050308160008151811061147557611475611abc565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f29190611a23565b8160018151811061150557611505611abc565b6001600160a01b03928316602091820292909201015260155461152b9130911684610bdb565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611564908590600090869030904290600401611ad2565b600060405180830381600087803b15801561157e57600080fd5b505af1158015611592573d6000803e3d6000fd5b50505050505b506016805460ff60a81b19169055565b6007546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561055f573d6000803e3d6000fd5b600061162483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611763565b9392505050565b60008260000361163d57506000610481565b600061164983856119c4565b9050826116568583611b45565b146116245760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161064b565b60008183116116bc5782611624565b50919050565b6000806116cf83856119db565b9050838110156116245760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161064b565b600061162483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113db565b600081836117845760405162461bcd60e51b815260040161064b9190611791565b50600061140c8486611b45565b60006020808352835180602085015260005b818110156117bf578581018301518582016040015282016117a3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117f557600080fd5b50565b6000806040838503121561180b57600080fd5b8235611816816117e0565b946020939093013593505050565b60008060006060848603121561183957600080fd5b8335611844816117e0565b92506020840135611854816117e0565b929592945050506040919091013590565b60006020828403121561187757600080fd5b8135611624816117e0565b6000806040838503121561189557600080fd5b82356118a0816117e0565b915060208301356118b0816117e0565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561190c5781600019048211156118f2576118f26118bb565b808516156118ff57918102915b93841c93908002906118d6565b509250929050565b60008261192357506001610481565b8161193057506000610481565b816001811461194657600281146119505761196c565b6001915050610481565b60ff841115611961576119616118bb565b50506001821b610481565b5060208310610133831016604e8410600b841016171561198f575081810a610481565b61199983836118d1565b80600019048211156119ad576119ad6118bb565b029392505050565b600061162460ff841683611914565b8082028115828204841417610481576104816118bb565b80820180821115610481576104816118bb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611a3557600080fd5b8151611624816117e0565b600080600060608486031215611a5557600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a8057600080fd5b8151801515811461162457600080fd5b600060018201611aa257611aa26118bb565b5060010190565b81810381811115610481576104816118bb565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611b245784516001600160a01b031683529383019391830191600101611aff565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b6257634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212202c7a6330954e149e2e705cfcbf606d5a7c6b483db1fa09400779b34e3fe2034464736f6c63430008170033
Deployed Bytecode
0x6080604052600436106101445760003560e01c8063715018a6116100b657806395d89b411161006f57806395d89b4114610392578063a9059cbb146103be578063bf474bed146103de578063c9567bf9146103f4578063dd62ed3e14610409578063ffb54a991461044f57600080fd5b8063715018a6146102fe578063751039fc1461031357806378e97925146103285780637d1db4a51461033e5780638da5cb5b146103545780638f9a55c01461037c57600080fd5b8063313ce56711610108578063313ce5671461021d5780633bbac5791461023957806351bc3c851461027257806354b762a6146102895780636727ba9b146102b357806370a08231146102c857600080fd5b806306fdde0314610150578063095ea7b3146101945780630faee56f146101c457806318160ddd146101e857806323b872dd146101fd57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b50604080518082019091526009815268436f6d70617265414960b81b60208201525b60405161018b9190611791565b60405180910390f35b3480156101a057600080fd5b506101b46101af3660046117f8565b610470565b604051901515815260200161018b565b3480156101d057600080fd5b506101da60145481565b60405190815260200161018b565b3480156101f457600080fd5b506101da610487565b34801561020957600080fd5b506101b4610218366004611824565b6104a7565b34801561022957600080fd5b506040516012815260200161018b565b34801561024557600080fd5b506101b4610254366004611865565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561027e57600080fd5b50610287610510565b005b34801561029557600080fd5b5061029e610563565b6040805192835260208301919091520161018b565b3480156102bf57600080fd5b50610287610621565b3480156102d457600080fd5b506101da6102e3366004611865565b6001600160a01b031660009081526001602052604090205490565b34801561030a57600080fd5b506102876106b3565b34801561031f57600080fd5b50610287610727565b34801561033457600080fd5b506101da60105481565b34801561034a57600080fd5b506101da60115481565b34801561036057600080fd5b506000546040516001600160a01b03909116815260200161018b565b34801561038857600080fd5b506101da60125481565b34801561039e57600080fd5b5060408051808201909152600381526243414960e81b602082015261017e565b3480156103ca57600080fd5b506101b46103d93660046117f8565b6107d3565b3480156103ea57600080fd5b506101da60135481565b34801561040057600080fd5b506102876107e0565b34801561041557600080fd5b506101da610424366004611882565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561045b57600080fd5b506016546101b490600160a01b900460ff1681565b600061047d338484610bdb565b5060015b92915050565b60006104956012600a6119b5565b6104a290629896806119c4565b905090565b60006104b4848484610cff565b610506843361050185604051806060016040528060288152602001611b68602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906113db565b610bdb565b5060019392505050565b6007546001600160a01b0316336001600160a01b03161461053057600080fd5b30600090815260016020526040902054801561054f5761054f81611415565b47801561055f5761055f816115a8565b5050565b6000804260105461016861057791906119db565b11156105895750506008546009549091565b4260105461016861059a91906119db565b1080156105b457506010546105b1906102946119db565b42105b156105c25750601491829150565b426010546102946105d391906119db565b1080156105ed57506010546105ea906103846119db565b42105b156105fb5750600a91829150565b60105461060a906103846119db565b42111561061d575050600a54600b549091565b9091565b6000546001600160a01b031633146106545760405162461bcd60e51b815260040161064b906119ee565b60405180910390fd5b61067860646106656012600a6119b5565b61067290629896806119c4565b906115e2565b60118190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a1565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161064b906119ee565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107515760405162461bcd60e51b815260040161064b906119ee565b61075d6012600a6119b5565b61076a90629896806119c4565b6011556107796012600a6119b5565b61078690629896806119c4565b60129081557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906107b890600a6119b5565b6107c590629896806119c4565b6040519081526020016106a9565b600061047d338484610cff565b6000546001600160a01b0316331461080a5760405162461bcd60e51b815260040161064b906119ee565b601654600160a01b900460ff16156108645760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161064b565b601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556108ac90309061089f6012600a6119b5565b61050190629896806119c4565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109239190611a23565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a99190611a23565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611a23565b601680546001600160a01b039283166001600160a01b031990911681179091556000908152600360205260409020805460ff191660011790556015541663f305d7194730610a7d816001600160a01b031660009081526001602052604090205490565b600080610a926000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610afa573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b1f9190611a40565b505060165460155460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c9190611a6e565b50601680546001600160a01b03166000908152600360205260409020805460ff19169055805462ff00ff60a01b19166201000160a01b17905542601055565b6001600160a01b038316610c3d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064b565b6001600160a01b038216610c9e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064b565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d635760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064b565b6001600160a01b038216610dc55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064b565b60008111610e275760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161064b565b60008080610e33610563565b91509150610e496000546001600160a01b031690565b6001600160a01b0316866001600160a01b031614158015610e7857506000546001600160a01b03868116911614155b15611257576001600160a01b03861660009081526005602052604090205460ff16158015610ebf57506001600160a01b03851660009081526005602052604090205460ff16155b610eff5760405162461bcd60e51b81526020600482015260116024820152704e6f7420616c6c6f7720626f742062757960781b604482015260640161064b565b6016546001600160a01b038781169116148015610f2a57506015546001600160a01b03868116911614155b8015610f4f57506001600160a01b03851660009081526003602052604090205460ff16155b156110b157601154841115610fa25760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b604482015260640161064b565b60125484610fc5876001600160a01b031660009081526001602052604090205490565b610fcf91906119db565b111561101d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161064b565b600e54600f54101561107857843b156110785760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420616c6c6f7720636f6e747261637420627579206e6f77000000000000604482015260640161064b565b600f805490600061108883611a90565b90915550506001600160a01b0385166000908152600460205260409020805460ff191660011790555b6110c06064610672868561162b565b6016549093506001600160a01b0386811691161480156110e957506001600160a01b0386163014155b156111b95760115484111561113c5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b604482015260640161064b565b61114b6064610672868461162b565b9250600e54600f54118061117757506001600160a01b03861660009081526004602052604090205460ff165b6111b95760405162461bcd60e51b815260206004820152601360248201527229b2b63632b91034b9903737ba10313abcb2b960691b604482015260640161064b565b30600090815260016020526040902054601654600160a81b900460ff161580156111f057506016546001600160a01b038781169116145b80156112055750601654600160b01b900460ff165b8015611212575060135481115b80156112215750600e54600f54115b156112555761124361123e86611239846014546116ad565b6116ad565b611415565b47801561125357611253476115a8565b505b505b6001600160a01b03851660009081526003602052604090205460ff16801561128c57506016546001600160a01b038681169116145b1561129657600092505b821561131057306000908152600160205260409020546112b690846116c2565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113079087815260200190565b60405180910390a35b6001600160a01b0386166000908152600160205260409020546113339085611721565b6001600160a01b0387166000908152600160205260409020556113786113598585611721565b6001600160a01b038716600090815260016020526040902054906116c2565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6113c28787611721565b60405190815260200160405180910390a3505050505050565b600081848411156113ff5760405162461bcd60e51b815260040161064b9190611791565b50600061140c8486611aa9565b95945050505050565b6016805460ff60a81b1916600160a81b179055801561159857601654600160a01b900460ff161561159857604080516002808252606082018352600092602083019080368337019050509050308160008151811061147557611475611abc565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f29190611a23565b8160018151811061150557611505611abc565b6001600160a01b03928316602091820292909201015260155461152b9130911684610bdb565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611564908590600090869030904290600401611ad2565b600060405180830381600087803b15801561157e57600080fd5b505af1158015611592573d6000803e3d6000fd5b50505050505b506016805460ff60a81b19169055565b6007546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561055f573d6000803e3d6000fd5b600061162483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611763565b9392505050565b60008260000361163d57506000610481565b600061164983856119c4565b9050826116568583611b45565b146116245760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161064b565b60008183116116bc5782611624565b50919050565b6000806116cf83856119db565b9050838110156116245760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161064b565b600061162483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113db565b600081836117845760405162461bcd60e51b815260040161064b9190611791565b50600061140c8486611b45565b60006020808352835180602085015260005b818110156117bf578581018301518582016040015282016117a3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117f557600080fd5b50565b6000806040838503121561180b57600080fd5b8235611816816117e0565b946020939093013593505050565b60008060006060848603121561183957600080fd5b8335611844816117e0565b92506020840135611854816117e0565b929592945050506040919091013590565b60006020828403121561187757600080fd5b8135611624816117e0565b6000806040838503121561189557600080fd5b82356118a0816117e0565b915060208301356118b0816117e0565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561190c5781600019048211156118f2576118f26118bb565b808516156118ff57918102915b93841c93908002906118d6565b509250929050565b60008261192357506001610481565b8161193057506000610481565b816001811461194657600281146119505761196c565b6001915050610481565b60ff841115611961576119616118bb565b50506001821b610481565b5060208310610133831016604e8410600b841016171561198f575081810a610481565b61199983836118d1565b80600019048211156119ad576119ad6118bb565b029392505050565b600061162460ff841683611914565b8082028115828204841417610481576104816118bb565b80820180821115610481576104816118bb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611a3557600080fd5b8151611624816117e0565b600080600060608486031215611a5557600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a8057600080fd5b8151801515811461162457600080fd5b600060018201611aa257611aa26118bb565b5060010190565b81810381811115610481576104816118bb565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611b245784516001600160a01b031683529383019391830191600101611aff565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b6257634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212202c7a6330954e149e2e705cfcbf606d5a7c6b483db1fa09400779b34e3fe2034464736f6c63430008170033
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.