An inspired Galaga-like project where holders feel nostalgia from the classic era of arcade games. A play-2-earn game that enables you to reminisce and earn money doing it!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
SpacePortUniverse.tokenSwap() (#510-552) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SpacePortUniverse._transferFrom(address,address,uint256) (#571-593):
External calls:
- tokenSwap() (#583)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#521-527)
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
External calls sending eth:
- tokenSwap() (#583)
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#586)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#589)
- amountReceived = takeFee(sender,recipient,amount) (#588)
- _balances[address(this)] = _balances[address(this)].add(swapAmount) (#496)
- _balances[rewardsHolder] = _balances[rewardsHolder].add(rewardAmount) (#497)
Apply the check-effects-interactions pattern.
Additional information: link
RewardHolder.claim(address,uint256) (#188-194) ignores return value by SPC.transfer(caller,amount) (#192)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
NFTCheck.balances (#609) is never initialized. It is used in:
- NFTCheck.balanceOf(address,uint256) (#610-613)
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
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)
Contract locking ether found:
Contract RewardHolder (#153-208) has payable functions:
- RewardHolder.receive() (#207)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
SpacePortUniverse.tokenSwap().tmpSuccess (#536) is written in both
(tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
tmpSuccess = false (#538)
Fix or remove the writes.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Reentrancy in SpacePortUniverse.clearStuckBalance(uint256) (#343-351):
External calls:
- address(autoLiquidityReceiver).transfer(amountBNB * amountPercentage / 100) (#347)
State variables written after the call(s):
- approve(address(this),amountTokens) (#348)
- _allowances[msg.sender][spender] = amount (#298)
- _basicTransfer(address(this),msg.sender,amountTokens) (#349)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#308)
- _balances[recipient] = _balances[recipient].add(amount) (#309)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#299)
- approve(address(this),amountTokens) (#348)
- Transfer(sender,recipient,amount) (#310)
- _basicTransfer(address(this),msg.sender,amountTokens) (#349)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#112) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#113)
Prevent variables from having similar names.
Additional information: link
SpacePortUniverse.slitherConstructorVariables() (#209-607) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#212)
SpacePortUniverse.slitherConstructorVariables() (#209-607) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#213)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SpacePortUniverse.DEAD (#212) should be constant
SpacePortUniverse.NFT (#214) should be constant
SpacePortUniverse.ZERO (#213) should be constant
SpacePortUniverse._totalSupply (#222) should be constant
SpacePortUniverse.claimCooldownTimerInterval (#248) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#76-78)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#80-82)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#92-96)
authorize(address) should be declared external:
- RewardHolder.authorize(address) (#176-178)
newCoin(IBEP20) should be declared external:
- RewardHolder.newCoin(IBEP20) (#203-205)
claim(uint256) should be declared external:
- SpacePortUniverse.claim(uint256) (#326-337)
Use the external attribute for functions never called from the contract.
Additional information: link
Low level call in SpacePortUniverse.tokenSwap() (#510-552):
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#107) is not in mixedCase
Variable RewardHolder._token (#156) is not in mixedCase
Variable RewardHolder.SPC (#159) is not in mixedCase
Parameter SpacePortUniverse.claim(uint256)._amount (#326) is not in mixedCase
Parameter SpacePortUniverse.nftRewardLimit(uint256)._balance (#376) is not in mixedCase
Parameter SpacePortUniverse.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#427) is not in mixedCase
Parameter SpacePortUniverse.setFees(uint256,uint256,uint256,uint256)._developerFee (#427) is not in mixedCase
Parameter SpacePortUniverse.setFees(uint256,uint256,uint256,uint256)._rewardsFee (#427) is not in mixedCase
Parameter SpacePortUniverse.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#427) is not in mixedCase
Parameter SpacePortUniverse.setFeeReceivers(address,address)._autoLiquidityReceiver (#436) is not in mixedCase
Parameter SpacePortUniverse.setFeeReceivers(address,address)._developerFeeReceiver (#436) is not in mixedCase
Parameter SpacePortUniverse.setSellFeeMultiplier(uint256)._multiplier (#441) is not in mixedCase
Parameter SpacePortUniverse.setTradingIsEnabled(bool)._enabled (#445) is not in mixedCase
Parameter SpacePortUniverse.setTokenSwapSettings(bool,uint256,uint256)._enabled (#451) is not in mixedCase
Parameter SpacePortUniverse.setTokenSwapSettings(bool,uint256,uint256)._amount (#451) is not in mixedCase
Parameter SpacePortUniverse.setTokenSwapSettings(bool,uint256,uint256)._percentage (#451) is not in mixedCase
Parameter SpacePortUniverse.setTargetLiquidity(uint256,uint256)._target (#457) is not in mixedCase
Parameter SpacePortUniverse.setTargetLiquidity(uint256,uint256)._denominator (#457) is not in mixedCase
Parameter SpacePortUniverse.setRewardsAddress(address)._reward (#467) is not in mixedCase
Variable SpacePortUniverse.DEAD (#212) is not in mixedCase
Variable SpacePortUniverse.ZERO (#213) is not in mixedCase
Variable SpacePortUniverse.NFT (#214) is not in mixedCase
Constant SpacePortUniverse._name (#218) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SpacePortUniverse._symbol (#219) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SpacePortUniverse._decimals (#220) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SpacePortUniverse._totalSupply (#222) is not in mixedCase
Variable SpacePortUniverse._maxTxAmount (#223) is not in mixedCase
Variable SpacePortUniverse._maxWalletToken (#224) is not in mixedCase
Variable SpacePortUniverse._balances (#226) is not in mixedCase
Variable SpacePortUniverse._allowances (#227) is not in mixedCase
Variable SpacePortUniverse._isBlacklisted (#232) is not in mixedCase
Parameter NFTCheck.balanceOf(address,uint256)._owner (#610) is not in mixedCase
Parameter NFTCheck.balanceOf(address,uint256)._id (#610) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
SpacePortUniverse.takeFee(address,address,uint256) (#482-502) performs a multiplication on the result of a division:
-_totalFee = _totalFee * sellMulti.div(100) (#488)
SpacePortUniverse.takeFee(address,address,uint256) (#482-502) performs a multiplication on the result of a division:
-_rewardsFee = _rewardsFee * sellMulti.div(100) (#489)
Consider ordering multiplication before division.
Additional information: link
RewardHolder.claim(address,uint256) (#188-194) ignores return value by SPC.approve(address(this),amount) (#191)
SpacePortUniverse.tokenSwap() (#510-552) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
Ensure that all the return values of the function calls are used.
Additional information: link
SpacePortUniverse.nftAmount(address).owner (#362) shadows:
- Auth.owner (#60) (state variable)
SpacePortUniverse.nftCheck(address,address,uint256).owner (#371) shadows:
- Auth.owner (#60) (state variable)
Rename the local variables that shadow another component.
Additional information: link
SpacePortUniverse.setTxLimit(uint256) (#407-409) should emit an event for:
- _maxTxAmount = amount (#408)
SpacePortUniverse.setFees(uint256,uint256,uint256,uint256) (#427-434) should emit an event for:
- liquidityFee = _liquidityFee (#428)
- developerFee = _developerFee (#429)
- rewardsFee = _rewardsFee (#430)
- totalFee = _liquidityFee.add(_developerFee).add(_rewardsFee) (#431)
- feeDenominator = _feeDenominator (#432)
SpacePortUniverse.setSellFeeMultiplier(uint256) (#441-443) should emit an event for:
- sellMulti = _multiplier (#442)
SpacePortUniverse.setTokenSwapSettings(bool,uint256,uint256) (#451-455) should emit an event for:
- swapThreshold = _amount (#453)
- swapPercent = _percentage (#454)
SpacePortUniverse.setTargetLiquidity(uint256,uint256) (#457-460) should emit an event for:
- targetLiquidity = _target (#458)
- targetLiquidityDenominator = _denominator (#459)
Emit an event for critical parameter changes.
Additional information: link
RewardHolder.constructor(address)._main (#184) lacks a zero-check on :
- main = _main (#185)
Auth.transferOwnership(address).adr (#92) lacks a zero-check on :
- owner = adr (#93)
SpacePortUniverse.setFeeReceivers(address,address)._autoLiquidityReceiver (#436) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#437)
SpacePortUniverse.setFeeReceivers(address,address)._developerFeeReceiver (#436) lacks a zero-check on :
- developerFeeReceiver = _developerFeeReceiver (#438)
SpacePortUniverse.setRewardsAddress(address)._reward (#467) lacks a zero-check on :
- rewardsHolder = _reward (#468)
Check that the address is not zero.
Additional information: link
Reentrancy in SpacePortUniverse.constructor() (#270-285):
External calls:
- pair = IDEXFactory(router.factory()).createPair(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c,address(this)) (#272)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#273)
- _balances[msg.sender] = _totalSupply (#283)
- autoLiquidityReceiver = 0x168b151F99858E3f954C533855A81D45e855D9Ff (#280)
- developerFeeReceiver = 0x168b151F99858E3f954C533855A81D45e855D9Ff (#281)
- isFeeExempt[msg.sender] = true (#277)
- isTxLimitExempt[msg.sender] = true (#278)
- rewardHolder = new RewardHolder(address(this)) (#275)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SpacePortUniverse._transferFrom(address,address,uint256) (#571-593):
External calls:
- tokenSwap() (#583)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#521-527)
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
External calls sending eth:
- tokenSwap() (#583)
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
Event emitted after the call(s):
- Transfer(sender,address(this),swapAmount) (#498)
- amountReceived = takeFee(sender,recipient,amount) (#588)
- Transfer(sender,rewardsHolder,rewardAmount) (#499)
- amountReceived = takeFee(sender,recipient,amount) (#588)
- Transfer(sender,recipient,amountReceived) (#591)
Reentrancy in SpacePortUniverse.constructor() (#270-285):
External calls:
- pair = IDEXFactory(router.factory()).createPair(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c,address(this)) (#272)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#284)
Reentrancy in SpacePortUniverse.tokenSwap() (#510-552):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#521-527)
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
External calls sending eth:
- (tmpSuccess) = address(developerFeeReceiver).call{gas: 50000,value: amountBNBdeveloper}() (#536)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#542-549)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#550)
Apply the check-effects-interactions pattern.
Additional information: link
SpacePortUniverse.checkClaimCooldownTimer(address) (#322-324) uses timestamp for comparisons
Dangerous comparisons:
- (claimCooldownTimer[player],(claimCooldownTimer[player] > block.timestamp)) (#323)
SpacePortUniverse.claim(uint256) (#326-337) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(claimCooldownTimer[msg.sender] < block.timestamp,Please wait for cooldown between claims) (#332)
Avoid relying on block.timestamp.
Additional information: link
SpacePortUniverse.claim(uint256) (#326-337) compares to a boolean constant:
-isCooldownExempt[msg.sender] == false (#331)
SpacePortUniverse._transferFrom(address,address,uint256) (#571-593) compares to a boolean constant:
-require(bool)(tradingIsEnabled == true || sender == owner || recipient == owner) (#572)
Remove the equality to the boolean constant.
Additional information: link
RewardHolder.SPC (#159) is set pre-construction with a non-constant function or state variable:
- IBEP20(main)
SpacePortUniverse._maxTxAmount (#223) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 100
SpacePortUniverse._maxWalletToken (#224) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 100) / 100
SpacePortUniverse.swapThreshold (#265) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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.7.4 (#1) allows old versions
solc-0.7.4 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
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Token is deployed only at one blockchain
Contract has 7% buy tax and 7% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d number of PancakeSwap swaps is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Unable to crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account