Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LZ.addLiquidity(uint256,uint256) (#776-789) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LZ._transfer(address,address,uint256) (#685-723):
External calls:
- swapAndLiquify(contractTokenBalance) (#707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#707)
- recipient.transfer(amount) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#710)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#718)
- finalAmount = takeFee(sender,recipient,amount) (#712-713)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#803)
Apply the check-effects-interactions pattern.
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.
Contract ticker (🌕) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Contract ticker (🌕) has length of 1 chars.
Not a direct threat, but may indicate unreliable intentions of developer.
LZ.addLiquidity(uint256,uint256) (#776-789) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
Ensure that all the return values of the function calls are used.
Additional information: link
LZ.allowance(address,address).owner (#540) shadows:
- Ownable.owner() (#164-166) (function)
LZ._approve(address,address,uint256).owner (#563) shadows:
- Ownable.owner() (#164-166) (function)
Rename the local variables that shadow another component.
Additional information: link
LZ.setBuyTaxes(uint256,uint256,uint256) (#583-589) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#588)
LZ.setSellTaxes(uint256,uint256,uint256) (#591-597) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#596)
LZ.setDistributionSettings(uint256,uint256,uint256) (#599-605) should emit an event for:
- _liquidityShare = newLiquidityShare (#600)
- _teamShare = newTeamShare (#602)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#604)
LZ.setMaxTxAmount(uint256) (#607-609) should emit an event for:
- _maxTxAmount = maxTxAmount (#608)
LZ.setWalletLimit(uint256) (#619-621) should emit an event for:
- _walletMax = newLimit (#620)
LZ.setNumTokensBeforeSwap(uint256) (#623-625) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#624)
Emit an event for critical parameter changes.
Additional information: link
LZ.setMarketingWalletAddress(address).newAddress (#627) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#628)
LZ.setTeamWalletAddress(address).newAddress (#631) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#632)
Check that the address is not zero.
Additional information: link
Reentrancy in LZ.changeRouterVersion(address) (#652-669):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#660-661)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#668)
- isWalletLimitExempt[address(uniswapPair)] = true (#667)
- uniswapPair = newPairAddress (#664)
- uniswapV2Router = _uniswapV2Router (#665)
Reentrancy in LZ.constructor(string,string) (#480-517):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#487-488)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#491)
- _balances[_msgSender()] = _totalSupply (#515)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#500)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#498)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#499)
- isExcludedFromFee[owner()] = true (#493)
- isExcludedFromFee[marketingWalletAddress] = true (#494)
- isExcludedFromFee[teamWalletAddress] = true (#495)
- isExcludedFromFee[address(this)] = true (#496)
- isMarketPair[address(uniswapPair)] = true (#513)
- isTxLimitExempt[owner()] = true (#508)
- isTxLimitExempt[address(this)] = true (#509)
- isTxLimitExempt[marketingWalletAddress] = true (#510)
- isTxLimitExempt[teamWalletAddress] = true (#511)
- isWalletLimitExempt[owner()] = true (#502)
- isWalletLimitExempt[address(uniswapPair)] = true (#503)
- isWalletLimitExempt[address(this)] = true (#504)
- isWalletLimitExempt[marketingWalletAddress] = true (#505)
- isWalletLimitExempt[teamWalletAddress] = true (#506)
- uniswapV2Router = _uniswapV2Router (#490)
Reentrancy in LZ.swapAndLiquify(uint256) (#732-754):
External calls:
- swapTokensForEth(tokensForSwap) (#737)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#747)
- recipient.transfer(amount) (#649)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#750)
- recipient.transfer(amount) (#649)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- _allowances[owner][spender] = amount (#567)
Reentrancy in LZ.transferFrom(address,address,uint256) (#679-683):
External calls:
- _transfer(sender,recipient,amount) (#680)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- _transfer(sender,recipient,amount) (#680)
- recipient.transfer(amount) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#681)
- _allowances[owner][spender] = amount (#567)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LZ._transfer(address,address,uint256) (#685-723):
External calls:
- swapAndLiquify(contractTokenBalance) (#707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#707)
- recipient.transfer(amount) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#804)
- finalAmount = takeFee(sender,recipient,amount) (#712-713)
- Transfer(sender,recipient,finalAmount) (#720)
Reentrancy in LZ.constructor(string,string) (#480-517):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#487-488)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#516)
Reentrancy in LZ.swapAndLiquify(uint256) (#732-754):
External calls:
- swapTokensForEth(tokensForSwap) (#737)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#747)
- recipient.transfer(amount) (#649)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#750)
- recipient.transfer(amount) (#649)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#568)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
Reentrancy in LZ.swapTokensForEth(uint256) (#756-774):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#773)
Reentrancy in LZ.transferFrom(address,address,uint256) (#679-683):
External calls:
- _transfer(sender,recipient,amount) (#680)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- _transfer(sender,recipient,amount) (#680)
- recipient.transfer(amount) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#568)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#681)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#199-204) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#201)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#95-104) uses assembly
- INLINE ASM (#102)
Address._functionCallWithValue(address,bytes,uint256,string) (#131-148) uses assembly
- INLINE ASM (#140-143)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#131-148) is never used and should be removed
Address.functionCall(address,bytes) (#114-116) is never used and should be removed
Address.functionCall(address,bytes,string) (#118-120) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#122-124) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#126-129) is never used and should be removed
Address.isContract(address) (#95-104) is never used and should be removed
Address.sendValue(address,uint256) (#106-112) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
SafeMath.mod(uint256,uint256) (#83-85) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#87-90) is never used and should be removed
Remove unused functions.
Additional information: link
LZ._totalSupply (#444) is set pre-construction with a non-constant function or state variable:
- 1777 * 10 ** _decimals
LZ._maxTxAmount (#445) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** _decimals
LZ._walletMax (#446) is set pre-construction with a non-constant function or state variable:
- 3 * 10 ** _decimals
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.8.0 (#14) allows old versions
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) (#106-112):
- (success) = recipient.call{value: amount}() (#110)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#131-148):
- (success,returndata) = target.call{value: weiValue}(data) (#134)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#238) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#239) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#255) is not in mixedCase
Function IUniswapV2Router01.WETH() (#274) is not in mixedCase
Parameter LZ.setSwapAndLiquifyEnabled(bool)._enabled (#635) is not in mixedCase
Variable LZ._balances (#420) is not in mixedCase
Variable LZ._buyLiquidityFee (#428) is not in mixedCase
Variable LZ._buyMarketingFee (#429) is not in mixedCase
Variable LZ._buyTeamFee (#430) is not in mixedCase
Variable LZ._sellLiquidityFee (#432) is not in mixedCase
Variable LZ._sellMarketingFee (#433) is not in mixedCase
Variable LZ._sellTeamFee (#434) is not in mixedCase
Variable LZ._liquidityShare (#436) is not in mixedCase
Variable LZ._marketingShare (#437) is not in mixedCase
Variable LZ._teamShare (#438) is not in mixedCase
Variable LZ._totalTaxIfBuying (#440) is not in mixedCase
Variable LZ._totalTaxIfSelling (#441) is not in mixedCase
Variable LZ._totalDistributionShares (#442) is not in mixedCase
Variable LZ._maxTxAmount (#445) is not in mixedCase
Variable LZ._walletMax (#446) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#16-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in LZ._transfer(address,address,uint256) (#685-723):
External calls:
- swapAndLiquify(contractTokenBalance) (#707)
- recipient.transfer(amount) (#649)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#707)
- recipient.transfer(amount) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#710)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#718)
- finalAmount = takeFee(sender,recipient,amount) (#712-713)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#803)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#804)
- finalAmount = takeFee(sender,recipient,amount) (#712-713)
- Transfer(sender,recipient,finalAmount) (#720)
Reentrancy in LZ.swapAndLiquify(uint256) (#732-754):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#747)
- recipient.transfer(amount) (#649)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#750)
- recipient.transfer(amount) (#649)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#747)
- recipient.transfer(amount) (#649)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#750)
- recipient.transfer(amount) (#649)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
- _allowances[owner][spender] = amount (#567)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#568)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#753)
Reentrancy in LZ.transferFrom(address,address,uint256) (#679-683):
External calls:
- _transfer(sender,recipient,amount) (#680)
- recipient.transfer(amount) (#649)
External calls sending eth:
- _transfer(sender,recipient,amount) (#680)
- recipient.transfer(amount) (#649)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#781-788)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#681)
- _allowances[owner][spender] = amount (#567)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#568)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#681)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#279) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#280)
Prevent variables from having similar names.
Additional information: link
LZ.slitherConstructorVariables() (#407-811) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#418)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LZ._decimals (#414) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#173-176)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#178-182)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#184-186)
getTime() should be declared external:
- Ownable.getTime() (#188-190)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#192-197)
unlock() should be declared external:
- Ownable.unlock() (#199-204)
name() should be declared external:
- LZ.name() (#519-521)
symbol() should be declared external:
- LZ.symbol() (#523-525)
decimals() should be declared external:
- LZ.decimals() (#527-529)
totalSupply() should be declared external:
- LZ.totalSupply() (#531-533)
allowance(address,address) should be declared external:
- LZ.allowance(address,address) (#540-542)
increaseAllowance(address,uint256) should be declared external:
- LZ.increaseAllowance(address,uint256) (#544-547)
decreaseAllowance(address,uint256) should be declared external:
- LZ.decreaseAllowance(address,uint256) (#549-552)
minimumTokensBeforeSwapAmount() should be declared external:
- LZ.minimumTokensBeforeSwapAmount() (#554-556)
approve(address,uint256) should be declared external:
- LZ.approve(address,uint256) (#558-561)
setMarketPairStatus(address,bool) should be declared external:
- LZ.setMarketPairStatus(address,bool) (#571-573)
setIsExcludedFromFee(address,bool) should be declared external:
- LZ.setIsExcludedFromFee(address,bool) (#579-581)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LZ.setSwapAndLiquifyEnabled(bool) (#635-638)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- LZ.setSwapAndLiquifyByLimitOnly(bool) (#640-642)
getCirculatingSupply() should be declared external:
- LZ.getCirculatingSupply() (#644-646)
changeRouterVersion(address) should be declared external:
- LZ.changeRouterVersion(address) (#652-669)
transfer(address,uint256) should be declared external:
- LZ.transfer(address,uint256) (#674-677)
transferFrom(address,address,uint256) should be declared external:
- LZ.transferFrom(address,address,uint256) (#679-683)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
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 Telegram and Twitter accounts