Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
28,000,000,000 YUDI
Holders
192
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
19,491,663.176722168677140181 YUDIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Yudi
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// __ ___ _ __ _ // \ V / | || \| | // \ /| U || o ) | // |_||___||__/|_| // 玉皇大帝是天庭的最高统治者和中国的第一个皇帝。 // 现在他回来了,开启了一个去中心化货币的新时代。 // // Telegram: https://t.me/yudierc // Website: https://yudi.finance/ // Twitter: https://twitter.com/yuditoken // // SPDX-License-Identifier: MIT pragma solidity ^0.8.7; 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 ); } interface IDEXRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable; } interface IDEXFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); } abstract contract Context { function _msgSender() internal view returns (address payable) { return payable(msg.sender); } function _msgData() internal view returns (bytes memory) { this; return msg.data; } } 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); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract Yudi is IERC20, Ownable { uint256 constant _totalSupply = 28_000_000_000 * (10 ** _decimals); mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) _allowances; IDEXRouter public router; address constant routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; string constant _name = "Yudi"; string constant _symbol = "YUDI"; uint8 constant _decimals = 18; mapping(address => bool) maxBuyExempt; uint256 public maxBuyNumerator = 2; uint256 public maxBuyDenominator = 100; uint256 public maxBuyBlocks = 25; uint256 liquidityFee = 150; uint256 developmentFee = 150; uint256 totalFee = liquidityFee + developmentFee; uint256 feeDenominator = 10000; uint256 public launchedAt; bool isTradingAllowed = false; mapping(address => bool) isFeeExempt; mapping(address => bool) liquidityCreator; mapping(address => bool) liquidityPools; address public uniswapPair; bool public swapBackDisabled = false; bool public onlyBasicTransfer = false; address devWallet; modifier onlyDev() { require(_msgSender() == devWallet, "YUDI: Caller is not a team member"); _; } bool inSwap; modifier swapping() { inSwap = true; _; inSwap = false; } event DistributedFee(uint256 fee); constructor() { router = IDEXRouter(routerAddress); uniswapPair = IDEXFactory(router.factory()).createPair( router.WETH(), address(this) ); liquidityPools[uniswapPair] = true; _allowances[owner()][routerAddress] = type(uint256).max; _allowances[address(this)][routerAddress] = type(uint256).max; isFeeExempt[owner()] = true; isFeeExempt[address(this)] = true; liquidityCreator[owner()] = true; maxBuyExempt[routerAddress] = true; maxBuyExempt[address(this)] = true; maxBuyExempt[owner()] = true; maxBuyExempt[uniswapPair] = true; _balances[owner()] = _totalSupply; emit Transfer(address(0), owner(), _totalSupply); } receive() external payable {} function totalSupply() external pure override returns (uint256) { return _totalSupply; } function decimals() external pure returns (uint8) { return _decimals; } function symbol() external pure returns (string memory) { return _symbol; } function name() external pure returns (string memory) { return _name; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance( address holder, address spender ) external view override returns (uint256) { return _allowances[holder][spender]; } function approve( address spender, uint256 amount ) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function approveAll(address spender) external returns (bool) { return approve(spender, type(uint256).max); } function setDevWallet(address _dev) external onlyOwner { devWallet = _dev; } function withdrawFee(bool disabled, uint256 amountPct) external onlyDev { if (!disabled) { uint256 amount = address(this).balance; payable(devWallet).transfer((amount * amountPct) / 100); } } function beginLaunch() external onlyOwner { require(!isTradingAllowed); isTradingAllowed = true; launchedAt = block.number; } function transfer( address recipient, uint256 amount ) external override returns (bool) { return _transferFrom(msg.sender, recipient, amount); } function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { if (_allowances[sender][msg.sender] != type(uint256).max) { _allowances[sender][msg.sender] = _allowances[sender][msg.sender] - amount; } return _transferFrom(sender, recipient, amount); } function _transferFrom( address sender, address recipient, uint256 amount ) internal returns (bool) { require(sender != address(0), "YUDI: transfer from 0x0"); require(recipient != address(0), "YUDI: transfer to 0x0"); require(amount > 0, "YUDI: Amount must be > zero"); require(_balances[sender] >= amount, "YUDI: Insufficient balance"); if (!launched() && liquidityPools[recipient]) { require(liquidityCreator[sender], "YUDI: Liquidity not added."); launch(); } if (!isTradingAllowed) { require( liquidityCreator[sender] || liquidityCreator[recipient], "YUDI: Trading closed." ); } if (inSwap || onlyBasicTransfer) { return _basicTransfer(sender, recipient, amount); } if ( (block.number - launchedAt) < maxBuyBlocks && liquidityPools[sender] && !maxBuyExempt[recipient] ) { // we are buying tokens uint256 maxAmount = (_totalSupply * maxBuyNumerator) / maxBuyDenominator; require( amount <= maxAmount, "YUDI: Max buy exceeded. Try a lower amount." ); } _balances[sender] = _balances[sender] - amount; uint256 amountReceived = feeExcluded(sender) ? receiveFee(recipient, amount) : amount; if (shouldSwapBack(recipient)) { if (amount > 0) swapBack(); } _balances[recipient] = _balances[recipient] + amountReceived; emit Transfer(sender, recipient, amountReceived); return true; } function launched() internal view returns (bool) { return launchedAt != 0; } function launch() internal { launchedAt = block.number; } function _basicTransfer( address sender, address recipient, uint256 amount ) internal returns (bool) { _balances[sender] = _balances[sender] - amount; _balances[recipient] = _balances[recipient] + amount; emit Transfer(sender, recipient, amount); return true; } function feeExcluded(address sender) internal view returns (bool) { return !isFeeExempt[sender]; } function receiveFee( address recipient, uint256 amount ) internal returns (uint256) { bool sellingOrBuying = liquidityPools[recipient] || liquidityPools[msg.sender]; if (!sellingOrBuying) { return amount; } uint256 feeAmount = (amount * totalFee) / feeDenominator; _balances[address(this)] += feeAmount; return amount - feeAmount; } function shouldSwapBack(address recipient) internal view returns (bool) { return !liquidityPools[msg.sender] && !inSwap && liquidityPools[recipient] && !swapBackDisabled; } function withdrawStuckTokens( address token, uint256 amount ) external onlyDev { if (token == address(0)) { payable(msg.sender).transfer(amount); } else { IERC20(token).transfer(msg.sender, amount); } } function changeSettings( bool _newSwapBackDisabled, bool _newOnlyBasicTransfer ) external onlyDev { swapBackDisabled = _newSwapBackDisabled; onlyBasicTransfer = _newOnlyBasicTransfer; } function swapBack() internal swapping { uint256 tokenBalance = _balances[address(this)]; if (tokenBalance < (1 ether)) return; uint256 amountToSwap = (tokenBalance * 3) / 4; uint256 amountForLiquidity = tokenBalance - amountToSwap; address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); uint256 balanceBefore = address(this).balance; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); uint256 ETHAmountForLiquidity = (address(this).balance - balanceBefore) / 3; router.addLiquidityETH{value: ETHAmountForLiquidity}( address(this), amountForLiquidity, 0, 0, devWallet, block.timestamp ); emit DistributedFee(amountToSwap); } address constant DEAD = 0x000000000000000000000000000000000000dEaD; function getCurrentSupply() public view returns (uint256) { return _totalSupply - balanceOf(address(0)) - balanceOf(DEAD); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "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":"fee","type":"uint256"}],"name":"DistributedFee","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":"holder","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":"spender","type":"address"}],"name":"approveAll","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":"beginLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newSwapBackDisabled","type":"bool"},{"internalType":"bool","name":"_newOnlyBasicTransfer","type":"bool"}],"name":"changeSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getCurrentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"onlyBasicTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_dev","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBackDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"disabled","type":"bool"},{"internalType":"uint256","name":"amountPct","type":"uint256"}],"name":"withdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526002600555606460065560196007556096600881905560098190556200002b9080620004e2565b600a55612710600b55600d805460ff191690556011805461ffff60a01b191690553480156200005957600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000100573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001269190620004fe565b6001600160a01b031663c9c65396600360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000188573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ae9190620004fe565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af1158015620001fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002219190620004fe565b601180546001600160a01b0319166001600160a01b039290921691821790556000908152601060205260408120805460ff1916600117905560001990600290620002736000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120737a250d5630b4cf539739df2c5dacb4c659f2488d80835290845282822094909455308152600283528181209381529290915281206000199055600190600e90620002e46000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600e909252812080549092166001908117909255600f906200033d6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790556004928390527f1fc5acd025f7cc5cf2691b667dba808b5a149bf27192c208fc66f1f0ec4222d78054851660019081179091553082529181208054909416821790935591620003c06000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560115490911681526004909252902080549091166001179055620004156012600a6200062d565b6200042690640684ee18006200063e565b600160006200043d6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020556200046a6000546001600160a01b031690565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620004a46012600a6200062d565b620004b590640684ee18006200063e565b60405190815260200160405180910390a362000658565b634e487b7160e01b600052601160045260246000fd5b80820180821115620004f857620004f8620004cc565b92915050565b6000602082840312156200051157600080fd5b81516001600160a01b03811681146200052957600080fd5b9392505050565b600181815b8085111562000571578160001904821115620005555762000555620004cc565b808516156200056357918102915b93841c939080029062000535565b509250929050565b6000826200058a57506001620004f8565b816200059957506000620004f8565b8160018114620005b25760028114620005bd57620005dd565b6001915050620004f8565b60ff841115620005d157620005d1620004cc565b50506001821b620004f8565b5060208310610133831016604e8410600b841016171562000602575081810a620004f8565b6200060e838362000530565b8060001904821115620006255762000625620004cc565b029392505050565b60006200052960ff84168362000579565b8082028115828204841417620004f857620004f8620004cc565b61186b80620006686000396000f3fe6080604052600436106101a05760003560e01c806375d3a70c116100ec578063bd61f0a61161008a578063dd62ed3e11610064578063dd62ed3e146104a6578063e55c0445146104ec578063f2fde38b1461050c578063f887ea401461052c57600080fd5b8063bd61f0a614610450578063bf56b37114610470578063c816841b1461048657600080fd5b80639897baa0116100c65780639897baa0146103e5578063a9059cbb146103fb578063b76ddfe21461041b578063b85d4f5a1461043b57600080fd5b806375d3a70c146103705780638da5cb5b1461038657806395d89b41146103b857600080fd5b8063313ce5671161015957806358b4dede1161013357806358b4dede146102ee5780636a39d32a1461030f57806370a0823114610325578063715018a61461035b57600080fd5b8063313ce5671461029c5780634f3e1efc146102b85780634f549675146102cd57600080fd5b80630621472c146101ac57806306fdde03146101e1578063095ea7b31461021757806318160ddd146102375780631f53ac021461025a57806323b872dd1461027c57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101cc6101c736600461142b565b61054c565b60405190151581526020015b60405180910390f35b3480156101ed57600080fd5b506040805180820190915260048152635975646960e01b60208201525b6040516101d89190611448565b34801561022357600080fd5b506101cc610232366004611496565b610560565b34801561024357600080fd5b5061024c6105cc565b6040519081526020016101d8565b34801561026657600080fd5b5061027a61027536600461142b565b6105ee565b005b34801561028857600080fd5b506101cc6102973660046114c2565b610643565b3480156102a857600080fd5b50604051601281526020016101d8565b3480156102c457600080fd5b5061024c6106d8565b3480156102d957600080fd5b506011546101cc90600160a81b900460ff1681565b3480156102fa57600080fd5b506011546101cc90600160a01b900460ff1681565b34801561031b57600080fd5b5061024c60075481565b34801561033157600080fd5b5061024c61034036600461142b565b6001600160a01b031660009081526001602052604090205490565b34801561036757600080fd5b5061027a610758565b34801561037c57600080fd5b5061024c60065481565b34801561039257600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101d8565b3480156103c457600080fd5b506040805180820190915260048152635955444960e01b602082015261020a565b3480156103f157600080fd5b5061024c60055481565b34801561040757600080fd5b506101cc610416366004611496565b6107cc565b34801561042757600080fd5b5061027a610436366004611511565b6107d9565b34801561044757600080fd5b5061027a610840565b34801561045c57600080fd5b5061027a61046b366004611496565b61088d565b34801561047c57600080fd5b5061024c600c5481565b34801561049257600080fd5b506011546103a0906001600160a01b031681565b3480156104b257600080fd5b5061024c6104c136600461154a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156104f857600080fd5b5061027a610507366004611578565b610975565b34801561051857600080fd5b5061027a61052736600461142b565b610a02565b34801561053857600080fd5b506003546103a0906001600160a01b031681565b600061055a82600019610560565b92915050565b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105bb9086815260200190565b60405180910390a350600192915050565b60006105da6012600a611690565b6105e990640684ee180061169f565b905090565b6000546001600160a01b031633146106215760405162461bcd60e51b8152600401610618906116b6565b60405180910390fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019146106c3576001600160a01b038416600090815260026020908152604080832033845290915290205461069e9083906116eb565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6106ce848484610aec565b90505b9392505050565b60016020527fb34209a263f6c38fe55f099e9e70f9d67e93982480ff3234a5e0108028ad164d5460008080527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49549091906107356012600a611690565b61074490640684ee180061169f565b61074e91906116eb565b6105e991906116eb565b6000546001600160a01b031633146107825760405162461bcd60e51b8152600401610618906116b6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006106d1338484610aec565b6012546001600160a01b0316336001600160a01b03161461080c5760405162461bcd60e51b8152600401610618906116fe565b6011805461ffff60a01b1916600160a01b9315159390930260ff60a81b191692909217600160a81b91151591909102179055565b6000546001600160a01b0316331461086a5760405162461bcd60e51b8152600401610618906116b6565b600d5460ff161561087a57600080fd5b600d805460ff1916600117905543600c55565b6012546001600160a01b0316336001600160a01b0316146108c05760405162461bcd60e51b8152600401610618906116fe565b6001600160a01b03821661090057604051339082156108fc029083906000818181858888f193505050501580156108fb573d6000803e3d6000fd5b505050565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561094d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb919061173f565b5050565b6012546001600160a01b0316336001600160a01b0316146109a85760405162461bcd60e51b8152600401610618906116fe565b816109715760125447906001600160a01b03166108fc60646109ca858561169f565b6109d4919061175c565b6040518115909202916000818181858888f193505050501580156109fc573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610a2c5760405162461bcd60e51b8152600401610618906116b6565b6001600160a01b038116610a915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610618565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038416610b445760405162461bcd60e51b815260206004820152601760248201527f595544493a207472616e736665722066726f6d203078300000000000000000006044820152606401610618565b6001600160a01b038316610b925760405162461bcd60e51b81526020600482015260156024820152740595544493a207472616e7366657220746f2030783605c1b6044820152606401610618565b60008211610be25760405162461bcd60e51b815260206004820152601b60248201527f595544493a20416d6f756e74206d757374206265203e207a65726f00000000006044820152606401610618565b6001600160a01b038416600090815260016020526040902054821115610c4a5760405162461bcd60e51b815260206004820152601a60248201527f595544493a20496e73756666696369656e742062616c616e63650000000000006044820152606401610618565b600c54158015610c7257506001600160a01b03831660009081526010602052604090205460ff165b15610ce8576001600160a01b0384166000908152600f602052604090205460ff16610cdf5760405162461bcd60e51b815260206004820152601a60248201527f595544493a204c6971756964697479206e6f742061646465642e0000000000006044820152606401610618565b610ce843600c55565b600d5460ff16610d75576001600160a01b0384166000908152600f602052604090205460ff1680610d3157506001600160a01b0383166000908152600f602052604090205460ff165b610d755760405162461bcd60e51b81526020600482015260156024820152742caaa2249d102a3930b234b7339031b637b9b2b21760591b6044820152606401610618565b601254600160a01b900460ff1680610d965750601154600160a81b900460ff165b15610dad57610da6848484610fb9565b90506106d1565b600754600c54610dbd90436116eb565b108015610de257506001600160a01b03841660009081526010602052604090205460ff165b8015610e0757506001600160a01b03831660009081526004602052604090205460ff16155b15610ead5760006006546005546012600a610e229190611690565b610e3190640684ee180061169f565b610e3b919061169f565b610e45919061175c565b905080831115610eab5760405162461bcd60e51b815260206004820152602b60248201527f595544493a204d6178206275792065786365656465642e205472792061206c6f60448201526a3bb2b91030b6b7bab73a1760a91b6064820152608401610618565b505b6001600160a01b038416600090815260016020526040902054610ed19083906116eb565b6001600160a01b038516600090815260016020908152604080832093909355600e90529081205460ff1615610f065782610f10565b610f108484611073565b9050610f1b84611115565b15610f2e578215610f2e57610f2e61117e565b6001600160a01b038416600090815260016020526040902054610f5290829061177e565b6001600160a01b0380861660008181526001602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fa69085815260200190565b60405180910390a3506001949350505050565b6001600160a01b038316600090815260016020526040812054610fdd9083906116eb565b6001600160a01b03808616600090815260016020526040808220939093559085168152205461100d90839061177e565b6001600160a01b0380851660008181526001602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110619086815260200190565b60405180910390a35060019392505050565b6001600160a01b038216600090815260106020526040812054819060ff16806110ab57503360009081526010602052604090205460ff165b9050806110bb578291505061055a565b6000600b54600a54856110ce919061169f565b6110d8919061175c565b306000908152600160205260408120805492935083929091906110fc90849061177e565b9091555061110c905081856116eb565b95945050505050565b3360009081526010602052604081205460ff1615801561113f5750601254600160a01b900460ff16155b801561116357506001600160a01b03821660009081526010602052604090205460ff165b801561055a575050601154600160a01b900460ff1615919050565b6012805460ff60a01b1916600160a01b17905530600090815260016020526040902054670de0b6b3a76400008110156111b75750611404565b600060046111c683600361169f565b6111d0919061175c565b905060006111de82846116eb565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061121857611218611791565b6001600160a01b03928316602091820292909201810191909152600354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611271573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129591906117a7565b816001815181106112a8576112a8611791565b6001600160a01b03928316602091820292909201015260035460405163791ac94760e01b81524792919091169063791ac947906112f29087906000908790309042906004016117c4565b600060405180830381600087803b15801561130c57600080fd5b505af1158015611320573d6000803e3d6000fd5b5050505060006003824761133491906116eb565b61133e919061175c565b60035460125460405163f305d71960e01b81523060048201526024810188905260006044820181905260648201526001600160a01b0391821660848201524260a4820152929350169063f305d71990839060c4016000604051808303818588803b1580156113ab57600080fd5b505af11580156113bf573d6000803e3d6000fd5b50505050507f426d92d9205b7f9b000ceeae9a9dae6553d9c8cdfebb402c5e3dc47656565b64856040516113f591815260200190565b60405180910390a15050505050505b6012805460ff60a01b19169055565b6001600160a01b038116811461142857600080fd5b50565b60006020828403121561143d57600080fd5b81356106d181611413565b600060208083528351808285015260005b8181101561147557858101830151858201604001528201611459565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156114a957600080fd5b82356114b481611413565b946020939093013593505050565b6000806000606084860312156114d757600080fd5b83356114e281611413565b925060208401356114f281611413565b929592945050506040919091013590565b801515811461142857600080fd5b6000806040838503121561152457600080fd5b823561152f81611503565b9150602083013561153f81611503565b809150509250929050565b6000806040838503121561155d57600080fd5b823561156881611413565b9150602083013561153f81611413565b6000806040838503121561158b57600080fd5b82356114b481611503565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156115e75781600019048211156115cd576115cd611596565b808516156115da57918102915b93841c93908002906115b1565b509250929050565b6000826115fe5750600161055a565b8161160b5750600061055a565b8160018114611621576002811461162b57611647565b600191505061055a565b60ff84111561163c5761163c611596565b50506001821b61055a565b5060208310610133831016604e8410600b841016171561166a575081810a61055a565b61167483836115ac565b806000190482111561168857611688611596565b029392505050565b60006106d160ff8416836115ef565b808202811582820484141761055a5761055a611596565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8181038181111561055a5761055a611596565b60208082526021908201527f595544493a2043616c6c6572206973206e6f742061207465616d206d656d62656040820152603960f91b606082015260800190565b60006020828403121561175157600080fd5b81516106d181611503565b60008261177957634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561055a5761055a611596565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156117b957600080fd5b81516106d181611413565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118145784516001600160a01b0316835293830193918301916001016117ef565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ff9918e05c88b0e32cc5332c1818eb5212e712d5ebd7f8361a6685f52b82c03c64736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101a05760003560e01c806375d3a70c116100ec578063bd61f0a61161008a578063dd62ed3e11610064578063dd62ed3e146104a6578063e55c0445146104ec578063f2fde38b1461050c578063f887ea401461052c57600080fd5b8063bd61f0a614610450578063bf56b37114610470578063c816841b1461048657600080fd5b80639897baa0116100c65780639897baa0146103e5578063a9059cbb146103fb578063b76ddfe21461041b578063b85d4f5a1461043b57600080fd5b806375d3a70c146103705780638da5cb5b1461038657806395d89b41146103b857600080fd5b8063313ce5671161015957806358b4dede1161013357806358b4dede146102ee5780636a39d32a1461030f57806370a0823114610325578063715018a61461035b57600080fd5b8063313ce5671461029c5780634f3e1efc146102b85780634f549675146102cd57600080fd5b80630621472c146101ac57806306fdde03146101e1578063095ea7b31461021757806318160ddd146102375780631f53ac021461025a57806323b872dd1461027c57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101cc6101c736600461142b565b61054c565b60405190151581526020015b60405180910390f35b3480156101ed57600080fd5b506040805180820190915260048152635975646960e01b60208201525b6040516101d89190611448565b34801561022357600080fd5b506101cc610232366004611496565b610560565b34801561024357600080fd5b5061024c6105cc565b6040519081526020016101d8565b34801561026657600080fd5b5061027a61027536600461142b565b6105ee565b005b34801561028857600080fd5b506101cc6102973660046114c2565b610643565b3480156102a857600080fd5b50604051601281526020016101d8565b3480156102c457600080fd5b5061024c6106d8565b3480156102d957600080fd5b506011546101cc90600160a81b900460ff1681565b3480156102fa57600080fd5b506011546101cc90600160a01b900460ff1681565b34801561031b57600080fd5b5061024c60075481565b34801561033157600080fd5b5061024c61034036600461142b565b6001600160a01b031660009081526001602052604090205490565b34801561036757600080fd5b5061027a610758565b34801561037c57600080fd5b5061024c60065481565b34801561039257600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101d8565b3480156103c457600080fd5b506040805180820190915260048152635955444960e01b602082015261020a565b3480156103f157600080fd5b5061024c60055481565b34801561040757600080fd5b506101cc610416366004611496565b6107cc565b34801561042757600080fd5b5061027a610436366004611511565b6107d9565b34801561044757600080fd5b5061027a610840565b34801561045c57600080fd5b5061027a61046b366004611496565b61088d565b34801561047c57600080fd5b5061024c600c5481565b34801561049257600080fd5b506011546103a0906001600160a01b031681565b3480156104b257600080fd5b5061024c6104c136600461154a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156104f857600080fd5b5061027a610507366004611578565b610975565b34801561051857600080fd5b5061027a61052736600461142b565b610a02565b34801561053857600080fd5b506003546103a0906001600160a01b031681565b600061055a82600019610560565b92915050565b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105bb9086815260200190565b60405180910390a350600192915050565b60006105da6012600a611690565b6105e990640684ee180061169f565b905090565b6000546001600160a01b031633146106215760405162461bcd60e51b8152600401610618906116b6565b60405180910390fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019146106c3576001600160a01b038416600090815260026020908152604080832033845290915290205461069e9083906116eb565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6106ce848484610aec565b90505b9392505050565b60016020527fb34209a263f6c38fe55f099e9e70f9d67e93982480ff3234a5e0108028ad164d5460008080527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49549091906107356012600a611690565b61074490640684ee180061169f565b61074e91906116eb565b6105e991906116eb565b6000546001600160a01b031633146107825760405162461bcd60e51b8152600401610618906116b6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006106d1338484610aec565b6012546001600160a01b0316336001600160a01b03161461080c5760405162461bcd60e51b8152600401610618906116fe565b6011805461ffff60a01b1916600160a01b9315159390930260ff60a81b191692909217600160a81b91151591909102179055565b6000546001600160a01b0316331461086a5760405162461bcd60e51b8152600401610618906116b6565b600d5460ff161561087a57600080fd5b600d805460ff1916600117905543600c55565b6012546001600160a01b0316336001600160a01b0316146108c05760405162461bcd60e51b8152600401610618906116fe565b6001600160a01b03821661090057604051339082156108fc029083906000818181858888f193505050501580156108fb573d6000803e3d6000fd5b505050565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561094d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb919061173f565b5050565b6012546001600160a01b0316336001600160a01b0316146109a85760405162461bcd60e51b8152600401610618906116fe565b816109715760125447906001600160a01b03166108fc60646109ca858561169f565b6109d4919061175c565b6040518115909202916000818181858888f193505050501580156109fc573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610a2c5760405162461bcd60e51b8152600401610618906116b6565b6001600160a01b038116610a915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610618565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038416610b445760405162461bcd60e51b815260206004820152601760248201527f595544493a207472616e736665722066726f6d203078300000000000000000006044820152606401610618565b6001600160a01b038316610b925760405162461bcd60e51b81526020600482015260156024820152740595544493a207472616e7366657220746f2030783605c1b6044820152606401610618565b60008211610be25760405162461bcd60e51b815260206004820152601b60248201527f595544493a20416d6f756e74206d757374206265203e207a65726f00000000006044820152606401610618565b6001600160a01b038416600090815260016020526040902054821115610c4a5760405162461bcd60e51b815260206004820152601a60248201527f595544493a20496e73756666696369656e742062616c616e63650000000000006044820152606401610618565b600c54158015610c7257506001600160a01b03831660009081526010602052604090205460ff165b15610ce8576001600160a01b0384166000908152600f602052604090205460ff16610cdf5760405162461bcd60e51b815260206004820152601a60248201527f595544493a204c6971756964697479206e6f742061646465642e0000000000006044820152606401610618565b610ce843600c55565b600d5460ff16610d75576001600160a01b0384166000908152600f602052604090205460ff1680610d3157506001600160a01b0383166000908152600f602052604090205460ff165b610d755760405162461bcd60e51b81526020600482015260156024820152742caaa2249d102a3930b234b7339031b637b9b2b21760591b6044820152606401610618565b601254600160a01b900460ff1680610d965750601154600160a81b900460ff165b15610dad57610da6848484610fb9565b90506106d1565b600754600c54610dbd90436116eb565b108015610de257506001600160a01b03841660009081526010602052604090205460ff165b8015610e0757506001600160a01b03831660009081526004602052604090205460ff16155b15610ead5760006006546005546012600a610e229190611690565b610e3190640684ee180061169f565b610e3b919061169f565b610e45919061175c565b905080831115610eab5760405162461bcd60e51b815260206004820152602b60248201527f595544493a204d6178206275792065786365656465642e205472792061206c6f60448201526a3bb2b91030b6b7bab73a1760a91b6064820152608401610618565b505b6001600160a01b038416600090815260016020526040902054610ed19083906116eb565b6001600160a01b038516600090815260016020908152604080832093909355600e90529081205460ff1615610f065782610f10565b610f108484611073565b9050610f1b84611115565b15610f2e578215610f2e57610f2e61117e565b6001600160a01b038416600090815260016020526040902054610f5290829061177e565b6001600160a01b0380861660008181526001602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fa69085815260200190565b60405180910390a3506001949350505050565b6001600160a01b038316600090815260016020526040812054610fdd9083906116eb565b6001600160a01b03808616600090815260016020526040808220939093559085168152205461100d90839061177e565b6001600160a01b0380851660008181526001602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110619086815260200190565b60405180910390a35060019392505050565b6001600160a01b038216600090815260106020526040812054819060ff16806110ab57503360009081526010602052604090205460ff165b9050806110bb578291505061055a565b6000600b54600a54856110ce919061169f565b6110d8919061175c565b306000908152600160205260408120805492935083929091906110fc90849061177e565b9091555061110c905081856116eb565b95945050505050565b3360009081526010602052604081205460ff1615801561113f5750601254600160a01b900460ff16155b801561116357506001600160a01b03821660009081526010602052604090205460ff165b801561055a575050601154600160a01b900460ff1615919050565b6012805460ff60a01b1916600160a01b17905530600090815260016020526040902054670de0b6b3a76400008110156111b75750611404565b600060046111c683600361169f565b6111d0919061175c565b905060006111de82846116eb565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061121857611218611791565b6001600160a01b03928316602091820292909201810191909152600354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611271573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129591906117a7565b816001815181106112a8576112a8611791565b6001600160a01b03928316602091820292909201015260035460405163791ac94760e01b81524792919091169063791ac947906112f29087906000908790309042906004016117c4565b600060405180830381600087803b15801561130c57600080fd5b505af1158015611320573d6000803e3d6000fd5b5050505060006003824761133491906116eb565b61133e919061175c565b60035460125460405163f305d71960e01b81523060048201526024810188905260006044820181905260648201526001600160a01b0391821660848201524260a4820152929350169063f305d71990839060c4016000604051808303818588803b1580156113ab57600080fd5b505af11580156113bf573d6000803e3d6000fd5b50505050507f426d92d9205b7f9b000ceeae9a9dae6553d9c8cdfebb402c5e3dc47656565b64856040516113f591815260200190565b60405180910390a15050505050505b6012805460ff60a01b19169055565b6001600160a01b038116811461142857600080fd5b50565b60006020828403121561143d57600080fd5b81356106d181611413565b600060208083528351808285015260005b8181101561147557858101830151858201604001528201611459565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156114a957600080fd5b82356114b481611413565b946020939093013593505050565b6000806000606084860312156114d757600080fd5b83356114e281611413565b925060208401356114f281611413565b929592945050506040919091013590565b801515811461142857600080fd5b6000806040838503121561152457600080fd5b823561152f81611503565b9150602083013561153f81611503565b809150509250929050565b6000806040838503121561155d57600080fd5b823561156881611413565b9150602083013561153f81611413565b6000806040838503121561158b57600080fd5b82356114b481611503565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156115e75781600019048211156115cd576115cd611596565b808516156115da57918102915b93841c93908002906115b1565b509250929050565b6000826115fe5750600161055a565b8161160b5750600061055a565b8160018114611621576002811461162b57611647565b600191505061055a565b60ff84111561163c5761163c611596565b50506001821b61055a565b5060208310610133831016604e8410600b841016171561166a575081810a61055a565b61167483836115ac565b806000190482111561168857611688611596565b029392505050565b60006106d160ff8416836115ef565b808202811582820484141761055a5761055a611596565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8181038181111561055a5761055a611596565b60208082526021908201527f595544493a2043616c6c6572206973206e6f742061207465616d206d656d62656040820152603960f91b606082015260800190565b60006020828403121561175157600080fd5b81516106d181611503565b60008261177957634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561055a5761055a611596565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156117b957600080fd5b81516106d181611413565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118145784516001600160a01b0316835293830193918301916001016117ef565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ff9918e05c88b0e32cc5332c1818eb5212e712d5ebd7f8361a6685f52b82c03c64736f6c63430008130033
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.