Shiba Demon ($DEMON)👹 - Full Utility Ecosystem 🌐
Launchpad, Liquidity Locking, Swap & Token Creator
Total Supply: 100,000,000,000
🟢 TAX - 14%🟢
🌀 4% Buyback & Burn
🌀 4% Marketing
🌀 3% To the LP
🌀 3% BNB Distribution to the holders
Features:
💰 15% of Revenue —> Buyback & Burn
💎 Big Ecosystem full of dApps
⛔️Anti-Whale & Anti Dump
🔐 Unruggable - Liquidity locked for 1 year
SHIBA DEMON - ECOSYSTEM:
👹 Demon Launchpad
🧬 Token Generator
♨️ SWAP
🔐 Liquidity Locker
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibaDemon.swapAndLiquify(uint256) (#2137-2175) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
ShibaDemon.addLiquidity(uint256,uint256) (#2205-2217) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ShibaDemon._transfer(address,address,uint256) (#2061-2135):
External calls:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2190-2196)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2117)
- _balances[sender] = senderBalance - amount (#1022)
- _balances[recipient] += amount (#1024)
- super._transfer(from,to,amount) (#2120)
- _balances[sender] = senderBalance - amount (#1022)
- _balances[recipient] += amount (#1024)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1411-1427):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1416)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1419)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#1729-1732) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1731)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Pragma version^0.8.0 (#2) allows old versions
solc-0.8.0 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 DividendPayingToken._withdrawDividendOfUser(address) (#1411-1427):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1416)
Low level call in ShibaDemon.swapAndLiquify(uint256) (#2137-2175):
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
ShibaDemonDividendTracker.getAccount(address) (#1569-1612) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1609-1611)
ShibaDemonDividendTracker.canAutoClaim(uint256) (#1633-1639) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1634)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1638)
Avoid relying on block.timestamp.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1411-1427) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1416)
Favor pull over push strategy for external calls.
Additional information: link
Context._msgData() (#694-696) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1467-1473) is never used and should be removed
SafeCast.toInt128(int256) (#588-591) is never used and should be removed
SafeCast.toInt16(int256) (#642-645) is never used and should be removed
SafeCast.toInt32(int256) (#624-627) is never used and should be removed
SafeCast.toInt64(int256) (#606-609) is never used and should be removed
SafeCast.toInt8(int256) (#660-663) is never used and should be removed
SafeCast.toUint128(uint256) (#483-486) is never used and should be removed
SafeCast.toUint16(uint256) (#543-546) is never used and should be removed
SafeCast.toUint224(uint256) (#468-471) is never used and should be removed
SafeCast.toUint32(uint256) (#528-531) is never used and should be removed
SafeCast.toUint64(uint256) (#513-516) is never used and should be removed
SafeCast.toUint8(uint256) (#558-561) is never used and should be removed
SafeCast.toUint96(uint256) (#498-501) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#404-413) is never used and should be removed
SafeMath.mod(uint256,uint256) (#364-366) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#430-439) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#381-390) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#235-241) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#277-282) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#289-294) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#260-270) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#248-253) is never used and should be removed
ShibaDemon.swapAndSendBNBToMarketing(uint256) (#2200-2202) is never used and should be removed
SignedSafeMath.div(int256,int256) (#186-188) is never used and should be removed
SignedSafeMath.mul(int256,int256) (#172-174) is never used and should be removed
Remove unused functions.
Additional information: link
ShibaDemon.swapAndLiquify(uint256) (#2137-2175) performs a multiplication on the result of a division:
-marketingAmount = deltaBalance.sub(bnbToAddLiquidityWith).div(totalFees.sub(liquidityFee)).mul(marketingFee) (#2161)
ShibaDemon.swapAndLiquify(uint256) (#2137-2175) performs a multiplication on the result of a division:
-buyBackAmount = deltaBalance.sub(bnbToAddLiquidityWith).sub(marketingAmount).div(totalFees.sub(liquidityFee).sub(marketingFee)).mul(buyBackFee) (#2164)
Consider ordering multiplication before division.
Additional information: link
ShibaDemon._transfer(address,address,uint256).claims (#2128) is a local variable never initialized
ShibaDemon._transfer(address,address,uint256).lastProcessedIndex (#2128) is a local variable never initialized
ShibaDemon._transfer(address,address,uint256).iterations (#2128) is a local variable never initialized
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
ShibaDemon.claim() (#2039-2041) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#2040)
ShibaDemon._transfer(address,address,uint256) (#2061-2135) ignores return value by dividendTracker.process(gas) (#2128-2133)
ShibaDemon.addLiquidity(uint256,uint256) (#2205-2217) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1368) shadows:
- ERC20._name (#830) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1368) shadows:
- ERC20._symbol (#831) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ShibaDemon.setFee(uint256,uint256,uint256,uint256) (#1838-1845) should emit an event for:
- liquidityFee = _liquidityFee (#1840)
- marketingFee = _marketingFee (#1841)
- buyBackFee = _buyBackFee (#1842)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee).add(buyBackFee) (#1844)
ShibaDemon.setExtraFeeOnSell(uint256) (#1847-1849) should emit an event for:
- extraFeeOnSell = _extraFeeOnSell (#1848)
ShibaDemon.setMaxSelltx(uint256) (#1851-1853) should emit an event for:
- maxSellTransactionAmount = _maxSellTxAmount * (10 ** 18) (#1852)
ShibaDemon.setMaxWalletToken(uint256) (#1863-1865) should emit an event for:
- maxWalletToken = _maxToken * (10 ** 18) (#1864)
ShibaDemon.setSwapTokensAtAmount(uint256) (#1958-1960) should emit an event for:
- swapTokensAtAmount = _newAmount * (10 ** 18) (#1959)
Emit an event for critical parameter changes.
Additional information: link
SafeToken.setSafeManager(address)._safeManager (#1725) lacks a zero-check on :
- safeManager = _safeManager (#1726)
ShibaDemon.setMarketingWallet(address)._newMarketingWallet (#1855) lacks a zero-check on :
- marketingWallet = _newMarketingWallet (#1856)
ShibaDemon.setBuyBackWallet(address)._newBuyBackWallet (#1859) lacks a zero-check on :
- buyBackWallet = _newBuyBackWallet (#1860)
Check that the address is not zero.
Additional information: link
Variable 'ShibaDemon._transfer(address,address,uint256).claims (#2128)' in ShibaDemon._transfer(address,address,uint256) (#2061-2135) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2129)
Variable 'ShibaDemon._transfer(address,address,uint256).iterations (#2128)' in ShibaDemon._transfer(address,address,uint256) (#2061-2135) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2129)
Variable 'ShibaDemon._transfer(address,address,uint256).lastProcessedIndex (#2128)' in ShibaDemon._transfer(address,address,uint256) (#2061-2135) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2129)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in ShibaDemon.constructor() (#1867-1915):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1882-1883)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1886)
- uniswapV2Router = _uniswapV2Router (#1885)
Reentrancy in ShibaDemon.constructor() (#1867-1915):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1882-1883)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1888)
- dividendTracker.excludeFromDividends(pair) (#1967)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1891)
- dividendTracker.excludeFromDividends(address(this)) (#1892)
- dividendTracker.excludeFromDividends(owner()) (#1893)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1894)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1895)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#1914)
- _balances[account] += amount (#1046)
- excludeFromFees(owner(),true) (#1898)
- _isExcludedFromFees[account] = excluded (#1929)
- excludeFromFees(marketingWallet,true) (#1899)
- _isExcludedFromFees[account] = excluded (#1929)
- excludeFromFees(buyBackWallet,true) (#1900)
- _isExcludedFromFees[account] = excluded (#1929)
- excludeFromFees(address(this),true) (#1901)
- _isExcludedFromFees[account] = excluded (#1929)
- _isExcludedFromMaxTx[owner()] = true (#1904)
- _isExcludedFromMaxTx[address(this)] = true (#1905)
- _isExcludedFromMaxTx[marketingWallet] = true (#1906)
- _isExcludedFromMaxTx[buyBackWallet] = true (#1907)
- _mint(owner(),100000000000 * (10 ** 18)) (#1914)
- _totalSupply += amount (#1045)
Reentrancy in ShibaDemonDividendTracker.processAccount(address,bool) (#1705-1715):
External calls:
- amount = _withdrawDividendOfUser(account) (#1706)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1416)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1709)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibaDemon._setAutomatedMarketMakerPair(address,bool) (#1962-1971):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1967)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1970)
Reentrancy in ShibaDemon._transfer(address,address,uint256) (#2061-2135):
External calls:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2190-2196)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1026)
- super._transfer(from,to,amount) (#2120)
- Transfer(sender,recipient,amount) (#1026)
- super._transfer(from,address(this),fees) (#2117)
Reentrancy in ShibaDemon._transfer(address,address,uint256) (#2061-2135):
External calls:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2190-2196)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2122)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2123)
- dividendTracker.process(gas) (#2128-2133)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2129)
Reentrancy in ShibaDemon.constructor() (#1867-1915):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1882-1883)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1888)
- dividendTracker.excludeFromDividends(pair) (#1967)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1970)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1888)
Reentrancy in ShibaDemon.constructor() (#1867-1915):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1882-1883)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1888)
- dividendTracker.excludeFromDividends(pair) (#1967)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1891)
- dividendTracker.excludeFromDividends(address(this)) (#1892)
- dividendTracker.excludeFromDividends(owner()) (#1893)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1894)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1895)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1931)
- excludeFromFees(marketingWallet,true) (#1899)
- ExcludeFromFees(account,excluded) (#1931)
- excludeFromFees(owner(),true) (#1898)
- ExcludeFromFees(account,excluded) (#1931)
- excludeFromFees(address(this),true) (#1901)
- ExcludeFromFees(account,excluded) (#1931)
- excludeFromFees(buyBackWallet,true) (#1900)
- Transfer(address(0),account,amount) (#1047)
- _mint(owner(),100000000000 * (10 ** 18)) (#1914)
Reentrancy in ShibaDemonDividendTracker.processAccount(address,bool) (#1705-1715):
External calls:
- amount = _withdrawDividendOfUser(account) (#1706)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1416)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1710)
Reentrancy in ShibaDemon.processDividendTracker(uint256) (#2034-2037):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#2035)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#2036)
Reentrancy in ShibaDemon.swapAndLiquify(uint256) (#2137-2175):
External calls:
- swapTokensForBnb(toSwap,address(this)) (#2150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2190-2196)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2159)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2159)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2171)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2174)
Apply the check-effects-interactions pattern.
Additional information: link
Function IUniswapV2Router01.WETH() (#6) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1433) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1440) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1447) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1457) is not in mixedCase
Constant DividendPayingToken.magnitude (#1348) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter ShibaDemonDividendTracker.getAccount(address)._account (#1569) is not in mixedCase
Parameter SafeToken.setSafeManager(address)._safeManager (#1725) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._token (#1729) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._amount (#1729) is not in mixedCase
Parameter SafeToken.withdrawBNB(uint256)._amount (#1734) is not in mixedCase
Parameter LockToken.includeToWhiteList(address[])._users (#1757) is not in mixedCase
Parameter ShibaDemon.setFee(uint256,uint256,uint256,uint256)._bnbRewardFee (#1838) is not in mixedCase
Parameter ShibaDemon.setFee(uint256,uint256,uint256,uint256)._liquidityFee (#1838) is not in mixedCase
Parameter ShibaDemon.setFee(uint256,uint256,uint256,uint256)._marketingFee (#1838) is not in mixedCase
Parameter ShibaDemon.setFee(uint256,uint256,uint256,uint256)._buyBackFee (#1838) is not in mixedCase
Parameter ShibaDemon.setExtraFeeOnSell(uint256)._extraFeeOnSell (#1847) is not in mixedCase
Parameter ShibaDemon.setMaxSelltx(uint256)._maxSellTxAmount (#1851) is not in mixedCase
Parameter ShibaDemon.setMarketingWallet(address)._newMarketingWallet (#1855) is not in mixedCase
Parameter ShibaDemon.setBuyBackWallet(address)._newBuyBackWallet (#1859) is not in mixedCase
Parameter ShibaDemon.setMaxWalletToken(uint256)._maxToken (#1863) is not in mixedCase
Parameter ShibaDemon.setExcludeFromMaxTx(address,bool)._address (#1934) is not in mixedCase
Parameter ShibaDemon.setExcludeFromAll(address)._address (#1938) is not in mixedCase
Parameter ShibaDemon.setSwapTokensAtAmount(uint256)._newAmount (#1958) is not in mixedCase
Parameter ShibaDemon.setSwapAndLiquifyEnabled(bool)._enabled (#2056) is not in mixedCase
Parameter ShibaDemon.swapTokensForBnb(uint256,address)._to (#2177) is not in mixedCase
Variable ShibaDemon.BNBRewardsFee (#1780) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in ShibaDemon._transfer(address,address,uint256) (#2061-2135):
External calls:
- swapAndLiquify(contractTokenBalance) (#2104)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2104)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2117)
- _balances[sender] = senderBalance - amount (#1022)
- _balances[recipient] += amount (#1024)
- super._transfer(from,to,amount) (#2120)
- _balances[sender] = senderBalance - amount (#1022)
- _balances[recipient] += amount (#1024)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2129)
- Transfer(sender,recipient,amount) (#1026)
- super._transfer(from,to,amount) (#2120)
- Transfer(sender,recipient,amount) (#1026)
- super._transfer(from,address(this),fees) (#2117)
Reentrancy in ShibaDemon.swapAndLiquify(uint256) (#2137-2175):
External calls:
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2159)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2208-2215)
- marketingWallet.transfer(marketingAmount) (#2162)
- buyBackWallet.transfer(buyBackAmount) (#2165)
- (success) = address(dividendTracker).call{value: dividends}() (#2168)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2171)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2174)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#11) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#12)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1412) is too similar to ShibaDemonDividendTracker.getAccount(address).withdrawableDividends (#1574)
Variable ShibaDemon.BNBRewardsFee (#1780) is too similar to ShibaDemon.setFee(uint256,uint256,uint256,uint256)._bnbRewardFee (#1838)
Prevent variables from having similar names.
Additional information: link
ShibaDemonDividendTracker.getAccountAtIndex(uint256) (#1614-1631) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1625)
ShibaDemon.constructor() (#1867-1915) uses literals with too many digits:
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1895)
ShibaDemon.constructor() (#1867-1915) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#1914)
ShibaDemon.updateGasForProcessing(uint256) (#1973-1978) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Test: gasForProcessing must be between 200,000 and 500,000) (#1974)
ShibaDemon.slitherConstructorVariables() (#1764-2220) uses literals with too many digits:
- maxSellTransactionAmount = 500000000 * (10 ** 18) (#1776)
ShibaDemon.slitherConstructorVariables() (#1764-2220) uses literals with too many digits:
- maxWalletToken = 1000000000 * (10 ** 18) (#1777)
ShibaDemon.slitherConstructorVariables() (#1764-2220) uses literals with too many digits:
- gasForProcessing = 300000 (#1791)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
name() should be declared external:
- ERC20.name() (#850-852)
symbol() should be declared external:
- ERC20.symbol() (#858-860)
decimals() should be declared external:
- ERC20.decimals() (#875-877)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#901-904)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#920-923)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#938-952)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#966-969)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#985-993)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1192-1194)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1200-1203)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1221-1223)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1225-1230)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1232-1234)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1238-1240)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1405-1407)
- ShibaDemonDividendTracker.withdrawDividend() (#1538-1540)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1433-1435)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1447-1449)
getAccountAtIndex(uint256) should be declared external:
- ShibaDemonDividendTracker.getAccountAtIndex(uint256) (#1614-1631)
process(uint256) should be declared external:
- ShibaDemonDividendTracker.process(uint256) (#1658-1703)
setSafeManager(address) should be declared external:
- SafeToken.setSafeManager(address) (#1725-1727)
setFee(uint256,uint256,uint256,uint256) should be declared external:
- ShibaDemon.setFee(uint256,uint256,uint256,uint256) (#1838-1845)
setExtraFeeOnSell(uint256) should be declared external:
- ShibaDemon.setExtraFeeOnSell(uint256) (#1847-1849)
setMaxSelltx(uint256) should be declared external:
- ShibaDemon.setMaxSelltx(uint256) (#1851-1853)
setMarketingWallet(address) should be declared external:
- ShibaDemon.setMarketingWallet(address) (#1855-1857)
setBuyBackWallet(address) should be declared external:
- ShibaDemon.setBuyBackWallet(address) (#1859-1861)
updateUniswapV2Router(address) should be declared external:
- ShibaDemon.updateUniswapV2Router(address) (#1921-1925)
setExcludeFromMaxTx(address,bool) should be declared external:
- ShibaDemon.setExcludeFromMaxTx(address,bool) (#1934-1936)
setExcludeFromAll(address) should be declared external:
- ShibaDemon.setExcludeFromAll(address) (#1938-1942)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ShibaDemon.excludeMultipleAccountsFromFees(address[],bool) (#1944-1950)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ShibaDemon.setAutomatedMarketMakerPair(address,bool) (#1952-1956)
setSwapTokensAtAmount(uint256) should be declared external:
- ShibaDemon.setSwapTokensAtAmount(uint256) (#1958-1960)
updateGasForProcessing(uint256) should be declared external:
- ShibaDemon.updateGasForProcessing(uint256) (#1973-1978)
isExcludedFromFees(address) should be declared external:
- ShibaDemon.isExcludedFromFees(address) (#1992-1994)
isExcludedFromMaxTx(address) should be declared external:
- ShibaDemon.isExcludedFromMaxTx(address) (#1996-1998)
withdrawableDividendOf(address) should be declared external:
- ShibaDemon.withdrawableDividendOf(address) (#2000-2002)
dividendTokenBalanceOf(address) should be declared external:
- ShibaDemon.dividendTokenBalanceOf(address) (#2004-2006)
setSwapAndLiquifyEnabled(bool) should be declared external:
- ShibaDemon.setSwapAndLiquifyEnabled(bool) (#2056-2059)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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 website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account