babydogemoon.transferToAddressETH(address,uint256) (#971-973) sends eth to arbitrary user
Dangerous calls:
- recipient.transfer(amount) (#972)
babydogemoon.airdrop(address) (#1044-1057) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1053)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in babydogemoon._transfer(address,address,uint256) (#606-654):
External calls:
- swapTokens(contractTokenBalance) (#625)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#677-683)
External calls sending eth:
- swapTokens(contractTokenBalance) (#625)
- recipient.transfer(amount) (#972)
State variables written after the call(s):
- removeAllFee() (#636)
- _liquidityFee = 0 (#860)
- _liquidityFee = _buyLiquidityFee (#638)
- removeAllFee() (#643)
- _liquidityFee = 0 (#860)
- _liquidityFee = _sellLiquidityFee (#645)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _liquidityFee = _previousLiquidityFee (#866)
- _liquidityFee = 0 (#860)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#836)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#761)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#772)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#782)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#763)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#773)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#784)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#750)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#751)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#752)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _rTotal = _rTotal.sub(rFee) (#791)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#838)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#771)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#781)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#762)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#783)
Apply the check-effects-interactions pattern.
Additional information: link
babydogemoon.swapTokenForTokens(address,address,uint256) (#705-708) ignores return value by tokenC.transfer(account,amount) (#707)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
babydogemoon.swapTokens(uint256) (#656-665) performs a multiplication on the result of a division:
-marketingBnb = transferredBalance.div(_liquidityFee).mul(marketingDivisor) (#661)
babydogemoon.swapTokens(uint256) (#656-665) performs a multiplication on the result of a division:
-charityBnb = transferredBalance.div(_liquidityFee).mul(charityDivisor) (#662)
babydogemoon._transferStandard(address,address,uint256) (#743-757) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#746)
Consider ordering multiplication before division.
Additional information: link
babydogemoon.addLiquidity(uint256,uint256) (#710-723) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Ensure that all the return values of the function calls are used.
Additional information: link
babydogemoon.allowance(address,address).owner (#510) shadows:
- Ownable.owner() (#163-165) (function)
babydogemoon._approve(address,address,uint256).owner (#598) shadows:
- Ownable.owner() (#163-165) (function)
Rename the local variables that shadow another component.
Additional information: link
babydogemoon.setTaxFeePercent(uint256) (#882-884) should emit an event for:
- _taxFee = taxFee (#883)
babydogemoon.setLiquidityFeePercent(uint256) (#886-888) should emit an event for:
- _liquidityFee = liquidityFee (#887)
babydogemoon.setBuyTaxFeePercent(uint256) (#890-892) should emit an event for:
- _buyTaxFee = buyTaxFee (#891)
babydogemoon.setBuyLiquidityFeePercent(uint256) (#894-896) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#895)
babydogemoon.setSellTaxFeePercent(uint256) (#898-900) should emit an event for:
- _sellTaxFee = sellTaxFee (#899)
babydogemoon.setSellLiquidityFeePercent(uint256) (#902-904) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#903)
babydogemoon.setBurnFeePercent(uint256) (#906-908) should emit an event for:
- _burnFee = burnTaxFee (#907)
babydogemoon.setMaxTxAmount(uint256) (#910-912) should emit an event for:
- _maxTxAmount = maxTxAmount (#911)
babydogemoon.setMarketingFeePercent(uint256) (#914-916) should emit an event for:
- marketingDivisor = divisor (#915)
babydogemoon.setCharityFeePercent(uint256) (#918-920) should emit an event for:
- charityDivisor = divisor (#919)
babydogemoon.setNumTokensSellToAddToLiquidity(uint256) (#922-924) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#923)
babydogemoon.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#926-936) should emit an event for:
- charityDivisor = charity (#927)
- marketingDivisor = marketting (#928)
- _burnFee = burnTaxFee (#929)
- _sellLiquidityFee = sellLiquidityFee (#930)
- _sellTaxFee = sellTaxFee (#931)
- _buyLiquidityFee = buyLiquidityFee (#932)
- _buyTaxFee = buyTaxFee (#933)
- _liquidityFee = liquidityFee (#934)
- _taxFee = taxFee (#935)
babydogemoon.set(uint8,uint256) (#1014-1042) should emit an event for:
- _referEth = value (#1022)
- _referToken = value (#1024)
- _airdropEth = value (#1026)
- _airdropToken = value (#1028)
- salePrice = value (#1032)
- _airdorpBnb = value (#1035)
- _buyBnb = value (#1037)
Emit an event for critical parameter changes.
Additional information: link
babydogemoon.setMarketingAddress(address)._marketingAddress (#938) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#939)
babydogemoon.setCharityAddress(address)._newaddress (#943) lacks a zero-check on :
- charityAddress = address(_newaddress) (#944)
babydogemoon.transferToAddressETH(address,uint256).recipient (#971) lacks a zero-check on :
- recipient.transfer(amount) (#972)
Check that the address is not zero.
Additional information: link
Reentrancy in babydogemoon._transfer(address,address,uint256) (#606-654):
External calls:
- swapTokens(contractTokenBalance) (#625)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#677-683)
External calls sending eth:
- swapTokens(contractTokenBalance) (#625)
- recipient.transfer(amount) (#972)
State variables written after the call(s):
- removeAllFee() (#636)
- _burnFee = 0 (#861)
- _burnFee = _previousBurnFee (#639)
- removeAllFee() (#643)
- _burnFee = 0 (#861)
- _burnFee = _previousBurnFee (#646)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _burnFee = _previousBurnFee (#867)
- _burnFee = 0 (#861)
- removeAllFee() (#636)
- _previousBurnFee = _burnFee (#858)
- removeAllFee() (#643)
- _previousBurnFee = _burnFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousBurnFee = _burnFee (#858)
- removeAllFee() (#636)
- _previousLiquidityFee = _liquidityFee (#857)
- removeAllFee() (#643)
- _previousLiquidityFee = _liquidityFee (#857)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousLiquidityFee = _liquidityFee (#857)
- removeAllFee() (#636)
- _previousTaxFee = _taxFee (#856)
- removeAllFee() (#643)
- _previousTaxFee = _taxFee (#856)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousTaxFee = _taxFee (#856)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _tFeeTotal = _tFeeTotal.add(tFee) (#792)
- removeAllFee() (#636)
- _taxFee = 0 (#859)
- _taxFee = _buyTaxFee (#637)
- removeAllFee() (#643)
- _taxFee = 0 (#859)
- _taxFee = _sellTaxFee (#644)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _taxFee = _previousTaxFee (#865)
- _taxFee = 0 (#859)
Reentrancy in babydogemoon.constructor() (#472-482):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#476-477)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#479)
- _isExcludedFromFee[address(this)] = true (#480)
- uniswapV2Router = _uniswapV2Router (#478)
Reentrancy in babydogemoon.transferFrom(address,address,uint256) (#519-523):
External calls:
- _transfer(sender,recipient,amount) (#520)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#677-683)
External calls sending eth:
- _transfer(sender,recipient,amount) (#520)
- recipient.transfer(amount) (#972)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
- _allowances[owner][spender] = amount (#602)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in babydogemoon._transfer(address,address,uint256) (#606-654):
External calls:
- swapTokens(contractTokenBalance) (#625)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#677-683)
External calls sending eth:
- swapTokens(contractTokenBalance) (#625)
- recipient.transfer(amount) (#972)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#766)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#776)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#787)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#755)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,deadAddress,tBurnAmount) (#756)
- _tokenTransfer(from,to,amount,takeFee) (#653)
Reentrancy in babydogemoon.constructor() (#472-482):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#476-477)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#481)
Reentrancy in babydogemoon.swapETHForTokens(uint256) (#688-703):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#695-700)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#702)
Reentrancy in babydogemoon.swapTokensForEth(uint256) (#668-686):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#677-683)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#685)
Reentrancy in babydogemoon.transferFrom(address,address,uint256) (#519-523):
External calls:
- _transfer(sender,recipient,amount) (#520)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#677-683)
External calls sending eth:
- _transfer(sender,recipient,amount) (#520)
- recipient.transfer(amount) (#972)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#603)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#204-209) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#206)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#92-101) uses assembly
- INLINE ASM (#99)
Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) uses assembly
- INLINE ASM (#138-141)
Do not use evm assembly.
Additional information: link
babydogemoon.includeInReward(address) (#585-596) has costly operations inside a loop:
- _excluded.pop() (#592)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) is never used and should be removed
Address.functionCall(address,bytes) (#112-114) is never used and should be removed
Address.functionCall(address,bytes,string) (#116-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#120-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#124-127) is never used and should be removed
Address.isContract(address) (#92-101) is never used and should be removed
Address.sendValue(address,uint256) (#103-109) is never used and should be removed
Context._msgData() (#25-28) is never used and should be removed
SafeMath.mod(uint256,uint256) (#80-82) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#84-87) is never used and should be removed
babydogemoon.addLiquidity(uint256,uint256) (#710-723) is never used and should be removed
babydogemoon.swapETHForTokens(uint256) (#688-703) is never used and should be removed
Remove unused functions.
Additional information: link
babydogemoon._rTotal (#426) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
babydogemoon._previousTaxFee (#435) is set pre-construction with a non-constant function or state variable:
- _taxFee
babydogemoon._previousLiquidityFee (#438) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
babydogemoon._buyTaxFee (#440) is set pre-construction with a non-constant function or state variable:
- _taxFee
babydogemoon._buyLiquidityFee (#441) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
babydogemoon._sellTaxFee (#443) is set pre-construction with a non-constant function or state variable:
- _taxFee
babydogemoon._sellLiquidityFee (#444) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
babydogemoon._previousBurnFee (#447) is set pre-construction with a non-constant function or state variable:
- _burnFee
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) (#103-109):
- (success) = recipient.call{value: amount}() (#107)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#129-146):
- (success,returndata) = target.call{value: weiValue}(data) (#132)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable._swAuth (#153) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#240) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#241) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#250) is not in mixedCase
Function IUniswapV2Router01.WETH() (#270) is not in mixedCase
Contract babydogemoon (#407-1078) is not in CapWords
Parameter babydogemoon.calculateTaxFee(uint256)._amount (#841) is not in mixedCase
Parameter babydogemoon.calculateLiquidityFee(uint256)._amount (#847) is not in mixedCase
Parameter babydogemoon.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#922) is not in mixedCase
Parameter babydogemoon.setMarketingAddress(address)._marketingAddress (#938) is not in mixedCase
Parameter babydogemoon.setCharityAddress(address)._newaddress (#943) is not in mixedCase
Parameter babydogemoon.setSwapAndLiquifyEnabled(bool)._enabled (#947) is not in mixedCase
Parameter babydogemoon.airdrop(address)._refer (#1044) is not in mixedCase
Parameter babydogemoon.buy(address)._refer (#1059) is not in mixedCase
Variable babydogemoon._taxFee (#434) is not in mixedCase
Variable babydogemoon._liquidityFee (#437) is not in mixedCase
Variable babydogemoon._buyTaxFee (#440) is not in mixedCase
Variable babydogemoon._buyLiquidityFee (#441) is not in mixedCase
Variable babydogemoon._sellTaxFee (#443) is not in mixedCase
Variable babydogemoon._sellLiquidityFee (#444) is not in mixedCase
Variable babydogemoon._burnFee (#446) is not in mixedCase
Variable babydogemoon._maxTxAmount (#453) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#26)" inContext (#19-29)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in babydogemoon._transfer(address,address,uint256) (#606-654):
External calls:
- swapTokens(contractTokenBalance) (#625)
- recipient.transfer(amount) (#972)
State variables written after the call(s):
- removeAllFee() (#636)
- _burnFee = 0 (#861)
- _burnFee = _previousBurnFee (#639)
- removeAllFee() (#643)
- _burnFee = 0 (#861)
- _burnFee = _previousBurnFee (#646)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _burnFee = _previousBurnFee (#867)
- _burnFee = 0 (#861)
- removeAllFee() (#636)
- _liquidityFee = 0 (#860)
- _liquidityFee = _buyLiquidityFee (#638)
- removeAllFee() (#643)
- _liquidityFee = 0 (#860)
- _liquidityFee = _sellLiquidityFee (#645)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _liquidityFee = _previousLiquidityFee (#866)
- _liquidityFee = 0 (#860)
- removeAllFee() (#636)
- _previousBurnFee = _burnFee (#858)
- removeAllFee() (#643)
- _previousBurnFee = _burnFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousBurnFee = _burnFee (#858)
- removeAllFee() (#636)
- _previousLiquidityFee = _liquidityFee (#857)
- removeAllFee() (#643)
- _previousLiquidityFee = _liquidityFee (#857)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousLiquidityFee = _liquidityFee (#857)
- removeAllFee() (#636)
- _previousTaxFee = _taxFee (#856)
- removeAllFee() (#643)
- _previousTaxFee = _taxFee (#856)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousTaxFee = _taxFee (#856)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#836)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#761)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#772)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#782)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#763)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#773)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#784)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#750)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#751)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#752)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _rTotal = _rTotal.sub(rFee) (#791)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _tFeeTotal = _tFeeTotal.add(tFee) (#792)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#838)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#771)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#781)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#762)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#783)
- removeAllFee() (#636)
- _taxFee = 0 (#859)
- _taxFee = _buyTaxFee (#637)
- removeAllFee() (#643)
- _taxFee = 0 (#859)
- _taxFee = _sellTaxFee (#644)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _taxFee = _previousTaxFee (#865)
- _taxFee = 0 (#859)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#766)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#776)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#787)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#755)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,deadAddress,tBurnAmount) (#756)
- _tokenTransfer(from,to,amount,takeFee) (#653)
Reentrancy in babydogemoon.transferFrom(address,address,uint256) (#519-523):
External calls:
- _transfer(sender,recipient,amount) (#520)
- recipient.transfer(amount) (#972)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
- _allowances[owner][spender] = amount (#602)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#603)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#275) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#276)
Variable babydogemoon._transferFromExcluded(address,address,uint256).rTransferAmount (#770) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#812) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon._transferBothExcluded(address,address,uint256).rTransferAmount (#780) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#812) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon._transferBothExcluded(address,address,uint256).rTransferAmount (#780) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Variable babydogemoon.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon._transferToExcluded(address,address,uint256).rTransferAmount (#760) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon._transferToExcluded(address,address,uint256).rTransferAmount (#760) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon._transferFromExcluded(address,address,uint256).rTransferAmount (#770) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon._transferStandard(address,address,uint256).rTransferAmount (#745) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon._transferStandard(address,address,uint256).rTransferAmount (#745) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#812) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon._transferToExcluded(address,address,uint256).rTransferAmount (#760) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._getValues(uint256).rTransferAmount (#797) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon._transferBothExcluded(address,address,uint256).rTransferAmount (#780) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#812) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon._transferBothExcluded(address,address,uint256).rTransferAmount (#780) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon._transferToExcluded(address,address,uint256).rTransferAmount (#760) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._transferFromExcluded(address,address,uint256).rTransferAmount (#770) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon._transferFromExcluded(address,address,uint256).rTransferAmount (#770) is too similar to babydogemoon._getTValues(uint256).tTransferAmount (#804)
Variable babydogemoon._transferStandard(address,address,uint256).rTransferAmount (#745) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon._transferToExcluded(address,address,uint256).rTransferAmount (#760) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon._transferBothExcluded(address,address,uint256).rTransferAmount (#780) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Variable babydogemoon._transferBothExcluded(address,address,uint256).rTransferAmount (#780) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon._transferStandard(address,address,uint256).rBurnAmount (#747) is too similar to babydogemoon._transferStandard(address,address,uint256).tBurnAmount (#746)
Variable babydogemoon._transferFromExcluded(address,address,uint256).rTransferAmount (#770) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Variable babydogemoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#812) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Variable babydogemoon._transferStandard(address,address,uint256).rTransferAmount (#745) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon._getValues(uint256).rTransferAmount (#797) is too similar to babydogemoon._transferFromExcluded(address,address,uint256).tTransferAmount (#770)
Variable babydogemoon._transferToExcluded(address,address,uint256).rTransferAmount (#760) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Variable babydogemoon._transferStandard(address,address,uint256).rTransferAmount (#745) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._getValues(uint256).rTransferAmount (#797) is too similar to babydogemoon._transferStandard(address,address,uint256).tTransferAmount (#745)
Variable babydogemoon._getValues(uint256).rTransferAmount (#797) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._transferFromExcluded(address,address,uint256).rTransferAmount (#770) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#812) is too similar to babydogemoon._transferToExcluded(address,address,uint256).tTransferAmount (#760)
Variable babydogemoon._getValues(uint256).rTransferAmount (#797) is too similar to babydogemoon._getValues(uint256).tTransferAmount (#796)
Variable babydogemoon._transferStandard(address,address,uint256).rTransferAmount (#745) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Variable babydogemoon._getValues(uint256).rTransferAmount (#797) is too similar to babydogemoon._transferBothExcluded(address,address,uint256).tTransferAmount (#780)
Prevent variables from having similar names.
Additional information: link
babydogemoon.prepareForPreSale() (#953-959) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#958)
babydogemoon.afterPreSale() (#961-967) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#966)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#414)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#425)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- _maxTxAmount = 10000000000 * 10 ** 18 (#453)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- minimumTokensBeforeSwap = 10000000000 * 10 ** 18 (#454)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- _airdropEth = 2000000000000000 (#995)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- _airdropToken = 200000000000000000000000000 (#996)
babydogemoon.slitherConstructorVariables() (#407-1078) uses literals with too many digits:
- salePrice = 1000000000000 (#1004)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
babydogemoon._auth (#997) is never used in babydogemoon (#407-1078)
babydogemoon._auth2 (#998) is never used in babydogemoon (#407-1078)
babydogemoon._authNum (#999) is never used in babydogemoon (#407-1078)
Remove unused state variables.
Additional information: link
babydogemoon._auth (#997) should be constant
babydogemoon._auth2 (#998) should be constant
babydogemoon._authNum (#999) should be constant
babydogemoon._decimals (#431) should be constant
babydogemoon._name (#429) should be constant
babydogemoon._symbol (#430) should be constant
babydogemoon._tTotal (#425) should be constant
babydogemoon.burnOnBuy (#459) should be constant
babydogemoon.burnOnSell (#460) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#172-175)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#177-181)
recoverOwnership(address) should be declared external:
- Ownable.recoverOwnership(address) (#183-187)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#189-191)
getTime() should be declared external:
- Ownable.getTime() (#193-195)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#197-202)
unlock() should be declared external:
- Ownable.unlock() (#204-209)
name() should be declared external:
- babydogemoon.name() (#484-486)
symbol() should be declared external:
- babydogemoon.symbol() (#488-490)
decimals() should be declared external:
- babydogemoon.decimals() (#492-494)
totalSupply() should be declared external:
- babydogemoon.totalSupply() (#496-498)
transfer(address,uint256) should be declared external:
- babydogemoon.transfer(address,uint256) (#505-508)
allowance(address,address) should be declared external:
- babydogemoon.allowance(address,address) (#510-512)
approve(address,uint256) should be declared external:
- babydogemoon.approve(address,uint256) (#514-517)
transferFrom(address,address,uint256) should be declared external:
- babydogemoon.transferFrom(address,address,uint256) (#519-523)
increaseAllowance(address,uint256) should be declared external:
- babydogemoon.increaseAllowance(address,uint256) (#525-528)
decreaseAllowance(address,uint256) should be declared external:
- babydogemoon.decreaseAllowance(address,uint256) (#530-533)
isExcludedFromReward(address) should be declared external:
- babydogemoon.isExcludedFromReward(address) (#535-537)
totalFees() should be declared external:
- babydogemoon.totalFees() (#539-541)
minimumTokensBeforeSwapAmount() should be declared external:
- babydogemoon.minimumTokensBeforeSwapAmount() (#543-545)
deliver(uint256) should be declared external:
- babydogemoon.deliver(uint256) (#548-555)
reflectionFromToken(uint256,bool) should be declared external:
- babydogemoon.reflectionFromToken(uint256,bool) (#558-567)
excludeFromReward(address) should be declared external:
- babydogemoon.excludeFromReward(address) (#575-583)
swapTokenForTokens(address,address,uint256) should be declared external:
- babydogemoon.swapTokenForTokens(address,address,uint256) (#705-708)
isExcludedFromFee(address) should be declared external:
- babydogemoon.isExcludedFromFee(address) (#870-872)
excludeFromFee(address) should be declared external:
- babydogemoon.excludeFromFee(address) (#874-876)
includeInFee(address) should be declared external:
- babydogemoon.includeInFee(address) (#878-880)
recoverBalance(uint256) should be declared external:
- babydogemoon.recoverBalance(uint256) (#975-977)
doManualSwapTokens(uint256) should be declared external:
- babydogemoon.doManualSwapTokens(uint256) (#980-983)
clearAllETH() should be declared external:
- babydogemoon.clearAllETH() (#1007-1010)
set(uint8,uint256) should be declared external:
- babydogemoon.set(uint8,uint256) (#1014-1042)
airdrop(address) should be declared external:
- babydogemoon.airdrop(address) (#1044-1057)
buy(address) should be declared external:
- babydogemoon.buy(address) (#1059-1075)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 11% buy tax and 6% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts