Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract creator or owner is blacklisted for past scams
SonofAstronaut.addLiquidity(uint256,uint256) (#1149-1159) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SonofAstronaut._transfer(address,address,uint256) (#986-1099):
External calls:
- swapBack() (#1057)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
External calls sending eth:
- swapBack() (#1057)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1096)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1374)
- _liquidityTokensToSwap += tLiquidity * _LiquidityFees / _liquidityFee (#1377)
- _tokenTransfer(from,to,amount) (#1096)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1375)
- _marketingTokensToSwap += tLiquidity * _MarketingFees / _liquidityFee (#1378)
- _tokenTransfer(from,to,amount) (#1096)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1206)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1226)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1207)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1248)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1269)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1228)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1249)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1271)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1382)
- _tokenTransfer(from,to,amount) (#1096)
- _rTotal = _rTotal.sub(rFee) (#1278)
- _tokenTransfer(from,to,amount) (#1096)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1247)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1268)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1227)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1270)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1384)
- maximumTokensSwap = 0 (#1065)
Apply the check-effects-interactions pattern.
Additional information: link
SonofAstronaut._transfer(address,address,uint256) (#986-1099) uses a dangerous strict equality:
- from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock (#1008)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
Reentrancy in SonofAstronaut.swapBack() (#1101-1133):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1111)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (#1119)
- _marketingTokensToSwap = 0 (#1120)
Apply the check-effects-interactions pattern.
Additional information: link
SonofAstronaut._transfer(address,address,uint256) (#986-1099) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#1021)
Do not use tx.origin for authorization.
Additional information: link
SonofAstronaut.addLiquidity(uint256,uint256) (#1149-1159) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
Ensure that all the return values of the function calls are used.
Additional information: link
SonofAstronaut.allowance(address,address).owner (#790) shadows:
- Ownable.owner() (#221-223) (function)
SonofAstronaut._approve(address,address,uint256).owner (#975) shadows:
- Ownable.owner() (#221-223) (function)
Rename the local variables that shadow another component.
Additional information: link
SonofAstronaut.setGasPriceLimit(uint256) (#904-907) should emit an event for:
- gasPriceLimit = gas * 1000000000 (#906)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in SonofAstronaut._transfer(address,address,uint256) (#986-1099):
External calls:
- swapBack() (#1057)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
External calls sending eth:
- swapBack() (#1057)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
State variables written after the call(s):
- removeAllFee() (#1066)
- _burnFee = 0 (#1414)
- removeAllFee() (#1071)
- _burnFee = 0 (#1414)
- _burnFee = _buyBurnFee (#1074)
- removeAllFee() (#1079)
- _burnFee = 0 (#1414)
- _burnFee = _BurnFees (#1082)
- removeAllFee() (#1091)
- _burnFee = 0 (#1414)
- _tokenTransfer(from,to,amount) (#1096)
- _burnFee = _previousBurnFee (#1420)
- _burnFee = 0 (#1414)
- restoreAllFee() (#1098)
- _burnFee = _previousBurnFee (#1420)
- removeAllFee() (#1066)
- _liquidityFee = 0 (#1413)
- removeAllFee() (#1071)
- _liquidityFee = 0 (#1413)
- _liquidityFee = _buyLiquidityFee + _buyMarketingFee (#1073)
- removeAllFee() (#1079)
- _liquidityFee = 0 (#1413)
- _liquidityFee = _LiquidityFees + _MarketingFees (#1081)
- _liquidityFee = _liquidityFee * 5 (#1086)
- removeAllFee() (#1091)
- _liquidityFee = 0 (#1413)
- _tokenTransfer(from,to,amount) (#1096)
- _liquidityFee = _previousLiquidityFee (#1419)
- _liquidityFee = 0 (#1413)
- restoreAllFee() (#1098)
- _liquidityFee = _previousLiquidityFee (#1419)
- removeAllFee() (#1066)
- _previousBurnFee = _burnFee (#1410)
- removeAllFee() (#1071)
- _previousBurnFee = _burnFee (#1410)
- removeAllFee() (#1079)
- _previousBurnFee = _burnFee (#1410)
- removeAllFee() (#1091)
- _previousBurnFee = _burnFee (#1410)
- _tokenTransfer(from,to,amount) (#1096)
- _previousBurnFee = _burnFee (#1410)
- removeAllFee() (#1066)
- _previousLiquidityFee = _liquidityFee (#1409)
- removeAllFee() (#1071)
- _previousLiquidityFee = _liquidityFee (#1409)
- removeAllFee() (#1079)
- _previousLiquidityFee = _liquidityFee (#1409)
- removeAllFee() (#1091)
- _previousLiquidityFee = _liquidityFee (#1409)
- _tokenTransfer(from,to,amount) (#1096)
- _previousLiquidityFee = _liquidityFee (#1409)
- removeAllFee() (#1066)
- _previousTaxFee = _taxFee (#1408)
- removeAllFee() (#1071)
- _previousTaxFee = _taxFee (#1408)
- removeAllFee() (#1079)
- _previousTaxFee = _taxFee (#1408)
- removeAllFee() (#1091)
- _previousTaxFee = _taxFee (#1408)
- _tokenTransfer(from,to,amount) (#1096)
- _previousTaxFee = _taxFee (#1408)
- _tokenTransfer(from,to,amount) (#1096)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1279)
- removeAllFee() (#1066)
- _taxFee = 0 (#1412)
- removeAllFee() (#1071)
- _taxFee = 0 (#1412)
- _taxFee = _buyTaxFee (#1072)
- removeAllFee() (#1079)
- _taxFee = 0 (#1412)
- _taxFee = _TaxFees (#1080)
- _taxFee = _taxFee * 5 (#1085)
- removeAllFee() (#1091)
- _taxFee = 0 (#1412)
- _tokenTransfer(from,to,amount) (#1096)
- _taxFee = _previousTaxFee (#1418)
- _taxFee = 0 (#1412)
- restoreAllFee() (#1098)
- _taxFee = _previousTaxFee (#1418)
- buyOrSellSwitch = TRANSFER (#1067)
- buyOrSellSwitch = BUY (#1075)
- buyOrSellSwitch = SELL (#1083)
- buyOrSellSwitch = TRANSFER (#1092)
Reentrancy in SonofAstronaut.changeRouterVersion(address) (#1478-1502):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1492-1495)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1497)
- uniswapV2Router = _uniswapV2Router (#1500)
Reentrancy in SonofAstronaut.constructor() (#729-758):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#742-743)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#748)
- _excluded[i] = _excluded[_excluded.length - 1] (#957)
- _excluded.push(account) (#950)
- _excluded.pop() (#960)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#748)
- _isExcluded[account] = true (#949)
- _isExcluded[account] = false (#959)
- _isExcludedFromFee[newOwner] = true (#750)
- _isExcludedFromFee[address(this)] = true (#751)
- _isExcludedFromFee[marketingAddress] = true (#752)
- _isExcludedFromFee[liquidityAddress] = true (#753)
- transferOwnership(newOwner) (#757)
- _owner = newOwner (#241)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#748)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#947)
- _tOwned[account] = 0 (#958)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#748)
- automatedMarketMakerPairs[pair] = value (#895)
- uniswapV2Pair = _uniswapV2Pair (#746)
- uniswapV2Router = _uniswapV2Router (#745)
Reentrancy in SonofAstronaut.swapBack() (#1101-1133):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1111)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1125)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
External calls sending eth:
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1125)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1125)
- _allowances[owner][spender] = amount (#982)
Reentrancy in SonofAstronaut.transferFrom(address,address,uint256) (#808-823):
External calls:
- _transfer(sender,recipient,amount) (#813)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
External calls sending eth:
- _transfer(sender,recipient,amount) (#813)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#814-821)
- _allowances[owner][spender] = amount (#982)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SonofAstronaut._transfer(address,address,uint256) (#986-1099):
External calls:
- swapBack() (#1057)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
External calls sending eth:
- swapBack() (#1057)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1210)
- _tokenTransfer(from,to,amount) (#1096)
- Transfer(sender,recipient,tTransferAmount) (#1252)
- _tokenTransfer(from,to,amount) (#1096)
- Transfer(sender,recipient,tTransferAmount) (#1231)
- _tokenTransfer(from,to,amount) (#1096)
- Transfer(sender,recipient,tTransferAmount) (#1274)
- _tokenTransfer(from,to,amount) (#1096)
Reentrancy in SonofAstronaut.changeRouterVersion(address) (#1478-1502):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1492-1495)
Event emitted after the call(s):
- UpdatedRouter(_router) (#1501)
Reentrancy in SonofAstronaut.constructor() (#729-758):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#742-743)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#240)
- transferOwnership(newOwner) (#757)
- Transfer(address(0),newOwner,_tTotal) (#755)
Reentrancy in SonofAstronaut.swapBack() (#1101-1133):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1111)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1125)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
External calls sending eth:
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1125)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#983)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1125)
- SwapAndLiquify(amountToSwapForBNB,bnbForLiquidity,tokensForLiquidity) (#1126)
Reentrancy in SonofAstronaut.transferForeignToken(address,address) (#1507-1517):
External calls:
- _sent = IERC20(_token).transfer(_to,_contractBalance) (#1515)
Event emitted after the call(s):
- TransferForeignToken(_token,_contractBalance) (#1516)
Reentrancy in SonofAstronaut.transferFrom(address,address,uint256) (#808-823):
External calls:
- _transfer(sender,recipient,amount) (#813)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1140-1146)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
External calls sending eth:
- _transfer(sender,recipient,amount) (#813)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1151-1158)
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#983)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#814-821)
Apply the check-effects-interactions pattern.
Additional information: link
SonofAstronaut._transfer(address,address,uint256) (#986-1099) uses timestamp for comparisons
Dangerous comparisons:
- boughtEarly[from] && earlyBuyPenaltyEnd <= block.number (#1084)
- require(bool,string)(! boughtEarly[from] || earlyBuyPenaltyEnd <= block.timestamp,Snipers can't transfer tokens to sell cheaper until penalty timeframe is over. DM a Mod.) (#1090)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#111-122) uses assembly
- INLINE ASM (#118-120)
Address._functionCallWithValue(address,bytes,uint256,string) (#180-203) uses assembly
- INLINE ASM (#195-198)
Do not use evm assembly.
Additional information: link
SonofAstronaut.includeInReward(address) (#953-964) has costly operations inside a loop:
- _excluded.pop() (#960)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#180-203) is never used and should be removed
Address.functionCall(address,bytes) (#138-143) is never used and should be removed
Address.functionCall(address,bytes,string) (#145-151) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#153-165) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#167-178) is never used and should be removed
Address.isContract(address) (#111-122) is never used and should be removed
Address.sendValue(address,uint256) (#124-136) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#96-98) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#100-107) is never used and should be removed
Remove unused functions.
Additional information: link
SonofAstronaut._previousTaxFee (#636) is set pre-construction with a non-constant function or state variable:
- _taxFee
SonofAstronaut._previousLiquidityFee (#639) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
SonofAstronaut._previousBurnFee (#642) 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
Pragma version0.8.9 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#124-136):
- (success) = recipient.call{value: amount}() (#131)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#180-203):
- (success,returndata) = target.call{value: weiValue}(data) (#188-190)
Low level call in SonofAstronaut.swapBack() (#1101-1133):
- (success) = address(marketingAddress).call{value: bnbForMarketing}() (#1122)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1131)
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() (#314) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#316) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#346) is not in mixedCase
Function IUniswapV2Router01.WETH() (#390) is not in mixedCase
Parameter SonofAstronaut.calculateTaxFee(uint256)._amount (#1387) is not in mixedCase
Parameter SonofAstronaut.calculateLiquidityFee(uint256)._amount (#1391) is not in mixedCase
Parameter SonofAstronaut.calculateBurnFee(uint256)._amount (#1399) is not in mixedCase
Parameter SonofAstronaut.setFees(uint256,uint256,uint256,uint256).TaxFees (#1442) is not in mixedCase
Parameter SonofAstronaut.setFees(uint256,uint256,uint256,uint256).LiquidityFees (#1442) is not in mixedCase
Parameter SonofAstronaut.setFees(uint256,uint256,uint256,uint256).MarketingFees (#1442) is not in mixedCase
Parameter SonofAstronaut.setFees(uint256,uint256,uint256,uint256).BurnFees (#1442) is not in mixedCase
Parameter SonofAstronaut.setMarketingAddress(address)._marketingAddress (#1455) is not in mixedCase
Parameter SonofAstronaut.setLiquidityAddress(address)._liquidityAddress (#1462) is not in mixedCase
Parameter SonofAstronaut.setSwapAndLiquifyEnabled(bool)._enabled (#1469) is not in mixedCase
Parameter SonofAstronaut.changeRouterVersion(address)._router (#1478) is not in mixedCase
Parameter SonofAstronaut.transferForeignToken(address,address)._token (#1507) is not in mixedCase
Parameter SonofAstronaut.transferForeignToken(address,address)._to (#1507) is not in mixedCase
Constant SonofAstronaut._tTotal (#616) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SonofAstronaut._name (#620) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SonofAstronaut._symbol (#621) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SonofAstronaut._decimals (#622) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SonofAstronaut._TaxFees (#649) is not in mixedCase
Variable SonofAstronaut._LiquidityFees (#650) is not in mixedCase
Variable SonofAstronaut._MarketingFees (#651) is not in mixedCase
Variable SonofAstronaut._BurnFees (#652) is not in mixedCase
Variable SonofAstronaut._isExcludedMaxTransactionAmount (#663) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#395) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#396)
Variable SonofAstronaut.setFees(uint256,uint256,uint256,uint256).LiquidityFees (#1442) is too similar to SonofAstronaut._liquidityFee (#638)
Variable SonofAstronaut.reflectionFromToken(uint256,bool).rTransferAmount (#925) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut._transferFromExcluded(address,address,uint256).rTransferAmount (#1241) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._transferFromExcluded(address,address,uint256).rTransferAmount (#1241) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut.reflectionFromToken(uint256,bool).rTransferAmount (#925) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Variable SonofAstronaut._transferFromExcluded(address,address,uint256).rTransferAmount (#1241) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Variable SonofAstronaut._transferToExcluded(address,address,uint256).rTransferAmount (#1220) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut._transferBothExcluded(address,address,uint256).rTransferAmount (#1262) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Variable SonofAstronaut.reflectionFromToken(uint256,bool).rTransferAmount (#925) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut._transferToExcluded(address,address,uint256).rTransferAmount (#1220) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut._transferFromExcluded(address,address,uint256).rTransferAmount (#1241) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut.reflectionFromToken(uint256,bool).rTransferAmount (#925) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut._transferToExcluded(address,address,uint256).rTransferAmount (#1220) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferBothExcluded(address,address,uint256).rTransferAmount (#1262) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut._transferFromExcluded(address,address,uint256).rTransferAmount (#1241) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut.reflectionFromToken(uint256,bool).rTransferAmount (#925) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferFromExcluded(address,address,uint256).rTransferAmount (#1241) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferBothExcluded(address,address,uint256).rTransferAmount (#1262) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut._transferStandard(address,address,uint256).rTransferAmount (#1200) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferBothExcluded(address,address,uint256).rTransferAmount (#1262) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferStandard(address,address,uint256).rTransferAmount (#1200) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1347) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferStandard(address,address,uint256).rTransferAmount (#1200) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1347) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._getValues(uint256).rTransferAmount (#1299) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1347) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut._transferStandard(address,address,uint256).rTransferAmount (#1200) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Variable SonofAstronaut._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1347) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Variable SonofAstronaut._getValues(uint256).rTransferAmount (#1299) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut._getValues(uint256).rTransferAmount (#1299) is too similar to SonofAstronaut._transferStandard(address,address,uint256).tTransferAmount (#1202)
Variable SonofAstronaut._transferBothExcluded(address,address,uint256).rTransferAmount (#1262) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._getValues(uint256).rTransferAmount (#1299) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._transferBothExcluded(address,address,uint256).rTransferAmount (#1262) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut._getValues(uint256).rTransferAmount (#1299) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut._getValues(uint256).rTransferAmount (#1299) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Variable SonofAstronaut._transferStandard(address,address,uint256).rTransferAmount (#1200) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut._transferToExcluded(address,address,uint256).rTransferAmount (#1220) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1347) is too similar to SonofAstronaut._getValues(uint256).tTransferAmount (#1295)
Variable SonofAstronaut._transferStandard(address,address,uint256).rTransferAmount (#1200) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut._transferToExcluded(address,address,uint256).rTransferAmount (#1220) is too similar to SonofAstronaut._getTValues(uint256).tTransferAmount (#1326)
Variable SonofAstronaut._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1347) is too similar to SonofAstronaut._transferToExcluded(address,address,uint256).tTransferAmount (#1222)
Variable SonofAstronaut.reflectionFromToken(uint256,bool).rTransferAmount (#925) is too similar to SonofAstronaut._transferFromExcluded(address,address,uint256).tTransferAmount (#1243)
Variable SonofAstronaut._transferToExcluded(address,address,uint256).rTransferAmount (#1220) is too similar to SonofAstronaut._transferBothExcluded(address,address,uint256).tTransferAmount (#1264)
Prevent variables from having similar names.
Additional information: link
SonofAstronaut.slitherConstructorVariables() (#593-1520) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#603-604)
SonofAstronaut.slitherConstructorVariables() (#593-1520) uses literals with too many digits:
- gasMaxLimit = 1000000 * 1000000000 (#667)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#208) is never used in SonofAstronaut (#593-1520)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#208) should be constant
SonofAstronaut._buyBurnFee (#647) should be constant
SonofAstronaut._buyLiquidityFee (#645) should be constant
SonofAstronaut._buyMarketingFee (#646) should be constant
SonofAstronaut._buyTaxFee (#644) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
getTime() should be declared external:
- Ownable.getTime() (#244-246)
excludeFromMaxTransaction(address,bool) should be declared external:
- SonofAstronaut.excludeFromMaxTransaction(address,bool) (#880-882)
setSwapAndLiquifyEnabled(bool) should be declared external:
- SonofAstronaut.setSwapAndLiquifyEnabled(bool) (#1469-1472)
Use the external attribute for functions never called from the contract.
Additional information: link
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 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
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts