Lion Token is an experiment in decentralized spontaneous community building based on the Huobi Eco Chain, Binance Smart Chain, and GateChain. The total amount of LION Token is 20 billion and it automatically destroys one-thousandth of each transaction done for deflation. 5 Billion tokens have been sent to the LION/HT liquidity pool on the Huobi Eco Chain Heco for global users to exchange fairly and justly from 0. 5 billion tokens have been released on the Binance Smart Chain BSC, of which 50 million have been released in the LION/BNB liquidity pool for global users to redeem from 0 at a unified time, and 50 million have been airdropped to Twitter/Telegram community users. 4.9 billion pieces entered the mining pool for global users to mine. the other 10 billion tokens will be released on the GateChain and on the main chain that is recognised by the community in the future.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LION._addLiquidity(uint256,uint256) (#575-587) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,devPool,block.timestamp) (#579-586)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LION.transferFrom(address,address,uint256) (#487-549):
External calls:
- pair = swapFactory.getPair(address(this),WETH) (#493)
- _swapAndLiquify(balances[address(this)]) (#533)
- IERC20(address(this)).approve(address(router),0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (#590)
- IERC20(address(this)).approve(address(router),0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (#577)
- router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,devPool,block.timestamp) (#579-586)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#596-602)
External calls sending eth:
- _swapAndLiquify(balances[address(this)]) (#533)
- router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,devPool,block.timestamp) (#579-586)
State variables written after the call(s):
- allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens.sub(toLiquidity)) (#536)
- balances[from] = balances[from].sub(tokens.sub(toLiquidity)) (#535)
- balances[blackHole] = balances[blackHole].add(toBlackHole) (#537)
- balances[to] = balances[to].add(toUser) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
LION.transferFrom(address,address,uint256) (#487-549) uses a dangerous strict equality:
- force1stStep || _in1stWhiteList(from,to) || pair == address(0) || IERC20(address(this)).balanceOf(pair) == 0 || IERC20(WETH).balanceOf(pair) == 0 (#501)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
LION._swapTokensForETH(uint256) (#589-603) ignores return value by IERC20(address(this)).approve(address(router),0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (#590)
Ensure that all the return values of the function calls are used.
Additional information: link
LION.initialize(address,address,address)._devPool (#354) lacks a zero-check on :
- devPool = _devPool (#358)
Check that the address is not zero.
Additional information: link
Reentrancy in LION.transferFrom(address,address,uint256) (#487-549):
External calls:
- pair = swapFactory.getPair(address(this),WETH) (#493)
- force1stStep || _in1stWhiteList(from,to) || pair == address(0) || IERC20(address(this)).balanceOf(pair) == 0 || IERC20(WETH).balanceOf(pair) == 0 (#501)
State variables written after the call(s):
- allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens) (#503)
- balances[from] = balances[from].sub(tokens) (#502)
- balances[blackHole] = balances[blackHole].add(toBlackHole) (#505)
- balances[to] = balances[to].add(tokens.sub(toBlackHole)) (#506)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LION.transferFrom(address,address,uint256) (#487-549):
External calls:
- pair = swapFactory.getPair(address(this),WETH) (#493)
- _swapAndLiquify(balances[address(this)]) (#533)
- IERC20(address(this)).approve(address(router),0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (#590)
- IERC20(address(this)).approve(address(router),0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (#577)
- router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,devPool,block.timestamp) (#579-586)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#596-602)
External calls sending eth:
- _swapAndLiquify(balances[address(this)]) (#533)
- router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,devPool,block.timestamp) (#579-586)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#572)
- _swapAndLiquify(balances[address(this)]) (#533)
- Transfer(from,blackHole,toBlackHole) (#539)
- Transfer(from,address(this),toLiquidity) (#540)
- Transfer(from,to,toUser) (#541)
Apply the check-effects-interactions pattern.
Additional information: link
solc-0.4.26 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in LION._safeTransferETH(address,uint256) (#646-649):
- success = to.call.value(value)(new bytes(0)) (#647)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable LION.WETH (#326) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable LION.setForceExec(bool,bool,bool)._forceStep1 (#361) is too similar to LION.setForceExec(bool,bool,bool)._forceStep2 (#361)
Prevent variables from having similar names.
Additional information: link
LION.slitherConstructorVariables() (#303-689) uses literals with too many digits:
- swapFactory = IUniswapV2Factory(0x0000000000000000000000000000000000000000) (#328)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
getRateV(uint256) should be declared external:
- LION.getRateV(uint256) (#684-686)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account