What is DoubleMoon Finance (DBM) 🌚🌝
DoubleMoon Finance is a Decentralized Lucky platform.
We built a DoubleMoon for "fair launched" DeFi project built on Binance Smart Chain #BSC. Three functions occur during each trade: Reflection, LP Acquisition, & Burn.
Double Safely to The Moon
Please hashtag #DoubleMoon for made the great communities together 💛
Reentrancy in DoubleMoon._transfer(address,address,uint256) (#1712-1763):
External calls:
- swapAndLiquify(contractTokenBalance) (#1750)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1750)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1661)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1875)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1895)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1527)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1917)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1897)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1918)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1529)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _rTotal = _rTotal.sub(rFee) (#1572)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1663)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1916)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1526)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1896)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1528)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
DoubleMoon.addLiquidity(uint256,uint256) (#1806-1819) ignores return value by pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
Ensure that all the return values of the function calls are used.
Additional information: link
DoubleMoon.allowance(address,address).owner (#1379) shadows:
- Ownable.owner() (#862-864) (function)
DoubleMoon._approve(address,address,uint256).owner (#1701) shadows:
- Ownable.owner() (#862-864) (function)
Rename the local variables that shadow another component.
Additional information: link
DoubleMoon.setTaxFeePercent(uint256) (#1543-1545) should emit an event for:
- _taxFee = taxFee (#1544)
DoubleMoon.setLiquidityFeePercent(uint256) (#1547-1549) should emit an event for:
- _liquidityFee = liquidityFee (#1548)
DoubleMoon.setMarketingFeePercent(uint256) (#1551-1553) should emit an event for:
- _mktFee = mktFee (#1552)
DoubleMoon.setMaxTxPercent(uint256) (#1555-1557) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1556)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DoubleMoon._transfer(address,address,uint256) (#1712-1763):
External calls:
- swapAndLiquify(contractTokenBalance) (#1750)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1750)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _liquidityFee = _previousLiquidityFee (#1692)
- _liquidityFee = 0 (#1686)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _mktFee = _previousMktFee (#1693)
- _mktFee = 0 (#1687)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _previousLiquidityFee = _liquidityFee (#1682)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _previousMktFee = _mktFee (#1683)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _previousTaxFee = _taxFee (#1681)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1573)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- _taxFee = _previousTaxFee (#1691)
- _taxFee = 0 (#1685)
Reentrancy in DoubleMoon.constructor() (#1329-1347):
External calls:
- pancakeSwapPair = IUniswapV2Factory(_pancakeSwapRouter.factory()).createPair(address(this),_pancakeSwapRouter.WETH()) (#1336-1337)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1343)
- _isExcludedFromFee[address(this)] = true (#1344)
- pancakeSwapRouter = _pancakeSwapRouter (#1340)
Reentrancy in DoubleMoon.swapAndLiquify(uint256) (#1765-1786):
External calls:
- swapTokensForEth(half) (#1777)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
- addLiquidity(otherHalf,newBalance) (#1783)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1783)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1783)
- _allowances[owner][spender] = amount (#1708)
Reentrancy in DoubleMoon.transferFrom(address,address,uint256) (#1397-1412):
External calls:
- _transfer(sender,recipient,amount) (#1402)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1402)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1403-1410)
- _allowances[owner][spender] = amount (#1708)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DoubleMoon._transfer(address,address,uint256) (#1712-1763):
External calls:
- swapAndLiquify(contractTokenBalance) (#1750)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1750)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1879)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- Transfer(sender,recipient,tTransferAmount) (#1921)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- Transfer(sender,recipient,tTransferAmount) (#1900)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
- Transfer(sender,recipient,tTransferAmount) (#1532)
- _tokenTransfer(from,to,amount,takeFee) (#1762)
Reentrancy in DoubleMoon.constructor() (#1329-1347):
External calls:
- pancakeSwapPair = IUniswapV2Factory(_pancakeSwapRouter.factory()).createPair(address(this),_pancakeSwapRouter.WETH()) (#1336-1337)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1346)
Reentrancy in DoubleMoon.swapAndLiquify(uint256) (#1765-1786):
External calls:
- swapTokensForEth(half) (#1777)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
- addLiquidity(otherHalf,newBalance) (#1783)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1783)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1709)
- addLiquidity(otherHalf,newBalance) (#1783)
- SwapAndLiquify(half,newBalance,otherHalf) (#1785)
Reentrancy in DoubleMoon.transferFrom(address,address,uint256) (#1397-1412):
External calls:
- _transfer(sender,recipient,amount) (#1402)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
- pancakeSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1797-1803)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1402)
- pancakeSwapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1811-1818)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1709)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1403-1410)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#244-253) uses assembly
- INLINE ASM (#251)
Address._verifyCallResult(bool,bytes,string) (#389-406) uses assembly
- INLINE ASM (#398-401)
Do not use evm assembly.
Additional information: link
DoubleMoon.includeInReward(address) (#1500-1511) has costly operations inside a loop:
- _excluded.pop() (#1507)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#389-406) is never used and should be removed
Address.functionCall(address,bytes) (#297-299) is never used and should be removed
Address.functionCall(address,bytes,string) (#307-309) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#322-324) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#332-339) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#371-373) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#381-387) is never used and should be removed
Address.functionStaticCall(address,bytes) (#347-349) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#357-363) is never used and should be removed
Address.isContract(address) (#244-253) is never used and should be removed
Address.sendValue(address,uint256) (#271-277) is never used and should be removed
Context._msgData() (#431-434) is never used and should be removed
ERC20._burn(address,uint256) (#767-775) is never used and should be removed
ERC20._mint(address,uint256) (#746-754) is never used and should be removed
ERC20._setupDecimals(uint8) (#805-807) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#190-193) is never used and should be removed
SafeMath.mod(uint256,uint256) (#152-155) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#210-213) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#24-28) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#60-63) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#70-73) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#45-53) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#35-38) is never used and should be removed
Remove unused functions.
Additional information: link
DoubleMoon._previousTaxFee (#1290) is set pre-construction with a non-constant function or state variable:
- _taxFee
DoubleMoon._previousLiquidityFee (#1293) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
DoubleMoon._previousMktFee (#1296) is set pre-construction with a non-constant function or state variable:
- _mktFee
DoubleMoon._rTotal (#1301) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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
solc-0.7.3 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) (#271-277):
- (success) = recipient.call{value: amount}() (#275)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#332-339):
- (success,returndata) = target.call{value: value}(data) (#337)
Low level call in Address.functionStaticCall(address,bytes,string) (#357-363):
- (success,returndata) = target.staticcall(data) (#361)
Low level call in Address.functionDelegateCall(address,bytes,string) (#381-387):
- (success,returndata) = target.delegatecall(data) (#385)
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() (#972) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#974) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1005) is not in mixedCase
Function IUniswapV2Router01.WETH() (#1057) is not in mixedCase
Parameter DoubleMoon.setSwapAndLiquifyEnabled(bool)._enabled (#1559) is not in mixedCase
Parameter DoubleMoon.calculateTaxFee(uint256)._amount (#1666) is not in mixedCase
Parameter DoubleMoon.calculateLiquidityFee(uint256)._amount (#1670) is not in mixedCase
Variable DoubleMoon._taxFee (#1289) is not in mixedCase
Variable DoubleMoon._liquidityFee (#1292) is not in mixedCase
Variable DoubleMoon._mktFee (#1295) is not in mixedCase
Variable DoubleMoon._maxTxAmount (#1312) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#432)" inContext (#426-435)
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 (#1062) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1063)
Variable DoubleMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1520) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon.reflectionFromToken(uint256,bool).rTransferAmount (#1473) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon.reflectionFromToken(uint256,bool).rTransferAmount (#1473) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon._transferFromExcluded(address,address,uint256).rTransferAmount (#1910) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1520) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._transferFromExcluded(address,address,uint256).rTransferAmount (#1910) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon.reflectionFromToken(uint256,bool).rTransferAmount (#1473) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._transferToExcluded(address,address,uint256).rTransferAmount (#1889) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon._getValues(uint256).rTransferAmount (#1590) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon._transferFromExcluded(address,address,uint256).rTransferAmount (#1910) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon._getValues(uint256).rTransferAmount (#1590) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon._transferToExcluded(address,address,uint256).rTransferAmount (#1889) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1520) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon.reflectionFromToken(uint256,bool).rTransferAmount (#1473) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon._getValues(uint256).rTransferAmount (#1590) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1520) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Variable DoubleMoon._transferToExcluded(address,address,uint256).rTransferAmount (#1889) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1520) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon._getValues(uint256).rTransferAmount (#1590) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon.reflectionFromToken(uint256,bool).rTransferAmount (#1473) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Variable DoubleMoon.reflectionFromToken(uint256,bool).rTransferAmount (#1473) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1520) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1634) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._transferFromExcluded(address,address,uint256).rTransferAmount (#1910) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon._transferStandard(address,address,uint256).rTransferAmount (#1869) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon._getValues(uint256).rTransferAmount (#1590) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._transferStandard(address,address,uint256).rTransferAmount (#1869) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon._transferStandard(address,address,uint256).rTransferAmount (#1869) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Variable DoubleMoon._transferFromExcluded(address,address,uint256).rTransferAmount (#1910) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1634) is too similar to DoubleMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1912)
Variable DoubleMoon._transferStandard(address,address,uint256).rTransferAmount (#1869) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1634) is too similar to DoubleMoon._transferToExcluded(address,address,uint256).tTransferAmount (#1891)
Variable DoubleMoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1634) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Variable DoubleMoon._transferToExcluded(address,address,uint256).rTransferAmount (#1889) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1634) is too similar to DoubleMoon._getValues(uint256).tTransferAmount (#1588)
Variable DoubleMoon._getValues(uint256).rTransferAmount (#1590) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Variable DoubleMoon._transferFromExcluded(address,address,uint256).rTransferAmount (#1910) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Variable DoubleMoon._transferToExcluded(address,address,uint256).rTransferAmount (#1889) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._transferStandard(address,address,uint256).rTransferAmount (#1869) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1634) is too similar to DoubleMoon._getTValues(uint256).tTransferAmount (#1613)
Variable DoubleMoon._transferStandard(address,address,uint256).rTransferAmount (#1869) is too similar to DoubleMoon._transferStandard(address,address,uint256).tTransferAmount (#1871)
Variable DoubleMoon._transferToExcluded(address,address,uint256).rTransferAmount (#1889) is too similar to DoubleMoon._transferBothExcluded(address,address,uint256).tTransferAmount (#1522)
Prevent variables from having similar names.
Additional information: link
DoubleMoon.slitherConstructorVariables() (#1269-1924) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (#1299)
DoubleMoon.slitherConstructorVariables() (#1269-1924) uses literals with too many digits:
- _maxTxAmount = 5000000 * 10 ** 6 * 10 ** 9 (#1312)
DoubleMoon.slitherConstructorVariables() (#1269-1924) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#1313)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DoubleMoon._decimals (#1286) should be constant
DoubleMoon._name (#1284) should be constant
DoubleMoon._symbol (#1285) should be constant
DoubleMoon._tTotal (#1299) should be constant
DoubleMoon.numTokensSellToAddToLiquidity (#1313) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#582-584)
symbol() should be declared external:
- ERC20.symbol() (#590-592)
decimals() should be declared external:
- ERC20.decimals() (#607-609)
totalSupply() should be declared external:
- DoubleMoon.totalSupply() (#1361-1363)
- ERC20.totalSupply() (#614-616)
transfer(address,uint256) should be declared external:
- DoubleMoon.transfer(address,uint256) (#1370-1377)
- ERC20.transfer(address,uint256) (#633-636)
allowance(address,address) should be declared external:
- DoubleMoon.allowance(address,address) (#1379-1386)
- ERC20.allowance(address,address) (#641-643)
approve(address,uint256) should be declared external:
- DoubleMoon.approve(address,uint256) (#1388-1395)
- ERC20.approve(address,uint256) (#652-655)
transferFrom(address,address,uint256) should be declared external:
- DoubleMoon.transferFrom(address,address,uint256) (#1397-1412)
- ERC20.transferFrom(address,address,uint256) (#670-674)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#688-691)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#707-710)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#881-884)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#890-894)
name() should be declared external:
- DoubleMoon.name() (#1349-1351)
symbol() should be declared external:
- DoubleMoon.symbol() (#1353-1355)
decimals() should be declared external:
- DoubleMoon.decimals() (#1357-1359)
increaseAllowance(address,uint256) should be declared external:
- DoubleMoon.increaseAllowance(address,uint256) (#1414-1425)
decreaseAllowance(address,uint256) should be declared external:
- DoubleMoon.decreaseAllowance(address,uint256) (#1427-1441)
isExcludedFromReward(address) should be declared external:
- DoubleMoon.isExcludedFromReward(address) (#1443-1445)
totalFees() should be declared external:
- DoubleMoon.totalFees() (#1447-1449)
deliver(uint256) should be declared external:
- DoubleMoon.deliver(uint256) (#1451-1461)
reflectionFromToken(uint256,bool) should be declared external:
- DoubleMoon.reflectionFromToken(uint256,bool) (#1463-1476)
excludeFromReward(address) should be declared external:
- DoubleMoon.excludeFromReward(address) (#1491-1498)
excludeFromFee(address) should be declared external:
- DoubleMoon.excludeFromFee(address) (#1535-1537)
includeInFee(address) should be declared external:
- DoubleMoon.includeInFee(address) (#1539-1541)
setSwapAndLiquifyEnabled(bool) should be declared external:
- DoubleMoon.setSwapAndLiquifyEnabled(bool) (#1559-1562)
isExcludedFromFee(address) should be declared external:
- DoubleMoon.isExcludedFromFee(address) (#1696-1698)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume 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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 5% buy tax and 5% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
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
Last post in Twitter was more than 180 days ago
Twitter account has relatively few followers
Unable to find Youtube account
Unable to find Discord account