The SafeMars Protocol is a community driven, fair launched DeFi Token. Three simple functions occur during each trade: Reflection, LP Acquisition, & Burn.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in SafeMars._transfer(address,address,uint256) (#1314-1361):
External calls:
- swapAndLiquify(contractTokenBalance) (#1348)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1395-1401)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1348)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1360)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1266)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1476)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1456)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1457)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1140)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1498)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1478)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1499)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1142)
- _tokenTransfer(from,to,amount,takeFee) (#1360)
- _rTotal = _rTotal.sub(rFee) (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#1360)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1268)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1139)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1497)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1477)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1141)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMars.addLiquidity(uint256,uint256) (#1404-1417) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
Ensure that all the return values of the function calls are used.
Additional information: link
SafeMars._approve(address,address,uint256).owner (#1303) shadows:
- Ownable.owner() (#477-479) (function)
Rename the local variables that shadow another component.
Additional information: link
SafeMars.setMaxTxPercent(uint256) (#1164-1166) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1165)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in SafeMars.transferFrom(address,address,uint256) (#1009-1024):
External calls:
- _transfer(sender,recipient,amount) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1395-1401)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1015-1022)
- _allowances[owner][spender] = amount (#1310)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafeMars.transferFrom(address,address,uint256) (#1009-1024):
External calls:
- _transfer(sender,recipient,amount) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1395-1401)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1409-1416)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1311)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1015-1022)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#527-535) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#532)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#413-440) uses assembly
- INLINE ASM (#432-435)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#244-251) is never used and should be removed
Remove unused functions.
Additional information: link
SafeMars._previousLiquidityFee (#917) 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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#413-440):
- (success,returndata) = target.call{value: weiValue}(data) (#422-423)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable SafeMars._maxTxAmount (#925) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#260)" inContext (#254-263)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable SafeMars._transferFromExcluded(address,address,uint256).rTransferAmount (#1491) is too similar to SafeMars._getValues(uint256).tTransferAmount (#1193)
Prevent variables from having similar names.
Additional information: link
SafeMars.slitherConstructorVariables() (#891-1505) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#926)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMars.numTokensSellToAddToLiquidity (#926) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- SafeMars.isExcludedFromFee(address) (#1298-1300)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
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 token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account