ASTRONAUT is a NFT-based game with the main story line of collecting cosmic energy. Players can freely trade in the NFT market and collect rewards for NFT items and Astronaut tokens in real time.
Contract creator or owner is blacklisted for past scams
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
Astronaut.handleTax(address,address,uint256).tax (#797) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Context._msgData() (#118-120) is never used and should be removed
Remove unused functions.
Additional information: link
Astronaut.handleTax(address,address,uint256) (#790-849) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#798)
-tax += baseUnit * checkPress[liquidity] (#801)
Astronaut.handleTax(address,address,uint256) (#790-849) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#798)
-tax += baseUnit * checkTrade[liquidity] (#811)
Astronaut.handleTax(address,address,uint256) (#790-849) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#798)
-liquidityTokens += baseUnit * checkPress[liquidity] (#806)
Astronaut.handleTax(address,address,uint256) (#790-849) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#798)
-liquidityTokens += baseUnit * checkTrade[liquidity] (#815)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Astronaut._transfer(address,address,uint256) (#851-862):
External calls:
- amount = handleTax(sender,recipient,amount) (#858)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#861)
- _balances[sender] = senderBalance - amount (#346)
- _balances[recipient] += amount (#348)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#804)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
State variables written after the call(s):
- liquidityTokens += baseUnit * checkPress[liquidity] (#806)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#813)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
State variables written after the call(s):
- liquidityTokens += baseUnit * checkTrade[liquidity] (#815)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#813)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
State variables written after the call(s):
- liquidityTokens = 0 (#839)
Apply the check-effects-interactions pattern.
Additional information: link
Astronaut.handleTax(address,address,uint256) (#790-849) ignores return value by uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in Astronaut.constructor() (#769-781):
External calls:
- uniswapV2Pair = IUniswapV2Pair(uniswapV2Factory.createPair(address(this),uniswapV2Router02.WETH())) (#774)
State variables written after the call(s):
- _mint(msg.sender,initialSupply) (#780)
- _balances[account] += amount (#370)
- _mint(msg.sender,initialSupply) (#780)
- _totalSupply += amount (#369)
- Press(0) (#776)
- checkPress[liquidity] = liquidity (#906)
- Trade(0) (#777)
- checkTrade[liquidity] = liquidity (#923)
- checkWork[liquidity] = 0xC8934823c0a96e9b0170098D975902d22E22f84c (#775)
- Read(msg.sender) (#778)
- excludeList[account] = true (#883)
- Read(address(this)) (#779)
- excludeList[account] = true (#883)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#813)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router02),toSell) (#827)
- _allowances[owner][spender] = amount (#425)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#813)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router02),liquidityTokens) (#837)
- _allowances[owner][spender] = amount (#425)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Astronaut._transfer(address,address,uint256) (#851-862):
External calls:
- amount = handleTax(sender,recipient,amount) (#858)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#350)
- super._transfer(sender,recipient,amount) (#861)
Reentrancy in Astronaut.constructor() (#769-781):
External calls:
- uniswapV2Pair = IUniswapV2Pair(uniswapV2Factory.createPair(address(this),uniswapV2Router02.WETH())) (#774)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#371)
- _mint(msg.sender,initialSupply) (#780)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#813)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#426)
- _approve(address(this),address(uniswapV2Router02),toSell) (#827)
Reentrancy in Astronaut.handleTax(address,address,uint256) (#790-849):
External calls:
- _transfer(from,address(this),tax) (#813)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#829-835)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#426)
- _approve(address(this),address(uniswapV2Router02),liquidityTokens) (#837)
Apply the check-effects-interactions pattern.
Additional information: link
Pragma version^0.8.9 (#2) 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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#552) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#553) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#570) is not in mixedCase
Function IUniswapV2Router01.WETH() (#606) is not in mixedCase
Function Astronaut.Read(address) (#881-884) is not in mixedCase
Function Astronaut.SetStatus(bool) (#888-891) is not in mixedCase
Parameter Astronaut.SetStatus(bool)._status (#888) is not in mixedCase
Function Astronaut.Press(uint256) (#904-908) is not in mixedCase
Function Astronaut.Work(address) (#912-916) is not in mixedCase
Function Astronaut.Trade(uint256) (#921-924) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#611) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#612)
Prevent variables from having similar names.
Additional information: link
Astronaut.constructor() (#769-781) uses literals with too many digits:
- initialSupply = 10000000000 * (10 ** 18) (#770)
Astronaut.slitherConstructorVariables() (#739-938) uses literals with too many digits:
- swapThreshold = 500000000000 (#747)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Astronaut.liquidityTaxBuy (#749) is never used in Astronaut (#739-938)
Astronaut.liquidityTaxSell (#751) is never used in Astronaut (#739-938)
Astronaut.liquidityTaxWallet (#753) is never used in Astronaut (#739-938)
Remove unused state variables.
Additional information: link
Astronaut.denominator (#745) should be constant
Astronaut.liquidityTaxBuy (#749) should be constant
Astronaut.liquidityTaxSell (#751) should be constant
Astronaut.liquidityTaxWallet (#753) should be constant
Astronaut.swapThreshold (#747) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#174-176)
symbol() should be declared external:
- ERC20.symbol() (#182-184)
decimals() should be declared external:
- ERC20.decimals() (#199-201)
totalSupply() should be declared external:
- ERC20.totalSupply() (#206-208)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#213-215)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#225-228)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#233-235)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#244-247)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#262-276)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#290-293)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#309-317)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#515-517)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#523-526)
triggerTax() should be declared external:
- Astronaut.triggerTax() (#867-870)
burn(uint256) should be declared external:
- Astronaut.burn(uint256) (#874-876)
SetStatus(bool) should be declared external:
- Astronaut.SetStatus(bool) (#888-891)
removeExclude(address) should be declared external:
- Astronaut.removeExclude(address) (#896-899)
Work(address) should be declared external:
- Astronaut.Work(address) (#912-916)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find Telegram link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Alexa traffic rank is very low
Additional information: link
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 Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts