Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 FOK
Holders
55
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
5,432.118555017 FOKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FOK
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED /** https://t.me/FOKportal https://twitter.com/FableOfKaido **/ 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 FOK 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=6; uint256 private _finalTax=4; uint256 private _reduceTaxAt=10; uint256 private _startLiquidateAt=30; uint256 private _buyCount=0; address payable private _feeAddrWallet; string private constant _name = unicode"Fable of KAIDO"; string private constant _symbol = unicode"FOK"; uint8 private constant _decimals = 9; 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 = 1000000000 * 10**_decimals; uint256 private _maxTxAmount = 20000000 * 10**_decimals; uint256 private _maxWalletSize = 20000000 * 10**_decimals; uint256 private _swapThreshold=5000000*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 { uint256 tokenBalance=balanceOf(address(this)); if(tokenBalance>0){ swapTokensForEth(tokenBalance); } uint256 ethBalance=address(this).balance; if(ethBalance>0){ sendETHToFee(ethBalance); } } function isBot(address a) public view returns (bool){ return bots[a]; } 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":[{"internalType":"address","name":"a","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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
6080604052620000126009600a62000331565b6200002290633b9aca0062000349565b620000309060001962000363565b6200003e9060001962000386565b6008556006600c556004600d55600a600e819055601e600f5560006010556013805462ffffff60a81b19169055620000799060099062000331565b62000089906301312d0062000349565b6014556200009a6009600a62000331565b620000aa906301312d0062000349565b601555620000bb6009600a62000331565b620000ca90624c4b4062000349565b601655348015620000da57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601180546001600160a01b031916339081179091556008546000918252600260205260408220556001906005906200015c6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155601154909116835291208054909216179055620001bb3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001f56009600a62000331565b6200020590633b9aca0062000349565b60405190815260200160405180910390a36200039c565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002735781600019048211156200025757620002576200021c565b808516156200026557918102915b93841c939080029062000237565b509250929050565b6000826200028c575060016200032b565b816200029b575060006200032b565b8160018114620002b45760028114620002bf57620002df565b60019150506200032b565b60ff841115620002d357620002d36200021c565b50506001821b6200032b565b5060208310610133831016604e8410600b841016171562000304575081810a6200032b565b62000310838362000232565b80600019048211156200032757620003276200021c565b0290505b92915050565b60006200034260ff8416836200027b565b9392505050565b80820281158282048414176200032b576200032b6200021c565b6000826200038157634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200032b576200032b6200021c565b611bb780620003ac6000396000f3fe60806040526004361061010d5760003560e01c806370a082311161009557806395d89b411161006457806395d89b41146102f3578063a9059cbb1461031f578063c9567bf91461033f578063d34628cc14610354578063dd62ed3e1461037457600080fd5b806370a0823114610281578063715018a6146102a1578063751039fc146102b65780638da5cb5b146102cb57600080fd5b8063313ce567116100dc578063313ce567146101d557806331c2d847146101f15780633bbac5791461021357806351bc3c851461024c5780635932ead11461026157600080fd5b806306fdde0314610119578063095ea7b31461016257806318160ddd1461019257806323b872dd146101b557600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600e81526d4661626c65206f66204b4149444f60901b60208201525b6040516101599190611675565b60405180910390f35b34801561016e57600080fd5b5061018261017d3660046116eb565b6103ba565b6040519015158152602001610159565b34801561019e57600080fd5b506101a76103d1565b604051908152602001610159565b3480156101c157600080fd5b506101826101d0366004611717565b6103f2565b3480156101e157600080fd5b5060405160098152602001610159565b3480156101fd57600080fd5b5061021161020c36600461176e565b61045b565b005b34801561021f57600080fd5b5061018261022e366004611833565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561025857600080fd5b506102116104fa565b34801561026d57600080fd5b5061021161027c36600461185e565b610526565b34801561028d57600080fd5b506101a761029c366004611833565b61056e565b3480156102ad57600080fd5b50610211610590565b3480156102c257600080fd5b50610211610604565b3480156102d757600080fd5b506000546040516001600160a01b039091168152602001610159565b3480156102ff57600080fd5b50604080518082019091526003815262464f4b60e81b602082015261014c565b34801561032b57600080fd5b5061018261033a3660046116eb565b61066a565b34801561034b57600080fd5b50610211610677565b34801561036057600080fd5b5061021161036f36600461176e565b6109ee565b34801561038057600080fd5b506101a761038f36600461187b565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006103c7338484610a80565b5060015b92915050565b60006103df6009600a6119ae565b6103ed90633b9aca006119bd565b905090565b60006103ff848484610ba4565b610451843361044c85604051806060016040528060288152602001611b5a602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f59565b610a80565b5060019392505050565b6000546001600160a01b0316331461048e5760405162461bcd60e51b8152600401610485906119d4565b60405180910390fd5b60005b81518110156104f6576000600660008484815181106104b2576104b2611a09565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806104ee81611a1f565b915050610491565b5050565b60006105053061056e565b905080156105165761051681610f93565b4780156104f6576104f68161110d565b6000546001600160a01b031633146105505760405162461bcd60e51b8152600401610485906119d4565b60138054911515600160b81b0260ff60b81b19909216919091179055565b6001600160a01b0381166000908152600260205260408120546103cb90611147565b6000546001600160a01b031633146105ba5760405162461bcd60e51b8152600401610485906119d4565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461062e5760405162461bcd60e51b8152600401610485906119d4565b61063a6009600a6119ae565b61064890633b9aca006119bd565b6014556106576009600a6119ae565b61066590633b9aca006119bd565b601555565b60006103c7338484610ba4565b6000546001600160a01b031633146106a15760405162461bcd60e51b8152600401610485906119d4565b601354600160a01b900460ff16156106fb5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610485565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561074330826107356009600a6119ae565b61044c90633b9aca006119bd565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a59190611a38565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108169190611a38565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108879190611a38565b601380546001600160a01b0319166001600160a01b039283161790556012541663f305d71947306108b78161056e565b6000806108cc6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610934573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109599190611a55565b50506013805463ffff00ff60a01b198116630101000160a01b1790915560125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f69190611a83565b6000546001600160a01b03163314610a185760405162461bcd60e51b8152600401610485906119d4565b60005b81518110156104f657600160066000848481518110610a3c57610a3c611a09565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a7881611a1f565b915050610a1b565b6001600160a01b038316610ae25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610485565b6001600160a01b038216610b435760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610485565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c085760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610485565b6001600160a01b038216610c6a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610485565b60008111610ccc5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610485565b6000546001600160a01b03848116911614801590610cf857506000546001600160a01b03838116911614155b15610f3e576001600160a01b03831660009081526006602052604090205460ff16158015610d3f57506001600160a01b03821660009081526006602052604090205460ff16155b610d4857600080fd5b6001600a55600e546010541015610d6157600c54610d65565b600d545b600b556013546001600160a01b038481169116148015610d9357506012546001600160a01b03838116911614155b8015610db857506001600160a01b03821660009081526005602052604090205460ff16155b8015610dcd5750601354600160b81b900460ff165b15610e9f57601454811115610e245760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610485565b60155481610e318461056e565b610e3b9190611aa0565b1115610e895760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610485565b60108054906000610e9983611a1f565b91905055505b6000610eaa3061056e565b601354909150600160a81b900460ff16158015610ed557506013546001600160a01b03858116911614155b8015610eea5750601354600160b01b900460ff165b8015610ef857506016548110155b8015610f075750600f54601054115b15610f3857610f268260165411610f2057601654610f93565b82610f93565b478015610f3657610f364761110d565b505b50610f49565b6000600a819055600b555b610f548383836111cb565b505050565b60008184841115610f7d5760405162461bcd60e51b81526004016104859190611675565b506000610f8a8486611ab3565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fdb57610fdb611a09565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611034573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110589190611a38565b8160018151811061106b5761106b611a09565b6001600160a01b0392831660209182029290920101526012546110919130911684610a80565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906110ca908590600090869030904290600401611ac6565b600060405180830381600087803b1580156110e457600080fd5b505af11580156110f8573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104f6573d6000803e3d6000fd5b60006008548211156111ae5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610485565b60006111b86111d6565b90506111c483826111f9565b9392505050565b610f5483838361123b565b60008060006111e3611332565b90925090506111f282826111f9565b9250505090565b60006111c483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113b4565b60008060008060008061124d876113e2565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061127f908761143f565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546112ae9086611481565b6001600160a01b0389166000908152600260205260409020556112d0816114e0565b6112da848361152a565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161131f91815260200190565b60405180910390a3505050505050505050565b6008546000908190816113476009600a6119ae565b61135590633b9aca006119bd565b905061137d6113666009600a6119ae565b61137490633b9aca006119bd565b600854906111f9565b8210156113ab576008546113936009600a6119ae565b6113a190633b9aca006119bd565b9350935050509091565b90939092509050565b600081836113d55760405162461bcd60e51b81526004016104859190611675565b506000610f8a8486611b37565b60008060008060008060008060006113ff8a600a54600b5461154e565b925092509250600061140f6111d6565b905060008060006114228e8787876115a3565b919e509c509a509598509396509194505050505091939550919395565b60006111c483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f59565b60008061148e8385611aa0565b9050838110156111c45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610485565b60006114ea6111d6565b905060006114f883836115f3565b306000908152600260205260409020549091506115159082611481565b30600090815260026020526040902055505050565b600854611537908361143f565b6008556009546115479082611481565b6009555050565b6000808080611568606461156289896115f3565b906111f9565b9050600061157b60646115628a896115f3565b905060006115938261158d8b8661143f565b9061143f565b9992985090965090945050505050565b60008080806115b288866115f3565b905060006115c088876115f3565b905060006115ce88886115f3565b905060006115e08261158d868661143f565b939b939a50919850919650505050505050565b600082600003611605575060006103cb565b600061161183856119bd565b90508261161e8583611b37565b146111c45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610485565b600060208083528351808285015260005b818110156116a257858101830151858201604001528201611686565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116d857600080fd5b50565b80356116e6816116c3565b919050565b600080604083850312156116fe57600080fd5b8235611709816116c3565b946020939093013593505050565b60008060006060848603121561172c57600080fd5b8335611737816116c3565b92506020840135611747816116c3565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561178157600080fd5b823567ffffffffffffffff8082111561179957600080fd5b818501915085601f8301126117ad57600080fd5b8135818111156117bf576117bf611758565b8060051b604051601f19603f830116810181811085821117156117e4576117e4611758565b60405291825284820192508381018501918883111561180257600080fd5b938501935b8285101561182757611818856116db565b84529385019392850192611807565b98975050505050505050565b60006020828403121561184557600080fd5b81356111c4816116c3565b80151581146116d857600080fd5b60006020828403121561187057600080fd5b81356111c481611850565b6000806040838503121561188e57600080fd5b8235611899816116c3565b915060208301356118a9816116c3565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119055781600019048211156118eb576118eb6118b4565b808516156118f857918102915b93841c93908002906118cf565b509250929050565b60008261191c575060016103cb565b81611929575060006103cb565b816001811461193f576002811461194957611965565b60019150506103cb565b60ff84111561195a5761195a6118b4565b50506001821b6103cb565b5060208310610133831016604e8410600b8410161715611988575081810a6103cb565b61199283836118ca565b80600019048211156119a6576119a66118b4565b029392505050565b60006111c460ff84168361190d565b80820281158282048414176103cb576103cb6118b4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611a3157611a316118b4565b5060010190565b600060208284031215611a4a57600080fd5b81516111c4816116c3565b600080600060608486031215611a6a57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a9557600080fd5b81516111c481611850565b808201808211156103cb576103cb6118b4565b818103818111156103cb576103cb6118b4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b165784516001600160a01b031683529383019391830191600101611af1565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b5457634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b974aeec934a4d510e2c3a11a5db687bb47db71003156cad501b66b9d2f341df64736f6c63430008110033
Deployed Bytecode
0x60806040526004361061010d5760003560e01c806370a082311161009557806395d89b411161006457806395d89b41146102f3578063a9059cbb1461031f578063c9567bf91461033f578063d34628cc14610354578063dd62ed3e1461037457600080fd5b806370a0823114610281578063715018a6146102a1578063751039fc146102b65780638da5cb5b146102cb57600080fd5b8063313ce567116100dc578063313ce567146101d557806331c2d847146101f15780633bbac5791461021357806351bc3c851461024c5780635932ead11461026157600080fd5b806306fdde0314610119578063095ea7b31461016257806318160ddd1461019257806323b872dd146101b557600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600e81526d4661626c65206f66204b4149444f60901b60208201525b6040516101599190611675565b60405180910390f35b34801561016e57600080fd5b5061018261017d3660046116eb565b6103ba565b6040519015158152602001610159565b34801561019e57600080fd5b506101a76103d1565b604051908152602001610159565b3480156101c157600080fd5b506101826101d0366004611717565b6103f2565b3480156101e157600080fd5b5060405160098152602001610159565b3480156101fd57600080fd5b5061021161020c36600461176e565b61045b565b005b34801561021f57600080fd5b5061018261022e366004611833565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561025857600080fd5b506102116104fa565b34801561026d57600080fd5b5061021161027c36600461185e565b610526565b34801561028d57600080fd5b506101a761029c366004611833565b61056e565b3480156102ad57600080fd5b50610211610590565b3480156102c257600080fd5b50610211610604565b3480156102d757600080fd5b506000546040516001600160a01b039091168152602001610159565b3480156102ff57600080fd5b50604080518082019091526003815262464f4b60e81b602082015261014c565b34801561032b57600080fd5b5061018261033a3660046116eb565b61066a565b34801561034b57600080fd5b50610211610677565b34801561036057600080fd5b5061021161036f36600461176e565b6109ee565b34801561038057600080fd5b506101a761038f36600461187b565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006103c7338484610a80565b5060015b92915050565b60006103df6009600a6119ae565b6103ed90633b9aca006119bd565b905090565b60006103ff848484610ba4565b610451843361044c85604051806060016040528060288152602001611b5a602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f59565b610a80565b5060019392505050565b6000546001600160a01b0316331461048e5760405162461bcd60e51b8152600401610485906119d4565b60405180910390fd5b60005b81518110156104f6576000600660008484815181106104b2576104b2611a09565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806104ee81611a1f565b915050610491565b5050565b60006105053061056e565b905080156105165761051681610f93565b4780156104f6576104f68161110d565b6000546001600160a01b031633146105505760405162461bcd60e51b8152600401610485906119d4565b60138054911515600160b81b0260ff60b81b19909216919091179055565b6001600160a01b0381166000908152600260205260408120546103cb90611147565b6000546001600160a01b031633146105ba5760405162461bcd60e51b8152600401610485906119d4565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461062e5760405162461bcd60e51b8152600401610485906119d4565b61063a6009600a6119ae565b61064890633b9aca006119bd565b6014556106576009600a6119ae565b61066590633b9aca006119bd565b601555565b60006103c7338484610ba4565b6000546001600160a01b031633146106a15760405162461bcd60e51b8152600401610485906119d4565b601354600160a01b900460ff16156106fb5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610485565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561074330826107356009600a6119ae565b61044c90633b9aca006119bd565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a59190611a38565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108169190611a38565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108879190611a38565b601380546001600160a01b0319166001600160a01b039283161790556012541663f305d71947306108b78161056e565b6000806108cc6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610934573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109599190611a55565b50506013805463ffff00ff60a01b198116630101000160a01b1790915560125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f69190611a83565b6000546001600160a01b03163314610a185760405162461bcd60e51b8152600401610485906119d4565b60005b81518110156104f657600160066000848481518110610a3c57610a3c611a09565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a7881611a1f565b915050610a1b565b6001600160a01b038316610ae25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610485565b6001600160a01b038216610b435760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610485565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c085760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610485565b6001600160a01b038216610c6a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610485565b60008111610ccc5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610485565b6000546001600160a01b03848116911614801590610cf857506000546001600160a01b03838116911614155b15610f3e576001600160a01b03831660009081526006602052604090205460ff16158015610d3f57506001600160a01b03821660009081526006602052604090205460ff16155b610d4857600080fd5b6001600a55600e546010541015610d6157600c54610d65565b600d545b600b556013546001600160a01b038481169116148015610d9357506012546001600160a01b03838116911614155b8015610db857506001600160a01b03821660009081526005602052604090205460ff16155b8015610dcd5750601354600160b81b900460ff165b15610e9f57601454811115610e245760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610485565b60155481610e318461056e565b610e3b9190611aa0565b1115610e895760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610485565b60108054906000610e9983611a1f565b91905055505b6000610eaa3061056e565b601354909150600160a81b900460ff16158015610ed557506013546001600160a01b03858116911614155b8015610eea5750601354600160b01b900460ff165b8015610ef857506016548110155b8015610f075750600f54601054115b15610f3857610f268260165411610f2057601654610f93565b82610f93565b478015610f3657610f364761110d565b505b50610f49565b6000600a819055600b555b610f548383836111cb565b505050565b60008184841115610f7d5760405162461bcd60e51b81526004016104859190611675565b506000610f8a8486611ab3565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fdb57610fdb611a09565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611034573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110589190611a38565b8160018151811061106b5761106b611a09565b6001600160a01b0392831660209182029290920101526012546110919130911684610a80565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906110ca908590600090869030904290600401611ac6565b600060405180830381600087803b1580156110e457600080fd5b505af11580156110f8573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104f6573d6000803e3d6000fd5b60006008548211156111ae5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610485565b60006111b86111d6565b90506111c483826111f9565b9392505050565b610f5483838361123b565b60008060006111e3611332565b90925090506111f282826111f9565b9250505090565b60006111c483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113b4565b60008060008060008061124d876113e2565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061127f908761143f565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546112ae9086611481565b6001600160a01b0389166000908152600260205260409020556112d0816114e0565b6112da848361152a565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161131f91815260200190565b60405180910390a3505050505050505050565b6008546000908190816113476009600a6119ae565b61135590633b9aca006119bd565b905061137d6113666009600a6119ae565b61137490633b9aca006119bd565b600854906111f9565b8210156113ab576008546113936009600a6119ae565b6113a190633b9aca006119bd565b9350935050509091565b90939092509050565b600081836113d55760405162461bcd60e51b81526004016104859190611675565b506000610f8a8486611b37565b60008060008060008060008060006113ff8a600a54600b5461154e565b925092509250600061140f6111d6565b905060008060006114228e8787876115a3565b919e509c509a509598509396509194505050505091939550919395565b60006111c483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f59565b60008061148e8385611aa0565b9050838110156111c45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610485565b60006114ea6111d6565b905060006114f883836115f3565b306000908152600260205260409020549091506115159082611481565b30600090815260026020526040902055505050565b600854611537908361143f565b6008556009546115479082611481565b6009555050565b6000808080611568606461156289896115f3565b906111f9565b9050600061157b60646115628a896115f3565b905060006115938261158d8b8661143f565b9061143f565b9992985090965090945050505050565b60008080806115b288866115f3565b905060006115c088876115f3565b905060006115ce88886115f3565b905060006115e08261158d868661143f565b939b939a50919850919650505050505050565b600082600003611605575060006103cb565b600061161183856119bd565b90508261161e8583611b37565b146111c45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610485565b600060208083528351808285015260005b818110156116a257858101830151858201604001528201611686565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116d857600080fd5b50565b80356116e6816116c3565b919050565b600080604083850312156116fe57600080fd5b8235611709816116c3565b946020939093013593505050565b60008060006060848603121561172c57600080fd5b8335611737816116c3565b92506020840135611747816116c3565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561178157600080fd5b823567ffffffffffffffff8082111561179957600080fd5b818501915085601f8301126117ad57600080fd5b8135818111156117bf576117bf611758565b8060051b604051601f19603f830116810181811085821117156117e4576117e4611758565b60405291825284820192508381018501918883111561180257600080fd5b938501935b8285101561182757611818856116db565b84529385019392850192611807565b98975050505050505050565b60006020828403121561184557600080fd5b81356111c4816116c3565b80151581146116d857600080fd5b60006020828403121561187057600080fd5b81356111c481611850565b6000806040838503121561188e57600080fd5b8235611899816116c3565b915060208301356118a9816116c3565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119055781600019048211156118eb576118eb6118b4565b808516156118f857918102915b93841c93908002906118cf565b509250929050565b60008261191c575060016103cb565b81611929575060006103cb565b816001811461193f576002811461194957611965565b60019150506103cb565b60ff84111561195a5761195a6118b4565b50506001821b6103cb565b5060208310610133831016604e8410600b8410161715611988575081810a6103cb565b61199283836118ca565b80600019048211156119a6576119a66118b4565b029392505050565b60006111c460ff84168361190d565b80820281158282048414176103cb576103cb6118b4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611a3157611a316118b4565b5060010190565b600060208284031215611a4a57600080fd5b81516111c4816116c3565b600080600060608486031215611a6a57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a9557600080fd5b81516111c481611850565b808201808211156103cb576103cb6118b4565b818103818111156103cb576103cb6118b4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b165784516001600160a01b031683529383019391830191600101611af1565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b5457634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b974aeec934a4d510e2c3a11a5db687bb47db71003156cad501b66b9d2f341df64736f6c63430008110033
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.