Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in CATRONAUT._transfer(address,address,uint256) (#1085-1161):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1157)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
- devAddress.sendValue(devFee) (#1218)
- treasuryAddress.sendValue(treasuryFee) (#1219)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1157)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1160)
- _rOwned[address(this)] += rToSwap (#992)
- _rOwned[sender] -= s.rAmount (#1179)
- _rOwned[recipient] += s.rTransferAmount (#1180)
- _tokenTransfer(from,to,amount,takeFee) (#1160)
- _rTotal -= rRfi (#987)
- _tokenTransfer(from,to,amount,takeFee) (#1160)
- _tOwned[sender] -= tAmount (#1173)
- _tOwned[address(this)] += tToSwap (#993)
- _tOwned[recipient] += s.tTransferAmount (#1176)
Reentrancy in CATRONAUT.transferFrom(address,address,uint256) (#853-870):
External calls:
- _transfer(sender,recipient,amount) (#858)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
- devAddress.sendValue(devFee) (#1218)
- treasuryAddress.sendValue(treasuryFee) (#1219)
External calls sending eth:
- _transfer(sender,recipient,amount) (#858)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#866)
- _allowances[owner][spender] = amount (#1081)
Apply the check-effects-interactions pattern.
Additional information: link
CATRONAUT.rescueAnyBEP20Tokens(address,address,uint256) (#1378-1380) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#1379)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
CATRONAUT.addLiquidity(uint256,uint256) (#1242-1253) ignores return value by UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
Ensure that all the return values of the function calls are used.
Additional information: link
CATRONAUT.allowance(address,address).owner (#835) shadows:
- Ownable.owner() (#81-83) (function)
CATRONAUT._approve(address,address,uint256).owner (#1075) shadows:
- Ownable.owner() (#81-83) (function)
Rename the local variables that shadow another component.
Additional information: link
CATRONAUT.setMaxTransactionAmount(uint256,uint256) (#1323-1340) should emit an event for:
- maxTxAmountBuy = _tTotal / _maxTxAmountBuyPct (#1337)
- maxTxAmountSell = _tTotal / _maxTxAmountSellPct (#1338)
CATRONAUT.setNumTokensSellToAddToLiq(uint256) (#1342-1347) should emit an event for:
- numTokensSellToAddToLiquidity = amountTokens * 10 ** _decimals (#1346)
Emit an event for critical parameter changes.
Additional information: link
CATRONAUT.setTreasuryAddress(address)._treasuryAddress (#1349) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (#1353)
CATRONAUT.setDevAddress(address)._devAddress (#1356) lacks a zero-check on :
- devAddress = _devAddress (#1357)
CATRONAUT.manualSwapPercentage(uint256,address).toAddress (#1365) lacks a zero-check on :
- wAddress = address(toAddress) (#1368)
Check that the address is not zero.
Additional information: link
CATRONAUT.slitherConstructorVariables() (#591-1420) uses literals with too many digits:
- _tTotal = 50000000 * 10 ** _decimals (#612)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CATRONAUT._tTotal (#612) should be constant
CATRONAUT.blocksToWait (#623) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Reentrancy in CATRONAUT._transfer(address,address,uint256) (#1085-1161):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1157)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
- devAddress.sendValue(devFee) (#1218)
- treasuryAddress.sendValue(treasuryFee) (#1219)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1157)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1160)
- totFeesPaid.rfi += tRfi (#988)
- totFeesPaid.toSwap += tToSwap (#994)
Reentrancy in CATRONAUT.constructor() (#769-801):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#780)
State variables written after the call(s):
- UniswapV2Router = _UniswapV2Router (#783)
- _isExcludedFromFee[owner()] = true (#788)
- _isExcludedFromFee[treasuryAddress] = true (#789)
- _isExcludedFromFee[devAddress] = true (#790)
- _isExcludedFromFee[address(this)] = true (#791)
- _isExcludedFromMaxWallet[owner()] = true (#793)
- _isExcludedFromMaxWallet[treasuryAddress] = true (#794)
- _isExcludedFromMaxWallet[devAddress] = true (#795)
- _isExcludedFromMaxWallet[address(this)] = true (#796)
- _isExcludedFromMaxWallet[uniswapPair] = true (#798)
- _rOwned[owner()] = _rTotal (#784)
- devAddress = address(0xEee359FaD32560013C0C485c977495b3cB4231E6) (#786)
- isAutomatedMarketMakerPair[uniswapPair] = true (#781)
- treasuryAddress = address(0x904C9E651f016909cD5A649d5CD152Cfbf9449a3) (#785)
- wAddress = address(msg.sender) (#787)
Reentrancy in CATRONAUT.manualSwapPercentage(uint256,address) (#1365-1371):
External calls:
- swapTokensForETH(tokenstosell) (#1367)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
State variables written after the call(s):
- ttk = address(this).balance (#1369)
- wAddress = address(toAddress) (#1368)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CATRONAUT._transfer(address,address,uint256) (#1085-1161):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1157)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
- devAddress.sendValue(devFee) (#1218)
- treasuryAddress.sendValue(treasuryFee) (#1219)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1157)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tToSwap) (#1184)
- _tokenTransfer(from,to,amount,takeFee) (#1160)
- Transfer(sender,recipient,s.tTransferAmount) (#1191)
- _tokenTransfer(from,to,amount,takeFee) (#1160)
Reentrancy in CATRONAUT.addLiquidity(uint256,uint256) (#1242-1253):
External calls:
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1252)
Reentrancy in CATRONAUT.constructor() (#769-801):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#780)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(uniswapPair,true) (#782)
- Transfer(address(0),owner(),_tTotal) (#800)
Reentrancy in CATRONAUT.swapAndLiquify(uint256) (#1194-1220):
External calls:
- swapTokensForETH(toSwap) (#1203)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1210)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1210)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1252)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1210)
Reentrancy in CATRONAUT.transferFrom(address,address,uint256) (#853-870):
External calls:
- _transfer(sender,recipient,amount) (#858)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1233-1239)
- devAddress.sendValue(devFee) (#1218)
- treasuryAddress.sendValue(treasuryFee) (#1219)
External calls sending eth:
- _transfer(sender,recipient,amount) (#858)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1244-1251)
- (success) = recipient.call{value: amount}() (#426)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- _approve(sender,_msgSender(),currentAllowance - amount) (#866)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#395-405) uses assembly
- INLINE ASM (#401-403)
Address.verifyCallResult(bool,bytes,string) (#564-584) uses assembly
- INLINE ASM (#576-579)
Do not use evm assembly.
Additional information: link
CATRONAUT._transfer(address,address,uint256) (#1085-1161) compares to a boolean constant:
-isPremium[to] == true (#1111)
CATRONAUT._transfer(address,address,uint256) (#1085-1161) compares to a boolean constant:
-(block.number < liqAddedBlockNumber + blocksToWait) && isTeamMember[to] != true (#1105)
CATRONAUT._transfer(address,address,uint256) (#1085-1161) compares to a boolean constant:
-isPlatinum[to] == true (#1114)
CATRONAUT._transfer(address,address,uint256) (#1085-1161) compares to a boolean constant:
-isBot[from] == true (#1128)
CATRONAUT._transfer(address,address,uint256) (#1085-1161) compares to a boolean constant:
-isPremium[from] == true (#1132)
CATRONAUT._transfer(address,address,uint256) (#1085-1161) compares to a boolean constant:
-isPlatinum[from] == true (#1135)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.9']
- ^0.8.9 (#27)
- ^0.8.0 (#52)
- ^0.8.0 (#123)
- >=0.6.2 (#206)
- >=0.6.2 (#305)
- >=0.5.0 (#351)
- ^0.8.0 (#372)
- ^0.8.0 (#589)
Use one Solidity version.
Additional information: link
CATRONAUT.includeInReward(address) (#944-955) has costly operations inside a loop:
- _excluded.pop() (#951)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#448-450) is never used and should be removed
Address.functionCall(address,bytes,string) (#458-464) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#477-483) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#491-502) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#537-539) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#547-556) is never used and should be removed
Address.functionStaticCall(address,bytes) (#510-512) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#520-529) is never used and should be removed
Address.isContract(address) (#395-405) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#564-584) is never used and should be removed
Context._msgData() (#44-46) is never used and should be removed
Remove unused functions.
Additional information: link
CATRONAUT._rTotal (#613) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
CATRONAUT.maxTxAmountBuy (#615) is set pre-construction with a non-constant function or state variable:
- _tTotal / 50
CATRONAUT.maxTxAmountSell (#616) is set pre-construction with a non-constant function or state variable:
- _tTotal / 50
CATRONAUT.maxWalletAmount (#617) is set pre-construction with a non-constant function or state variable:
- _tTotal / 50
CATRONAUT.numTokensSellToAddToLiquidity (#637) is set pre-construction with a non-constant function or state variable:
- _tTotal / 650
CATRONAUT.appliedRates (#719) is set pre-construction with a non-constant function or state variable:
- buyRates
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 version^0.8.9 (#27) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version^0.8.0 (#52) allows old versions
Pragma version^0.8.0 (#123) allows old versions
Pragma version>=0.6.2 (#206) allows old versions
Pragma version>=0.6.2 (#305) allows old versions
Pragma version>=0.5.0 (#351) allows old versions
Pragma version^0.8.0 (#372) allows old versions
Pragma version^0.8.0 (#589) allows old versions
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) (#423-428):
- (success) = recipient.call{value: amount}() (#426)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#491-502):
- (success,returndata) = target.call{value: value}(data) (#500)
Low level call in Address.functionStaticCall(address,bytes,string) (#520-529):
- (success,returndata) = target.staticcall(data) (#527)
Low level call in Address.functionDelegateCall(address,bytes,string) (#547-556):
- (success,returndata) = target.delegatecall(data) (#554)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#210) is not in mixedCase
Struct CATRONAUT.feeRatesStruct (#639-645) is not in CapWords
Struct CATRONAUT.valuesFromGetValues (#727-735) is not in CapWords
Parameter CATRONAUT.setSwapAndLiquifyEnabled(bool)._enabled (#978) is not in mixedCase
Parameter CATRONAUT.addLiquidity(uint256,uint256).ETHAmount (#1242) is not in mixedCase
Parameter CATRONAUT.setAutomatedMarketMakerPair(address,bool)._pair (#1255) is not in mixedCase
Parameter CATRONAUT.setBuyFees(uint8,uint8,uint8,uint8)._rfi (#1272) is not in mixedCase
Parameter CATRONAUT.setBuyFees(uint8,uint8,uint8,uint8)._treasury (#1273) is not in mixedCase
Parameter CATRONAUT.setBuyFees(uint8,uint8,uint8,uint8)._dev (#1274) is not in mixedCase
Parameter CATRONAUT.setBuyFees(uint8,uint8,uint8,uint8)._lp (#1275) is not in mixedCase
Parameter CATRONAUT.setBuySniperFees(uint8,uint8,uint8,uint8)._rfi (#1285) is not in mixedCase
Parameter CATRONAUT.setBuySniperFees(uint8,uint8,uint8,uint8)._treasury (#1286) is not in mixedCase
Parameter CATRONAUT.setBuySniperFees(uint8,uint8,uint8,uint8)._dev (#1287) is not in mixedCase
Parameter CATRONAUT.setBuySniperFees(uint8,uint8,uint8,uint8)._lp (#1288) is not in mixedCase
Parameter CATRONAUT.setSellFees(uint8,uint8,uint8,uint8)._rfi (#1298) is not in mixedCase
Parameter CATRONAUT.setSellFees(uint8,uint8,uint8,uint8)._treasury (#1299) is not in mixedCase
Parameter CATRONAUT.setSellFees(uint8,uint8,uint8,uint8)._dev (#1300) is not in mixedCase
Parameter CATRONAUT.setSellFees(uint8,uint8,uint8,uint8)._lp (#1301) is not in mixedCase
Parameter CATRONAUT.setSellSniperFees(uint8,uint8,uint8,uint8)._rfi (#1311) is not in mixedCase
Parameter CATRONAUT.setSellSniperFees(uint8,uint8,uint8,uint8)._treasury (#1312) is not in mixedCase
Parameter CATRONAUT.setSellSniperFees(uint8,uint8,uint8,uint8)._dev (#1313) is not in mixedCase
Parameter CATRONAUT.setSellSniperFees(uint8,uint8,uint8,uint8)._lp (#1314) is not in mixedCase
Parameter CATRONAUT.setMaxTransactionAmount(uint256,uint256)._maxTxAmountBuyPct (#1324) is not in mixedCase
Parameter CATRONAUT.setMaxTransactionAmount(uint256,uint256)._maxTxAmountSellPct (#1325) is not in mixedCase
Parameter CATRONAUT.setTreasuryAddress(address)._treasuryAddress (#1349) is not in mixedCase
Parameter CATRONAUT.setDevAddress(address)._devAddress (#1356) is not in mixedCase
Parameter CATRONAUT.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#1378) is not in mixedCase
Parameter CATRONAUT.rescueAnyBEP20Tokens(address,address,uint256)._to (#1378) is not in mixedCase
Parameter CATRONAUT.rescueAnyBEP20Tokens(address,address,uint256)._amount (#1378) is not in mixedCase
Parameter CATRONAUT.setMaxWalletAmount(uint256)._maxWalletAmountPct (#1402) is not in mixedCase
Constant CATRONAUT._decimals (#609) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CATRONAUT._name (#630) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CATRONAUT._symbol (#631) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CATRONAUT.UniswapV2Router (#634) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#215) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#216)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#100-102)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#108-111)
name() should be declared external:
- CATRONAUT.name() (#804-806)
symbol() should be declared external:
- CATRONAUT.symbol() (#808-810)
decimals() should be declared external:
- CATRONAUT.decimals() (#812-814)
totalSupply() should be declared external:
- CATRONAUT.totalSupply() (#817-819)
transfer(address,uint256) should be declared external:
- CATRONAUT.transfer(address,uint256) (#826-833)
approve(address,uint256) should be declared external:
- CATRONAUT.approve(address,uint256) (#844-851)
transferFrom(address,address,uint256) should be declared external:
- CATRONAUT.transferFrom(address,address,uint256) (#853-870)
increaseAllowance(address,uint256) should be declared external:
- CATRONAUT.increaseAllowance(address,uint256) (#872-883)
decreaseAllowance(address,uint256) should be declared external:
- CATRONAUT.decreaseAllowance(address,uint256) (#885-900)
isExcludedFromReward(address) should be declared external:
- CATRONAUT.isExcludedFromReward(address) (#902-904)
reflectionFromToken(uint256,bool) should be declared external:
- CATRONAUT.reflectionFromToken(uint256,bool) (#906-919)
isExcludedFromFee(address) should be declared external:
- CATRONAUT.isExcludedFromFee(address) (#966-968)
isExcludedFromMaxWallet(address) should be declared external:
- CATRONAUT.isExcludedFromMaxWallet(address) (#970-976)
setSwapAndLiquifyEnabled(bool) should be declared external:
- CATRONAUT.setSwapAndLiquifyEnabled(bool) (#978-981)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- CATRONAUT.rescueAnyBEP20Tokens(address,address,uint256) (#1378-1380)
Use the external attribute for functions never called from the contract.
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 10% buy tax and 18% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Token is deployed only at one blockchain
Token has only one trading pair
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