Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,000 NSE
Holders
59
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
116,884,394.546396949436930162 NSEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NSE
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: NONE /* https://twitter.com/NigerianStonks https://t.me/NSEPortal https://nse.rip/ PAMP IT OkkkkkkkOOkkkkkkkkkkkkkkkkl.''.':loolldxdc;:ldxdlccoolloxkxkxxollc:cc,.. ...':dkkxxk0KKKKK000000000KKKOkkxxkkkxdd; ''.:dxdllxOxddddddkOOOOOOOOOOOOOO OOOkkkkkkkkkkkkkkkkkkkkkkkl.''.'loooloddol:coddlcclooloddxkxl;'... .''...,:oddxk0KK0KKKKKK0kkxooxkxddx: ''.:dddddkkdddddddkOOOOOOOOOOOOOO OOOkkkkkkkkkkkkkkkkkkkkkkkl.''.,loloddolllodddlccooool:;,;,. ..;lxkOOO0Okkxddxkkdodk: ''.cxdxxxkxddddddxkOOOOOOOOOOOOOO kkkkkkkkkOOkkkkkkkkkkkkkkkl.''.,llodxdl::lddolccool;.. 'ldxxxddxdodxkdddkk; ''.lkxkOOkdddddddkOOOOOOOOOOOOOOO kkkkkkkkkkkkkkkkkkOkkkkkkkl.''.,loddoooooddolclolc' .,:lodxxdxxkxddxkd, '''oOkkOOxddddddxkOOOOOOOOOOOOOOO kkOkkkkkkkkkkkkkOkkkkkkkkkl.''.'oddoccloxdoccc:'. .cxdodkkddxkxd, '''okkO0kxddddox00OOOOOOOOOOOOOOO kkkkkkkkkkkkkkkkOkOOkkkkkkl.''.,ddoooooddlcc;. ';lxOxddkkdo, '''lkkOOxddddddkKXK0OOOOOOOOOOOOO kkkkkkkkkkkkkkOOOOOOOkkkkkl.''.;oc::ldxdlc;'. 'cooxOxdd, '''lkOOxddddddxOKKKKKK00OOOOOOOOO kkkkkkkkkkkkkOOOOOOOOOkkkkl.''.,lollddol:. ,okkdod: '''lO0OxddddddxOOOO0000000OOOOOkk OOOkkkkkkkkkOOOkkkkkkOkkkkl.''..:coxdoc;. ........ .ckxxxk: .'.l00kddddddxkOOOOOOOOOOOOOOOOxo OkOOkkkkkkkkOOOOkkkOkkkkkkl.''.'clddoc' ..''''',;;,,,,,,,'........ ,ddxOO: ''.lOOkkxxdddxkOOOOOOOOOOOOOOOkdl kkkOkkkkkkkkOkkkkkOOkkkkkkl.''.,dxdlc' ..''''',;:::::::::::;;;;;;;;,,',,,,.. 'oxO0k; '''lO0000000OOOOOkOOOOOOOOOOOOxoo kkkkkkkkkkkkkkkkkOOOkkkkkkl.''.,ddll;. ..'''',;;::::::::::::::::::::::::::;;;,,'. ;dOOx; ''.lOOOOOOOO0000OkkkOOOOOOOOOOdlc Okkkkkkkkkkkkkkkkkkkkkkkkkl.''.;ollo; ..'''',;:::::::::::::::::::::::::::::::::;. .lxkx; '''lOOOO0000OOOOxdxkkOOOOOOOOxlcc Okkkkkkkkkkkkkkkkkkkkkkkkkl'''.'lodx: .'''',;;:::::::::::::::::::::::::::::::::::, ,lodk: '''lOkxkOOOOOO0OxddxkkOOOOOOko:;; kkkkkkkkkkkkkkkkkkkkkkkkkOl'''.'odxkl. .''',;:::::::::::::::::::::::::::::::::::::;. .cldx: '''lOkkkOOkxxkOkxxxxxxxxdddolc::: kkkkkkkkOkkkkkkkkkkkkkkkkkl'''.,dxxx:. .''',;;:::::::::::::::::::::::::::::::::::::;. .;oxOc '''oOkk00OkkkOOkxxxxxxdolc:::cccc kkkOkkkkkkkkkkkkkkkkkkkkkkl.''.;xkxl. .''';;::::::::::::::::::::::::::::::::::::::;. .cdOOc ....oOkOKKOkkOKOdodxxxxoc:::;;;;:: kkkOkkkkkkkkkkkkkkkkkkkkkkl.''.;xxo' .'',;::::::::::::::::::::::::::::::;,;::::::;. 'lkOd,.,;;'.;xO0KKOkO0Kkddooddlc:cccc::;;; kkkkOOOOOOOOOOOOOkkkkkkkkkl.''.;xd:. .',;:::::::::::::::::::::::::::::::,.,::::::;' .'::',;;,,'..:kKK0kO0K0xddol;,'....... kkkkkkkkkkkkOkOOkkkkkkkkkkl.''.,od: ',;:::;;;,'''',,,,;;;;;:::::;:;;;'.';:::;;;;;. .....,;,''.....;ccllclc;'.... .... kkkkkkkOOkkkOOOOkkkkkkkkkkl'''.,oo:. .';:::;'..;lloollcc:;,'.''',,'''...';;;;,'.'''. ....,;''......';;'. .......''''''.. kkkkkkkOkkkkkOkkkkkkkkkkkkl.''.;ddo; .;::::;.,dXNWMMMMWWWXKOd,........ .,,'..,cdk00x;.... .,'......,;;;,'.. ...'''''''..''',;;::cc kkkkkkkkkkkkkkkkkkkkkkkkkkl.''.,dxko. ... .';:::;,:ONWNWWMMMMMMMMMWO:,;;;:;. '::clxKWMMMMMXl............,;;,'.........';;;::clloxkOOOkkk Okkkkkkkkkkkkkkkkkkkkkkkkkl'''.,dxxl. ...',...,;:::;,dNNNWNWMMMMMMMNNWWd,;:::;.'kNNNWWWMMMMMMMK; .........,;,''.....',,'.;xkkkkkkkkOOOOOOkk kOkkkkkkkkkkkkkkkkkkkkkkkkl.''.;xxxc. .,'.'''';::::;,xNWNNNNWWMMMMXl,kWx,;::::,'lXWNNNWWWXxdKWX: .........,'......';;;,'..cxkkkkkkkkkkkkkkO kkkkkkkkOOOOkkkkkkkkkOOOkkl.''.;xddl' .''''',;::::;'lKWNNNNNWWWMMN0kXXl';:::::;,:kXNNNNW0l:kNx..................,;;,''.'.'okkkkkkkkkkkkkkk OkkkkkkkOOOOOkkkkkkkOOOOOOl'''.;dddoc,. ..''''',;:::::,,oKNNNNNNNNWWWWWKo,;:::::::;,,:d0NNNNNNKd'............... .,;;,'...'..lkkkkkkkkkkkkkkk kkkkkkkkkkOkkkkkkkkkOOOOOkl'''.,oollol:. .'''''',;::::,',,:d0NNWWWWNNN0d:,;:;;:::::::;;,;o0K0ko:. .............. .;;'........ckkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkl'''..,'..... .''''''',;::::;'.'',;coddddooc;,;;;'';::::::::::;'',;'..... .................. ..''...:xkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkl.''. ..... ...'''''''';:::::::;''''',,,,,,;;:::;..,;:::::::::::,..;;,,;;. .......................'''';ldkkkkkkkkkkkk kkOkkkkkkkkOkkkkkkkkkkkkkkl.''.....'''''''..'''''''''''';:::::::::;;;;;:::::::::;'. .,,;;;;;;;;;,..';:::::'..........................';,.,lxkkOOkkkkkk OOOOOOkkkkkkkkOkkkkkkkkkkkl.'''''...'',,;,..'''''''''''';::::::::::::::::::;::;'. ...''''''... .';;:::,. .........................:c,.,okOkkkkkOkk OOOOOkkkkkkkkkkkkkkkkkkkkkl,';;;:ccloddxko'.'''''''''''';:::::::::::::::::::;.. .';::;..........................'c:'.;xOkkkkkkkkk OOOkkkkkkkkkOOkkkkkkkOkkkkxdxxkkkkkkkkkkko'.'''''''''''',;:::::::::::::::;'.. .,;;..,,'...................';:,...lOOOOOOkkkkk OOOkOOkkkkkkkkkkkkkkOkkkkOkkkkkkkkkkkkkkkd,.'''''''''''',;::::::::::::::;. .,;...',,'................;:;..',';dOOOOOOOkkk kkkkkkkkkkkkkkkkkkkOkkkkkOkkkkkOOOOOOkkkkkc..''''''''''',;:::::::::::::;. ..'.. ';..''.'',,'...........'::'..';:;';dkkOOOOkkk kkkkkkkkkkkkkkkkkkOkOOOkkkkkkkkOOOOOOOkkkkd'.'''''''''''';;::::::::::::;. .',;::;;,'... ..';,....''..',,.........;:,...'',;:,'cxkOkkkkkk kkkkkkkkkkkkkkkkOOOOOOOOkkkkkkkkOOOkdolc;,'. .''''''''''',;::::::::::::;'. ..',;:;;;:;;::;;'.,;;:::,.;:,'.....''''..'';:;....'''',;:''lkOOkkkkk OOOOkkkkkkkkkkkOOOkOOOOOOkkkkkxdlcccccll' .''''''''''';::::::::::::::;''...''''''.......'''''...,::::;';dkxdl:;;,,'.';cll:'...''''''';:;',dOkkkkkk kOOOOOkkkkkkkkkOOOkkkkkkkkxdlc::cldxxxxxc. .'''''''''',;::::::::::::;::::;'.. ...'',;;:::;,'lkkkkkkkkxxd;..,,'...''''''''',;:;':xkkkkkk OOOkkOOkkkkkkkkOkkkkkOOkdl::cldxxxxxxxxxd; ..''''''''';::::::::::::::;;'. .,;:::::::;:,':kOOOOOkkkkkko..'...'''''''''''';::,'ckkkkkk OkkkkkOkkkkkkkkkkkkkOkoc:codxxxxxkkkOOO00x, ....''''''',;:::::::::::;:,..''.. .,::::::::::;';dkOOOOOkkkkkkd,.'''''''''''''''',;:;',okkkkO OOOkkkkkkkkkkkkkkkkxl::ldxkkOO000KK00OOkxxc. ....'''''''',;::::::::::;:,..,cc:,. .;::::::::;,':dkkkkOOOkkkkkkkc..'''''''''''''''';;:;.:xkkkk OOOOkkkkkkkkkkkkkxlcoxkOO00KK000Okxdoolllll;. .''''''''''',;::::::::::::;,'',;;;. ..';::::::;'.:xkkkkOOOOOkkkkkkl'.'''''''''''''''',;::''lkkkk OOOkkkkkkkkkkkkxl;:d0KKKK0Okkxxdolllllllllll;. ..'''''''''',;:::::::::::::;;,''''...'',,..;::::;,. .,coxkkkOOOOkkkkkkd,.''''''''''''''''';::;';dkkk kkkkkkkkkkkOkko::oxxxk0KKOxxdoollllllllllllll:. ..'''''''''',;::::::::::::::;;,,,;;,,''.',;::;,. .;::ldkkkkkOkkkkkx;.''''''''''''''''',;::,'cxkk kkkkkkkkkkOkdc;cdxxxxxk0K0kollllllllllllllllll:. .'''''''''',;;::::::::::::;;,'......',;:::;'... .';ldolcoxkkkkkkkkk:..'''''''''''''''',;::;',okk kkkkkkOkkkko;:oxxxxxxxxxOOkolllllllllllllllllllc,. ..'''''''''',;:::::::;;::::::;;;;;;::::::,.',. .::;d0Odc:coxkkkkkkl..'''''''''''''''',;:::;':xk kkkkkOOkOxc;ldxxxxxxxxdooxkxollllllllllllooooooooc,. ..'''''''''',;:::::;::,',;:::::;,''''''.';' .:l;,lxxkkdlcldkkkOx,.''''''''''''''''';:::;',ok kkkkkkkOd:ckkxxxxxxxxdolldkxdoooodddxxxxxxxxxxxxxxxl. ..'''''''''',;;:::::;,'.'''''''''''',;;'. .:ooo:,:k0K0Odc:cokOk;.''''''''''''''''';::::,':x kkkkkkxl;cx0KOkxxxxdolllloxkxxxxxxxxdddddddoooooooool,. ..'''''''''',,;;;;:::;,,,,,;;::::;;,. .cxxxxdl;ckOkxkOkdlcox:..'''''''''''''''',::::;',d Okkkkxc;lxxkOK0Okxdollllloxkxddooollllllllllllllllllllc,. ..'''''''''''',,,;;;;;;;;;;;,,.. .;oxxxxxxxd:;lkO0K0Oko::,..'''''''''''''''',;::::,': OOkkd:;oxxxxxk0K0xolllllloxkdllllllllllllllllllllllllllllc,. ....'''''''''''''''''''... .;oxxxxxxxxxxxl;d00OkxkkOOl..'''''''''''''''',;::::;'. OOOd::oxxxxxxxxxxxxdoollldxdollllllllllllllllllllllllllllddo:,. ................. .':oxxxxxxxxxxkOK0c;odxkO0K0Ox,.'''''''''''''''',:::::;'. Okd::dxxxxxxxxdolodxkxxddo:;lllllllllllllllllllllllllllllldxxxdl:,.. ..,coxxxxxxxxxxxkO0K0Oo',ox0K0Okdc...''''''''''''''',::::::'. Od:lOOkxxxxxxdolllloodxxd;';:coooollllllllllllllllllllllllloxxxxxxxdlc;,'..........'',;:lodxxxxxxxxxxxkO0KK0Okxd,,dkkxxdl' .''''''''''''''';::::::,. d;:x0K0Okkxxdlllllllllll;.,:ldxkxxxxddddoooollllllllllllllllodxxxxxxxxxxxxddddddddxxxxxxxxxxxxxxxxkkO0KK0Okxxxxd;;xdolc,. .''''''''''''''';::::::,. ;:dxxkO0K0Oxollllllllll,':llllooodddxxxxxxxxxxxxdddddddddooooodxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkkkOO0KK00Okkxxxxxxo,:dol:. ....'''''''''''''',;::::::,. ;dxxxxxkOOOkxdoollllll;':lllllllllllllloooodddddxxxxxxxxxxxxxxkk00000OOOOOkkkkkkkkkkkkOOOO000KKK00Okkxxxxxxxxxxl,:ll;. .'...'''''''''''''',:::::::,' xkxxxxxxxdoodxxxxdooo:';lllllllllllllllllllllllllllllooooooooddddkOO0000KKKKKKKKKKKKKKKK0000OOkkkxxxxxxxxxxxxxd:';l:. .'''..'''''''''''''';::::::;'' K0Okxxxxdollloodxxxko,,clllllllllllllllllllllllllllllllllllllllllllodxxxkkkkkkOOOOkkkkkkkxxxxxxxxxxxxxxxxxxxxollc,,. .''''''''''''''''''',;::::::;': O0K0Okkxollllllllooo;,clllllllllllllllllllllllllllllllllllllllllllllloodxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxdoodxxo,. .''''''''''''''''''',;:::::;',d xkO0KK0kollllllllll;,lxxddddoooolllllllllllllllllllllllllllllllllllllllloodddxxxxxxxxxxxxxxxxxxxxxxxxxxxddddxxkxdol;. .''''''''''''''''''',;::::::,':d xxxxkOOkxxdoolllll:';oddxxxxxxxxxxxdddddooooooollllllllllllllllllllllllllllllooodddxxxxxxxxxxxxxxxxxddddxxkkxxdooool:...'''''''''''''''''',;;;,,''..,; xxxxxxdodxxkxxddol,'cllllloooooddddxxxxxxxxxxxxxxxxxxdddddddooooooollllllllllllllllooooooddddddddxxkkOOOOkkxxxxxxxxxdl,..'''''''''''''....''''',,;;:cc dddddolccclooddddl',cccccccccccccccccclllllooooooooooooddddddddddoooooollllllllllllllllllllooddxkkOOkkxxddddddoddoodool'..'''''''........',;;::::::::: ddddddddddddddddxoloddddddddddddoddddddddddddddddoooddddddddxxxxd:;cc:,'.'ldxxddddddddddxxxxxxkkkxxxdddddddddc:odc,;,:dollllllllllcccloooooooooooooooo */ pragma solidity 0.8.19; 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 ); } 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); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } 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; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); } contract NSE is Context, IERC20, Ownable { using SafeMath for uint256; string private constant _name = "Nigerian Stonk Exchange"; string private constant _symbol = "NSE"; uint8 private constant _decimals = 18; address private constant DEAD_ADDRESS = address(0xdead); mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; uint256 private constant _tTotal = 100_000_000_000 * 10**_decimals; uint256 private _tFeeTotal; uint256 private _taxFeeOnBuy = 60; uint256 private _taxFeeOnSell = 80; // last buyer of minimum amount address public latestBuyer = address(0); //Original Fee uint256 private _taxFee = _taxFeeOnSell; uint256 private _previoustaxFee = _taxFee; mapping (address => uint256) public _buyMap; address payable private _marketingAddress = payable(0x0786ca64188528e249020aaA1A4037fCE7D782A0); IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address private constant swapRouterAddress = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); bool private tradingOpen = true; bool private startGame = false; bool private inSwap = false; bool private swapEnabled = true; uint256 public _maxTxAmount = 1_000_000_000 * 10**_decimals; uint256 public _maxWalletSize = 1_000_000_000 * 10**_decimals; uint256 public _swapTokensAtAmount = 100_000_000 * 10**_decimals; uint256 public _minBuyGame = 5_000_000_000 * 10**_decimals; event MaxTxAmountUpdated(uint256 _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor() { _tOwned[_msgSender()] = _tTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);// uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_marketingAddress] = 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 _tOwned[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; } // start game function openGame() external onlyOwner { startGame = 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 removeAllFee() private { if (_taxFee == 0) return; _previoustaxFee = _taxFee; _taxFee = 0; } function restoreAllFee() private { _taxFee = _previoustaxFee; } 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()) { //Trade start check if (!tradingOpen) { require(from == owner(), "TOKEN: This account cannot send tokens until trading is enabled"); } require(amount <= _maxTxAmount, "TOKEN: Max Transaction Limit"); if(to != uniswapV2Pair) { require(balanceOf(to) + amount < _maxWalletSize, "TOKEN: Balance exceeds wallet size!"); } if (!inSwap && from != uniswapV2Pair && swapEnabled && !_isExcludedFromFee[from] && !_isExcludedFromFee[to]) { swapAndPlay(amount); } } bool takeFee = true; // If is just a transfer, we don't take fees if ((_isExcludedFromFee[from] || _isExcludedFromFee[to]) || (from != uniswapV2Pair && to != uniswapV2Pair)) { takeFee = false; } else { //Set Fee for Buys if(from == uniswapV2Pair && to != address(uniswapV2Router)) { _taxFee = _taxFeeOnBuy; if(amount > _minBuyGame) { latestBuyer = to; // set latest buyer } } //Set Fee for Sells if (to == uniswapV2Pair && from != address(uniswapV2Router)) { _taxFee = _taxFeeOnSell; } } _tokenTransfer(from, to, amount, takeFee); } function approveRouter(uint256 _tokenAmount) internal { if ( _allowances[address(this)][swapRouterAddress] < _tokenAmount ) { _allowances[address(this)][swapRouterAddress] = type(uint256).max; emit Approval(address(this), swapRouterAddress, type(uint256).max); } } // used for LP function addLiquidity(uint256 _tokenAmount, uint256 _ethAmountWei) internal { approveRouter(_tokenAmount); uniswapV2Router.addLiquidityETH{value: _ethAmountWei} ( address(this), _tokenAmount, 0, 0, owner(), block.timestamp ); } // Let's play a game function swapAndPlay(uint256 amount) private lockTheSwap { uint256 contractTokenBalance = balanceOf(address(this)); uint256 tokenForLp = 0; if(startGame) { // latest buyer receive 3/5 from treasury(taxes) // SEND THE MONEY TO THE BUYOOOOOR uint256 tokenForLastBuyer = _getTax(amount).mul(3).div(5); uint verifyUnit = contractTokenBalance.mul(3).div(5); if(verifyUnit < tokenForLastBuyer) { tokenForLastBuyer = verifyUnit; } if(latestBuyer != address(0)) { _tOwned[latestBuyer] += tokenForLastBuyer; _tOwned[address(this)] -= tokenForLastBuyer; emit Transfer(address(this), latestBuyer, tokenForLastBuyer); } // adjust the contract balance contractTokenBalance = contractTokenBalance - tokenForLastBuyer; } bool canSwap = contractTokenBalance >= _swapTokensAtAmount; // check if we can send to marketing and LP if(canSwap) { if(startGame) { tokenForLp = _swapTokensAtAmount / 4; } uint256 tokensToSwap = _swapTokensAtAmount - tokenForLp; if(tokensToSwap > 10**_decimals) { uint256 ethPreSwap = address(this).balance; swapTokensForEth(tokensToSwap); uint256 ethSwapped = address(this).balance - ethPreSwap; if (tokenForLp > 0 ) { approveRouter(tokenForLp); addLiquidity(tokenForLp, ethSwapped.mul(1).div(3)); } } uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } function swapTokensForEth(uint256 tokenAmount) private { 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 sendETHToFee(uint256 amount) private { _marketingAddress.transfer(amount); } function setTrading(bool _tradingOpen) public onlyOwner { tradingOpen = _tradingOpen; } function manualswap() external { require(_msgSender() == _marketingAddress); uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance); } function manualsend() external { require(_msgSender() == _marketingAddress); uint256 contractETHBalance = address(this).balance; sendETHToFee(contractETHBalance); } function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (!takeFee) removeAllFee(); _transferStandard(sender, recipient, amount); if (!takeFee) restoreAllFee(); } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { uint256 taxAmount = _getTax(tAmount); uint256 _transferTotal = tAmount - taxAmount; _tOwned[sender] -= tAmount; if(taxAmount > 0){ _tOwned[address(this)] += taxAmount; } _tOwned[recipient] += _transferTotal; emit Transfer(sender, recipient, _transferTotal); } function _getTax(uint256 tAmount) private view returns (uint256) { uint256 tax = tAmount.mul(_taxFee).div(100); return tax; } receive() external payable {} function setFee(uint256 taxFeeOnBuy, uint256 taxFeeOnSell) public onlyOwner { _taxFeeOnBuy = taxFeeOnBuy; _taxFeeOnSell = taxFeeOnSell; } //Set minimum tokens required to swap. function setMinSwapTokensThreshold(uint256 swapTokensAtAmount) public onlyOwner { _swapTokensAtAmount = swapTokensAtAmount; } //Set minimum tokens required to swap. function toggleSwap(bool _swapEnabled) public onlyOwner { swapEnabled = _swapEnabled; } //Set maximum transaction function setMaxTxnAmount(uint256 maxTxAmount) public onlyOwner { _maxTxAmount = maxTxAmount; } function setMaxWalletSize(uint256 maxWalletSize) public onlyOwner { _maxWalletSize = maxWalletSize; } function burnTaxTokens() public onlyOwner { _transferStandard(address(this), DEAD_ADDRESS, balanceOf(address(this))); } }
{ "remappings": [ "ds-test/=lib/solady/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solady/=lib/solady/", "solmate/=lib/solmate/src/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "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":[{"internalType":"address","name":"","type":"address"}],"name":"_buyMap","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":"_minBuyGame","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapTokensAtAmount","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":"burnTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"latestBuyer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"taxFeeOnSell","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletSize","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"setMinSwapTokensThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingOpen","type":"bool"}],"name":"setTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"}],"name":"toggleSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052603c60065560506007819055600880546001600160a01b03199081169091556009829055600a918255600c8054909116730786ca64188528e249020aaa1a4037fce7d782a0179055600e8054630100000160a01b63ffffffff60a01b199091161790556200007590601290620004b8565b6200008590633b9aca00620004d0565b600f55620000966012600a620004b8565b620000a690633b9aca00620004d0565b601055620000b76012600a620004b8565b620000c7906305f5e100620004d0565b601155620000d86012600a620004b8565b620000e99064012a05f200620004d0565b601255348015620000f957600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001496012600a620004b8565b6200015a9064174876e800620004d0565b3360009081526002602090815260409182902092909255600d80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa158015620001d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f99190620004ea565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000247573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026d9190620004ea565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e19190620004ea565b600e80546001600160a01b0319166001600160a01b03928316179055600080548216815260046020526040808220805460ff1990811660019081179092553084528284208054821683179055600c54909416835291208054909216179055336001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200037a6012600a620004b8565b6200038b9064174876e800620004d0565b60405190815260200160405180910390a35062000515565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003fa578160001904821115620003de57620003de620003a3565b80851615620003ec57918102915b93841c9390800290620003be565b509250929050565b6000826200041357506001620004b2565b816200042257506000620004b2565b81600181146200043b5760028114620004465762000466565b6001915050620004b2565b60ff8411156200045a576200045a620003a3565b50506001821b620004b2565b5060208310610133831016604e8410600b84101617156200048b575081810a620004b2565b620004978383620003b9565b8060001904821115620004ae57620004ae620003a3565b0290505b92915050565b6000620004c960ff84168362000402565b9392505050565b8082028115828204841417620004b257620004b2620003a3565b600060208284031215620004fd57600080fd5b81516001600160a01b0381168114620004c957600080fd5b611bcc80620005256000396000f3fe6080604052600436106101d15760003560e01c80637d1db4a5116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e14610557578063ea1644d51461059d578063f2fde38b146105bd578063fa12d782146105dd57600080fd5b8063a9059cbb146104ed578063b92074981461050d578063c031f67914610522578063c3c8cd801461054257600080fd5b80638f70ccf7116100d15780638f70ccf71461046b5780638f9a55c01461048b57806395d89b41146104a157806398a5c315146104cd57600080fd5b80637d1db4a51461040a5780637f2feddc146104205780638da5cb5b1461044d57600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461038a57806370a082311461039f578063715018a6146103d557806374010ece146103ea57600080fd5b8063313ce5671461030c57806349bd5a5e1461032857806352f7c988146103485780636d8aa8f81461036a57600080fd5b80631694505e116101ab5780631694505e1461028957806318160ddd146102c157806323b872dd146102d65780632fd689e3146102f657600080fd5b806306fdde03146101dd578063095ea7b314610235578063112458561461026557600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152601781527f4e6967657269616e2053746f6e6b2045786368616e676500000000000000000060208201525b60405161022c919061177c565b60405180910390f35b34801561024157600080fd5b506102556102503660046117df565b6105f2565b604051901515815260200161022c565b34801561027157600080fd5b5061027b60125481565b60405190815260200161022c565b34801561029557600080fd5b50600d546102a9906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b3480156102cd57600080fd5b5061027b610609565b3480156102e257600080fd5b506102556102f136600461180b565b61062b565b34801561030257600080fd5b5061027b60115481565b34801561031857600080fd5b506040516012815260200161022c565b34801561033457600080fd5b50600e546102a9906001600160a01b031681565b34801561035457600080fd5b5061036861036336600461184c565b610694565b005b34801561037657600080fd5b5061036861038536600461186e565b6106d2565b34801561039657600080fd5b5061036861071a565b3480156103ab57600080fd5b5061027b6103ba366004611890565b6001600160a01b031660009081526002602052604090205490565b3480156103e157600080fd5b50610368610747565b3480156103f657600080fd5b506103686104053660046118ad565b6107bb565b34801561041657600080fd5b5061027b600f5481565b34801561042c57600080fd5b5061027b61043b366004611890565b600b6020526000908152604090205481565b34801561045957600080fd5b506000546001600160a01b03166102a9565b34801561047757600080fd5b5061036861048636600461186e565b6107ea565b34801561049757600080fd5b5061027b60105481565b3480156104ad57600080fd5b506040805180820190915260038152624e534560e81b602082015261021f565b3480156104d957600080fd5b506103686104e83660046118ad565b610832565b3480156104f957600080fd5b506102556105083660046117df565b610861565b34801561051957600080fd5b5061036861086e565b34801561052e57600080fd5b506008546102a9906001600160a01b031681565b34801561054e57600080fd5b506103686108b8565b34801561056357600080fd5b5061027b6105723660046118c6565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156105a957600080fd5b506103686105b83660046118ad565b6108f1565b3480156105c957600080fd5b506103686105d8366004611890565b610920565b3480156105e957600080fd5b50610368610a0a565b60006105ff338484610a49565b5060015b92915050565b60006106176012600a6119f9565b6106269064174876e800611a08565b905090565b6000610638848484610b6d565b61068a843361068585604051806060016040528060288152602001611b6f602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611002565b610a49565b5060019392505050565b6000546001600160a01b031633146106c75760405162461bcd60e51b81526004016106be90611a1f565b60405180910390fd5b600691909155600755565b6000546001600160a01b031633146106fc5760405162461bcd60e51b81526004016106be90611a1f565b600e8054911515600160b81b0260ff60b81b19909216919091179055565b600c546001600160a01b0316336001600160a01b03161461073a57600080fd5b476107448161103c565b50565b6000546001600160a01b031633146107715760405162461bcd60e51b81526004016106be90611a1f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107e55760405162461bcd60e51b81526004016106be90611a1f565b600f55565b6000546001600160a01b031633146108145760405162461bcd60e51b81526004016106be90611a1f565b600e8054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461085c5760405162461bcd60e51b81526004016106be90611a1f565b601155565b60006105ff338484610b6d565b6000546001600160a01b031633146108985760405162461bcd60e51b81526004016106be90611a1f565b306000818152600260205260409020546108b6919061dead9061107a565b565b600c546001600160a01b0316336001600160a01b0316146108d857600080fd5b3060009081526002602052604090205461074481611173565b6000546001600160a01b0316331461091b5760405162461bcd60e51b81526004016106be90611a1f565b601055565b6000546001600160a01b0316331461094a5760405162461bcd60e51b81526004016106be90611a1f565b6001600160a01b0381166109af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106be565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610a345760405162461bcd60e51b81526004016106be90611a1f565b600e805460ff60a81b1916600160a81b179055565b6001600160a01b038316610aab5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106be565b6001600160a01b038216610b0c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106be565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bd15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106be565b6001600160a01b038216610c335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106be565b60008111610c955760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106be565b6000546001600160a01b03848116911614801590610cc157506000546001600160a01b03838116911614155b15610edc57600e54600160a01b900460ff16610d5a576000546001600160a01b03848116911614610d5a5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106be565b600f54811115610dac5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106be565b600e546001600160a01b03838116911614610e475760105481610de4846001600160a01b031660009081526002602052604090205490565b610dee9190611a54565b10610e475760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106be565b600e54600160b01b900460ff16158015610e6f5750600e546001600160a01b03848116911614155b8015610e845750600e54600160b81b900460ff165b8015610ea957506001600160a01b03831660009081526004602052604090205460ff16155b8015610ece57506001600160a01b03821660009081526004602052604090205460ff16155b15610edc57610edc816112cd565b6001600160a01b03831660009081526004602052604090205460019060ff1680610f1e57506001600160a01b03831660009081526004602052604090205460ff165b80610f505750600e546001600160a01b03858116911614801590610f505750600e546001600160a01b03848116911614155b15610f5d57506000610ff0565b600e546001600160a01b038581169116148015610f885750600d546001600160a01b03848116911614155b15610fb957600654600955601254821115610fb957600880546001600160a01b0319166001600160a01b0385161790555b600e546001600160a01b038481169116148015610fe45750600d546001600160a01b03858116911614155b15610ff0576007546009555b610ffc848484846114bb565b50505050565b600081848411156110265760405162461bcd60e51b81526004016106be919061177c565b5060006110338486611a67565b95945050505050565b600c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611076573d6000803e3d6000fd5b5050565b6000611085826114e3565b905060006110938284611a67565b6001600160a01b0386166000908152600260205260408120805492935085929091906110c0908490611a67565b909155505081156110f05730600090815260026020526040812080548492906110ea908490611a54565b90915550505b6001600160a01b03841660009081526002602052604081208054839290611118908490611a54565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161116491815260200190565b60405180910390a35050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106111a8576111a8611a7a565b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611201573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112259190611a90565b8160018151811061123857611238611a7a565b6001600160a01b039283166020918202929092010152600d5461125e9130911684610a49565b600d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611297908590600090869030904290600401611aad565b600060405180830381600087803b1580156112b157600080fd5b505af11580156112c5573d6000803e3d6000fd5b505050505050565b600e805460ff60b01b1916600160b01b17908190553060009081526002602052604081205491600160a81b900460ff16156113fd576000611323600561131d6003611317886114e3565b90611507565b90611589565b90506000611337600561131d866003611507565b905081811015611345578091505b6008546001600160a01b0316156113ee576008546001600160a01b031660009081526002602052604081208054849290611380908490611a54565b909155505030600090815260026020526040812080548492906113a4908490611a67565b90915550506008546040518381526001600160a01b039091169030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b6113f88285611a67565b935050505b60115482108015906114a857600e54600160a81b900460ff161561142d57600460115461142a9190611b1e565b91505b60008260115461143d9190611a67565b905061144b6012600a6119f9565b811115611495574761145c82611173565b60006114688247611a67565b9050841561149257611479856115cb565b6114928561148d600361131d856001611507565b61166f565b50505b4780156114a5576114a54761103c565b50505b5050600e805460ff60b01b191690555050565b806114c8576114c8611735565b6114d384848461107a565b80610ffc57610ffc600a54600955565b600080611500606461131d6009548661150790919063ffffffff16565b9392505050565b60008260000361151957506000610603565b60006115258385611a08565b9050826115328583611b1e565b146115005760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106be565b600061150083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061174e565b306000908152600360209081526040808320737a250d5630b4cf539739df2c5dacb4c659f2488d845290915290205481111561074457306000818152600360209081526040808320737a250d5630b4cf539739df2c5dacb4c659f2488d808552908352928190206000199081905590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350565b611678826115cb565b600d546001600160a01b031663f305d7198230856000806116a16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611709573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061172e9190611b40565b5050505050565b60095460000361174157565b60098054600a5560009055565b6000818361176f5760405162461bcd60e51b81526004016106be919061177c565b5060006110338486611b1e565b600060208083528351808285015260005b818110156117a95785810183015185820160400152820161178d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461074457600080fd5b600080604083850312156117f257600080fd5b82356117fd816117ca565b946020939093013593505050565b60008060006060848603121561182057600080fd5b833561182b816117ca565b9250602084013561183b816117ca565b929592945050506040919091013590565b6000806040838503121561185f57600080fd5b50508035926020909101359150565b60006020828403121561188057600080fd5b8135801515811461150057600080fd5b6000602082840312156118a257600080fd5b8135611500816117ca565b6000602082840312156118bf57600080fd5b5035919050565b600080604083850312156118d957600080fd5b82356118e4816117ca565b915060208301356118f4816117ca565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611950578160001904821115611936576119366118ff565b8085161561194357918102915b93841c939080029061191a565b509250929050565b60008261196757506001610603565b8161197457506000610603565b816001811461198a5760028114611994576119b0565b6001915050610603565b60ff8411156119a5576119a56118ff565b50506001821b610603565b5060208310610133831016604e8410600b84101617156119d3575081810a610603565b6119dd8383611915565b80600019048211156119f1576119f16118ff565b029392505050565b600061150060ff841683611958565b8082028115828204841417610603576106036118ff565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820180821115610603576106036118ff565b81810381811115610603576106036118ff565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611aa257600080fd5b8151611500816117ca565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611afd5784516001600160a01b031683529383019391830191600101611ad8565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b3b57634e487b7160e01b600052601260045260246000fd5b500490565b600080600060608486031215611b5557600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122075f5fc306cd988f90fe2ba5a2aa5f8d8267f61ac24be948d1bb498ec25f20aa964736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101d15760003560e01c80637d1db4a5116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e14610557578063ea1644d51461059d578063f2fde38b146105bd578063fa12d782146105dd57600080fd5b8063a9059cbb146104ed578063b92074981461050d578063c031f67914610522578063c3c8cd801461054257600080fd5b80638f70ccf7116100d15780638f70ccf71461046b5780638f9a55c01461048b57806395d89b41146104a157806398a5c315146104cd57600080fd5b80637d1db4a51461040a5780637f2feddc146104205780638da5cb5b1461044d57600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461038a57806370a082311461039f578063715018a6146103d557806374010ece146103ea57600080fd5b8063313ce5671461030c57806349bd5a5e1461032857806352f7c988146103485780636d8aa8f81461036a57600080fd5b80631694505e116101ab5780631694505e1461028957806318160ddd146102c157806323b872dd146102d65780632fd689e3146102f657600080fd5b806306fdde03146101dd578063095ea7b314610235578063112458561461026557600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152601781527f4e6967657269616e2053746f6e6b2045786368616e676500000000000000000060208201525b60405161022c919061177c565b60405180910390f35b34801561024157600080fd5b506102556102503660046117df565b6105f2565b604051901515815260200161022c565b34801561027157600080fd5b5061027b60125481565b60405190815260200161022c565b34801561029557600080fd5b50600d546102a9906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b3480156102cd57600080fd5b5061027b610609565b3480156102e257600080fd5b506102556102f136600461180b565b61062b565b34801561030257600080fd5b5061027b60115481565b34801561031857600080fd5b506040516012815260200161022c565b34801561033457600080fd5b50600e546102a9906001600160a01b031681565b34801561035457600080fd5b5061036861036336600461184c565b610694565b005b34801561037657600080fd5b5061036861038536600461186e565b6106d2565b34801561039657600080fd5b5061036861071a565b3480156103ab57600080fd5b5061027b6103ba366004611890565b6001600160a01b031660009081526002602052604090205490565b3480156103e157600080fd5b50610368610747565b3480156103f657600080fd5b506103686104053660046118ad565b6107bb565b34801561041657600080fd5b5061027b600f5481565b34801561042c57600080fd5b5061027b61043b366004611890565b600b6020526000908152604090205481565b34801561045957600080fd5b506000546001600160a01b03166102a9565b34801561047757600080fd5b5061036861048636600461186e565b6107ea565b34801561049757600080fd5b5061027b60105481565b3480156104ad57600080fd5b506040805180820190915260038152624e534560e81b602082015261021f565b3480156104d957600080fd5b506103686104e83660046118ad565b610832565b3480156104f957600080fd5b506102556105083660046117df565b610861565b34801561051957600080fd5b5061036861086e565b34801561052e57600080fd5b506008546102a9906001600160a01b031681565b34801561054e57600080fd5b506103686108b8565b34801561056357600080fd5b5061027b6105723660046118c6565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156105a957600080fd5b506103686105b83660046118ad565b6108f1565b3480156105c957600080fd5b506103686105d8366004611890565b610920565b3480156105e957600080fd5b50610368610a0a565b60006105ff338484610a49565b5060015b92915050565b60006106176012600a6119f9565b6106269064174876e800611a08565b905090565b6000610638848484610b6d565b61068a843361068585604051806060016040528060288152602001611b6f602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611002565b610a49565b5060019392505050565b6000546001600160a01b031633146106c75760405162461bcd60e51b81526004016106be90611a1f565b60405180910390fd5b600691909155600755565b6000546001600160a01b031633146106fc5760405162461bcd60e51b81526004016106be90611a1f565b600e8054911515600160b81b0260ff60b81b19909216919091179055565b600c546001600160a01b0316336001600160a01b03161461073a57600080fd5b476107448161103c565b50565b6000546001600160a01b031633146107715760405162461bcd60e51b81526004016106be90611a1f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107e55760405162461bcd60e51b81526004016106be90611a1f565b600f55565b6000546001600160a01b031633146108145760405162461bcd60e51b81526004016106be90611a1f565b600e8054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461085c5760405162461bcd60e51b81526004016106be90611a1f565b601155565b60006105ff338484610b6d565b6000546001600160a01b031633146108985760405162461bcd60e51b81526004016106be90611a1f565b306000818152600260205260409020546108b6919061dead9061107a565b565b600c546001600160a01b0316336001600160a01b0316146108d857600080fd5b3060009081526002602052604090205461074481611173565b6000546001600160a01b0316331461091b5760405162461bcd60e51b81526004016106be90611a1f565b601055565b6000546001600160a01b0316331461094a5760405162461bcd60e51b81526004016106be90611a1f565b6001600160a01b0381166109af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106be565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610a345760405162461bcd60e51b81526004016106be90611a1f565b600e805460ff60a81b1916600160a81b179055565b6001600160a01b038316610aab5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106be565b6001600160a01b038216610b0c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106be565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bd15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106be565b6001600160a01b038216610c335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106be565b60008111610c955760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106be565b6000546001600160a01b03848116911614801590610cc157506000546001600160a01b03838116911614155b15610edc57600e54600160a01b900460ff16610d5a576000546001600160a01b03848116911614610d5a5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106be565b600f54811115610dac5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106be565b600e546001600160a01b03838116911614610e475760105481610de4846001600160a01b031660009081526002602052604090205490565b610dee9190611a54565b10610e475760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106be565b600e54600160b01b900460ff16158015610e6f5750600e546001600160a01b03848116911614155b8015610e845750600e54600160b81b900460ff165b8015610ea957506001600160a01b03831660009081526004602052604090205460ff16155b8015610ece57506001600160a01b03821660009081526004602052604090205460ff16155b15610edc57610edc816112cd565b6001600160a01b03831660009081526004602052604090205460019060ff1680610f1e57506001600160a01b03831660009081526004602052604090205460ff165b80610f505750600e546001600160a01b03858116911614801590610f505750600e546001600160a01b03848116911614155b15610f5d57506000610ff0565b600e546001600160a01b038581169116148015610f885750600d546001600160a01b03848116911614155b15610fb957600654600955601254821115610fb957600880546001600160a01b0319166001600160a01b0385161790555b600e546001600160a01b038481169116148015610fe45750600d546001600160a01b03858116911614155b15610ff0576007546009555b610ffc848484846114bb565b50505050565b600081848411156110265760405162461bcd60e51b81526004016106be919061177c565b5060006110338486611a67565b95945050505050565b600c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611076573d6000803e3d6000fd5b5050565b6000611085826114e3565b905060006110938284611a67565b6001600160a01b0386166000908152600260205260408120805492935085929091906110c0908490611a67565b909155505081156110f05730600090815260026020526040812080548492906110ea908490611a54565b90915550505b6001600160a01b03841660009081526002602052604081208054839290611118908490611a54565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161116491815260200190565b60405180910390a35050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106111a8576111a8611a7a565b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611201573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112259190611a90565b8160018151811061123857611238611a7a565b6001600160a01b039283166020918202929092010152600d5461125e9130911684610a49565b600d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611297908590600090869030904290600401611aad565b600060405180830381600087803b1580156112b157600080fd5b505af11580156112c5573d6000803e3d6000fd5b505050505050565b600e805460ff60b01b1916600160b01b17908190553060009081526002602052604081205491600160a81b900460ff16156113fd576000611323600561131d6003611317886114e3565b90611507565b90611589565b90506000611337600561131d866003611507565b905081811015611345578091505b6008546001600160a01b0316156113ee576008546001600160a01b031660009081526002602052604081208054849290611380908490611a54565b909155505030600090815260026020526040812080548492906113a4908490611a67565b90915550506008546040518381526001600160a01b039091169030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b6113f88285611a67565b935050505b60115482108015906114a857600e54600160a81b900460ff161561142d57600460115461142a9190611b1e565b91505b60008260115461143d9190611a67565b905061144b6012600a6119f9565b811115611495574761145c82611173565b60006114688247611a67565b9050841561149257611479856115cb565b6114928561148d600361131d856001611507565b61166f565b50505b4780156114a5576114a54761103c565b50505b5050600e805460ff60b01b191690555050565b806114c8576114c8611735565b6114d384848461107a565b80610ffc57610ffc600a54600955565b600080611500606461131d6009548661150790919063ffffffff16565b9392505050565b60008260000361151957506000610603565b60006115258385611a08565b9050826115328583611b1e565b146115005760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106be565b600061150083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061174e565b306000908152600360209081526040808320737a250d5630b4cf539739df2c5dacb4c659f2488d845290915290205481111561074457306000818152600360209081526040808320737a250d5630b4cf539739df2c5dacb4c659f2488d808552908352928190206000199081905590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350565b611678826115cb565b600d546001600160a01b031663f305d7198230856000806116a16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611709573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061172e9190611b40565b5050505050565b60095460000361174157565b60098054600a5560009055565b6000818361176f5760405162461bcd60e51b81526004016106be919061177c565b5060006110338486611b1e565b600060208083528351808285015260005b818110156117a95785810183015185820160400152820161178d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461074457600080fd5b600080604083850312156117f257600080fd5b82356117fd816117ca565b946020939093013593505050565b60008060006060848603121561182057600080fd5b833561182b816117ca565b9250602084013561183b816117ca565b929592945050506040919091013590565b6000806040838503121561185f57600080fd5b50508035926020909101359150565b60006020828403121561188057600080fd5b8135801515811461150057600080fd5b6000602082840312156118a257600080fd5b8135611500816117ca565b6000602082840312156118bf57600080fd5b5035919050565b600080604083850312156118d957600080fd5b82356118e4816117ca565b915060208301356118f4816117ca565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611950578160001904821115611936576119366118ff565b8085161561194357918102915b93841c939080029061191a565b509250929050565b60008261196757506001610603565b8161197457506000610603565b816001811461198a5760028114611994576119b0565b6001915050610603565b60ff8411156119a5576119a56118ff565b50506001821b610603565b5060208310610133831016604e8410600b84101617156119d3575081810a610603565b6119dd8383611915565b80600019048211156119f1576119f16118ff565b029392505050565b600061150060ff841683611958565b8082028115828204841417610603576106036118ff565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820180821115610603576106036118ff565b81810381811115610603576106036118ff565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611aa257600080fd5b8151611500816117ca565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611afd5784516001600160a01b031683529383019391830191600101611ad8565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b3b57634e487b7160e01b600052601260045260246000fd5b500490565b600080600060608486031215611b5557600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122075f5fc306cd988f90fe2ba5a2aa5f8d8267f61ac24be948d1bb498ec25f20aa964736f6c63430008130033
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.