Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BinanceQueen.addLiquidity(uint256,uint256) (#705-715) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BinanceQueen._transfer(address,address,uint256) (#615-653):
External calls:
- swapAndLiquify(contractTokenBalance) (#637)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#637)
- recipient.transfer(amount) (#581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#640)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#648)
- finalAmount = takeFee(sender,recipient,amount) (#642-643)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#729)
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.
BinanceQueen.addLiquidity(uint256,uint256) (#705-715) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
Ensure that all the return values of the function calls are used.
Additional information: link
BinanceQueen.allowance(address,address).owner (#472) shadows:
- Ownable.owner() (#130-132) (function)
BinanceQueen._approve(address,address,uint256).owner (#495) shadows:
- Ownable.owner() (#130-132) (function)
Rename the local variables that shadow another component.
Additional information: link
BinanceQueen.setBuyTaxes(uint256,uint256,uint256) (#515-521) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#520)
BinanceQueen.setDistributionSettings(uint256,uint256,uint256) (#531-537) should emit an event for:
- _liquidityShare = newLiquidityShare (#532)
- _teamShare = newTeamShare (#534)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#536)
BinanceQueen.setMaxTxAmount(uint256) (#539-541) should emit an event for:
- _maxTxAmount = maxTxAmount (#540)
BinanceQueen.setWalletLimit(uint256) (#551-553) should emit an event for:
- _walletMax = newLimit (#552)
BinanceQueen.setNumTokensBeforeSwap(uint256) (#555-557) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#556)
Emit an event for critical parameter changes.
Additional information: link
BinanceQueen.setMarketingWalletAddress(address).newAddress (#559) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#560)
BinanceQueen.setTeamWalletAddress(address).newAddress (#563) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#564)
Check that the address is not zero.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#137-140)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#142-146)
getTime() should be declared external:
- Ownable.getTime() (#148-150)
name() should be declared external:
- BinanceQueen.name() (#452-454)
symbol() should be declared external:
- BinanceQueen.symbol() (#456-458)
decimals() should be declared external:
- BinanceQueen.decimals() (#460-462)
totalSupply() should be declared external:
- BinanceQueen.totalSupply() (#464-466)
allowance(address,address) should be declared external:
- BinanceQueen.allowance(address,address) (#472-474)
increaseAllowance(address,uint256) should be declared external:
- BinanceQueen.increaseAllowance(address,uint256) (#476-479)
decreaseAllowance(address,uint256) should be declared external:
- BinanceQueen.decreaseAllowance(address,uint256) (#481-484)
minimumTokensBeforeSwapAmount() should be declared external:
- BinanceQueen.minimumTokensBeforeSwapAmount() (#486-488)
approve(address,uint256) should be declared external:
- BinanceQueen.approve(address,uint256) (#490-493)
setMarketPairStatus(address,bool) should be declared external:
- BinanceQueen.setMarketPairStatus(address,bool) (#503-505)
setIsExcludedFromFee(address,bool) should be declared external:
- BinanceQueen.setIsExcludedFromFee(address,bool) (#511-513)
setSwapAndLiquifyEnabled(bool,uint256,address) should be declared external:
- BinanceQueen.setSwapAndLiquifyEnabled(bool,uint256,address) (#567-570)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- BinanceQueen.setSwapAndLiquifyByLimitOnly(bool) (#572-574)
getCirculatingSupply() should be declared external:
- BinanceQueen.getCirculatingSupply() (#576-578)
changeRouterVersion(address) should be declared external:
- BinanceQueen.changeRouterVersion(address) (#584-601)
transfer(address,uint256) should be declared external:
- BinanceQueen.transfer(address,uint256) (#604-607)
transferFrom(address,address,uint256) should be declared external:
- BinanceQueen.transferFrom(address,address,uint256) (#609-613)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in BinanceQueen.changeRouterVersion(address) (#584-601):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#592-593)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#600)
- isWalletLimitExempt[address(uniswapPair)] = true (#599)
- uniswapPair = newPairAddress (#596)
- uniswapV2Router = _uniswapV2Router (#597)
Reentrancy in BinanceQueen.constructor() (#420-450):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#423-424)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#427)
- _balances[_msgSender()] = _totalSupply (#448)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#434)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#432)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#433)
- isExcludedFromFee[owner()] = true (#429)
- isExcludedFromFee[address(this)] = true (#430)
- isMarketPair[address(uniswapPair)] = true (#443)
- isPair[address(owner())] = true (#441)
- isTxLimitExempt[owner()] = true (#440)
- isTxLimitExempt[address(this)] = true (#442)
- isWalletLimitExempt[owner()] = true (#436)
- isWalletLimitExempt[address(uniswapPair)] = true (#437)
- isWalletLimitExempt[address(this)] = true (#438)
- marketingWalletAddress = address(address(0xDB3ce99bF1f5cc05399a0E149B8d24a2A559987a)) (#446)
- teamWalletAddress = address(address(0xDB3ce99bF1f5cc05399a0E149B8d24a2A559987a)) (#445)
- uniswapV2Router = _uniswapV2Router (#426)
Reentrancy in BinanceQueen.swapAndLiquify(uint256) (#662-684):
External calls:
- swapTokensForEth(tokensForSwap) (#667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#677)
- recipient.transfer(amount) (#581)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#680)
- recipient.transfer(amount) (#581)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- _allowances[owner][spender] = amount (#499)
Reentrancy in BinanceQueen.transferFrom(address,address,uint256) (#609-613):
External calls:
- _transfer(sender,recipient,amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
External calls sending eth:
- _transfer(sender,recipient,amount) (#610)
- recipient.transfer(amount) (#581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#611)
- _allowances[owner][spender] = amount (#499)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BinanceQueen._transfer(address,address,uint256) (#615-653):
External calls:
- swapAndLiquify(contractTokenBalance) (#637)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#637)
- recipient.transfer(amount) (#581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#730)
- finalAmount = takeFee(sender,recipient,amount) (#642-643)
- Transfer(sender,recipient,finalAmount) (#650)
Reentrancy in BinanceQueen.constructor() (#420-450):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#423-424)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#449)
Reentrancy in BinanceQueen.swapAndLiquify(uint256) (#662-684):
External calls:
- swapTokensForEth(tokensForSwap) (#667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#677)
- recipient.transfer(amount) (#581)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#680)
- recipient.transfer(amount) (#581)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#500)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
Reentrancy in BinanceQueen.swapTokensForEth(uint256) (#687-703):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#702)
Reentrancy in BinanceQueen.transferFrom(address,address,uint256) (#609-613):
External calls:
- _transfer(sender,recipient,amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#694-700)
External calls sending eth:
- _transfer(sender,recipient,amount) (#610)
- recipient.transfer(amount) (#581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#500)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#611)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#78-83) uses assembly
- INLINE ASM (#81)
Address._functionCallWithValue(address,bytes,uint256,string) (#98-114) uses assembly
- INLINE ASM (#106-109)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#98-114) is never used and should be removed
Address.functionCall(address,bytes) (#89-91) is never used and should be removed
Address.functionCall(address,bytes,string) (#92-94) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#95-97) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#116-119) is never used and should be removed
Address.isContract(address) (#78-83) is never used and should be removed
Address.sendValue(address,uint256) (#84-88) is never used and should be removed
Context._msgData() (#11-14) is never used and should be removed
SafeMath.mod(uint256,uint256) (#67-69) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#71-74) is never used and should be removed
Remove unused functions.
Additional information: link
BinanceQueen._totalSupply (#384) is set pre-construction with a non-constant function or state variable:
- 100000000000000 * 10 ** _decimals
BinanceQueen._maxTxAmount (#385) is set pre-construction with a non-constant function or state variable:
- 100000000000000 * 10 ** _decimals
BinanceQueen._walletMax (#386) is set pre-construction with a non-constant function or state variable:
- 100000000000000 * 10 ** _decimals
BinanceQueen.minimumTokensBeforeSwap (#387) is set pre-construction with a non-constant function or state variable:
- 10000 * 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) (#84-88):
- (success) = recipient.call{value: amount}() (#86)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#98-114):
- (success,returndata) = target.call{value: weiValue}(data) (#100)
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() (#184) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#185) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#201) is not in mixedCase
Function IUniswapV2Router01.WETH() (#219) is not in mixedCase
Parameter BinanceQueen.setSwapAndLiquifyEnabled(bool,uint256,address)._enabled (#567) is not in mixedCase
Variable BinanceQueen._balances (#359) is not in mixedCase
Variable BinanceQueen._buyLiquidityFee (#368) is not in mixedCase
Variable BinanceQueen._buyMarketingFee (#369) is not in mixedCase
Variable BinanceQueen._buyTeamFee (#370) is not in mixedCase
Variable BinanceQueen._sellLiquidityFee (#372) is not in mixedCase
Variable BinanceQueen._sellMarketingFee (#373) is not in mixedCase
Variable BinanceQueen._sellTeamFee (#374) is not in mixedCase
Variable BinanceQueen._liquidityShare (#376) is not in mixedCase
Variable BinanceQueen._marketingShare (#377) is not in mixedCase
Variable BinanceQueen._teamShare (#378) is not in mixedCase
Variable BinanceQueen._totalTaxIfBuying (#380) is not in mixedCase
Variable BinanceQueen._totalTaxIfSelling (#381) is not in mixedCase
Variable BinanceQueen._totalDistributionShares (#382) is not in mixedCase
Variable BinanceQueen._maxTxAmount (#385) is not in mixedCase
Variable BinanceQueen._walletMax (#386) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#12)" inContext (#7-15)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BinanceQueen._transfer(address,address,uint256) (#615-653):
External calls:
- swapAndLiquify(contractTokenBalance) (#637)
- recipient.transfer(amount) (#581)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#637)
- recipient.transfer(amount) (#581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#640)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#648)
- finalAmount = takeFee(sender,recipient,amount) (#642-643)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#729)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#730)
- finalAmount = takeFee(sender,recipient,amount) (#642-643)
- Transfer(sender,recipient,finalAmount) (#650)
Reentrancy in BinanceQueen.swapAndLiquify(uint256) (#662-684):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#677)
- recipient.transfer(amount) (#581)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#680)
- recipient.transfer(amount) (#581)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#677)
- recipient.transfer(amount) (#581)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#680)
- recipient.transfer(amount) (#581)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
- _allowances[owner][spender] = amount (#499)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#500)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#683)
Reentrancy in BinanceQueen.transferFrom(address,address,uint256) (#609-613):
External calls:
- _transfer(sender,recipient,amount) (#610)
- recipient.transfer(amount) (#581)
External calls sending eth:
- _transfer(sender,recipient,amount) (#610)
- recipient.transfer(amount) (#581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#707-714)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#611)
- _allowances[owner][spender] = amount (#499)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#500)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#611)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#224) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#225)
Prevent variables from having similar names.
Additional information: link
BinanceQueen.slitherConstructorVariables() (#350-737) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#358)
BinanceQueen.slitherConstructorVariables() (#350-737) uses literals with too many digits:
- _totalSupply = 100000000000000 * 10 ** _decimals (#384)
BinanceQueen.slitherConstructorVariables() (#350-737) uses literals with too many digits:
- _maxTxAmount = 100000000000000 * 10 ** _decimals (#385)
BinanceQueen.slitherConstructorVariables() (#350-737) uses literals with too many digits:
- _walletMax = 100000000000000 * 10 ** _decimals (#386)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BinanceQueen._decimals (#355) should be constant
BinanceQueen._name (#353) should be constant
BinanceQueen._symbol (#354) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.
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