ERC-20
Overview
Max Total Supply
108,000,000 LUFFY
Holders
10
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
52,758,932.718385583 LUFFYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LUFFY
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /** Telegram: https://t.me/LuffyERCHuntFor1Peth Twitter: http://www.x.com/luffyerctoken Website: https://www.luffyerc20.com **/ pragma solidity 0.8.20; // Uncomment this line to use console.log // import "hardhat/console.sol"; import './interfaces/IERC20.sol'; import './interfaces/IUniswapV2Router02.sol'; import './interfaces/IUniswapV2Factory.sol'; import './libraries/SafeMath.sol'; import './Ownable.sol'; contract LUFFY is Context, IERC20, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _buyerMap; mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled = false; address payable private _taxWallet; uint256 private _initialBuyTax = 20; uint256 private _initialSellTax = 25; uint256 private _finalBuyTax = 1; uint256 private _finalSellTax = 2; uint256 private _reduceBuyTaxAt = 24; uint256 private _reduceSellTaxAt = 23; uint256 private _preventSwapBefore = 15; uint256 private _buyCount = 0; uint8 private constant _decimals = 9; uint256 private constant _ttlTokens = 108000000 * 10 ** _decimals; string private constant _name = unicode'StrawHatLuffyZoroNamiSanji'; string private constant _symbol = unicode'LUFFY'; uint256 public _maxTxAmount = 1900000 * 10 ** _decimals; uint256 public _maxWalletSize = 1900000 * 10 ** _decimals; uint256 public _taxSwapThreshold = 320000 * 10 ** _decimals; uint256 public _maxTaxSwap = 1200000 * 10 ** _decimals; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor() { _taxWallet = payable(_msgSender()); _balances[_msgSender()] = _ttlTokens; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_taxWallet] = true; emit Transfer(address(0), _msgSender(), _ttlTokens); } 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 _ttlTokens; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, 'ERC20: transfer amount exceeds allowance' ) ); return true; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), 'ERC20: approve from the zero address'); require(spender != address(0), 'ERC20: approve to the zero address'); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), 'ERC20: transfer from the zero address'); require(to != address(0), 'ERC20: transfer to the zero address'); require(amount > 0, 'Transfer amount must be greater than zero'); uint256 taxAmount = 0; if (from != owner() && to != owner()) { if (transferDelayEnabled) { if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) { require( _holderLastTransferTimestamp[tx.origin] < block.number, 'Only one transfer per block allowed.' ); _holderLastTransferTimestamp[tx.origin] = block.number; } } if ( from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to] ) { require(amount <= _maxTxAmount, 'Exceeds the _maxTxAmount.'); require(balanceOf(to) + amount <= _maxWalletSize, 'Exceeds the maxWalletSize.'); if (_buyCount < _preventSwapBefore) { require(!isContract(to)); } _buyCount++; _buyerMap[to] = true; } taxAmount = amount .mul((_buyCount > _reduceBuyTaxAt) ? _finalBuyTax : _initialBuyTax) .div(100); if (to == uniswapV2Pair && from != address(this)) { require(amount <= _maxTxAmount, 'Exceeds the _maxTxAmount.'); taxAmount = amount .mul((_buyCount > _reduceSellTaxAt) ? _finalSellTax : _initialSellTax) .div(100); require(_buyCount > _preventSwapBefore || _buyerMap[from], 'Seller is not buyer'); } uint256 contractTokenBalance = balanceOf(address(this)); if ( !inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold && _buyCount > _preventSwapBefore ) { swapTokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap))); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } if (taxAmount > 0) { _balances[address(this)] = _balances[address(this)].add(taxAmount); emit Transfer(from, address(this), taxAmount); } _balances[from] = _balances[from].sub(amount); _balances[to] = _balances[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function min(uint256 a, uint256 b) private pure returns (uint256) { return (a > b) ? b : a; } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { if (tokenAmount == 0) { return; } if (!tradingOpen) { return; } address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function removeLimits() external onlyOwner { _maxTxAmount = _ttlTokens; _maxWalletSize = _ttlTokens; transferDelayEnabled = false; emit MaxTxAmountUpdated(_ttlTokens); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function openTrading() external onlyOwner { require(!tradingOpen, 'pair is already created'); uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _approve(address(this), address(uniswapV2Router), _ttlTokens); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); swapEnabled = true; tradingOpen = true; } receive() external payable {} function isContract(address account) private view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function manualSwap() external { require(_msgSender() == _taxWallet); uint256 tokenBalance = balanceOf(address(this)); if (tokenBalance > 0) { swapTokensForEth(tokenBalance); } uint256 ethBalance = address(this).balance; if (ethBalance > 0) { sendETHToFee(ethBalance); } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.0; 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); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.20; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.20; 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); }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.16; // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) 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; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.20; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } 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); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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
60806040526006805460ff1916905560146007556019600855600160099081556002600a9081556018600b556017600c55600f600d555f600e5562000045919062000342565b6200005490621cfde062000359565b600f55620000656009600a62000342565b6200007490621cfde062000359565b601055620000856009600a62000342565b62000094906204e20062000359565b601155620000a56009600a62000342565b620000b49062124f8062000359565b6012556014805461ffff60a81b19169055348015620000d1575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b0319166101003302179055620001376009600a62000342565b620001479063066ff30062000359565b335f908152600160208190526040822092909255600390620001705f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001d33390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200020c6009600a62000342565b6200021c9063066ff30062000359565b60405190815260200160405180910390a362000373565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200028757815f19048211156200026b576200026b62000233565b808516156200027957918102915b93841c93908002906200024c565b509250929050565b5f826200029f575060016200033c565b81620002ad57505f6200033c565b8160018114620002c65760028114620002d157620002f1565b60019150506200033c565b60ff841115620002e557620002e562000233565b50506001821b6200033c565b5060208310610133831016604e8410600b841016171562000316575081810a6200033c565b62000322838362000247565b805f190482111562000338576200033862000233565b0290505b92915050565b5f6200035260ff8416836200028f565b9392505050565b80820281158282048414176200033c576200033c62000233565b611b1f80620003815f395ff3fe608060405260043610610140575f3560e01c8063751039fc116100bb578063a9059cbb11610071578063c876d0b911610057578063c876d0b91461037d578063c9567bf914610396578063dd62ed3e146103aa575f80fd5b8063a9059cbb14610349578063bf474bed14610368575f80fd5b80638da5cb5b116100a15780638da5cb5b146102c95780638f9a55c0146102ef57806395d89b4114610304575f80fd5b8063751039fc146102a05780637d1db4a5146102b4575f80fd5b806323b872dd1161011057806351bc3c85116100f657806351bc3c851461024257806370a0823114610258578063715018a61461028c575f80fd5b806323b872dd14610208578063313ce56714610227575f80fd5b806306fdde031461014b578063095ea7b3146101a25780630faee56f146101d157806318160ddd146101f4575f80fd5b3661014757005b5f80fd5b348015610156575f80fd5b5060408051808201909152601a81527f53747261774861744c756666795a6f726f4e616d6953616e6a6900000000000060208201525b6040516101999190611747565b60405180910390f35b3480156101ad575f80fd5b506101c16101bc3660046117a9565b6103ee565b6040519015158152602001610199565b3480156101dc575f80fd5b506101e660125481565b604051908152602001610199565b3480156101ff575f80fd5b506101e6610404565b348015610213575f80fd5b506101c16102223660046117d3565b610424565b348015610232575f80fd5b5060405160098152602001610199565b34801561024d575f80fd5b5061025661048b565b005b348015610263575f80fd5b506101e6610272366004611811565b6001600160a01b03165f9081526001602052604090205490565b348015610297575f80fd5b506102566104e1565b3480156102ab575f80fd5b50610256610594565b3480156102bf575f80fd5b506101e6600f5481565b3480156102d4575f80fd5b505f546040516001600160a01b039091168152602001610199565b3480156102fa575f80fd5b506101e660105481565b34801561030f575f80fd5b5060408051808201909152600581527f4c55464659000000000000000000000000000000000000000000000000000000602082015261018c565b348015610354575f80fd5b506101c16103633660046117a9565b61067f565b348015610373575f80fd5b506101e660115481565b348015610388575f80fd5b506006546101c19060ff1681565b3480156103a1575f80fd5b5061025661068b565b3480156103b5575f80fd5b506101e66103c436600461182c565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6103fa338484610af1565b5060015b92915050565b5f6104116009600a611957565b61041f9063066ff300611965565b905090565b5f610430848484610c48565b610481843361047c85604051806060016040528060288152602001611ac2602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611358565b610af1565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b0316146104af575f80fd5b305f9081526001602052604090205480156104cd576104cd81611390565b4780156104dd576104dd8161154b565b5050565b5f546001600160a01b0316331461053f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f805473ffffffffffffffffffffffffffffffffffffffff19169055565b5f546001600160a01b031633146105ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610536565b6105f96009600a611957565b6106079063066ff300611965565b600f556106166009600a611957565b6106249063066ff300611965565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61065e6009600a611957565b61066c9063066ff300611965565b60405190815260200160405180910390a1565b5f6103fa338484610c48565b5f546001600160a01b031633146106e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610536565b601454600160a01b900460ff161561073e5760405162461bcd60e51b815260206004820152601760248201527f7061697220697320616c726561647920637265617465640000000000000000006044820152606401610536565b6013805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107949030906107866009600a611957565b61047c9063066ff300611965565b60135f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610808919061197c565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b919061197c565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610911919061197c565b601480546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556013541663f305d7194730610965816001600160a01b03165f9081526001602052604090205490565b5f806109785f546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109f6573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a1b9190611997565b50506014546013546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610a89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aad91906119c2565b50601480547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff16760100010000000000000000000000000000000000000000179055565b6001600160a01b038316610b6c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610536565b6001600160a01b038216610be85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610536565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cc45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610536565b6001600160a01b038216610d405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610536565b5f8111610db55760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610536565b5f80546001600160a01b03858116911614801590610de057505f546001600160a01b03848116911614155b1561121b5760065460ff1615610eb5576013546001600160a01b03848116911614801590610e1c57506014546001600160a01b03848116911614155b15610eb557325f908152600560205260409020544311610ea35760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f60448201527f7765642e000000000000000000000000000000000000000000000000000000006064820152608401610536565b325f9081526005602052604090204390555b6014546001600160a01b038581169116148015610ee057506013546001600160a01b03848116911614155b8015610f0457506001600160a01b0383165f9081526003602052604090205460ff16155b1561102357600f54821115610f5b5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610536565b60105482610f7d856001600160a01b03165f9081526001602052604090205490565b610f8791906119e1565b1115610fd55760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610536565b600d54600e541015610fec57823b15610fec575f80fd5b600e8054905f610ffb836119f4565b90915550506001600160a01b0383165f908152600460205260409020805460ff191660011790555b61104f6064611049600b54600e541161103e57600754611042565b6009545b8590611586565b90611627565b6014549091506001600160a01b03848116911614801561107857506001600160a01b0384163014155b1561116b57600f548211156110cf5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610536565b6110f46064611049600c54600e54116110ea57600854611042565b600a548590611586565b9050600d54600e54118061111f57506001600160a01b0384165f9081526004602052604090205460ff165b61116b5760405162461bcd60e51b815260206004820152601360248201527f53656c6c6572206973206e6f74206275796572000000000000000000000000006044820152606401610536565b305f90815260016020526040902054601454600160a81b900460ff161580156111a157506014546001600160a01b038581169116145b80156111c95750601454760100000000000000000000000000000000000000000000900460ff165b80156111d6575060115481115b80156111e55750600d54600e54115b1561121957611207611202846111fd84601254611668565b611668565b611390565b478015611217576112174761154b565b505b505b801561129357305f9081526001602052604090205461123a908261167c565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061128a9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546112b590836116da565b6001600160a01b0385165f908152600160205260409020556112f86112da83836116da565b6001600160a01b0385165f908152600160205260409020549061167c565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61134185856116da565b60405190815260200160405180910390a350505050565b5f818484111561137b5760405162461bcd60e51b81526004016105369190611747565b505f6113878486611a0c565b95945050505050565b6014805460ff60a81b1916600160a81b179055801561153b57601454600160a01b900460ff161561153b576040805160028082526060820183525f9260208301908036833701905050905030815f815181106113ee576113ee611a1f565b6001600160a01b03928316602091820292909201810191909152601354604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa15801561145e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611482919061197c565b8160018151811061149557611495611a1f565b6001600160a01b0392831660209182029290920101526013546114bb9130911684610af1565b6013546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac9479061150c9085905f90869030904290600401611a33565b5f604051808303815f87803b158015611523575f80fd5b505af1158015611535573d5f803e3d5ffd5b50505050505b506014805460ff60a81b19169055565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f193505050501580156104dd573d5f803e3d5ffd5b5f825f0361159557505f6103fe565b5f6115a08385611965565b9050826115ad8583611aa2565b146116205760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610536565b9392505050565b5f61162083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061171b565b5f8183116116765782611620565b50919050565b5f8061168883856119e1565b9050838110156116205760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610536565b5f61162083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611358565b5f818361173b5760405162461bcd60e51b81526004016105369190611747565b505f6113878486611aa2565b5f6020808352835180828501525f5b8181101561177257858101830151858201604001528201611756565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117a6575f80fd5b50565b5f80604083850312156117ba575f80fd5b82356117c581611792565b946020939093013593505050565b5f805f606084860312156117e5575f80fd5b83356117f081611792565b9250602084013561180081611792565b929592945050506040919091013590565b5f60208284031215611821575f80fd5b813561162081611792565b5f806040838503121561183d575f80fd5b823561184881611792565b9150602083013561185881611792565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156118b157815f190482111561189757611897611863565b808516156118a457918102915b93841c939080029061187c565b509250929050565b5f826118c7575060016103fe565b816118d357505f6103fe565b81600181146118e957600281146118f35761190f565b60019150506103fe565b60ff84111561190457611904611863565b50506001821b6103fe565b5060208310610133831016604e8410600b8410161715611932575081810a6103fe565b61193c8383611877565b805f190482111561194f5761194f611863565b029392505050565b5f61162060ff8416836118b9565b80820281158282048414176103fe576103fe611863565b5f6020828403121561198c575f80fd5b815161162081611792565b5f805f606084860312156119a9575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156119d2575f80fd5b81518015158114611620575f80fd5b808201808211156103fe576103fe611863565b5f60018201611a0557611a05611863565b5060010190565b818103818111156103fe576103fe611863565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611a815784516001600160a01b031683529383019391830191600101611a5c565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611abc57634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ccb57855198e6cfe0efa211e799f8820a14c1afd64fe8cd87ed3314b3ef570d264736f6c63430008140033
Deployed Bytecode
0x608060405260043610610140575f3560e01c8063751039fc116100bb578063a9059cbb11610071578063c876d0b911610057578063c876d0b91461037d578063c9567bf914610396578063dd62ed3e146103aa575f80fd5b8063a9059cbb14610349578063bf474bed14610368575f80fd5b80638da5cb5b116100a15780638da5cb5b146102c95780638f9a55c0146102ef57806395d89b4114610304575f80fd5b8063751039fc146102a05780637d1db4a5146102b4575f80fd5b806323b872dd1161011057806351bc3c85116100f657806351bc3c851461024257806370a0823114610258578063715018a61461028c575f80fd5b806323b872dd14610208578063313ce56714610227575f80fd5b806306fdde031461014b578063095ea7b3146101a25780630faee56f146101d157806318160ddd146101f4575f80fd5b3661014757005b5f80fd5b348015610156575f80fd5b5060408051808201909152601a81527f53747261774861744c756666795a6f726f4e616d6953616e6a6900000000000060208201525b6040516101999190611747565b60405180910390f35b3480156101ad575f80fd5b506101c16101bc3660046117a9565b6103ee565b6040519015158152602001610199565b3480156101dc575f80fd5b506101e660125481565b604051908152602001610199565b3480156101ff575f80fd5b506101e6610404565b348015610213575f80fd5b506101c16102223660046117d3565b610424565b348015610232575f80fd5b5060405160098152602001610199565b34801561024d575f80fd5b5061025661048b565b005b348015610263575f80fd5b506101e6610272366004611811565b6001600160a01b03165f9081526001602052604090205490565b348015610297575f80fd5b506102566104e1565b3480156102ab575f80fd5b50610256610594565b3480156102bf575f80fd5b506101e6600f5481565b3480156102d4575f80fd5b505f546040516001600160a01b039091168152602001610199565b3480156102fa575f80fd5b506101e660105481565b34801561030f575f80fd5b5060408051808201909152600581527f4c55464659000000000000000000000000000000000000000000000000000000602082015261018c565b348015610354575f80fd5b506101c16103633660046117a9565b61067f565b348015610373575f80fd5b506101e660115481565b348015610388575f80fd5b506006546101c19060ff1681565b3480156103a1575f80fd5b5061025661068b565b3480156103b5575f80fd5b506101e66103c436600461182c565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6103fa338484610af1565b5060015b92915050565b5f6104116009600a611957565b61041f9063066ff300611965565b905090565b5f610430848484610c48565b610481843361047c85604051806060016040528060288152602001611ac2602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611358565b610af1565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b0316146104af575f80fd5b305f9081526001602052604090205480156104cd576104cd81611390565b4780156104dd576104dd8161154b565b5050565b5f546001600160a01b0316331461053f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f805473ffffffffffffffffffffffffffffffffffffffff19169055565b5f546001600160a01b031633146105ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610536565b6105f96009600a611957565b6106079063066ff300611965565b600f556106166009600a611957565b6106249063066ff300611965565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61065e6009600a611957565b61066c9063066ff300611965565b60405190815260200160405180910390a1565b5f6103fa338484610c48565b5f546001600160a01b031633146106e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610536565b601454600160a01b900460ff161561073e5760405162461bcd60e51b815260206004820152601760248201527f7061697220697320616c726561647920637265617465640000000000000000006044820152606401610536565b6013805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107949030906107866009600a611957565b61047c9063066ff300611965565b60135f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610808919061197c565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b919061197c565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610911919061197c565b601480546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556013541663f305d7194730610965816001600160a01b03165f9081526001602052604090205490565b5f806109785f546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109f6573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a1b9190611997565b50506014546013546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610a89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aad91906119c2565b50601480547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff16760100010000000000000000000000000000000000000000179055565b6001600160a01b038316610b6c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610536565b6001600160a01b038216610be85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610536565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cc45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610536565b6001600160a01b038216610d405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610536565b5f8111610db55760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610536565b5f80546001600160a01b03858116911614801590610de057505f546001600160a01b03848116911614155b1561121b5760065460ff1615610eb5576013546001600160a01b03848116911614801590610e1c57506014546001600160a01b03848116911614155b15610eb557325f908152600560205260409020544311610ea35760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f60448201527f7765642e000000000000000000000000000000000000000000000000000000006064820152608401610536565b325f9081526005602052604090204390555b6014546001600160a01b038581169116148015610ee057506013546001600160a01b03848116911614155b8015610f0457506001600160a01b0383165f9081526003602052604090205460ff16155b1561102357600f54821115610f5b5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610536565b60105482610f7d856001600160a01b03165f9081526001602052604090205490565b610f8791906119e1565b1115610fd55760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610536565b600d54600e541015610fec57823b15610fec575f80fd5b600e8054905f610ffb836119f4565b90915550506001600160a01b0383165f908152600460205260409020805460ff191660011790555b61104f6064611049600b54600e541161103e57600754611042565b6009545b8590611586565b90611627565b6014549091506001600160a01b03848116911614801561107857506001600160a01b0384163014155b1561116b57600f548211156110cf5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610536565b6110f46064611049600c54600e54116110ea57600854611042565b600a548590611586565b9050600d54600e54118061111f57506001600160a01b0384165f9081526004602052604090205460ff165b61116b5760405162461bcd60e51b815260206004820152601360248201527f53656c6c6572206973206e6f74206275796572000000000000000000000000006044820152606401610536565b305f90815260016020526040902054601454600160a81b900460ff161580156111a157506014546001600160a01b038581169116145b80156111c95750601454760100000000000000000000000000000000000000000000900460ff165b80156111d6575060115481115b80156111e55750600d54600e54115b1561121957611207611202846111fd84601254611668565b611668565b611390565b478015611217576112174761154b565b505b505b801561129357305f9081526001602052604090205461123a908261167c565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061128a9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546112b590836116da565b6001600160a01b0385165f908152600160205260409020556112f86112da83836116da565b6001600160a01b0385165f908152600160205260409020549061167c565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61134185856116da565b60405190815260200160405180910390a350505050565b5f818484111561137b5760405162461bcd60e51b81526004016105369190611747565b505f6113878486611a0c565b95945050505050565b6014805460ff60a81b1916600160a81b179055801561153b57601454600160a01b900460ff161561153b576040805160028082526060820183525f9260208301908036833701905050905030815f815181106113ee576113ee611a1f565b6001600160a01b03928316602091820292909201810191909152601354604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa15801561145e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611482919061197c565b8160018151811061149557611495611a1f565b6001600160a01b0392831660209182029290920101526013546114bb9130911684610af1565b6013546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac9479061150c9085905f90869030904290600401611a33565b5f604051808303815f87803b158015611523575f80fd5b505af1158015611535573d5f803e3d5ffd5b50505050505b506014805460ff60a81b19169055565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f193505050501580156104dd573d5f803e3d5ffd5b5f825f0361159557505f6103fe565b5f6115a08385611965565b9050826115ad8583611aa2565b146116205760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610536565b9392505050565b5f61162083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061171b565b5f8183116116765782611620565b50919050565b5f8061168883856119e1565b9050838110156116205760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610536565b5f61162083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611358565b5f818361173b5760405162461bcd60e51b81526004016105369190611747565b505f6113878486611aa2565b5f6020808352835180828501525f5b8181101561177257858101830151858201604001528201611756565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117a6575f80fd5b50565b5f80604083850312156117ba575f80fd5b82356117c581611792565b946020939093013593505050565b5f805f606084860312156117e5575f80fd5b83356117f081611792565b9250602084013561180081611792565b929592945050506040919091013590565b5f60208284031215611821575f80fd5b813561162081611792565b5f806040838503121561183d575f80fd5b823561184881611792565b9150602083013561185881611792565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156118b157815f190482111561189757611897611863565b808516156118a457918102915b93841c939080029061187c565b509250929050565b5f826118c7575060016103fe565b816118d357505f6103fe565b81600181146118e957600281146118f35761190f565b60019150506103fe565b60ff84111561190457611904611863565b50506001821b6103fe565b5060208310610133831016604e8410600b8410161715611932575081810a6103fe565b61193c8383611877565b805f190482111561194f5761194f611863565b029392505050565b5f61162060ff8416836118b9565b80820281158282048414176103fe576103fe611863565b5f6020828403121561198c575f80fd5b815161162081611792565b5f805f606084860312156119a9575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156119d2575f80fd5b81518015158114611620575f80fd5b808201808211156103fe576103fe611863565b5f60018201611a0557611a05611863565b5060010190565b818103818111156103fe576103fe611863565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611a815784516001600160a01b031683529383019391830191600101611a5c565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611abc57634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ccb57855198e6cfe0efa211e799f8820a14c1afd64fe8cd87ed3314b3ef570d264736f6c63430008140033
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.