SpaceMario Token Logo

SpaceMario Token

About SpaceMario

Listings

Token 19 months

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 13 April 2022

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

SonofTiger.addLiquidity(uint256,uint256) (#762-775) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SonofTiger._transfer(address,address,uint256) (#671-709):
External calls:
- swapAndLiquify(contractTokenBalance) (#693)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#693)
- recipient.transfer(amount) (#635)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#696)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#704)
- finalAmount = takeFee(sender,recipient,amount) (#698-699)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#789)
Apply the check-effects-interactions pattern.

Additional information: link


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


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.


Contract ownership is not renounced (belongs to a wallet)

SonofTiger.addLiquidity(uint256,uint256) (#762-775) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
Ensure that all the return values of the function calls are used.

Additional information: link

SonofTiger.allowance(address,address).owner (#526) shadows:
- Ownable.owner() (#160-162) (function)
SonofTiger._approve(address,address,uint256).owner (#549) shadows:
- Ownable.owner() (#160-162) (function)
Rename the local variables that shadow another component.

Additional information: link

SonofTiger.setBuyTaxes(uint256,uint256,uint256) (#569-575) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#574)
SonofTiger.setSellTaxes(uint256,uint256,uint256) (#577-583) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#582)
SonofTiger.setDistributionSettings(uint256,uint256,uint256) (#585-591) should emit an event for:
- _liquidityShare = newLiquidityShare (#586)
- _teamShare = newTeamShare (#588)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#590)
SonofTiger.setMaxTxAmount(uint256) (#593-595) should emit an event for:
- _maxTxAmount = maxTxAmount (#594)
SonofTiger.setWalletLimit(uint256) (#605-607) should emit an event for:
- _walletMax = newLimit (#606)
SonofTiger.setNumTokensBeforeSwap(uint256) (#609-611) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#610)
Emit an event for critical parameter changes.

Additional information: link

SonofTiger.setMarketingWalletAddress(address).newAddress (#613) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#614)
SonofTiger.setTeamWalletAddress(address).newAddress (#617) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#618)
Check that the address is not zero.

Additional information: link

Reentrancy in SonofTiger.changeRouterVersion(address) (#638-655):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#646-647)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#654)
- isWalletLimitExempt[address(uniswapPair)] = true (#653)
- uniswapPair = newPairAddress (#650)
- uniswapV2Router = _uniswapV2Router (#651)
Reentrancy in SonofTiger.constructor() (#476-504):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#480-481)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#484)
- _balances[_msgSender()] = _totalSupply (#502)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#491)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#489)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#490)
- isExcludedFromFee[owner()] = true (#486)
- isExcludedFromFee[address(this)] = true (#487)
- isMarketPair[address(uniswapPair)] = true (#500)
- isTxLimitExempt[owner()] = true (#497)
- isTxLimitExempt[address(this)] = true (#498)
- isWalletLimitExempt[owner()] = true (#493)
- isWalletLimitExempt[address(uniswapPair)] = true (#494)
- isWalletLimitExempt[address(this)] = true (#495)
- uniswapV2Router = _uniswapV2Router (#483)
Reentrancy in SonofTiger.swapAndLiquify(uint256) (#718-740):
External calls:
- swapTokensForEth(tokensForSwap) (#723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#733)
- recipient.transfer(amount) (#635)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#736)
- recipient.transfer(amount) (#635)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- _allowances[owner][spender] = amount (#553)
Reentrancy in SonofTiger.transferFrom(address,address,uint256) (#665-669):
External calls:
- _transfer(sender,recipient,amount) (#666)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
External calls sending eth:
- _transfer(sender,recipient,amount) (#666)
- recipient.transfer(amount) (#635)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#667)
- _allowances[owner][spender] = amount (#553)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SonofTiger._transfer(address,address,uint256) (#671-709):
External calls:
- swapAndLiquify(contractTokenBalance) (#693)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#693)
- recipient.transfer(amount) (#635)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#790)
- finalAmount = takeFee(sender,recipient,amount) (#698-699)
- Transfer(sender,recipient,finalAmount) (#706)
Reentrancy in SonofTiger.constructor() (#476-504):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#480-481)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#503)
Reentrancy in SonofTiger.swapAndLiquify(uint256) (#718-740):
External calls:
- swapTokensForEth(tokensForSwap) (#723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#733)
- recipient.transfer(amount) (#635)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#736)
- recipient.transfer(amount) (#635)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
Reentrancy in SonofTiger.swapTokensForEth(uint256) (#742-760):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#759)
Reentrancy in SonofTiger.transferFrom(address,address,uint256) (#665-669):
External calls:
- _transfer(sender,recipient,amount) (#666)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#751-757)
External calls sending eth:
- _transfer(sender,recipient,amount) (#666)
- recipient.transfer(amount) (#635)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#667)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#195-200) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#197)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#91-100) uses assembly
- INLINE ASM (#98)
Address._functionCallWithValue(address,bytes,uint256,string) (#127-144) uses assembly
- INLINE ASM (#136-139)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#127-144) is never used and should be removed
Address.functionCall(address,bytes) (#110-112) is never used and should be removed
Address.functionCall(address,bytes,string) (#114-116) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#118-120) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#122-125) is never used and should be removed
Address.isContract(address) (#91-100) is never used and should be removed
Address.sendValue(address,uint256) (#102-108) is never used and should be removed
Context._msgData() (#18-21) is never used and should be removed
SafeMath.mod(uint256,uint256) (#79-81) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#83-86) is never used and should be removed
Remove unused functions.

Additional information: link

SonofTiger._totalSupply (#440) is set pre-construction with a non-constant function or state variable:
- 1000000 * 10 ** 6 * 10 ** _decimals
SonofTiger._maxTxAmount (#441) is set pre-construction with a non-constant function or state variable:
- 1000000 * 10 ** 6 * 10 ** _decimals
SonofTiger._walletMax (#442) is set pre-construction with a non-constant function or state variable:
- 1000000 * 10 ** 6 * 10 ** _decimals
SonofTiger.minimumTokensBeforeSwap (#443) is set pre-construction with a non-constant function or state variable:
- 1000000 * 10 ** _decimals
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

Low level call in Address.sendValue(address,uint256) (#102-108):
- (success) = recipient.call{value: amount}() (#106)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#127-144):
- (success,returndata) = target.call{value: weiValue}(data) (#130)
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() (#234) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#235) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#251) is not in mixedCase
Function IUniswapV2Router01.WETH() (#270) is not in mixedCase
Parameter SonofTiger.setSwapAndLiquifyEnabled(bool)._enabled (#621) is not in mixedCase
Variable SonofTiger._balances (#416) is not in mixedCase
Variable SonofTiger._buyLiquidityFee (#424) is not in mixedCase
Variable SonofTiger._buyMarketingFee (#425) is not in mixedCase
Variable SonofTiger._buyTeamFee (#426) is not in mixedCase
Variable SonofTiger._sellLiquidityFee (#428) is not in mixedCase
Variable SonofTiger._sellMarketingFee (#429) is not in mixedCase
Variable SonofTiger._sellTeamFee (#430) is not in mixedCase
Variable SonofTiger._liquidityShare (#432) is not in mixedCase
Variable SonofTiger._marketingShare (#433) is not in mixedCase
Variable SonofTiger._teamShare (#434) is not in mixedCase
Variable SonofTiger._totalTaxIfBuying (#436) is not in mixedCase
Variable SonofTiger._totalTaxIfSelling (#437) is not in mixedCase
Variable SonofTiger._totalDistributionShares (#438) is not in mixedCase
Variable SonofTiger._maxTxAmount (#441) is not in mixedCase
Variable SonofTiger._walletMax (#442) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#19)" inContext (#12-22)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in SonofTiger._transfer(address,address,uint256) (#671-709):
External calls:
- swapAndLiquify(contractTokenBalance) (#693)
- recipient.transfer(amount) (#635)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#693)
- recipient.transfer(amount) (#635)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#696)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#704)
- finalAmount = takeFee(sender,recipient,amount) (#698-699)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#789)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#790)
- finalAmount = takeFee(sender,recipient,amount) (#698-699)
- Transfer(sender,recipient,finalAmount) (#706)
Reentrancy in SonofTiger.swapAndLiquify(uint256) (#718-740):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#733)
- recipient.transfer(amount) (#635)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#736)
- recipient.transfer(amount) (#635)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#733)
- recipient.transfer(amount) (#635)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#736)
- recipient.transfer(amount) (#635)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
- _allowances[owner][spender] = amount (#553)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#739)
Reentrancy in SonofTiger.transferFrom(address,address,uint256) (#665-669):
External calls:
- _transfer(sender,recipient,amount) (#666)
- recipient.transfer(amount) (#635)
External calls sending eth:
- _transfer(sender,recipient,amount) (#666)
- recipient.transfer(amount) (#635)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#767-774)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#667)
- _allowances[owner][spender] = amount (#553)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#667)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#275) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#276)
Prevent variables from having similar names.

Additional information: link

SonofTiger.slitherConstructorVariables() (#403-797) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#414)
SonofTiger.slitherConstructorVariables() (#403-797) uses literals with too many digits:
- _totalSupply = 1000000 * 10 ** 6 * 10 ** _decimals (#440)
SonofTiger.slitherConstructorVariables() (#403-797) uses literals with too many digits:
- _maxTxAmount = 1000000 * 10 ** 6 * 10 ** _decimals (#441)
SonofTiger.slitherConstructorVariables() (#403-797) uses literals with too many digits:
- _walletMax = 1000000 * 10 ** 6 * 10 ** _decimals (#442)
SonofTiger.slitherConstructorVariables() (#403-797) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000 * 10 ** _decimals (#443)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SonofTiger._decimals (#410) should be constant
SonofTiger._name (#408) should be constant
SonofTiger._symbol (#409) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#169-172)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#174-178)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#180-182)
getTime() should be declared external:
- Ownable.getTime() (#184-186)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#188-193)
unlock() should be declared external:
- Ownable.unlock() (#195-200)
name() should be declared external:
- SonofTiger.name() (#506-508)
symbol() should be declared external:
- SonofTiger.symbol() (#510-512)
decimals() should be declared external:
- SonofTiger.decimals() (#514-516)
totalSupply() should be declared external:
- SonofTiger.totalSupply() (#518-520)
allowance(address,address) should be declared external:
- SonofTiger.allowance(address,address) (#526-528)
increaseAllowance(address,uint256) should be declared external:
- SonofTiger.increaseAllowance(address,uint256) (#530-533)
decreaseAllowance(address,uint256) should be declared external:
- SonofTiger.decreaseAllowance(address,uint256) (#535-538)
minimumTokensBeforeSwapAmount() should be declared external:
- SonofTiger.minimumTokensBeforeSwapAmount() (#540-542)
approve(address,uint256) should be declared external:
- SonofTiger.approve(address,uint256) (#544-547)
setMarketPairStatus(address,bool) should be declared external:
- SonofTiger.setMarketPairStatus(address,bool) (#557-559)
setIsExcludedFromFee(address,bool) should be declared external:
- SonofTiger.setIsExcludedFromFee(address,bool) (#565-567)
setSwapAndLiquifyEnabled(bool) should be declared external:
- SonofTiger.setSwapAndLiquifyEnabled(bool) (#621-624)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- SonofTiger.setSwapAndLiquifyByLimitOnly(bool) (#626-628)
getCirculatingSupply() should be declared external:
- SonofTiger.getCirculatingSupply() (#630-632)
changeRouterVersion(address) should be declared external:
- SonofTiger.changeRouterVersion(address) (#638-655)
transfer(address,uint256) should be declared external:
- SonofTiger.transfer(address,uint256) (#660-663)
transferFrom(address,address,uint256) should be declared external:
- SonofTiger.transferFrom(address,address,uint256) (#665-669)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Telegram account link seems to be invalid


Unable to find Twitter account


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

Price for SpaceMario