Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
coin.addLiquidity(uint256,uint256) (#743-756) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in coin._transfer(address,address,uint256) (#652-690):
External calls:
- swapAndLiquify(contractTokenBalance) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#677)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#685)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#770)
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 (Big Panda) 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.
coin.addLiquidity(uint256,uint256) (#743-756) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Ensure that all the return values of the function calls are used.
Additional information: link
coin.allowance(address,address).owner (#507) shadows:
- Ownable.owner() (#157-159) (function)
coin._approve(address,address,uint256).owner (#530) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.
Additional information: link
coin.setBuyTaxes(uint256,uint256,uint256) (#550-556) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#555)
coin.setSelTaxes(uint256,uint256,uint256) (#558-564) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#563)
coin.setDistributionSettings(uint256,uint256,uint256) (#566-572) should emit an event for:
- _liquidityShare = newLiquidityShare (#567)
- _teamShare = newTeamShare (#569)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#571)
coin.setMaxTxAmount(uint256) (#574-576) should emit an event for:
- _maxTxAmount = maxTxAmount (#575)
coin.setWalletLimit(uint256) (#586-588) should emit an event for:
- _walletMax = newLimit (#587)
coin.setNumTokensBeforeSwap(uint256) (#590-592) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#591)
Emit an event for critical parameter changes.
Additional information: link
coin.setMarketingWalletAddress(address).newAddress (#594) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#595)
coin.setTeamWalletAddress(address).newAddress (#598) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#599)
Check that the address is not zero.
Additional information: link
Reentrancy in coin.changeRouterVersion(address) (#619-636):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#627-628)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#635)
- isWalletLimitExempt[address(uniswapPair)] = true (#634)
- uniswapPair = newPairAddress (#631)
- uniswapV2Router = _uniswapV2Router (#632)
Reentrancy in coin.constructor() (#456-485):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461-462)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#465)
- _balances[_msgSender()] = _totalSupply (#483)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#472)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#470)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#471)
- isExcludedFromFee[owner()] = true (#467)
- isExcludedFromFee[address(this)] = true (#468)
- isMarketPair[address(uniswapPair)] = true (#481)
- isTxLimitExempt[owner()] = true (#478)
- isTxLimitExempt[address(this)] = true (#479)
- isWalletLimitExempt[owner()] = true (#474)
- isWalletLimitExempt[address(uniswapPair)] = true (#475)
- isWalletLimitExempt[address(this)] = true (#476)
- uniswapV2Router = _uniswapV2Router (#464)
Reentrancy in coin.swapAndLiquify(uint256) (#699-721):
External calls:
- swapTokensForEth(tokensForSwap) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- _allowances[owner][spender] = amount (#534)
Reentrancy in coin.transferFrom(address,address,uint256) (#646-650):
External calls:
- _transfer(sender,recipient,amount) (#647)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
- _allowances[owner][spender] = amount (#534)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in coin._transfer(address,address,uint256) (#652-690):
External calls:
- swapAndLiquify(contractTokenBalance) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#771)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- Transfer(sender,recipient,finalAmount) (#687)
Reentrancy in coin.constructor() (#456-485):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461-462)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#484)
Reentrancy in coin.swapAndLiquify(uint256) (#699-721):
External calls:
- swapTokensForEth(tokensForSwap) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
Reentrancy in coin.swapTokensForEth(uint256) (#723-741):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#740)
Reentrancy in coin.transferFrom(address,address,uint256) (#646-650):
External calls:
- _transfer(sender,recipient,amount) (#647)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#88-97) uses assembly
- INLINE ASM (#95)
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) is never used and should be removed
Address.functionCall(address,bytes) (#107-109) is never used and should be removed
Address.functionCall(address,bytes,string) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#115-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#119-122) is never used and should be removed
Address.isContract(address) (#88-97) is never used and should be removed
Address.sendValue(address,uint256) (#99-105) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#76-78) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#80-83) is never used and should be removed
Remove unused functions.
Additional information: link
coin._totalSupply (#420) is set pre-construction with a non-constant function or state variable:
- 100000000000 * 10 ** _decimals
coin._maxTxAmount (#421) is set pre-construction with a non-constant function or state variable:
- 100000000000 * 10 ** _decimals
coin._walletMax (#422) is set pre-construction with a non-constant function or state variable:
- 100000000000 * 10 ** _decimals
coin.minimumTokensBeforeSwap (#423) is set pre-construction with a non-constant function or state variable:
- 100 * 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
Low level call in Address.sendValue(address,uint256) (#99-105):
- (success) = recipient.call{value: amount}() (#103)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
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() (#214) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#215) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#231) is not in mixedCase
Function IUniswapV2Router01.WETH() (#250) is not in mixedCase
Contract coin (#383-778) is not in CapWords
Parameter coin.setSwapAndLiquifyEnabled(bool)._enabled (#602) is not in mixedCase
Variable coin._balances (#396) is not in mixedCase
Variable coin._buyLiquidityFee (#404) is not in mixedCase
Variable coin._buyMarketingFee (#405) is not in mixedCase
Variable coin._buyTeamFee (#406) is not in mixedCase
Variable coin._sellLiquidityFee (#408) is not in mixedCase
Variable coin._sellMarketingFee (#409) is not in mixedCase
Variable coin._sellTeamFee (#410) is not in mixedCase
Variable coin._liquidityShare (#412) is not in mixedCase
Variable coin._marketingShare (#413) is not in mixedCase
Variable coin._teamShare (#414) is not in mixedCase
Variable coin._totalTaxIfBuying (#416) is not in mixedCase
Variable coin._totalTaxIfSelling (#417) is not in mixedCase
Variable coin._totalDistributionShares (#418) is not in mixedCase
Variable coin._maxTxAmount (#421) is not in mixedCase
Variable coin._walletMax (#422) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#16)" inContext (#9-19)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in coin._transfer(address,address,uint256) (#652-690):
External calls:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#677)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#685)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#770)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#771)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- Transfer(sender,recipient,finalAmount) (#687)
Reentrancy in coin.swapAndLiquify(uint256) (#699-721):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- _allowances[owner][spender] = amount (#534)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
Reentrancy in coin.transferFrom(address,address,uint256) (#646-650):
External calls:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
External calls sending eth:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
- _allowances[owner][spender] = amount (#534)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#255) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#256)
Prevent variables from having similar names.
Additional information: link
Ownable.waiveOwnership() (#166-169) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#167)
Ownable.waiveOwnership() (#166-169) uses literals with too many digits:
- _owner = address(0x000000000000000000000000000000000000dEaD) (#168)
coin.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#394)
coin.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- _totalSupply = 100000000000 * 10 ** _decimals (#420)
coin.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** _decimals (#421)
coin.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- _walletMax = 100000000000 * 10 ** _decimals (#422)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable.asdasd (#146) is never used in coin (#383-778)
Ownable._lockTime (#147) is never used in coin (#383-778)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#147) should be constant
Ownable.asdasd (#146) should be constant
coin._decimals (#390) should be constant
coin._name (#388) should be constant
coin._symbol (#389) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
getTime() should be declared external:
- Ownable.getTime() (#177-179)
name() should be declared external:
- coin.name() (#487-489)
symbol() should be declared external:
- coin.symbol() (#491-493)
decimals() should be declared external:
- coin.decimals() (#495-497)
totalSupply() should be declared external:
- coin.totalSupply() (#499-501)
allowance(address,address) should be declared external:
- coin.allowance(address,address) (#507-509)
increaseAllowance(address,uint256) should be declared external:
- coin.increaseAllowance(address,uint256) (#511-514)
decreaseAllowance(address,uint256) should be declared external:
- coin.decreaseAllowance(address,uint256) (#516-519)
minimumTokensBeforeSwapAmount() should be declared external:
- coin.minimumTokensBeforeSwapAmount() (#521-523)
approve(address,uint256) should be declared external:
- coin.approve(address,uint256) (#525-528)
setMarketPairStatus(address,bool) should be declared external:
- coin.setMarketPairStatus(address,bool) (#538-540)
setIsExcludedFromFee(address,bool) should be declared external:
- coin.setIsExcludedFromFee(address,bool) (#546-548)
setSwapAndLiquifyEnabled(bool) should be declared external:
- coin.setSwapAndLiquifyEnabled(bool) (#602-605)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- coin.setSwapAndLiquifyByLimitOnly(bool) (#607-609)
getCirculatingSupply() should be declared external:
- coin.getCirculatingSupply() (#611-613)
changeRouterVersion(address) should be declared external:
- coin.changeRouterVersion(address) (#619-636)
transfer(address,uint256) should be declared external:
- coin.transfer(address,uint256) (#641-644)
transferFrom(address,address,uint256) should be declared external:
- coin.transferFrom(address,address,uint256) (#646-650)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 2% buy tax and 99% sell tax.
Taxes are extremely high (over 30%)
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts