Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
420,690,000,000 TRUMP
Holders
115
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.000000068 TRUMPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TRUMP
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-07-18 */ // SPDX-License-Identifier: MIT /* Website: https://johnmiller.io/ X/Twitter: https://x.com/johnmiller_ERC Telegram: https://t.me/johnmiller_ERC Trump's Alter Ego is John Miller */ pragma solidity ^0.8.22; interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IUniswapV2Router02 { 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); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address from, address to, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 9; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } contract TRUMP is ERC20, Ownable { IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public uniswapPair; address public immutable feeReceiver; uint256 private maxFeeSwap = 8413800000 * 1e9; uint256 private swapThreshold = 1262070000 * 1e9; uint256 private _maxWalletSize = 8413800000 * 1e9; uint32 private _buyCount; uint32 private _sellCount; uint32 private _lastSellBlock; uint32 private _preventSwapBefore = 15; uint32 private _lowerTaxAt = 24; bool private _inSwap; uint256 public buyFee; uint256 public sellFee; mapping (address => bool) private _excludedFromLimits; constructor() ERC20("John Miller", "TRUMP") payable { uint256 totalSupply = 420690000000 * 1e9; uint256 lpSupply = totalSupply * 76 / 100; uint256 caSupply = totalSupply * 24 / 100; feeReceiver = 0x7D567fD720b9804ae3c92052a1f56812E56AaeC6; buyFee = 24; sellFee = 24; _excludedFromLimits[feeReceiver] = true; _excludedFromLimits[msg.sender] = true; _excludedFromLimits[tx.origin] = true; _excludedFromLimits[address(this)] = true; _excludedFromLimits[address(0xdead)] = true; _mint(address(this), caSupply); _mint(msg.sender, lpSupply); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "Transfer from the zero address not allowed."); require(to != address(0), "Transfer to the zero address not allowed."); require(amount > 0, 'Transfer amount must be greater than zero.'); bool excluded = _excludedFromLimits[from] || _excludedFromLimits[to]; require(uniswapPair != address(0) || excluded, "Liquidity pair not yet created."); bool isSell = to == uniswapPair; bool isBuy = from == uniswapPair; if(isBuy && !excluded){ require(balanceOf(to) + amount <= _maxWalletSize || to == address(_router), "Max wallet exceeded"); if(_buyCount <= _lowerTaxAt) _buyCount++; if(_buyCount == _lowerTaxAt){ buyFee = 0; sellFee = 0; } } uint256 contractTokenBalance = balanceOf(address(this)); if (isSell && !_inSwap && contractTokenBalance >= swapThreshold && !excluded && _buyCount > _preventSwapBefore ) { if (block.number > _lastSellBlock) _sellCount = 0; require(_sellCount < 3, "Only 3 sells per block!"); _inSwap = true; swapTokensForEth(min(amount, min(contractTokenBalance, maxFeeSwap))); _inSwap = false; uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) sendETHToFee(contractETHBalance); _sellCount++; _lastSellBlock = uint32(block.number); } uint256 fee = isBuy ? buyFee : sellFee; if (fee > 0 && !excluded && !_inSwap && (isBuy || isSell)) { uint256 fees = amount * fee / 100; if (fees > 0){ super._transfer(from, address(this), fees); amount-= fees; } } super._transfer(from, to, amount); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = _router.WETH(); _approve(address(this), address(_router), tokenAmount); _router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function sendETHToFee(uint256 amount) private { payable(feeReceiver).transfer(amount); } function openTrading() external onlyOwner { uniswapPair = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH()); } function reduceFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner { require(newBuyFee <= 24 && newSellFee <= 24, 'Attempting to set fee higher than initial fee.'); // smaller than or equal to initial fee buyFee = newBuyFee; sellFee = newSellFee; } function removeLimits() external onlyOwner { _maxWalletSize = totalSupply(); } function setStructure(uint256 maxAmount, uint256 minAmount) external onlyOwner { maxFeeSwap = maxAmount; swapThreshold = minAmount; } function transferStuckETH() external onlyOwner { payable(feeReceiver).transfer(address(this).balance); } function transferStuckERC20(IERC20 token) external onlyOwner { token.transfer(feeReceiver, token.balanceOf(address(this))); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"newBuyFee","type":"uint256"},{"internalType":"uint256","name":"newSellFee","type":"uint256"}],"name":"reduceFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxAmount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"setStructure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"transferStuckERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6774c3d285932e80006007819055671183c5fa6fad6000600855600955600a8054600160601b600160a01b03191670180000000f000000000000000000000000179055600b60a09081526a2537b4371026b4b63632b960a91b60c052610120604052600560e09081526405452554d560dc1b610100526003620000838382620003aa565b506004620000928282620003aa565b505050620000af620000a9620001ce60201b60201c565b620001d2565b6816ce3f1e16bf1500005f6064620000c983604c6200048a565b620000d59190620004aa565b90505f6064620000e78460186200048a565b620000f39190620004aa565b737d567fd720b9804ae3c92052a1f56812e56aaec66080526018600b819055600c55600d6020527fd42ef58df966e2b83ee5cded266f8770a2675841c346c7345fbb62341696ecde8054600160ff199182168117909255335f90815260408082208054841685179055328252808220805484168517905530808352908220805484168517905561dead9091527fdc7fafdc41998a74ecacb8f8bd877011aba1f1d03a3a0d37a2e7879a393b1d6a80549092169092179055909150620001b9908262000223565b620001c5338362000223565b505050620004e0565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200027e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620002919190620004ca565b90915550506001600160a01b0382165f9081526020819052604081208054839290620002bf908490620004ca565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200033657607f821691505b6020821081036200035557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200030857805f5260205f20601f840160051c81016020851015620003825750805b601f840160051c820191505b81811015620003a3575f81556001016200038e565b5050505050565b81516001600160401b03811115620003c657620003c66200030d565b620003de81620003d7845462000321565b846200035b565b602080601f83116001811462000414575f8415620003fc5750858301515b5f19600386901b1c1916600185901b1785556200046e565b5f85815260208120601f198616915b82811015620004445788860151825594840194600190910190840162000423565b50858210156200046257878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620004a457620004a462000476565b92915050565b5f82620004c557634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620004a457620004a462000476565b6080516119a66200050e5f395f8181610393015281816105530152818161064c015261144f01526119a65ff3fe60806040526004361061014a575f3560e01c8063751039fc116100b3578063b3f006741161006d578063b3f0067414610382578063c816841b146103b5578063c9567bf9146103d4578063d18afa85146103e8578063dd62ed3e14610407578063f2fde38b1461044b575f80fd5b8063751039fc146102cc5780638da5cb5b146102e057806395d89b4114610311578063a08fc5c714610325578063a457c2d714610344578063a9059cbb14610363575f80fd5b8063313ce56711610104578063313ce567146102165780633950935114610231578063470624021461025057806362aaff3a1461026557806370a0823114610284578063715018a6146102b8575f80fd5b806306fdde0314610155578063095ea7b31461017f57806318160ddd146101ae5780631fac6a3b146101cc57806323b872dd146101e25780632b14ca5614610201575f80fd5b3661015157005b5f80fd5b348015610160575f80fd5b5061016961046a565b6040516101769190611661565b60405180910390f35b34801561018a575f80fd5b5061019e6101993660046116c1565b6104fa565b6040519015158152602001610176565b3480156101b9575f80fd5b506002545b604051908152602001610176565b3480156101d7575f80fd5b506101e0610513565b005b3480156101ed575f80fd5b5061019e6101fc3660046116eb565b61059b565b34801561020c575f80fd5b506101be600c5481565b348015610221575f80fd5b5060405160098152602001610176565b34801561023c575f80fd5b5061019e61024b3660046116c1565b6105be565b34801561025b575f80fd5b506101be600b5481565b348015610270575f80fd5b506101e061027f366004611729565b6105fc565b34801561028f575f80fd5b506101be61029e366004611729565b6001600160a01b03165f9081526020819052604090205490565b3480156102c3575f80fd5b506101e0610726565b3480156102d7575f80fd5b506101e061075b565b3480156102eb575f80fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610176565b34801561031c575f80fd5b5061016961078d565b348015610330575f80fd5b506101e061033f366004611744565b61079c565b34801561034f575f80fd5b5061019e61035e3660046116c1565b610846565b34801561036e575f80fd5b5061019e61037d3660046116c1565b6108d7565b34801561038d575f80fd5b506102f97f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c0575f80fd5b506006546102f9906001600160a01b031681565b3480156103df575f80fd5b506101e06108e4565b3480156103f3575f80fd5b506101e0610402366004611744565b610a94565b348015610412575f80fd5b506101be610421366004611764565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610456575f80fd5b506101e0610465366004611729565b610ac9565b6060600380546104799061179b565b80601f01602080910402602001604051908101604052809291908181526020018280546104a59061179b565b80156104f05780601f106104c7576101008083540402835291602001916104f0565b820191905f5260205f20905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b5f33610507818585610b61565b60019150505b92915050565b6005546001600160a01b031633146105465760405162461bcd60e51b815260040161053d906117d3565b60405180910390fd5b6040516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016904780156108fc02915f818181858888f19350505050158015610598573d5f803e3d5ffd5b50565b5f336105a8858285610c84565b6105b3858585610d14565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490919061050790829086906105f790879061181c565b610b61565b6005546001600160a01b031633146106265760405162461bcd60e51b815260040161053d906117d3565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a0823190602401602060405180830381865afa158015610692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b6919061182f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af11580156106fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107229190611846565b5050565b6005546001600160a01b031633146107505760405162461bcd60e51b815260040161053d906117d3565b6107595f611251565b565b6005546001600160a01b031633146107855760405162461bcd60e51b815260040161053d906117d3565b600254600955565b6060600480546104799061179b565b6005546001600160a01b031633146107c65760405162461bcd60e51b815260040161053d906117d3565b601882111580156107d8575060188111155b61083b5760405162461bcd60e51b815260206004820152602e60248201527f417474656d7074696e6720746f2073657420666565206869676865722074686160448201526d371034b734ba34b0b6103332b29760911b606482015260840161053d565b600b91909155600c55565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108ca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053d565b6105b38286868403610b61565b5f33610507818585610d14565b6005546001600160a01b0316331461090e5760405162461bcd60e51b815260040161053d906117d3565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109829190611865565b6001600160a01b031663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a059190611865565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a729190611865565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610abe5760405162461bcd60e51b815260040161053d906117d3565b600791909155600855565b6005546001600160a01b03163314610af35760405162461bcd60e51b815260040161053d906117d3565b6001600160a01b038116610b585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053d565b61059881611251565b6001600160a01b038316610bc35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053d565b6001600160a01b038216610c245760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610d0e5781811015610d015760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161053d565b610d0e8484848403610b61565b50505050565b6001600160a01b038316610d7e5760405162461bcd60e51b815260206004820152602b60248201527f5472616e736665722066726f6d20746865207a65726f2061646472657373206e60448201526a37ba1030b63637bbb2b21760a91b606482015260840161053d565b6001600160a01b038216610de65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220746f20746865207a65726f2061646472657373206e6f746044820152681030b63637bbb2b21760b91b606482015260840161053d565b5f8111610e485760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152693a3430b7103d32b9379760b11b606482015260840161053d565b6001600160a01b0383165f908152600d602052604081205460ff1680610e8557506001600160a01b0383165f908152600d602052604090205460ff165b6006549091506001600160a01b0316151580610e9e5750805b610eea5760405162461bcd60e51b815260206004820152601f60248201527f4c69717569646974792070616972206e6f742079657420637265617465642e00604482015260640161053d565b6006546001600160a01b03908116848216811491861614808015610f0c575082155b156110175760095484610f33876001600160a01b03165f9081526020819052604090205490565b610f3d919061181c565b111580610f6657506001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d145b610fa85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161053d565b600a5463ffffffff600160801b82048116911611610ff557600a805463ffffffff16905f610fd583611880565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b600a5463ffffffff600160801b82048116911603611017575f600b819055600c555b305f9081526020819052604090205482801561103d5750600a54600160a01b900460ff16155b801561104b57506008548110155b8015611055575083155b80156110715750600a5463ffffffff600160601b820481169116115b156111b757600a5468010000000000000000900463ffffffff164311156110a457600a805467ffffffff00000000191690555b600a54600364010000000090910463ffffffff16106111055760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b21000000000000000000604482015260640161053d565b600a805460ff60a01b1916600160a01b17905560075461113a906111359087906111309085906112a2565b6112a2565b6112b9565b600a805460ff60a01b191690554780156111575761115781611442565b600a8054640100000000900463ffffffff1690600461117583611880565b91906101000a81548163ffffffff021916908363ffffffff1602179055505043600a60086101000a81548163ffffffff021916908363ffffffff160217905550505b5f826111c557600c546111c9565b600b545b90505f811180156111d8575084155b80156111ee5750600a54600160a01b900460ff16155b80156111fe575082806111fe5750835b1561123c575f606461121083896118a2565b61121a91906118b9565b9050801561123a5761122d893083611495565b61123781886118d8565b96505b505b611247888888611495565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8183116112b057826112b2565b815b9392505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106112ec576112ec6118eb565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113809190611865565b81600181518110611393576113936118eb565b60200260200101906001600160a01b031690816001600160a01b0316815250506113d230737a250d5630b4cf539739df2c5dacb4c659f2488d84610b61565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906114119085905f908690309042906004016118ff565b5f604051808303815f87803b158015611428575f80fd5b505af115801561143a573d5f803e3d5ffd5b505050505050565b6040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169082156108fc029083905f818181858888f19350505050158015610722573d5f803e3d5ffd5b6001600160a01b0383166114f95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053d565b6001600160a01b03821661155b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053d565b6001600160a01b0383165f90815260208190526040902054818110156115d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053d565b6001600160a01b038085165f9081526020819052604080822085850390559185168152908120805484929061160890849061181c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161165491815260200190565b60405180910390a3610d0e565b5f602080835283518060208501525f5b8181101561168d57858101830151858201604001528201611671565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610598575f80fd5b5f80604083850312156116d2575f80fd5b82356116dd816116ad565b946020939093013593505050565b5f805f606084860312156116fd575f80fd5b8335611708816116ad565b92506020840135611718816116ad565b929592945050506040919091013590565b5f60208284031215611739575f80fd5b81356112b2816116ad565b5f8060408385031215611755575f80fd5b50508035926020909101359150565b5f8060408385031215611775575f80fd5b8235611780816116ad565b91506020830135611790816116ad565b809150509250929050565b600181811c908216806117af57607f821691505b6020821081036117cd57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050d5761050d611808565b5f6020828403121561183f575f80fd5b5051919050565b5f60208284031215611856575f80fd5b815180151581146112b2575f80fd5b5f60208284031215611875575f80fd5b81516112b2816116ad565b5f63ffffffff80831681810361189857611898611808565b6001019392505050565b808202811582820484141761050d5761050d611808565b5f826118d357634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561050d5761050d611808565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561194f5784516001600160a01b03168352938301939183019160010161192a565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212202b185e12b5ede4648d99347d2dfe7526f29408cdd7e5159a3d179a6ad1733b0f64736f6c63430008160033
Deployed Bytecode
0x60806040526004361061014a575f3560e01c8063751039fc116100b3578063b3f006741161006d578063b3f0067414610382578063c816841b146103b5578063c9567bf9146103d4578063d18afa85146103e8578063dd62ed3e14610407578063f2fde38b1461044b575f80fd5b8063751039fc146102cc5780638da5cb5b146102e057806395d89b4114610311578063a08fc5c714610325578063a457c2d714610344578063a9059cbb14610363575f80fd5b8063313ce56711610104578063313ce567146102165780633950935114610231578063470624021461025057806362aaff3a1461026557806370a0823114610284578063715018a6146102b8575f80fd5b806306fdde0314610155578063095ea7b31461017f57806318160ddd146101ae5780631fac6a3b146101cc57806323b872dd146101e25780632b14ca5614610201575f80fd5b3661015157005b5f80fd5b348015610160575f80fd5b5061016961046a565b6040516101769190611661565b60405180910390f35b34801561018a575f80fd5b5061019e6101993660046116c1565b6104fa565b6040519015158152602001610176565b3480156101b9575f80fd5b506002545b604051908152602001610176565b3480156101d7575f80fd5b506101e0610513565b005b3480156101ed575f80fd5b5061019e6101fc3660046116eb565b61059b565b34801561020c575f80fd5b506101be600c5481565b348015610221575f80fd5b5060405160098152602001610176565b34801561023c575f80fd5b5061019e61024b3660046116c1565b6105be565b34801561025b575f80fd5b506101be600b5481565b348015610270575f80fd5b506101e061027f366004611729565b6105fc565b34801561028f575f80fd5b506101be61029e366004611729565b6001600160a01b03165f9081526020819052604090205490565b3480156102c3575f80fd5b506101e0610726565b3480156102d7575f80fd5b506101e061075b565b3480156102eb575f80fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610176565b34801561031c575f80fd5b5061016961078d565b348015610330575f80fd5b506101e061033f366004611744565b61079c565b34801561034f575f80fd5b5061019e61035e3660046116c1565b610846565b34801561036e575f80fd5b5061019e61037d3660046116c1565b6108d7565b34801561038d575f80fd5b506102f97f0000000000000000000000007d567fd720b9804ae3c92052a1f56812e56aaec681565b3480156103c0575f80fd5b506006546102f9906001600160a01b031681565b3480156103df575f80fd5b506101e06108e4565b3480156103f3575f80fd5b506101e0610402366004611744565b610a94565b348015610412575f80fd5b506101be610421366004611764565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610456575f80fd5b506101e0610465366004611729565b610ac9565b6060600380546104799061179b565b80601f01602080910402602001604051908101604052809291908181526020018280546104a59061179b565b80156104f05780601f106104c7576101008083540402835291602001916104f0565b820191905f5260205f20905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b5f33610507818585610b61565b60019150505b92915050565b6005546001600160a01b031633146105465760405162461bcd60e51b815260040161053d906117d3565b60405180910390fd5b6040516001600160a01b037f0000000000000000000000007d567fd720b9804ae3c92052a1f56812e56aaec616904780156108fc02915f818181858888f19350505050158015610598573d5f803e3d5ffd5b50565b5f336105a8858285610c84565b6105b3858585610d14565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490919061050790829086906105f790879061181c565b610b61565b6005546001600160a01b031633146106265760405162461bcd60e51b815260040161053d906117d3565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb907f0000000000000000000000007d567fd720b9804ae3c92052a1f56812e56aaec69083906370a0823190602401602060405180830381865afa158015610692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b6919061182f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af11580156106fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107229190611846565b5050565b6005546001600160a01b031633146107505760405162461bcd60e51b815260040161053d906117d3565b6107595f611251565b565b6005546001600160a01b031633146107855760405162461bcd60e51b815260040161053d906117d3565b600254600955565b6060600480546104799061179b565b6005546001600160a01b031633146107c65760405162461bcd60e51b815260040161053d906117d3565b601882111580156107d8575060188111155b61083b5760405162461bcd60e51b815260206004820152602e60248201527f417474656d7074696e6720746f2073657420666565206869676865722074686160448201526d371034b734ba34b0b6103332b29760911b606482015260840161053d565b600b91909155600c55565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108ca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053d565b6105b38286868403610b61565b5f33610507818585610d14565b6005546001600160a01b0316331461090e5760405162461bcd60e51b815260040161053d906117d3565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109829190611865565b6001600160a01b031663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a059190611865565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a729190611865565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610abe5760405162461bcd60e51b815260040161053d906117d3565b600791909155600855565b6005546001600160a01b03163314610af35760405162461bcd60e51b815260040161053d906117d3565b6001600160a01b038116610b585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053d565b61059881611251565b6001600160a01b038316610bc35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053d565b6001600160a01b038216610c245760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610d0e5781811015610d015760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161053d565b610d0e8484848403610b61565b50505050565b6001600160a01b038316610d7e5760405162461bcd60e51b815260206004820152602b60248201527f5472616e736665722066726f6d20746865207a65726f2061646472657373206e60448201526a37ba1030b63637bbb2b21760a91b606482015260840161053d565b6001600160a01b038216610de65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220746f20746865207a65726f2061646472657373206e6f746044820152681030b63637bbb2b21760b91b606482015260840161053d565b5f8111610e485760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152693a3430b7103d32b9379760b11b606482015260840161053d565b6001600160a01b0383165f908152600d602052604081205460ff1680610e8557506001600160a01b0383165f908152600d602052604090205460ff165b6006549091506001600160a01b0316151580610e9e5750805b610eea5760405162461bcd60e51b815260206004820152601f60248201527f4c69717569646974792070616972206e6f742079657420637265617465642e00604482015260640161053d565b6006546001600160a01b03908116848216811491861614808015610f0c575082155b156110175760095484610f33876001600160a01b03165f9081526020819052604090205490565b610f3d919061181c565b111580610f6657506001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d145b610fa85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161053d565b600a5463ffffffff600160801b82048116911611610ff557600a805463ffffffff16905f610fd583611880565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b600a5463ffffffff600160801b82048116911603611017575f600b819055600c555b305f9081526020819052604090205482801561103d5750600a54600160a01b900460ff16155b801561104b57506008548110155b8015611055575083155b80156110715750600a5463ffffffff600160601b820481169116115b156111b757600a5468010000000000000000900463ffffffff164311156110a457600a805467ffffffff00000000191690555b600a54600364010000000090910463ffffffff16106111055760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b21000000000000000000604482015260640161053d565b600a805460ff60a01b1916600160a01b17905560075461113a906111359087906111309085906112a2565b6112a2565b6112b9565b600a805460ff60a01b191690554780156111575761115781611442565b600a8054640100000000900463ffffffff1690600461117583611880565b91906101000a81548163ffffffff021916908363ffffffff1602179055505043600a60086101000a81548163ffffffff021916908363ffffffff160217905550505b5f826111c557600c546111c9565b600b545b90505f811180156111d8575084155b80156111ee5750600a54600160a01b900460ff16155b80156111fe575082806111fe5750835b1561123c575f606461121083896118a2565b61121a91906118b9565b9050801561123a5761122d893083611495565b61123781886118d8565b96505b505b611247888888611495565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8183116112b057826112b2565b815b9392505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106112ec576112ec6118eb565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113809190611865565b81600181518110611393576113936118eb565b60200260200101906001600160a01b031690816001600160a01b0316815250506113d230737a250d5630b4cf539739df2c5dacb4c659f2488d84610b61565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906114119085905f908690309042906004016118ff565b5f604051808303815f87803b158015611428575f80fd5b505af115801561143a573d5f803e3d5ffd5b505050505050565b6040516001600160a01b037f0000000000000000000000007d567fd720b9804ae3c92052a1f56812e56aaec6169082156108fc029083905f818181858888f19350505050158015610722573d5f803e3d5ffd5b6001600160a01b0383166114f95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053d565b6001600160a01b03821661155b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053d565b6001600160a01b0383165f90815260208190526040902054818110156115d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053d565b6001600160a01b038085165f9081526020819052604080822085850390559185168152908120805484929061160890849061181c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161165491815260200190565b60405180910390a3610d0e565b5f602080835283518060208501525f5b8181101561168d57858101830151858201604001528201611671565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610598575f80fd5b5f80604083850312156116d2575f80fd5b82356116dd816116ad565b946020939093013593505050565b5f805f606084860312156116fd575f80fd5b8335611708816116ad565b92506020840135611718816116ad565b929592945050506040919091013590565b5f60208284031215611739575f80fd5b81356112b2816116ad565b5f8060408385031215611755575f80fd5b50508035926020909101359150565b5f8060408385031215611775575f80fd5b8235611780816116ad565b91506020830135611790816116ad565b809150509250929050565b600181811c908216806117af57607f821691505b6020821081036117cd57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050d5761050d611808565b5f6020828403121561183f575f80fd5b5051919050565b5f60208284031215611856575f80fd5b815180151581146112b2575f80fd5b5f60208284031215611875575f80fd5b81516112b2816116ad565b5f63ffffffff80831681810361189857611898611808565b6001019392505050565b808202811582820484141761050d5761050d611808565b5f826118d357634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561050d5761050d611808565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561194f5784516001600160a01b03168352938301939183019160010161192a565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212202b185e12b5ede4648d99347d2dfe7526f29408cdd7e5159a3d179a6ad1733b0f64736f6c63430008160033
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.