Space War Zone Token Logo

SWZ [Space War Zone] Token

About SWZ

Listings

Not Found
Token 10 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Reentrancy in SpaceWarZone._transfer(address,address,uint256) (#510-552):
External calls:
- swapAndLiquify(contractTokenBalance) (#525)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#573-579)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#525)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
State variables written after the call(s):
- super._transfer(from,ownerWallet,ownerAmount) (#545)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#247)
- _balances[recipient] = _balances[recipient].add(amount) (#248)
- super._transfer(from,to,tokensToTransfer) (#546)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#247)
- _balances[recipient] = _balances[recipient].add(amount) (#248)
- super._transfer(from,to,amount) (#548)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#247)
- _balances[recipient] = _balances[recipient].add(amount) (#248)
Apply the check-effects-interactions pattern.

Additional information: link

SpaceWarZone._totalSupply (#469) shadows:
- ERC20._totalSupply (#179)
Remove the state variable shadowing.

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.

SpaceWarZone.addLiquidity(uint256,uint256) (#582-594) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
Ensure that all the return values of the function calls are used.

Additional information: link

ERC20.constructor(string,string).symbol (#185) shadows:
- ERC20.symbol() (#195-197) (function)
Rename the local variables that shadow another component.

Additional information: link

SpaceWarZone.changeOwnerWallet(address)._ownerWallet (#633) lacks a zero-check on :
- ownerWallet = _ownerWallet (#634)
Check that the address is not zero.

Additional information: link

Reentrancy in SpaceWarZone.swapAndLiquify(uint256) (#554-564):
External calls:
- swapTokensForEth(half) (#558)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#573-579)
- addLiquidity(otherHalf,newBalance) (#560)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#560)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#560)
- _allowances[owner][spender] = amount (#266)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SpaceWarZone.swapAndLiquify(uint256) (#554-564):
External calls:
- swapTokensForEth(half) (#558)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#573-579)
- addLiquidity(otherHalf,newBalance) (#560)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#560)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#586-593)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#267)
- addLiquidity(otherHalf,newBalance) (#560)
- SwapAndLiquify(half,newBalance,otherHalf) (#563)
Apply the check-effects-interactions pattern.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#147-168) uses assembly
- INLINE ASM (#160-163)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['0.6.12', '^0.6.0']
- ^0.6.0 (#1)
- 0.6.12 (#450)
Use one Solidity version.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#92-95) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.6.0 (#1) allows old versions
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._functionCallWithValue(address,bytes,uint256,string) (#147-168):
- (success,returndata) = target.call{value: weiValue}(data) (#151)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable SpaceWarZone._uniswapV2Router (#457) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#9)" inContext (#3-12)
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 (#322) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#323)
Prevent variables from having similar names.

Additional information: link

SpaceWarZone.constructor() (#494-508) uses literals with too many digits:
- _mint(address(0x1287495D22149FB0D0B4199E2BDCa28850c39c06),10000000 * 10 ** 6) (#498)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SpaceWarZone._totalSupply (#469) is never used in SpaceWarZone (#452-638)
Remove unused state variables.

Additional information: link

SpaceWarZone.minTokensBeforeSwap (#467) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

changeOwnerWallet(address) should be declared external:
- SpaceWarZone.changeOwnerWallet(address) (#633-635)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


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 Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SWZ