MarsDoge is a deflationary, reflection token deployed on the Binance Smart Chain (BSC). The MarsDoge contract consists of four key features as static reflection rewards, auto burn, development fee acquisition, and liquidity acquisition.
The ownership of the MarsDoge token contract has transferred to a time-locked contract with 48-hour latency. So, the holders will be aware of the privileged operations in advance, and they can take action accordingly.
The LP tokens were locked on the PinkSale to protect them from being stolen, and accessing LP tokens is restricted.
MarsDoge.addLiquidity(uint256,uint256) (#1596-1611) sends eth to arbitrary user
Dangerous calls:
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MarsDoge._transfer(address,address,uint256) (#1516-1544):
External calls:
- swapAndLiquify(contractTokenBalance) (#1539)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1539)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1543)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1446)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1666)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1682)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1700)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1341)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1667)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1684)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1701)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1343)
- _tokenTransfer(from,to,amount) (#1543)
- _rTotal = _rTotal.sub(rFee) (#1353)
- _tokenTransfer(from,to,amount) (#1543)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1448)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1340)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1699)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1683)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1342)
Apply the check-effects-interactions pattern.
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.
Ownable._previousOwner (#602) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
MarsDoge._previousTaxFee (#1051) is set pre-construction with a non-constant function or state variable:
- _taxFee
MarsDoge._previousLiquidityFee (#1057) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
MarsDoge._previousBurnFee (#1064) is set pre-construction with a non-constant function or state variable:
- _burnFee
MarsDoge._previousDevelopmentFee (#1071) is set pre-construction with a non-constant function or state variable:
- _developmentFee
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
Reentrancy in MarsDoge._transfer(address,address,uint256) (#1516-1544):
External calls:
- swapAndLiquify(contractTokenBalance) (#1539)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1539)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1670)
- _tokenTransfer(from,to,amount) (#1543)
- Transfer(sender,recipient,tTransferAmount) (#1687)
- _tokenTransfer(from,to,amount) (#1543)
- Transfer(sender,recipient,tTransferAmount) (#1704)
- _tokenTransfer(from,to,amount) (#1543)
- Transfer(sender,recipient,tTransferAmount) (#1346)
- _tokenTransfer(from,to,amount) (#1543)
Reentrancy in MarsDoge.addLiquidity(uint256,uint256) (#1596-1611):
External calls:
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,bnbAmount) (#1610)
Reentrancy in MarsDoge.constructor() (#1105-1124):
External calls:
- pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#1111-1114)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTOTAL) (#1123)
Reentrancy in MarsDoge.swapAndLiquify(uint256) (#1546-1567):
External calls:
- swapTokensForBnb(half) (#1558)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
- addLiquidity(otherHalf,newBalance) (#1564)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1564)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1499)
- addLiquidity(otherHalf,newBalance) (#1564)
- LiquidityAdded(tokenAmount,bnbAmount) (#1610)
- addLiquidity(otherHalf,newBalance) (#1564)
- SwapAndLiquify(half,newBalance,otherHalf) (#1566)
Reentrancy in MarsDoge.swapTokensForBnb(uint256) (#1570-1594):
External calls:
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
Event emitted after the call(s):
- SwapAndLiquifyStatus(Success) (#1587)
- SwapAndLiquifyStatus(Failed) (#1591)
Reentrancy in MarsDoge.transferFrom(address,address,uint256) (#1201-1216):
External calls:
- _transfer(sender,recipient,amount) (#1206)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1206)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1499)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#1207-1214)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#358-368) uses assembly
- INLINE ASM (#366)
Address._functionCallWithValue(address,bytes,uint256,string) (#477-503) uses assembly
- INLINE ASM (#495-498)
Do not use evm assembly.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Pragma version0.8.9 (#17) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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
Low level call in Address.sendValue(address,uint256) (#388-394):
- (success) = recipient.call{value: amount}() (#392)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#477-503):
- (success,returndata) = target.call{value: weiValue}(data) (#486)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Redundant expression "this (#521)" inContext (#515-525)
Remove redundant statements if they congest code but offer no value.
Additional information: link
MarsDoge.addLiquidity(uint256,uint256) (#1596-1611) ignores return value by pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
Ensure that all the return values of the function calls are used.
Additional information: link
MarsDoge.allowance(address,address).owner (#1177) shadows:
- Ownable.owner() (#618-620) (function)
MarsDoge._approve(address,address,uint256).owner (#1494) shadows:
- Ownable.owner() (#618-620) (function)
Rename the local variables that shadow another component.
Additional information: link
MarsDoge.setNumTokensSellToAddToLiquidity(uint256) (#1799-1804) should emit an event for:
- numTokensSellToAddToLiquidity = newAmount (#1803)
MarsDoge.setMaxTxAmount(uint256) (#1815-1820) should emit an event for:
- _maxTxAmount = newAmount (#1819)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in MarsDoge._transfer(address,address,uint256) (#1516-1544):
External calls:
- swapAndLiquify(contractTokenBalance) (#1539)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1539)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1543)
- _burnFee = 0 (#1466)
- _burnFee = 1 (#1473)
- _tokenTransfer(from,to,amount) (#1543)
- _developmentFee = 0 (#1467)
- _developmentFee = 1 (#1474)
- _tokenTransfer(from,to,amount) (#1543)
- _liquidityFee = 0 (#1465)
- _liquidityFee = 1 (#1472)
- _liquidityFee = 0 (#1639)
- _liquidityFee = _previousLiquidityFee (#1647)
- _tokenTransfer(from,to,amount) (#1543)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1354)
- _tokenTransfer(from,to,amount) (#1543)
- _taxFee = 7 (#1471)
- _taxFee = 0 (#1464)
- _taxFee = 0 (#1638)
- _taxFee = _previousTaxFee (#1646)
Reentrancy in MarsDoge.constructor() (#1105-1124):
External calls:
- pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#1111-1114)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1120)
- _isExcludedFromFee[address(this)] = true (#1121)
- pancakeswapV2Router = _pancakeswapV2Router (#1117)
Reentrancy in MarsDoge.setRouterAddress(address) (#1841-1856):
External calls:
- pancakeswapV2Pair = IPancakeFactory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#1848-1850)
State variables written after the call(s):
- pancakeswapV2Router = _newRouter (#1855)
Reentrancy in MarsDoge.swapAndLiquify(uint256) (#1546-1567):
External calls:
- swapTokensForBnb(half) (#1558)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
- addLiquidity(otherHalf,newBalance) (#1564)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1564)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1564)
- _allowances[owner][spender] = amount (#1498)
Reentrancy in MarsDoge.transferFrom(address,address,uint256) (#1201-1216):
External calls:
- _transfer(sender,recipient,amount) (#1206)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1580-1593)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1206)
- pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1602-1609)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#1207-1214)
- _allowances[owner][spender] = amount (#1498)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#477-503) is never used and should be removed
Address.functionCall(address,bytes) (#415-420) is never used and should be removed
Address.functionCall(address,bytes,string) (#428-434) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#447-458) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#467-475) is never used and should be removed
Address.isContract(address) (#358-368) is never used and should be removed
Address.sendValue(address,uint256) (#388-394) is never used and should be removed
Context._msgData() (#520-524) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#298-307) is never used and should be removed
SafeMath.mod(uint256,uint256) (#258-260) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#324-333) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#127-133) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#170-175) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#183-188) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#152-162) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#140-145) is never used and should be removed
Remove unused functions.
Additional information: link
Function IPancakePair.DOMAIN_SEPARATOR() (#729) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#731) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#762) is not in mixedCase
Function IPancakeRouter01.WETH() (#809) is not in mixedCase
Parameter MarsDoge.calculateTaxFee(uint256)._amount (#1451) is not in mixedCase
Parameter MarsDoge.calculateLiquidityFee(uint256)._amount (#1457) is not in mixedCase
Parameter MarsDoge.setSwapAndLiquifyEnabled(bool)._enabled (#1779) is not in mixedCase
Constant MarsDoge._tTOTAL (#1033) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MarsDoge._taxFee (#1050) is not in mixedCase
Variable MarsDoge._liquidityFee (#1056) is not in mixedCase
Variable MarsDoge._burnFee (#1062) is not in mixedCase
Variable MarsDoge._developmentFee (#1069) is not in mixedCase
Variable MarsDoge._maxTxAmount (#1083) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#814) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#815)
Variable MarsDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1693) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._transferStandard(address,address,uint256).rTransferAmount (#1660) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Variable MarsDoge._transferStandard(address,address,uint256).rTransferAmount (#1660) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1676) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1334) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1676) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1334) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1693) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge._transferStandard(address,address,uint256).rTransferAmount (#1660) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1334) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Variable MarsDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1676) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1334) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge._transferStandard(address,address,uint256).rTransferAmount (#1660) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge._transferStandard(address,address,uint256).rTransferAmount (#1660) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge._transferStandard(address,address,uint256).rTransferAmount (#1660) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1693) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge._getValues(uint256).rTransferAmount (#1371) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1676) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge.reflectionFromToken(uint256,bool).rTransferAmount (#1277) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge._getValues(uint256).rTransferAmount (#1371) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Variable MarsDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1693) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge._getValues(uint256).rTransferAmount (#1371) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge._getValues(uint256).rTransferAmount (#1371) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge.reflectionFromToken(uint256,bool).rTransferAmount (#1277) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1334) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1676) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge._getValues(uint256).rTransferAmount (#1371) is too similar to MarsDoge._transferStandard(address,address,uint256).tTransferAmount (#1662)
Variable MarsDoge.reflectionFromToken(uint256,bool).rTransferAmount (#1277) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge.reflectionFromToken(uint256,bool).rTransferAmount (#1277) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Variable MarsDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1693) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Variable MarsDoge.reflectionFromToken(uint256,bool).rTransferAmount (#1277) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge.reflectionFromToken(uint256,bool).rTransferAmount (#1277) is too similar to MarsDoge._getValues(uint256).tTransferAmount (#1369)
Variable MarsDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1693) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge._getValues(uint256).rTransferAmount (#1371) is too similar to MarsDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1695)
Variable MarsDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to MarsDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1678)
Variable MarsDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1334) is too similar to MarsDoge._getTValues(uint256).tTransferAmount (#1394)
Variable MarsDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1676) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Variable MarsDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to MarsDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1336)
Prevent variables from having similar names.
Additional information: link
MarsDoge.slitherConstructorConstantVariables() (#1019-1858) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1063)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#602) is never used in MarsDoge (#1019-1858)
Remove unused state variables.
Additional information: link
reflectionFromToken(uint256,bool) should be declared external:
- MarsDoge.reflectionFromToken(uint256,bool) (#1271-1280)
Use the external attribute for functions never called from the contract.
Additional information: link
MarsDoge.includeInReward(address) (#1315-1326) has costly operations inside a loop:
- _excluded.pop() (#1322)
Use a local variable to hold the loop computation result.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
Contract has 9% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.
Token is not listed at Mobula.Finance
Additional information: link
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