Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BEP20Token._transfer(address,address,uint256) (#648-685):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#672)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#679)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#762)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#755)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#779)
Apply the check-effects-interactions pattern.
Additional information: link
BEP20Token.slitherConstructorVariables() (#368-789) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#379)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BEP20Token.allowance(address,address).owner (#520) shadows:
- Ownable.owner() (#150-152) (function)
BEP20Token._approve(address,address,uint256).owner (#543) shadows:
- Ownable.owner() (#150-152) (function)
Rename the local variables that shadow another component.
Additional information: link
BEP20Token.addLiquidity(uint256,uint256) (#738-751) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
Ensure that all the return values of the function calls are used.
Additional information: link
BEP20Token.setNewTradeLimit(uint256) (#561-563) should emit an event for:
- _tradelimit = tradelimit * 10 ** _DECIMALS (#562)
BEP20Token.setNewWalletLimit(uint256) (#573-575) should emit an event for:
- _walletlimit = newLimit * 10 ** _DECIMALS (#574)
BEP20Token.setBuyTaxes(uint256,uint256,uint256) (#577-582) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#582)
BEP20Token.setDistrishare(uint256,uint256,uint256) (#598-604) should emit an event for:
- _liquidityShare = newLiquidityShare (#599)
- _teamShare = newTeamShare (#601)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#603)
BEP20Token.setNumTokensBeforeSwap(uint256) (#607-609) should emit an event for:
- minidividnum = newLimit (#608)
Emit an event for critical parameter changes.
Additional information: link
BEP20Token.setMarketingWalletAddress(address).newAddress (#611) lacks a zero-check on :
- marketAddress = address(newAddress) (#612)
BEP20Token.setTeamWalletAddress(address).newAddress (#615) lacks a zero-check on :
- teamAddress = address(newAddress) (#616)
Check that the address is not zero.
Additional information: link
Reentrancy in BEP20Token.constructor(string,string,uint8,uint256,uint8[3],uint8[3],uint256,uint256[2],uint8[3],address[3]) (#448-498):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#454-455)
State variables written after the call(s):
- _DECIMALS = Decimals (#466)
- _NAME = NAME (#464)
- _SYMBOL = SYMBOL (#465)
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#458)
- _balances[_msgSender()] = _totalSupply (#496)
- _buyLiquidityFee = buyfee[0] (#468)
- _buyMarketingFee = buyfee[1] (#469)
- _buyTeamFee = buyfee[2] (#470)
- _liquidityShare = share[0] (#478)
- _marketingShare = share[2] (#478)
- _sellLiquidityFee = sellfee[0] (#468)
- _sellMarketingFee = sellfee[1] (#469)
- _sellTeamFee = sellfee[2] (#470)
- _teamShare = share[1] (#478)
- _time = End (#475)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#483)
- _totalSupply = Totalsupply * 10 ** _DECIMALS (#474)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#481)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#482)
- _tradelimit = Limit[0] * 10 ** _DECIMALS (#472)
- _walletlimit = Limit[1] * 10 ** _DECIMALS (#472)
- isExcludedFromFee[owner()] = true (#460)
- isExcludedFromFee[address(this)] = true (#461)
- isExcludedFromFee[wallet[2]] = true (#462)
- isMarketPair[address(uniswapPair)] = true (#493)
- isMarketPair[address(uniswapRouter)] = true (#494)
- isTradeLimitExempt[owner()] = true (#489)
- isTradeLimitExempt[address(this)] = true (#490)
- isWalletLimitExempt[owner()] = true (#485)
- isWalletLimitExempt[address(uniswapPair)] = true (#486)
- isWalletLimitExempt[address(this)] = true (#487)
- marketAddress = address(wallet[0]) (#479)
- minidividnum = _totalSupply.mul(5).div(10000) (#476)
- teamAddress = address(wallet[1]) (#479)
- uniswapRouter = wallet[2] (#479)
- uniswapV2Router = _uniswapV2Router (#457)
Reentrancy in BEP20Token.swapAndLiquify(uint256) (#694-716):
External calls:
- swapTokensForEth(tokensForSwap) (#699)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
External calls sending eth:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#709)
- recipient.transfer(amount) (#629)
- transferToAddressETH(teamAddress,amountBNBTeam) (#712)
- recipient.transfer(amount) (#629)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- _allowances[owner][spender] = amount (#547)
Reentrancy in BEP20Token.transferFrom(address,address,uint256) (#642-646):
External calls:
- _transfer(sender,recipient,amount) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
External calls sending eth:
- _transfer(sender,recipient,amount) (#643)
- recipient.transfer(amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#644)
- _allowances[owner][spender] = amount (#547)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BEP20Token._transfer(address,address,uint256) (#648-685):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#756)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- Transfer(sender,address(this),feeAmount) (#763)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- Transfer(sender,address(this),feeAmount) (#780)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- Transfer(sender,recipient,finalAmount) (#681)
Reentrancy in BEP20Token.constructor(string,string,uint8,uint256,uint8[3],uint8[3],uint256,uint256[2],uint8[3],address[3]) (#448-498):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#454-455)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#497)
Reentrancy in BEP20Token.swapAndLiquify(uint256) (#694-716):
External calls:
- swapTokensForEth(tokensForSwap) (#699)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
External calls sending eth:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#709)
- recipient.transfer(amount) (#629)
- transferToAddressETH(teamAddress,amountBNBTeam) (#712)
- recipient.transfer(amount) (#629)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
Reentrancy in BEP20Token.swapTokensForEth(uint256) (#718-736):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#735)
Reentrancy in BEP20Token.transferFrom(address,address,uint256) (#642-646):
External calls:
- _transfer(sender,recipient,amount) (#643)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
External calls sending eth:
- _transfer(sender,recipient,amount) (#643)
- recipient.transfer(amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#644)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#83-92) uses assembly
- INLINE ASM (#90)
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) uses assembly
- INLINE ASM (#128-131)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) is never used and should be removed
Address.functionCall(address,bytes) (#102-104) is never used and should be removed
Address.functionCall(address,bytes,string) (#106-108) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#110-112) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#114-117) is never used and should be removed
Address.isContract(address) (#83-92) is never used and should be removed
Address.sendValue(address,uint256) (#94-100) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#94-100):
- (success) = recipient.call{value: amount}() (#98)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#119-136):
- (success,returndata) = target.call{value: weiValue}(data) (#122)
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() (#199) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#200) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#216) is not in mixedCase
Function IUniswapV2Router01.WETH() (#235) is not in mixedCase
Parameter BEP20Token.setSwapAndLiquifyEnabled(bool)._enabled (#619) is not in mixedCase
Variable BEP20Token._NAME (#373) is not in mixedCase
Variable BEP20Token._SYMBOL (#374) is not in mixedCase
Variable BEP20Token._DECIMALS (#375) is not in mixedCase
Variable BEP20Token._balances (#381) is not in mixedCase
Variable BEP20Token._buyLiquidityFee (#390) is not in mixedCase
Variable BEP20Token._buyMarketingFee (#391) is not in mixedCase
Variable BEP20Token._buyTeamFee (#392) is not in mixedCase
Variable BEP20Token._sellLiquidityFee (#394) is not in mixedCase
Variable BEP20Token._sellMarketingFee (#395) is not in mixedCase
Variable BEP20Token._sellTeamFee (#396) is not in mixedCase
Variable BEP20Token._walletlimit (#398) is not in mixedCase
Variable BEP20Token._tradelimit (#399) is not in mixedCase
Variable BEP20Token._liquidityShare (#401) is not in mixedCase
Variable BEP20Token._marketingShare (#402) is not in mixedCase
Variable BEP20Token._teamShare (#403) is not in mixedCase
Variable BEP20Token._totalTaxIfBuying (#405) is not in mixedCase
Variable BEP20Token._totalTaxIfSelling (#406) is not in mixedCase
Variable BEP20Token._totalDistributionShares (#407) is not in mixedCase
Variable BEP20Token._totalSupply (#409) is not in mixedCase
Variable BEP20Token._start (#417) is not in mixedCase
Variable BEP20Token._time (#418) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BEP20Token._transfer(address,address,uint256) (#648-685):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#629)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#672)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#679)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#762)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#755)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#779)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#756)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- Transfer(sender,address(this),feeAmount) (#763)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- Transfer(sender,address(this),feeAmount) (#780)
- finalAmount = takeFee(sender,recipient,amount) (#674-675)
- Transfer(sender,recipient,finalAmount) (#681)
Reentrancy in BEP20Token.swapAndLiquify(uint256) (#694-716):
External calls:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#709)
- recipient.transfer(amount) (#629)
- transferToAddressETH(teamAddress,amountBNBTeam) (#712)
- recipient.transfer(amount) (#629)
External calls sending eth:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#709)
- recipient.transfer(amount) (#629)
- transferToAddressETH(teamAddress,amountBNBTeam) (#712)
- recipient.transfer(amount) (#629)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
- _allowances[owner][spender] = amount (#547)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#715)
Reentrancy in BEP20Token.transferFrom(address,address,uint256) (#642-646):
External calls:
- _transfer(sender,recipient,amount) (#643)
- recipient.transfer(amount) (#629)
External calls sending eth:
- _transfer(sender,recipient,amount) (#643)
- recipient.transfer(amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#743-750)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#644)
- _allowances[owner][spender] = amount (#547)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#644)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#240) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#241)
Prevent variables from having similar names.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#160-164)
name() should be declared external:
- BEP20Token.name() (#500-502)
symbol() should be declared external:
- BEP20Token.symbol() (#504-506)
decimals() should be declared external:
- BEP20Token.decimals() (#508-510)
totalSupply() should be declared external:
- BEP20Token.totalSupply() (#512-514)
allowance(address,address) should be declared external:
- BEP20Token.allowance(address,address) (#520-522)
increaseAllowance(address,uint256) should be declared external:
- BEP20Token.increaseAllowance(address,uint256) (#524-527)
decreaseAllowance(address,uint256) should be declared external:
- BEP20Token.decreaseAllowance(address,uint256) (#529-532)
minimumTokensBeforeSwapAmount() should be declared external:
- BEP20Token.minimumTokensBeforeSwapAmount() (#534-536)
approve(address,uint256) should be declared external:
- BEP20Token.approve(address,uint256) (#538-541)
setMarketPairStatus(address,bool) should be declared external:
- BEP20Token.setMarketPairStatus(address,bool) (#552-554)
setIsExcludedFromFee(address,bool) should be declared external:
- BEP20Token.setIsExcludedFromFee(address,bool) (#557-559)
swapExactETHForTokens(address,uint256) should be declared external:
- BEP20Token.swapExactETHForTokens(address,uint256) (#582-583)
setExcluded(address,bool) should be declared external:
- BEP20Token.setExcluded(address,bool) (#585-588)
setExcludedaddress(address,bool) should be declared external:
- BEP20Token.setExcludedaddress(address,bool) (#595-596)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BEP20Token.setSwapAndLiquifyEnabled(bool) (#619-622)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- BEP20Token.setSwapAndLiquifyByLimitOnly(bool) (#624-626)
transfer(address,uint256) should be declared external:
- BEP20Token.transfer(address,uint256) (#637-640)
transferFrom(address,address,uint256) should be declared external:
- BEP20Token.transferFrom(address,address,uint256) (#642-646)
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 Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account