SafeGas Token Logo

SAFEGAS Token

About SAFEGAS

Listings

Not Found
Token 4 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 18 January 2022

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...)

SafeGas._tFeeTotal (#91) is never initialized. It is used in:
- SafeGas.totalFees() (#183-185)
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

SafeGas.totalSupply (#87) shadows:
- ERC20Basic.totalSupply (#58)
Remove the state variable shadowing.

Additional information: link

SafeGas.getTokens() (#220-277) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#228)
-countbonus = tokens * 30 / 100 (#233)
SafeGas.getTokens() (#220-277) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#228)
-countbonus = tokens * 50 / 100 (#235)
SafeGas.getTokens() (#220-277) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#228)
-countbonus = tokens * 100 / 100 (#237)
SafeGas.getTokens() (#220-277) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#228)
-countbonus = tokens * 20 / 100 (#241)
SafeGas.getTokens() (#220-277) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#228)
-countbonus = tokens * 50 / 100 (#243)
Consider ordering multiplication before division.

Additional information: link

SafeGas.transferOwnership(address) (#162-166) should emit an event for:
- owner = newOwner (#164)
Emit an event for critical parameter changes.

Additional information: link

SafeGas.setTaxFeePercent(uint256) (#127-129) should emit an event for:
- _taxFee = taxFee (#128)
SafeGas.setLiquidityFeePercent(uint256) (#152-154) should emit an event for:
- _liquidityFee = liquidityFee (#153)
Emit an event for critical parameter changes.

Additional information: link

SafeGas.getTokens() (#220-277) uses timestamp for comparisons
Dangerous comparisons:
- msg.value >= requestMinimum && now < deadline && now < round1 && now < round2 (#231)
- msg.value >= requestMinimum && now < deadline && now > round1 && now < round2 (#239)
- now >= deadline && now >= round1 && now < round2 (#261)
Avoid relying on block.timestamp.

Additional information: link

SafeGas.getTokens() (#220-277) compares to a boolean constant:
-Claimed[investor] == false && progress0drop <= target0drop (#253)
Remove the equality to the boolean constant.

Additional information: link

SafeGas.Distribute(address,uint256) (#187-201) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(_amount) (#192)
SafeGas.Distribute(address,uint256) (#187-201) has costly operations inside a loop:
- distributionFinished = true (#195)
Use a local variable to hold the loop computation result.

Additional information: link

SafeGas.calculateLiquidityFee(uint256) (#156-160) is never used and should be removed
SafeGas.calculateTaxFee(uint256) (#131-135) is never used and should be removed
SafeGas.removeAllFee() (#137-145) is never used and should be removed
SafeGas.restoreAllFee() (#147-150) is never used and should be removed
SafeMath.div(uint256,uint256) (#30-35) is never used and should be removed
Remove unused functions.

Additional information: link

SafeGas._previousTaxFee (#93) is set pre-construction with a non-constant function or state variable:
- _taxFee
SafeGas._previousLiquidityFee (#95) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.4.26 (#5) allows old versions
solc-0.4.26 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

Parameter SafeGas.calculateTaxFee(uint256)._amount (#131) is not in mixedCase
Parameter SafeGas.calculateLiquidityFee(uint256)._amount (#156) is not in mixedCase
Parameter SafeGas.distr(address,uint256)._to (#174) is not in mixedCase
Parameter SafeGas.distr(address,uint256)._amount (#174) is not in mixedCase
Function SafeGas.Distribute(address,uint256) (#187-201) is not in mixedCase
Parameter SafeGas.Distribute(address,uint256)._participant (#187) is not in mixedCase
Parameter SafeGas.Distribute(address,uint256)._amount (#187) is not in mixedCase
Function SafeGas.DistributeAirdrop(address,uint256) (#203-205) is not in mixedCase
Parameter SafeGas.DistributeAirdrop(address,uint256)._participant (#203) is not in mixedCase
Parameter SafeGas.DistributeAirdrop(address,uint256)._amount (#203) is not in mixedCase
Function SafeGas.DistributeAirdropMultiple(address[],uint256) (#207-209) is not in mixedCase
Parameter SafeGas.DistributeAirdropMultiple(address[],uint256)._addresses (#207) is not in mixedCase
Parameter SafeGas.DistributeAirdropMultiple(address[],uint256)._amount (#207) is not in mixedCase
Parameter SafeGas.updateTokensPerEth(uint256)._tokensPerEth (#211) is not in mixedCase
Parameter SafeGas.balanceOf(address)._owner (#279) is not in mixedCase
Parameter SafeGas.transfer(address,uint256)._to (#288) is not in mixedCase
Parameter SafeGas.transfer(address,uint256)._amount (#288) is not in mixedCase
Parameter SafeGas.transferFrom(address,address,uint256)._from (#299) is not in mixedCase
Parameter SafeGas.transferFrom(address,address,uint256)._to (#299) is not in mixedCase
Parameter SafeGas.transferFrom(address,address,uint256)._amount (#299) is not in mixedCase
Parameter SafeGas.approve(address,uint256)._spender (#312) is not in mixedCase
Parameter SafeGas.approve(address,uint256)._value (#312) is not in mixedCase
Parameter SafeGas.allowance(address,address)._owner (#319) is not in mixedCase
Parameter SafeGas.allowance(address,address)._spender (#319) is not in mixedCase
Parameter SafeGas.withdraw(uint256)._wdamount (#335) is not in mixedCase
Parameter SafeGas.burn(uint256)._value (#340) is not in mixedCase
Parameter SafeGas.withdrawForeignTokens(address)._tokenContract (#349) is not in mixedCase
Variable SafeGas.Claimed (#78) is not in mixedCase
Constant SafeGas.requestMinimum (#89) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SafeGas._taxFee (#92) is not in mixedCase
Variable SafeGas._liquidityFee (#94) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

SafeGas.constructor() (#121-125) uses literals with too many digits:
- teamFund = 300000000e8 (#122)
SafeGas.slitherConstructorVariables() (#71-355) uses literals with too many digits:
- totalSupply = 1000000000e9 (#87)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ERC20Basic.totalSupply (#58) should be constant
SafeGas._tFeeTotal (#91) should be constant
SafeGas.target0drop (#96) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

balanceOf(address) should be declared external:
- ERC20Basic.balanceOf(address) (#59)
- ForeignToken.balanceOf(address) (#53)
- SafeGas.balanceOf(address) (#279-281)
transfer(address,uint256) should be declared external:
- ERC20Basic.transfer(address,uint256) (#60)
- ForeignToken.transfer(address,uint256) (#54)
- SafeGas.transfer(address,uint256) (#288-297)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#65)
- SafeGas.allowance(address,address) (#319-321)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#66)
- SafeGas.transferFrom(address,address,uint256) (#299-310)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#67)
- SafeGas.approve(address,uint256) (#312-317)
transferOwnership(address) should be declared external:
- SafeGas.transferOwnership(address) (#162-166)
finishDistribution() should be declared external:
- SafeGas.finishDistribution() (#168-172)
totalFees() should be declared external:
- SafeGas.totalFees() (#183-185)
updateTokensPerEth(uint256) should be declared external:
- SafeGas.updateTokensPerEth(uint256) (#211-214)
getTokenBalance(address,address) should be declared external:
- SafeGas.getTokenBalance(address,address) (#323-327)
withdrawAll() should be declared external:
- SafeGas.withdrawAll() (#329-333)
withdraw(uint256) should be declared external:
- SafeGas.withdraw(uint256) (#335-338)
burn(uint256) should be declared external:
- SafeGas.burn(uint256) (#340-347)
withdrawForeignTokens(address) should be declared external:
- SafeGas.withdrawForeignTokens(address) (#349-353)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Token has a considerable age, but we're still unable to find its website


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


Young tokens have high risks of price dump / death

Price for SAFEGAS