For Jay Chou's Groundbreaking 2022 concert, $Liu will launch the child token Jay chou, $Jay, we will only keep 1% tokens, the total supply is same with Liu, the rest tokens will be all burned.
LIU.addLiquidity(uint256,uint256) (#525-538) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LIU._transfer(address,address,uint256) (#450-480):
External calls:
- swapForFees() (#474)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
- (success) = recipient.call{value: amount}() (#337)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#521)
- address(marketingWallet).sendValue(marketingAmt) (#506)
External calls sending eth:
- swapForFees() (#474)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
- (success) = recipient.call{value: amount}() (#337)
State variables written after the call(s):
- super._transfer(sender,recipient,amount - fee - burnAmt) (#476)
- _balances[sender] = senderBalance - amount (#246)
- _balances[recipient] += amount (#247)
- super._transfer(sender,address(this),fee) (#477)
- _balances[sender] = senderBalance - amount (#246)
- _balances[recipient] += amount (#247)
- super._transfer(sender,address(0xdead),burnAmt) (#478)
- _balances[sender] = senderBalance - amount (#246)
- _balances[recipient] += amount (#247)
Apply the check-effects-interactions pattern.
Additional information: link
LIU.rescueBEP20(address,uint256) (#571-573) ignores return value by IERC20(tokenAddress).transfer(owner(),amount) (#572)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
LIU.updateMarketingWallet(address).newWallet (#556) lacks a zero-check on :
- marketingWallet = newWallet (#557)
LIU.updateRouterAndPair(IRouter,address)._pair (#561) lacks a zero-check on :
- pair = _pair (#564)
Check that the address is not zero.
Additional information: link
Modifier LIU.inSwap() (#424-430) does not always execute _; or revert
All the paths in a modifier must execute _ or revert.
Additional information: link
LIU.swapForFees() (#482-510) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (#496)
-bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity (#497)
LIU.swapForFees() (#482-510) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (#496)
-marketingAmt = unitBalance * 2 * sellTaxes.marketing (#504)
Consider ordering multiplication before division.
Additional information: link
LIU.addLiquidity(uint256,uint256) (#525-538) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
Ensure that all the return values of the function calls are used.
Additional information: link
LIU.setTaxes(uint256,uint256,uint256)._burn (#548) shadows:
- ERC20._burn(address,uint256) (#282-293) (function)
LIU.setSellTaxes(uint256,uint256,uint256)._burn (#552) shadows:
- ERC20._burn(address,uint256) (#282-293) (function)
Rename the local variables that shadow another component.
Additional information: link
LIU.setSwapThreshold(uint256) (#544-546) should emit an event for:
- swapThreshold = new_amount (#545)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in LIU.constructor() (#432-444):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#437-438)
State variables written after the call(s):
- excludedFromFees[address(this)] = true (#442)
- excludedFromFees[marketingWallet] = true (#443)
- pair = _pair (#441)
- router = _router (#440)
Reentrancy in LIU.swapForFees() (#482-510):
External calls:
- swapTokensForBnb(toSwap) (#493)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#521)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#501)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#501)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#501)
- _allowances[owner][spender] = amount (#312)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LIU._transfer(address,address,uint256) (#450-480):
External calls:
- swapForFees() (#474)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
- (success) = recipient.call{value: amount}() (#337)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#521)
- address(marketingWallet).sendValue(marketingAmt) (#506)
External calls sending eth:
- swapForFees() (#474)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
- (success) = recipient.call{value: amount}() (#337)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#249)
- super._transfer(sender,recipient,amount - fee - burnAmt) (#476)
- Transfer(sender,recipient,amount) (#249)
- super._transfer(sender,address(0xdead),burnAmt) (#478)
- Transfer(sender,recipient,amount) (#249)
- super._transfer(sender,address(this),fee) (#477)
Reentrancy in LIU.swapForFees() (#482-510):
External calls:
- swapTokensForBnb(toSwap) (#493)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#521)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#501)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#501)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#530-537)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#313)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#501)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#14-17) is never used and should be removed
ERC20._burn(address,uint256) (#282-293) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.12 (#6) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.12 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 Address.sendValue(address,uint256) (#334-339):
- (success) = recipient.call{value: amount}() (#337)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ERC20._balances (#61) is not in mixedCase
Variable ERC20._allowances (#63) is not in mixedCase
Function IRouter.WETH() (#382) is not in mixedCase
Parameter LIU.setSwapThreshold(uint256).new_amount (#544) is not in mixedCase
Parameter LIU.setTaxes(uint256,uint256,uint256)._marketing (#548) is not in mixedCase
Parameter LIU.setTaxes(uint256,uint256,uint256)._liquidity (#548) is not in mixedCase
Parameter LIU.setTaxes(uint256,uint256,uint256)._burn (#548) is not in mixedCase
Parameter LIU.setSellTaxes(uint256,uint256,uint256)._marketing (#552) is not in mixedCase
Parameter LIU.setSellTaxes(uint256,uint256,uint256)._liquidity (#552) is not in mixedCase
Parameter LIU.setSellTaxes(uint256,uint256,uint256)._burn (#552) is not in mixedCase
Parameter LIU.updateRouterAndPair(IRouter,address)._router (#561) is not in mixedCase
Parameter LIU.updateRouterAndPair(IRouter,address)._pair (#561) is not in mixedCase
Parameter LIU.updateExcludedFromFees(address,bool)._address (#567) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#15)" inContext (#9-18)
Remove redundant statements if they congest code but offer no value.
Additional information: link
name() should be declared external:
- ERC20.name() (#87-89)
symbol() should be declared external:
- ERC20.symbol() (#95-97)
totalSupply() should be declared external:
- ERC20.totalSupply() (#119-121)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#138-141)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#146-148)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#157-160)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#175-183)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#197-200)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#216-222)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#360-362)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#364-367)
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 on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to find code repository for the project
Unable to verify token contract address on the website
Unable to find whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account