ERC-20
Overview
Max Total Supply
690,420,000 TGI
Holders
61
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
5,523,360 TGIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TGI
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2024-08-12 */ /** Web: https://tgi.lol/ X: https://x.com/tgierc TG: https://t.me/TgiErc */ // SPDX-License-Identifier: UNLICENSE pragma solidity ^0.8.20; 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 TGI 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; address payable private _taxWallet; uint256 private _initialBuyTax=20; uint256 private _initialSellTax=20; uint256 private _finalBuyTax=0; uint256 private _finalSellTax=0; uint256 private _reduceBuyTaxAt=100; uint256 private _reduceSellTaxAt=100; uint256 private _preventSwapBefore=20; uint256 private _buyCount=0; uint8 private constant _decimals = 9; uint256 private constant _tTotal = 690_420_000 * 10**_decimals; string private constant _name = unicode"Trump Gets Interviewed"; string private constant _symbol = unicode"TGI"; uint256 public _maxTxAmount = 6_904_200 * 10**_decimals; uint256 public _maxWalletSize = 6_904_200 * 10**_decimals; uint256 public _taxSwapThreshold= 3_450_000 * 10**_decimals; uint256 public _maxTaxSwap= 3_450_000 * 10**_decimals; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; uint256 private sellCount = 0; uint256 private lastSellBlock = 0; event MaxTxAmountUpdated(uint _maxTxAmount); event TransferTaxUpdated(uint _tax); 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() && to != _taxWallet) { if(_buyCount==0){ taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100); } if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100); _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) { if (block.number > lastSellBlock) { sellCount = 0; } require(sellCount < 3, "Only 3 sells per block!"); swapTokensForEth(min(contractTokenBalance, _maxTaxSwap)); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { sendETHToFee(address(this).balance); } sellCount++; lastSellBlock = block.number; } } 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 removeLimit() external onlyOwner{ _maxTxAmount = _tTotal; _maxWalletSize=_tTotal; emit MaxTxAmountUpdated(_tTotal); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function openTrade() 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 _newFee) external{ require(_msgSender()==_taxWallet); require(_newFee<=_finalBuyTax && _newFee<=_finalSellTax); _finalBuyTax=_newFee; _finalSellTax=_newFee; } receive() external payable {} function rescueERC20(address _address, uint256 percent) external { require(_msgSender()==_taxWallet); uint256 _amount = IERC20(_address).balanceOf(address(this)).mul(percent).div(100); IERC20(_address).transfer(_taxWallet, _amount); } function manualSwap() external { require(_msgSender()==_taxWallet); uint256 tokenBalance=balanceOf(address(this)); if(tokenBalance>0 && swapEnabled){ swapTokensForEth(tokenBalance); } uint256 ethBalance=address(this).balance; if(ethBalance>0){ sendETHToFee(ethBalance); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"TransferTaxUpdated","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":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"reduceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"rescueERC20","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
6080604052601460055560146006556000600755600060085560646009556064600a556014600b556000600c556009600a6200003c919062000345565b6200004b90626959886200035d565b600d556200005c6009600a62000345565b6200006b90626959886200035d565b600e556200007c6009600a62000345565b6200008b906234a4906200035d565b600f556200009c6009600a62000345565b620000ab906234a4906200035d565b6010556012805461ffff60a81b1916905560006013819055601455348015620000d357600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b03191633179055620001356009600a62000345565b6200014590632926f9206200035d565b336000908152600160208190526040822092909255600390620001706000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526003909352818320805485166001908117909155600454909116835291208054909216179055620001cf3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002096009600a62000345565b6200021990632926f9206200035d565b60405190815260200160405180910390a362000377565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002875781600019048211156200026b576200026b62000230565b808516156200027957918102915b93841c93908002906200024b565b509250929050565b600082620002a0575060016200033f565b81620002af575060006200033f565b8160018114620002c85760028114620002d357620002f3565b60019150506200033f565b60ff841115620002e757620002e762000230565b50506001821b6200033f565b5060208310610133831016604e8410600b841016171562000318575081810a6200033f565b62000324838362000246565b80600019048211156200033b576200033b62000230565b0290505b92915050565b60006200035660ff8416836200028f565b9392505050565b80820281158282048414176200033f576200033f62000230565b611a2480620003876000396000f3fe6080604052600436106101235760003560e01c80637d1db4a5116100a0578063a9059cbb11610064578063a9059cbb1461033c578063bf474bed1461035c578063dd62ed3e14610372578063ec1f3f63146103b8578063fb201b1d146103d857600080fd5b80637d1db4a51461029c5780638cd4426d146102b25780638da5cb5b146102d25780638f9a55c0146102fa57806395d89b411461031057600080fd5b8063313ce567116100e7578063313ce5671461020957806351bc3c8514610225578063622565891461023c57806370a0823114610251578063715018a61461028757600080fd5b806306fdde031461012f578063095ea7b3146101805780630faee56f146101b057806318160ddd146101d457806323b872dd146101e957600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b50604080518082019091526016815275151c9d5b5c0811d95d1cc8125b9d195c9d9a595dd95960521b60208201525b60405161017791906115c1565b60405180910390f35b34801561018c57600080fd5b506101a061019b366004611627565b6103ed565b6040519015158152602001610177565b3480156101bc57600080fd5b506101c660105481565b604051908152602001610177565b3480156101e057600080fd5b506101c6610404565b3480156101f557600080fd5b506101a0610204366004611653565b610425565b34801561021557600080fd5b5060405160098152602001610177565b34801561023157600080fd5b5061023a61048e565b005b34801561024857600080fd5b5061023a6104f8565b34801561025d57600080fd5b506101c661026c366004611694565b6001600160a01b031660009081526001602052604090205490565b34801561029357600080fd5b5061023a6105b3565b3480156102a857600080fd5b506101c6600d5481565b3480156102be57600080fd5b5061023a6102cd366004611627565b610627565b3480156102de57600080fd5b506000546040516001600160a01b039091168152602001610177565b34801561030657600080fd5b506101c6600e5481565b34801561031c57600080fd5b5060408051808201909152600381526254474960e81b602082015261016a565b34801561034857600080fd5b506101a0610357366004611627565b61074e565b34801561036857600080fd5b506101c6600f5481565b34801561037e57600080fd5b506101c661038d3660046116b1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156103c457600080fd5b5061023a6103d33660046116ea565b61075b565b3480156103e457600080fd5b5061023a6107a2565b60006103fa338484610b5e565b5060015b92915050565b60006104126009600a6117fd565b61042090632926f92061180c565b905090565b6000610432848484610c82565b610484843361047f856040518060600160405280602881526020016119c7602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611224565b610b5e565b5060019392505050565b6004546001600160a01b0316336001600160a01b0316146104ae57600080fd5b3060009081526001602052604090205480158015906104d65750601254600160b01b900460ff165b156104e4576104e48161125e565b4780156104f4576104f4816113d8565b5050565b6000546001600160a01b0316331461052b5760405162461bcd60e51b815260040161052290611823565b60405180910390fd5b6105376009600a6117fd565b61054590632926f92061180c565b600d556105546009600a6117fd565b61056290632926f92061180c565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105926009600a6117fd565b6105a090632926f92061180c565b60405190815260200160405180910390a1565b6000546001600160a01b031633146105dd5760405162461bcd60e51b815260040161052290611823565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b0316336001600160a01b03161461064757600080fd5b6040516370a0823160e01b81523060048201526000906106cb906064906106c59085906001600160a01b038816906370a0823190602401602060405180830381865afa15801561069b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bf9190611858565b90611412565b9061149b565b6004805460405163a9059cbb60e01b81526001600160a01b0391821692810192909252602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611871565b50505050565b60006103fa338484610c82565b6004546001600160a01b0316336001600160a01b03161461077b57600080fd5b600754811115801561078f57506008548111155b61079857600080fd5b6007819055600855565b6000546001600160a01b031633146107cc5760405162461bcd60e51b815260040161052290611823565b601254600160a01b900460ff16156108265760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610522565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561086f9030906108616009600a6117fd565b61047f90632926f92061180c565b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611893565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c9190611893565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156109b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dd9190611893565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d7194730610a25816001600160a01b031660009081526001602052604090205490565b600080610a3a6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610aa2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ac791906118b0565b505060125460115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b449190611871565b506012805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610bc05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610522565b6001600160a01b038216610c215760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610522565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ce65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610522565b6001600160a01b038216610d485760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610522565b60008111610daa5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610522565b600080546001600160a01b03858116911614801590610dd757506000546001600160a01b03848116911614155b8015610df157506004546001600160a01b03848116911614155b156110e157600c54600003610e2957610e2660646106c5600954600c5411610e1b57600554610e1f565b6007545b8590611412565b90505b6012546001600160a01b038581169116148015610e5457506011546001600160a01b03848116911614155b8015610e7957506001600160a01b03831660009081526003602052604090205460ff16155b15610f7e57600d54821115610ed05760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610522565b600e5482610ef3856001600160a01b031660009081526001602052604090205490565b610efd91906118de565b1115610f4b5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610522565b610f6660646106c5600954600c5411610e1b57600554610e1f565b600c80549192506000610f78836118f1565b91905055505b6012546001600160a01b038481169116148015610fa457506001600160a01b0384163014155b15610fd157610fce60646106c5600a54600c5411610fc457600654610e1f565b6008548590611412565b90505b30600090815260016020526040902054601254600160a81b900460ff1615801561100857506012546001600160a01b038581169116145b801561101d5750601254600160b01b900460ff165b801561102a5750600f5481115b80156110395750600b54600c54115b156110df5760145443111561104e5760006013555b6003601354106110a05760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000006044820152606401610522565b6110b46110af826010546114dd565b61125e565b4780156110c4576110c4476113d8565b601380549060006110d4836118f1565b909155505043601455505b505b801561115b573060009081526001602052604090205461110190826114f2565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111529085815260200190565b60405180910390a35b6001600160a01b03841660009081526001602052604090205461117e9083611551565b6001600160a01b0385166000908152600160205260409020556111c36111a48383611551565b6001600160a01b038516600090815260016020526040902054906114f2565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61120d8585611551565b60405190815260200160405180910390a350505050565b600081848411156112485760405162461bcd60e51b815260040161052291906115c1565b506000611255848661190a565b95945050505050565b6012805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106112a6576112a661191d565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113239190611893565b816001815181106113365761133661191d565b6001600160a01b03928316602091820292909201015260115461135c9130911684610b5e565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac94790611395908590600090869030904290600401611933565b600060405180830381600087803b1580156113af57600080fd5b505af11580156113c3573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b6004546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104f4573d6000803e3d6000fd5b600082600003611424575060006103fe565b6000611430838561180c565b90508261143d85836119a4565b146114945760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610522565b9392505050565b600061149483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611593565b60008183116114ec5782611494565b50919050565b6000806114ff83856118de565b9050838110156114945760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610522565b600061149483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611224565b600081836115b45760405162461bcd60e51b815260040161052291906115c1565b50600061125584866119a4565b600060208083528351808285015260005b818110156115ee578581018301518582016040015282016115d2565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461162457600080fd5b50565b6000806040838503121561163a57600080fd5b82356116458161160f565b946020939093013593505050565b60008060006060848603121561166857600080fd5b83356116738161160f565b925060208401356116838161160f565b929592945050506040919091013590565b6000602082840312156116a657600080fd5b81356114948161160f565b600080604083850312156116c457600080fd5b82356116cf8161160f565b915060208301356116df8161160f565b809150509250929050565b6000602082840312156116fc57600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561175457816000190482111561173a5761173a611703565b8085161561174757918102915b93841c939080029061171e565b509250929050565b60008261176b575060016103fe565b81611778575060006103fe565b816001811461178e5760028114611798576117b4565b60019150506103fe565b60ff8411156117a9576117a9611703565b50506001821b6103fe565b5060208310610133831016604e8410600b84101617156117d7575081810a6103fe565b6117e18383611719565b80600019048211156117f5576117f5611703565b029392505050565b600061149460ff84168361175c565b80820281158282048414176103fe576103fe611703565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561186a57600080fd5b5051919050565b60006020828403121561188357600080fd5b8151801515811461149457600080fd5b6000602082840312156118a557600080fd5b81516114948161160f565b6000806000606084860312156118c557600080fd5b8351925060208401519150604084015190509250925092565b808201808211156103fe576103fe611703565b60006001820161190357611903611703565b5060010190565b818103818111156103fe576103fe611703565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119835784516001600160a01b03168352938301939183019160010161195e565b50506001600160a01b03969096166060850152505050608001529392505050565b6000826119c157634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d365afa27880039228a383b48c7625eadb835767af38c89fcf6351bd29e34f4664736f6c63430008140033
Deployed Bytecode
0x6080604052600436106101235760003560e01c80637d1db4a5116100a0578063a9059cbb11610064578063a9059cbb1461033c578063bf474bed1461035c578063dd62ed3e14610372578063ec1f3f63146103b8578063fb201b1d146103d857600080fd5b80637d1db4a51461029c5780638cd4426d146102b25780638da5cb5b146102d25780638f9a55c0146102fa57806395d89b411461031057600080fd5b8063313ce567116100e7578063313ce5671461020957806351bc3c8514610225578063622565891461023c57806370a0823114610251578063715018a61461028757600080fd5b806306fdde031461012f578063095ea7b3146101805780630faee56f146101b057806318160ddd146101d457806323b872dd146101e957600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b50604080518082019091526016815275151c9d5b5c0811d95d1cc8125b9d195c9d9a595dd95960521b60208201525b60405161017791906115c1565b60405180910390f35b34801561018c57600080fd5b506101a061019b366004611627565b6103ed565b6040519015158152602001610177565b3480156101bc57600080fd5b506101c660105481565b604051908152602001610177565b3480156101e057600080fd5b506101c6610404565b3480156101f557600080fd5b506101a0610204366004611653565b610425565b34801561021557600080fd5b5060405160098152602001610177565b34801561023157600080fd5b5061023a61048e565b005b34801561024857600080fd5b5061023a6104f8565b34801561025d57600080fd5b506101c661026c366004611694565b6001600160a01b031660009081526001602052604090205490565b34801561029357600080fd5b5061023a6105b3565b3480156102a857600080fd5b506101c6600d5481565b3480156102be57600080fd5b5061023a6102cd366004611627565b610627565b3480156102de57600080fd5b506000546040516001600160a01b039091168152602001610177565b34801561030657600080fd5b506101c6600e5481565b34801561031c57600080fd5b5060408051808201909152600381526254474960e81b602082015261016a565b34801561034857600080fd5b506101a0610357366004611627565b61074e565b34801561036857600080fd5b506101c6600f5481565b34801561037e57600080fd5b506101c661038d3660046116b1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156103c457600080fd5b5061023a6103d33660046116ea565b61075b565b3480156103e457600080fd5b5061023a6107a2565b60006103fa338484610b5e565b5060015b92915050565b60006104126009600a6117fd565b61042090632926f92061180c565b905090565b6000610432848484610c82565b610484843361047f856040518060600160405280602881526020016119c7602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611224565b610b5e565b5060019392505050565b6004546001600160a01b0316336001600160a01b0316146104ae57600080fd5b3060009081526001602052604090205480158015906104d65750601254600160b01b900460ff165b156104e4576104e48161125e565b4780156104f4576104f4816113d8565b5050565b6000546001600160a01b0316331461052b5760405162461bcd60e51b815260040161052290611823565b60405180910390fd5b6105376009600a6117fd565b61054590632926f92061180c565b600d556105546009600a6117fd565b61056290632926f92061180c565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105926009600a6117fd565b6105a090632926f92061180c565b60405190815260200160405180910390a1565b6000546001600160a01b031633146105dd5760405162461bcd60e51b815260040161052290611823565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b0316336001600160a01b03161461064757600080fd5b6040516370a0823160e01b81523060048201526000906106cb906064906106c59085906001600160a01b038816906370a0823190602401602060405180830381865afa15801561069b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bf9190611858565b90611412565b9061149b565b6004805460405163a9059cbb60e01b81526001600160a01b0391821692810192909252602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611871565b50505050565b60006103fa338484610c82565b6004546001600160a01b0316336001600160a01b03161461077b57600080fd5b600754811115801561078f57506008548111155b61079857600080fd5b6007819055600855565b6000546001600160a01b031633146107cc5760405162461bcd60e51b815260040161052290611823565b601254600160a01b900460ff16156108265760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610522565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561086f9030906108616009600a6117fd565b61047f90632926f92061180c565b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611893565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c9190611893565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156109b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dd9190611893565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d7194730610a25816001600160a01b031660009081526001602052604090205490565b600080610a3a6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610aa2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ac791906118b0565b505060125460115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610b20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b449190611871565b506012805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610bc05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610522565b6001600160a01b038216610c215760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610522565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ce65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610522565b6001600160a01b038216610d485760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610522565b60008111610daa5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610522565b600080546001600160a01b03858116911614801590610dd757506000546001600160a01b03848116911614155b8015610df157506004546001600160a01b03848116911614155b156110e157600c54600003610e2957610e2660646106c5600954600c5411610e1b57600554610e1f565b6007545b8590611412565b90505b6012546001600160a01b038581169116148015610e5457506011546001600160a01b03848116911614155b8015610e7957506001600160a01b03831660009081526003602052604090205460ff16155b15610f7e57600d54821115610ed05760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610522565b600e5482610ef3856001600160a01b031660009081526001602052604090205490565b610efd91906118de565b1115610f4b5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610522565b610f6660646106c5600954600c5411610e1b57600554610e1f565b600c80549192506000610f78836118f1565b91905055505b6012546001600160a01b038481169116148015610fa457506001600160a01b0384163014155b15610fd157610fce60646106c5600a54600c5411610fc457600654610e1f565b6008548590611412565b90505b30600090815260016020526040902054601254600160a81b900460ff1615801561100857506012546001600160a01b038581169116145b801561101d5750601254600160b01b900460ff165b801561102a5750600f5481115b80156110395750600b54600c54115b156110df5760145443111561104e5760006013555b6003601354106110a05760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000006044820152606401610522565b6110b46110af826010546114dd565b61125e565b4780156110c4576110c4476113d8565b601380549060006110d4836118f1565b909155505043601455505b505b801561115b573060009081526001602052604090205461110190826114f2565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111529085815260200190565b60405180910390a35b6001600160a01b03841660009081526001602052604090205461117e9083611551565b6001600160a01b0385166000908152600160205260409020556111c36111a48383611551565b6001600160a01b038516600090815260016020526040902054906114f2565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61120d8585611551565b60405190815260200160405180910390a350505050565b600081848411156112485760405162461bcd60e51b815260040161052291906115c1565b506000611255848661190a565b95945050505050565b6012805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106112a6576112a661191d565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113239190611893565b816001815181106113365761133661191d565b6001600160a01b03928316602091820292909201015260115461135c9130911684610b5e565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac94790611395908590600090869030904290600401611933565b600060405180830381600087803b1580156113af57600080fd5b505af11580156113c3573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b6004546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104f4573d6000803e3d6000fd5b600082600003611424575060006103fe565b6000611430838561180c565b90508261143d85836119a4565b146114945760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610522565b9392505050565b600061149483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611593565b60008183116114ec5782611494565b50919050565b6000806114ff83856118de565b9050838110156114945760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610522565b600061149483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611224565b600081836115b45760405162461bcd60e51b815260040161052291906115c1565b50600061125584866119a4565b600060208083528351808285015260005b818110156115ee578581018301518582016040015282016115d2565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461162457600080fd5b50565b6000806040838503121561163a57600080fd5b82356116458161160f565b946020939093013593505050565b60008060006060848603121561166857600080fd5b83356116738161160f565b925060208401356116838161160f565b929592945050506040919091013590565b6000602082840312156116a657600080fd5b81356114948161160f565b600080604083850312156116c457600080fd5b82356116cf8161160f565b915060208301356116df8161160f565b809150509250929050565b6000602082840312156116fc57600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561175457816000190482111561173a5761173a611703565b8085161561174757918102915b93841c939080029061171e565b509250929050565b60008261176b575060016103fe565b81611778575060006103fe565b816001811461178e5760028114611798576117b4565b60019150506103fe565b60ff8411156117a9576117a9611703565b50506001821b6103fe565b5060208310610133831016604e8410600b84101617156117d7575081810a6103fe565b6117e18383611719565b80600019048211156117f5576117f5611703565b029392505050565b600061149460ff84168361175c565b80820281158282048414176103fe576103fe611703565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561186a57600080fd5b5051919050565b60006020828403121561188357600080fd5b8151801515811461149457600080fd5b6000602082840312156118a557600080fd5b81516114948161160f565b6000806000606084860312156118c557600080fd5b8351925060208401519150604084015190509250925092565b808201808211156103fe576103fe611703565b60006001820161190357611903611703565b5060010190565b818103818111156103fe576103fe611703565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119835784516001600160a01b03168352938301939183019160010161195e565b50506001600160a01b03969096166060850152505050608001529392505050565b6000826119c157634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d365afa27880039228a383b48c7625eadb835767af38c89fcf6351bd29e34f4664736f6c63430008140033
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.