ERC-20
Overview
Max Total Supply
1,000,000 ONE
Holders
121
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheOneERC20
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED /** @TheOneERC20 **/ pragma solidity 0.8.17; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } } contract Ownable is Context { address private _owner; address private _previousOwner; 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 TheOneERC20 is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private bots; mapping (address => uint) private cooldown; uint256 private constant MAX = ~uint256(0); uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 private _feeAddr1; uint256 private _feeAddr2; uint256 private _initialTax=10; uint256 private _finalTax=2; uint256 private _reduceTaxAt=80; uint256 private _startLiquidateAt=30; uint256 private _buyCount=0; address payable private _feeAddrWallet; string private constant _name = "The One"; string private constant _symbol = "ONE"; uint8 private constant _decimals = 6; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; bool private cooldownEnabled = false; uint256 private constant _tTotal = 1_000_000 * 10**_decimals; uint256 private _maxTxAmount = 15_000 * 10**_decimals; uint256 private _maxWalletSize = 30_000 * 10**_decimals; uint256 private _swapThreshold=8_000*10**_decimals; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _feeAddrWallet = payable(_msgSender()); _rOwned[_msgSender()] = _rTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_feeAddrWallet] = 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 tokenFromReflection(_rOwned[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 setCooldownEnabled(bool onoff) external onlyOwner() { cooldownEnabled = onoff; } function addBots(address[] memory bots_) public onlyOwner { for (uint i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function delBots(address[] memory notbot) public onlyOwner { for (uint i = 0; i < notbot.length; i++) { bots[notbot[i]] = false; } } function tokenFromReflection(uint256 rAmount) private view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } 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"); if (from != owner() && to != owner()) { require(!bots[from] && !bots[to]); _feeAddr1 = 1; _feeAddr2 = (_buyCount>=_reduceTaxAt)?_finalTax:_initialTax; if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] && cooldownEnabled) { // Cooldown require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); _buyCount++; } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && from != uniswapV2Pair && swapEnabled && contractTokenBalance>=_swapThreshold && _buyCount>_startLiquidateAt) { swapTokensForEth(_swapThreshold>amount?amount:_swapThreshold); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } }else{ _feeAddr1 = 0; _feeAddr2 = 0; } _tokenTransfer(from,to,amount); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function removeLimits() external onlyOwner{ _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; } function sendETHToFee(uint256 amount) private { _feeAddrWallet.transfer(amount); } function openTrading() external onlyOwner() { require(!tradingOpen,"trading is already open"); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; _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); swapEnabled = true; cooldownEnabled = true; tradingOpen = true; IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); } function _tokenTransfer(address sender, address recipient, uint256 amount) private { _transferStandard(sender, recipient, amount); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeTeam(tTeam); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _takeTeam(uint256 tTeam) private { uint256 currentRate = _getRate(); uint256 rTeam = tTeam.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rTeam); } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } receive() external payable {} function manualswap() external { require(_msgSender() == _feeAddrWallet); uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance); } function manualsend() external { require(_msgSender() == _feeAddrWallet); uint256 contractETHBalance = address(this).balance; sendETHToFee(contractETHBalance); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _feeAddr1, _feeAddr2); uint256 currentRate = _getRate(); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, currentRate); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam); } function _getTValues(uint256 tAmount, uint256 taxFee, uint256 TeamFee) private pure returns (uint256, uint256, uint256) { uint256 tFee = tAmount.mul(taxFee).div(100); uint256 tTeam = tAmount.mul(TeamFee).div(100); uint256 tTransferAmount = tAmount.sub(tFee).sub(tTeam); return (tTransferAmount, tFee, tTeam); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rTeam = tTeam.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rTeam); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } }
{ "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "optimizer": { "enabled": true, "runs": 200 } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"addBots","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address[]","name":"notbot","type":"address[]"}],"name":"delBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setCooldownEnabled","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
6080604052620000126006600a6200032a565b6200002190620f424062000342565b6200002f906000196200035c565b6200003d906000196200037f565b600855600a600c8190556002600d556050600e55601e600f5560006010556013805462ffffff60a81b1916905562000078906006906200032a565b6200008690613a9862000342565b601455620000976006600a6200032a565b620000a59061753062000342565b601555620000b66006600a6200032a565b620000c490611f4062000342565b601655348015620000d457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601180546001600160a01b03191633908117909155600854600091825260026020526040822055600190600590620001566000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155601154909116835291208054909216179055620001b53390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001ef6006600a6200032a565b620001fe90620f424062000342565b60405190815260200160405180910390a362000395565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200026c57816000190482111562000250576200025062000215565b808516156200025e57918102915b93841c939080029062000230565b509250929050565b600082620002855750600162000324565b81620002945750600062000324565b8160018114620002ad5760028114620002b857620002d8565b600191505062000324565b60ff841115620002cc57620002cc62000215565b50506001821b62000324565b5060208310610133831016604e8410600b8410161715620002fd575081810a62000324565b6200030983836200022b565b806000190482111562000320576200032062000215565b0290505b92915050565b60006200033b60ff84168362000274565b9392505050565b808202811582820484141762000324576200032462000215565b6000826200037a57634e487b7160e01b600052601260045260246000fd5b500690565b8181038181111562000324576200032462000215565b611bb980620003a56000396000f3fe60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102df578063c3c8cd80146102ff578063c9567bf914610314578063d34628cc14610329578063dd62ed3e1461034957600080fd5b8063715018a614610261578063751039fc146102765780638da5cb5b1461028b57806395d89b41146102b357600080fd5b8063313ce567116100dc578063313ce567146101ce57806331c2d847146101ea5780635932ead11461020c5780636fc3eaec1461022c57806370a082311461024157600080fd5b806306fdde0314610119578063095ea7b31461015b57806318160ddd1461018b57806323b872dd146101ae57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b50604080518082019091526007815266546865204f6e6560c81b60208201525b604051610152919061167a565b60405180910390f35b34801561016757600080fd5b5061017b6101763660046116ed565b61038f565b6040519015158152602001610152565b34801561019757600080fd5b506101a06103a6565b604051908152602001610152565b3480156101ba57600080fd5b5061017b6101c9366004611719565b6103c6565b3480156101da57600080fd5b5060405160068152602001610152565b3480156101f657600080fd5b5061020a610205366004611770565b61042f565b005b34801561021857600080fd5b5061020a610227366004611843565b6104ce565b34801561023857600080fd5b5061020a610516565b34801561024d57600080fd5b506101a061025c366004611860565b610543565b34801561026d57600080fd5b5061020a610565565b34801561028257600080fd5b5061020a6105d9565b34801561029757600080fd5b506000546040516001600160a01b039091168152602001610152565b3480156102bf57600080fd5b506040805180820190915260038152624f4e4560e81b6020820152610145565b3480156102eb57600080fd5b5061017b6102fa3660046116ed565b61063d565b34801561030b57600080fd5b5061020a61064a565b34801561032057600080fd5b5061020a610680565b34801561033557600080fd5b5061020a610344366004611770565b6109f6565b34801561035557600080fd5b506101a061036436600461187d565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600061039c338484610a88565b5060015b92915050565b60006103b46006600a6119b0565b6103c190620f42406119bf565b905090565b60006103d3848484610bac565b610425843361042085604051806060016040528060288152602001611b5c602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f61565b610a88565b5060019392505050565b6000546001600160a01b031633146104625760405162461bcd60e51b8152600401610459906119d6565b60405180910390fd5b60005b81518110156104ca5760006006600084848151811061048657610486611a0b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806104c281611a21565b915050610465565b5050565b6000546001600160a01b031633146104f85760405162461bcd60e51b8152600401610459906119d6565b60138054911515600160b81b0260ff60b81b19909216919091179055565b6011546001600160a01b0316336001600160a01b03161461053657600080fd5b4761054081610f9b565b50565b6001600160a01b0381166000908152600260205260408120546103a090610fd5565b6000546001600160a01b0316331461058f5760405162461bcd60e51b8152600401610459906119d6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106035760405162461bcd60e51b8152600401610459906119d6565b61060f6006600a6119b0565b61061c90620f42406119bf565b60145561062b6006600a6119b0565b61063890620f42406119bf565b601555565b600061039c338484610bac565b6011546001600160a01b0316336001600160a01b03161461066a57600080fd5b600061067530610543565b905061054081611059565b6000546001600160a01b031633146106aa5760405162461bcd60e51b8152600401610459906119d6565b601354600160a01b900460ff16156107045760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610459565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561074b308261073e6006600a6119b0565b61042090620f42406119bf565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610789573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ad9190611a3a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081e9190611a3a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190611a3a565b601380546001600160a01b0319166001600160a01b039283161790556012541663f305d71947306108bf81610543565b6000806108d46000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561093c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109619190611a57565b50506013805463ffff00ff60a01b198116630101000160a01b1790915560125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ca9190611a85565b6000546001600160a01b03163314610a205760405162461bcd60e51b8152600401610459906119d6565b60005b81518110156104ca57600160066000848481518110610a4457610a44611a0b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a8081611a21565b915050610a23565b6001600160a01b038316610aea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b6001600160a01b038216610b4b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610459565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c105760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610459565b6001600160a01b038216610c725760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610459565b60008111610cd45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610459565b6000546001600160a01b03848116911614801590610d0057506000546001600160a01b03838116911614155b15610f46576001600160a01b03831660009081526006602052604090205460ff16158015610d4757506001600160a01b03821660009081526006602052604090205460ff16155b610d5057600080fd5b6001600a55600e546010541015610d6957600c54610d6d565b600d545b600b556013546001600160a01b038481169116148015610d9b57506012546001600160a01b03838116911614155b8015610dc057506001600160a01b03821660009081526005602052604090205460ff16155b8015610dd55750601354600160b81b900460ff165b15610ea757601454811115610e2c5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610459565b60155481610e3984610543565b610e439190611aa2565b1115610e915760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610459565b60108054906000610ea183611a21565b91905055505b6000610eb230610543565b601354909150600160a81b900460ff16158015610edd57506013546001600160a01b03858116911614155b8015610ef25750601354600160b01b900460ff165b8015610f0057506016548110155b8015610f0f5750600f54601054115b15610f4057610f2e8260165411610f2857601654611059565b82611059565b478015610f3e57610f3e47610f9b565b505b50610f51565b6000600a819055600b555b610f5c8383836111d3565b505050565b60008184841115610f855760405162461bcd60e51b8152600401610459919061167a565b506000610f928486611ab5565b95945050505050565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104ca573d6000803e3d6000fd5b600060085482111561103c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610459565b60006110466111de565b90506110528382611201565b9392505050565b6013805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106110a1576110a1611a0b565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190611a3a565b8160018151811061113157611131611a0b565b6001600160a01b0392831660209182029290920101526012546111579130911684610a88565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611190908590600090869030904290600401611ac8565b600060405180830381600087803b1580156111aa57600080fd5b505af11580156111be573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b610f5c838383611243565b60008060006111eb61133a565b90925090506111fa8282611201565b9250505090565b600061105283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113b9565b600080600080600080611255876113e7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506112879087611444565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546112b69086611486565b6001600160a01b0389166000908152600260205260409020556112d8816114e5565b6112e2848361152f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161132791815260200190565b60405180910390a3505050505050505050565b60085460009081908161134f6006600a6119b0565b61135c90620f42406119bf565b905061138361136d6006600a6119b0565b61137a90620f42406119bf565b60085490611201565b8210156113b0576008546113996006600a6119b0565b6113a690620f42406119bf565b9350935050509091565b90939092509050565b600081836113da5760405162461bcd60e51b8152600401610459919061167a565b506000610f928486611b39565b60008060008060008060008060006114048a600a54600b54611553565b92509250925060006114146111de565b905060008060006114278e8787876115a8565b919e509c509a509598509396509194505050505091939550919395565b600061105283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f61565b6000806114938385611aa2565b9050838110156110525760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610459565b60006114ef6111de565b905060006114fd83836115f8565b3060009081526002602052604090205490915061151a9082611486565b30600090815260026020526040902055505050565b60085461153c9083611444565b60085560095461154c9082611486565b6009555050565b600080808061156d606461156789896115f8565b90611201565b9050600061158060646115678a896115f8565b90506000611598826115928b86611444565b90611444565b9992985090965090945050505050565b60008080806115b788866115f8565b905060006115c588876115f8565b905060006115d388886115f8565b905060006115e5826115928686611444565b939b939a50919850919650505050505050565b60008260000361160a575060006103a0565b600061161683856119bf565b9050826116238583611b39565b146110525760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610459565b600060208083528351808285015260005b818110156116a75785810183015185820160400152820161168b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461054057600080fd5b80356116e8816116c8565b919050565b6000806040838503121561170057600080fd5b823561170b816116c8565b946020939093013593505050565b60008060006060848603121561172e57600080fd5b8335611739816116c8565b92506020840135611749816116c8565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561178357600080fd5b823567ffffffffffffffff8082111561179b57600080fd5b818501915085601f8301126117af57600080fd5b8135818111156117c1576117c161175a565b8060051b604051601f19603f830116810181811085821117156117e6576117e661175a565b60405291825284820192508381018501918883111561180457600080fd5b938501935b828510156118295761181a856116dd565b84529385019392850192611809565b98975050505050505050565b801515811461054057600080fd5b60006020828403121561185557600080fd5b813561105281611835565b60006020828403121561187257600080fd5b8135611052816116c8565b6000806040838503121561189057600080fd5b823561189b816116c8565b915060208301356118ab816116c8565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119075781600019048211156118ed576118ed6118b6565b808516156118fa57918102915b93841c93908002906118d1565b509250929050565b60008261191e575060016103a0565b8161192b575060006103a0565b8160018114611941576002811461194b57611967565b60019150506103a0565b60ff84111561195c5761195c6118b6565b50506001821b6103a0565b5060208310610133831016604e8410600b841016171561198a575081810a6103a0565b61199483836118cc565b80600019048211156119a8576119a86118b6565b029392505050565b600061105260ff84168361190f565b80820281158282048414176103a0576103a06118b6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611a3357611a336118b6565b5060010190565b600060208284031215611a4c57600080fd5b8151611052816116c8565b600080600060608486031215611a6c57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a9757600080fd5b815161105281611835565b808201808211156103a0576103a06118b6565b818103818111156103a0576103a06118b6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b185784516001600160a01b031683529383019391830191600101611af3565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b5657634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220de78308a05e202ee764aca994d73431bf54df59a9605c5810594440746e327bc64736f6c63430008110033
Deployed Bytecode
0x60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102df578063c3c8cd80146102ff578063c9567bf914610314578063d34628cc14610329578063dd62ed3e1461034957600080fd5b8063715018a614610261578063751039fc146102765780638da5cb5b1461028b57806395d89b41146102b357600080fd5b8063313ce567116100dc578063313ce567146101ce57806331c2d847146101ea5780635932ead11461020c5780636fc3eaec1461022c57806370a082311461024157600080fd5b806306fdde0314610119578063095ea7b31461015b57806318160ddd1461018b57806323b872dd146101ae57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b50604080518082019091526007815266546865204f6e6560c81b60208201525b604051610152919061167a565b60405180910390f35b34801561016757600080fd5b5061017b6101763660046116ed565b61038f565b6040519015158152602001610152565b34801561019757600080fd5b506101a06103a6565b604051908152602001610152565b3480156101ba57600080fd5b5061017b6101c9366004611719565b6103c6565b3480156101da57600080fd5b5060405160068152602001610152565b3480156101f657600080fd5b5061020a610205366004611770565b61042f565b005b34801561021857600080fd5b5061020a610227366004611843565b6104ce565b34801561023857600080fd5b5061020a610516565b34801561024d57600080fd5b506101a061025c366004611860565b610543565b34801561026d57600080fd5b5061020a610565565b34801561028257600080fd5b5061020a6105d9565b34801561029757600080fd5b506000546040516001600160a01b039091168152602001610152565b3480156102bf57600080fd5b506040805180820190915260038152624f4e4560e81b6020820152610145565b3480156102eb57600080fd5b5061017b6102fa3660046116ed565b61063d565b34801561030b57600080fd5b5061020a61064a565b34801561032057600080fd5b5061020a610680565b34801561033557600080fd5b5061020a610344366004611770565b6109f6565b34801561035557600080fd5b506101a061036436600461187d565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600061039c338484610a88565b5060015b92915050565b60006103b46006600a6119b0565b6103c190620f42406119bf565b905090565b60006103d3848484610bac565b610425843361042085604051806060016040528060288152602001611b5c602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f61565b610a88565b5060019392505050565b6000546001600160a01b031633146104625760405162461bcd60e51b8152600401610459906119d6565b60405180910390fd5b60005b81518110156104ca5760006006600084848151811061048657610486611a0b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806104c281611a21565b915050610465565b5050565b6000546001600160a01b031633146104f85760405162461bcd60e51b8152600401610459906119d6565b60138054911515600160b81b0260ff60b81b19909216919091179055565b6011546001600160a01b0316336001600160a01b03161461053657600080fd5b4761054081610f9b565b50565b6001600160a01b0381166000908152600260205260408120546103a090610fd5565b6000546001600160a01b0316331461058f5760405162461bcd60e51b8152600401610459906119d6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106035760405162461bcd60e51b8152600401610459906119d6565b61060f6006600a6119b0565b61061c90620f42406119bf565b60145561062b6006600a6119b0565b61063890620f42406119bf565b601555565b600061039c338484610bac565b6011546001600160a01b0316336001600160a01b03161461066a57600080fd5b600061067530610543565b905061054081611059565b6000546001600160a01b031633146106aa5760405162461bcd60e51b8152600401610459906119d6565b601354600160a01b900460ff16156107045760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610459565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561074b308261073e6006600a6119b0565b61042090620f42406119bf565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610789573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ad9190611a3a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081e9190611a3a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190611a3a565b601380546001600160a01b0319166001600160a01b039283161790556012541663f305d71947306108bf81610543565b6000806108d46000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561093c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109619190611a57565b50506013805463ffff00ff60a01b198116630101000160a01b1790915560125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ca9190611a85565b6000546001600160a01b03163314610a205760405162461bcd60e51b8152600401610459906119d6565b60005b81518110156104ca57600160066000848481518110610a4457610a44611a0b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a8081611a21565b915050610a23565b6001600160a01b038316610aea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b6001600160a01b038216610b4b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610459565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c105760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610459565b6001600160a01b038216610c725760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610459565b60008111610cd45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610459565b6000546001600160a01b03848116911614801590610d0057506000546001600160a01b03838116911614155b15610f46576001600160a01b03831660009081526006602052604090205460ff16158015610d4757506001600160a01b03821660009081526006602052604090205460ff16155b610d5057600080fd5b6001600a55600e546010541015610d6957600c54610d6d565b600d545b600b556013546001600160a01b038481169116148015610d9b57506012546001600160a01b03838116911614155b8015610dc057506001600160a01b03821660009081526005602052604090205460ff16155b8015610dd55750601354600160b81b900460ff165b15610ea757601454811115610e2c5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610459565b60155481610e3984610543565b610e439190611aa2565b1115610e915760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610459565b60108054906000610ea183611a21565b91905055505b6000610eb230610543565b601354909150600160a81b900460ff16158015610edd57506013546001600160a01b03858116911614155b8015610ef25750601354600160b01b900460ff165b8015610f0057506016548110155b8015610f0f5750600f54601054115b15610f4057610f2e8260165411610f2857601654611059565b82611059565b478015610f3e57610f3e47610f9b565b505b50610f51565b6000600a819055600b555b610f5c8383836111d3565b505050565b60008184841115610f855760405162461bcd60e51b8152600401610459919061167a565b506000610f928486611ab5565b95945050505050565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104ca573d6000803e3d6000fd5b600060085482111561103c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610459565b60006110466111de565b90506110528382611201565b9392505050565b6013805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106110a1576110a1611a0b565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190611a3a565b8160018151811061113157611131611a0b565b6001600160a01b0392831660209182029290920101526012546111579130911684610a88565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611190908590600090869030904290600401611ac8565b600060405180830381600087803b1580156111aa57600080fd5b505af11580156111be573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b610f5c838383611243565b60008060006111eb61133a565b90925090506111fa8282611201565b9250505090565b600061105283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113b9565b600080600080600080611255876113e7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506112879087611444565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546112b69086611486565b6001600160a01b0389166000908152600260205260409020556112d8816114e5565b6112e2848361152f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161132791815260200190565b60405180910390a3505050505050505050565b60085460009081908161134f6006600a6119b0565b61135c90620f42406119bf565b905061138361136d6006600a6119b0565b61137a90620f42406119bf565b60085490611201565b8210156113b0576008546113996006600a6119b0565b6113a690620f42406119bf565b9350935050509091565b90939092509050565b600081836113da5760405162461bcd60e51b8152600401610459919061167a565b506000610f928486611b39565b60008060008060008060008060006114048a600a54600b54611553565b92509250925060006114146111de565b905060008060006114278e8787876115a8565b919e509c509a509598509396509194505050505091939550919395565b600061105283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f61565b6000806114938385611aa2565b9050838110156110525760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610459565b60006114ef6111de565b905060006114fd83836115f8565b3060009081526002602052604090205490915061151a9082611486565b30600090815260026020526040902055505050565b60085461153c9083611444565b60085560095461154c9082611486565b6009555050565b600080808061156d606461156789896115f8565b90611201565b9050600061158060646115678a896115f8565b90506000611598826115928b86611444565b90611444565b9992985090965090945050505050565b60008080806115b788866115f8565b905060006115c588876115f8565b905060006115d388886115f8565b905060006115e5826115928686611444565b939b939a50919850919650505050505050565b60008260000361160a575060006103a0565b600061161683856119bf565b9050826116238583611b39565b146110525760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610459565b600060208083528351808285015260005b818110156116a75785810183015185820160400152820161168b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461054057600080fd5b80356116e8816116c8565b919050565b6000806040838503121561170057600080fd5b823561170b816116c8565b946020939093013593505050565b60008060006060848603121561172e57600080fd5b8335611739816116c8565b92506020840135611749816116c8565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561178357600080fd5b823567ffffffffffffffff8082111561179b57600080fd5b818501915085601f8301126117af57600080fd5b8135818111156117c1576117c161175a565b8060051b604051601f19603f830116810181811085821117156117e6576117e661175a565b60405291825284820192508381018501918883111561180457600080fd5b938501935b828510156118295761181a856116dd565b84529385019392850192611809565b98975050505050505050565b801515811461054057600080fd5b60006020828403121561185557600080fd5b813561105281611835565b60006020828403121561187257600080fd5b8135611052816116c8565b6000806040838503121561189057600080fd5b823561189b816116c8565b915060208301356118ab816116c8565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119075781600019048211156118ed576118ed6118b6565b808516156118fa57918102915b93841c93908002906118d1565b509250929050565b60008261191e575060016103a0565b8161192b575060006103a0565b8160018114611941576002811461194b57611967565b60019150506103a0565b60ff84111561195c5761195c6118b6565b50506001821b6103a0565b5060208310610133831016604e8410600b841016171561198a575081810a6103a0565b61199483836118cc565b80600019048211156119a8576119a86118b6565b029392505050565b600061105260ff84168361190f565b80820281158282048414176103a0576103a06118b6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611a3357611a336118b6565b5060010190565b600060208284031215611a4c57600080fd5b8151611052816116c8565b600080600060608486031215611a6c57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a9757600080fd5b815161105281611835565b808201808211156103a0576103a06118b6565b818103818111156103a0576103a06118b6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b185784516001600160a01b031683529383019391830191600101611af3565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b5657634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220de78308a05e202ee764aca994d73431bf54df59a9605c5810594440746e327bc64736f6c63430008110033
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.