BabyETHEREUM is the next token that is going to break the crypto landscape.
Up to 8% of every buy / sell is taken and redistributed to all Holders to get one of the most valuable coins on the market: Ethereum.
BbEth.swapAndSendToMarketing(uint256) (#1840-1848) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(newBalance) (#1847)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BbEth._transfer(address,address,uint256) (#1745-1838):
External calls:
- swapAndSendToMarketing(marketingTokens) (#1778)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1859-1865)
- swapAndSendDividends(sellTokens) (#1783)
- success = IERC20(ETH).transfer(address(dividendTracker),newBalance) (#1895-1898)
- dividendTracker.distributeETHDividends(newBalance) (#1901)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1877-1883)
External calls sending eth:
- swapAndSendToMarketing(marketingTokens) (#1778)
- marketingWallet.transfer(newBalance) (#1847)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1810)
- _balances[sender] = senderBalance - amount (#1060)
- _balances[recipient] += amount (#1062)
- super._transfer(from,deadWallet,burnAmount) (#1811)
- _balances[sender] = senderBalance - amount (#1060)
- _balances[recipient] += amount (#1062)
- super._transfer(from,to,amount) (#1815)
- _balances[sender] = senderBalance - amount (#1060)
- _balances[recipient] += amount (#1062)
- swapping = false (#1785)
Apply the check-effects-interactions pattern.
Additional information: link
BbEth.claimStuckTokens(address) (#1543-1552) ignores return value by erc20token.transfer(owner(),balance) (#1551)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
SafeMathInt.MAX_INT256 (#311) is never used in SafeMathInt (#309-367)
Remove unused state variables.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#695-697)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#703-706)
name() should be declared external:
- ERC20.name() (#888-890)
symbol() should be declared external:
- ERC20.symbol() (#896-898)
decimals() should be declared external:
- ERC20.decimals() (#913-915)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#939-942)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#947-949)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#958-961)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#976-990)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#1004-1007)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#1023-1031)
distributeETHDividends(uint256) should be declared external:
- DividendPayingToken.distributeETHDividends(uint256) (#1239-1250)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1254-1256)
- TOKENDividendTracker.withdrawDividend() (#1946-1951)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1282-1284)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1296-1298)
updateDividendTracker(address) should be declared external:
- BbEth.updateDividendTracker(address) (#1505-1529)
updateUniswapV2Router(address) should be declared external:
- BbEth.updateUniswapV2Router(address) (#1531-1541)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BbEth.excludeMultipleAccountsFromFees(address[],bool) (#1564-1573)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BbEth.setAutomatedMarketMakerPair(address,bool) (#1603-1613)
updateGasForProcessing(uint256) should be declared external:
- BbEth.updateGasForProcessing(uint256) (#1633-1644)
isExcludedFromFees(address) should be declared external:
- BbEth.isExcludedFromFees(address) (#1658-1660)
withdrawableDividendOf(address) should be declared external:
- BbEth.withdrawableDividendOf(address) (#1662-1668)
dividendTokenBalanceOf(address) should be declared external:
- BbEth.dividendTokenBalanceOf(address) (#1670-1676)
getAccountAtIndex(uint256) should be declared external:
- TOKENDividendTracker.getAccountAtIndex(uint256) (#2033-2063)
process(uint256) should be declared external:
- TOKENDividendTracker.process(uint256) (#2092-2144)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1260-1276):
External calls:
- success = IERC20(ETH).transfer(user,_withdrawableDividend) (#1265)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1268)
Reentrancy in BbEth.updateDividendTracker(address) (#1505-1529):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1520)
- newDividendTracker.excludeFromDividends(address(this)) (#1521)
- newDividendTracker.excludeFromDividends(owner()) (#1522)
- newDividendTracker.excludeFromDividends(deadWallet) (#1523)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1524)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1528)
Apply the check-effects-interactions pattern.
Additional information: link
BbEth._transfer(address,address,uint256).lastProcessedIndex (#1826) is a local variable never initialized
BbEth._transfer(address,address,uint256).fees (#1796) is a local variable never initialized
BbEth._transfer(address,address,uint256).burnAmount (#1797) is a local variable never initialized
BbEth._transfer(address,address,uint256).iterations (#1824) is a local variable never initialized
BbEth._transfer(address,address,uint256).claims (#1825) 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
BbEth.claim() (#1733-1735) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1734)
BbEth._transfer(address,address,uint256) (#1745-1838) ignores return value by dividendTracker.process(gas) (#1823-1836)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1234) shadows:
- ERC20._name (#868) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1234) shadows:
- ERC20._symbol (#869) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1282) shadows:
- Ownable._owner (#662) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1289) shadows:
- Ownable._owner (#662) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1296) shadows:
- Ownable._owner (#662) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1306) shadows:
- Ownable._owner (#662) (state variable)
BbEth.setBuyFees(uint16,uint16,uint16)._burn (#1582) shadows:
- ERC20._burn(address,uint256) (#1101-1116) (function)
BbEth.setSellFees(uint16,uint16,uint16)._burn (#1594) shadows:
- ERC20._burn(address,uint256) (#1101-1116) (function)
Rename the local variables that shadow another component.
Additional information: link
BbEth.setBuyFees(uint16,uint16,uint16) (#1579-1589) should emit an event for:
- totalBuyFee = buyFee.reward + buyFee.marketing (#1588)
BbEth.setSellFees(uint16,uint16,uint16) (#1591-1601) should emit an event for:
- totalSellFee = sellFee.reward + sellFee.marketing (#1600)
BbEth.setSwapTokens(uint256) (#1615-1617) should emit an event for:
- swapTokensAtAmount = amount (#1616)
Emit an event for critical parameter changes.
Additional information: link
BbEth.updateUniswapV2Router(address)._uniswapV2Pair (#1538-1539) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1540)
BbEth.setWallets(address)._marketing (#1575) lacks a zero-check on :
- marketingWallet = _marketing (#1576)
Check that the address is not zero.
Additional information: link
Variable 'BbEth._transfer(address,address,uint256).claims (#1825)' in BbEth._transfer(address,address,uint256) (#1745-1838) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1828-1835)
Variable 'BbEth._transfer(address,address,uint256).iterations (#1824)' in BbEth._transfer(address,address,uint256) (#1745-1838) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1828-1835)
Variable 'BbEth._transfer(address,address,uint256).lastProcessedIndex (#1826)' in BbEth._transfer(address,address,uint256) (#1745-1838) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1828-1835)
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 BbEth._transfer(address,address,uint256) (#1745-1838):
External calls:
- swapAndSendToMarketing(marketingTokens) (#1778)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1859-1865)
- swapAndSendDividends(sellTokens) (#1783)
- success = IERC20(ETH).transfer(address(dividendTracker),newBalance) (#1895-1898)
- dividendTracker.distributeETHDividends(newBalance) (#1901)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1877-1883)
External calls sending eth:
- swapAndSendToMarketing(marketingTokens) (#1778)
- marketingWallet.transfer(newBalance) (#1847)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1783)
- _allowances[owner][spender] = amount (#1139)
Reentrancy in BbEth.constructor() (#1456-1501):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1463-1464)
State variables written after the call(s):
- buyFee.reward = 60 (#1469)
- buyFee.marketing = 60 (#1470)
- buyFee.burn = 10 (#1471)
- sellFee.reward = 80 (#1474)
- sellFee.marketing = 80 (#1475)
- sellFee.burn = 10 (#1476)
- totalBuyFee = buyFee.reward + buyFee.marketing (#1472)
- totalSellFee = sellFee.reward + sellFee.marketing (#1477)
- uniswapV2Pair = _uniswapV2Pair (#1467)
- uniswapV2Router = _uniswapV2Router (#1466)
Reentrancy in BbEth.constructor() (#1456-1501):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1463-1464)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1479)
- dividendTracker.excludeFromDividends(pair) (#1627)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1482)
- dividendTracker.excludeFromDividends(address(this)) (#1483)
- dividendTracker.excludeFromDividends(owner()) (#1484)
- dividendTracker.excludeFromDividends(deadWallet) (#1485)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1486)
State variables written after the call(s):
- _mint(owner(),1 * 10 ** 12 * (10 ** 18)) (#1498)
- _balances[account] += amount (#1084)
- excludeFromFees(owner(),true) (#1489)
- _isExcludedFromFees[account] = excluded (#1559)
- excludeFromFees(marketingWallet,true) (#1490)
- _isExcludedFromFees[account] = excluded (#1559)
- excludeFromFees(deadWallet,true) (#1491)
- _isExcludedFromFees[account] = excluded (#1559)
- excludeFromFees(address(this),true) (#1492)
- _isExcludedFromFees[account] = excluded (#1559)
- _mint(owner(),1 * 10 ** 12 * (10 ** 18)) (#1498)
- _totalSupply += amount (#1083)
- maxTxAmount = totalSupply().mul(100).div(100) (#1500)
Reentrancy in TOKENDividendTracker.processAccount(address,bool) (#2146-2160):
External calls:
- amount = _withdrawDividendOfUser(account) (#2151)
- success = IERC20(ETH).transfer(user,_withdrawableDividend) (#1265)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2154)
Reentrancy in BbEth.updateUniswapV2Router(address) (#1531-1541):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1538-1539)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1540)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BbEth._setAutomatedMarketMakerPair(address,bool) (#1619-1631):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1627)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1630)
Reentrancy in BbEth._transfer(address,address,uint256) (#1745-1838):
External calls:
- swapAndSendToMarketing(marketingTokens) (#1778)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1859-1865)
- swapAndSendDividends(sellTokens) (#1783)
- success = IERC20(ETH).transfer(address(dividendTracker),newBalance) (#1895-1898)
- dividendTracker.distributeETHDividends(newBalance) (#1901)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1877-1883)
External calls sending eth:
- swapAndSendToMarketing(marketingTokens) (#1778)
- marketingWallet.transfer(newBalance) (#1847)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1140)
- swapAndSendDividends(sellTokens) (#1783)
- SendDividends(tokens,newBalance) (#1902)
- swapAndSendDividends(sellTokens) (#1783)
- Transfer(sender,recipient,amount) (#1064)
- super._transfer(from,address(this),fees) (#1810)
- Transfer(sender,recipient,amount) (#1064)
- super._transfer(from,to,amount) (#1815)
- Transfer(sender,recipient,amount) (#1064)
- super._transfer(from,deadWallet,burnAmount) (#1811)
Reentrancy in BbEth._transfer(address,address,uint256) (#1745-1838):
External calls:
- swapAndSendToMarketing(marketingTokens) (#1778)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1859-1865)
- swapAndSendDividends(sellTokens) (#1783)
- success = IERC20(ETH).transfer(address(dividendTracker),newBalance) (#1895-1898)
- dividendTracker.distributeETHDividends(newBalance) (#1901)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1877-1883)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1817)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1818)
- dividendTracker.process(gas) (#1823-1836)
External calls sending eth:
- swapAndSendToMarketing(marketingTokens) (#1778)
- marketingWallet.transfer(newBalance) (#1847)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1828-1835)
Reentrancy in BbEth.constructor() (#1456-1501):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1463-1464)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1479)
- dividendTracker.excludeFromDividends(pair) (#1627)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1630)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1479)
Reentrancy in BbEth.constructor() (#1456-1501):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1463-1464)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1479)
- dividendTracker.excludeFromDividends(pair) (#1627)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1482)
- dividendTracker.excludeFromDividends(address(this)) (#1483)
- dividendTracker.excludeFromDividends(owner()) (#1484)
- dividendTracker.excludeFromDividends(deadWallet) (#1485)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1486)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1561)
- excludeFromFees(marketingWallet,true) (#1490)
- ExcludeFromFees(account,excluded) (#1561)
- excludeFromFees(owner(),true) (#1489)
- ExcludeFromFees(account,excluded) (#1561)
- excludeFromFees(address(this),true) (#1492)
- ExcludeFromFees(account,excluded) (#1561)
- excludeFromFees(deadWallet,true) (#1491)
- Transfer(address(0),account,amount) (#1085)
- _mint(owner(),1 * 10 ** 12 * (10 ** 18)) (#1498)
Reentrancy in TOKENDividendTracker.processAccount(address,bool) (#2146-2160):
External calls:
- amount = _withdrawDividendOfUser(account) (#2151)
- success = IERC20(ETH).transfer(user,_withdrawableDividend) (#1265)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2155)
Reentrancy in BbEth.processDividendTracker(uint256) (#1716-1731):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1717-1721)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1723-1730)
Reentrancy in BbEth.swapAndSendDividends(uint256) (#1886-1904):
External calls:
- swapTokensForETH(tokens) (#1889)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1877-1883)
- success = IERC20(ETH).transfer(address(dividendTracker),newBalance) (#1895-1898)
- dividendTracker.distributeETHDividends(newBalance) (#1901)
Event emitted after the call(s):
- SendDividends(tokens,newBalance) (#1902)
Reentrancy in BbEth.updateDividendTracker(address) (#1505-1529):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1520)
- newDividendTracker.excludeFromDividends(address(this)) (#1521)
- newDividendTracker.excludeFromDividends(owner()) (#1522)
- newDividendTracker.excludeFromDividends(deadWallet) (#1523)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1524)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1526)
Apply the check-effects-interactions pattern.
Additional information: link
TOKENDividendTracker.getAccount(address) (#1984-2031) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#2028-2030)
TOKENDividendTracker.canAutoClaim(uint256) (#2065-2071) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2066)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2070)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.8']
- >=0.6.2 (#4)
- >=0.6.2 (#102)
- >=0.5.0 (#148)
- ^0.8.8 (#169)
- ^0.8.8 (#236)
- ^0.8.8 (#264)
- ^0.8.8 (#303)
- ^0.8.8 (#373)
- ^0.8.0 (#391)
- ^0.8.0 (#620)
- ^0.8.0 (#646)
- ^0.8.0 (#719)
- ^0.8.0 (#803)
- ^0.8.0 (#832)
- ^0.8.8 (#1188)
- ^0.8.8 (#1363)
Use one Solidity version.
Additional information: link
Context._msgData() (#637-639) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1316-1322) is never used and should be removed
IterableMapping.get(IterableMapping.Map,address) (#180-182) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#578-587) is never used and should be removed
SafeMath.mod(uint256,uint256) (#538-540) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#604-613) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#555-564) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#409-415) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#451-456) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#463-468) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#434-444) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#422-427) is never used and should be removed
SafeMathInt.abs(int256) (#357-360) is never used and should be removed
SafeMathInt.div(int256,int256) (#328-334) is never used and should be removed
SafeMathInt.mul(int256,int256) (#316-323) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.2 (#4) allows old versions
Pragma version>=0.6.2 (#102) allows old versions
Pragma version>=0.5.0 (#148) allows old versions
Pragma version^0.8.8 (#169) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
Pragma version^0.8.8 (#236) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
Pragma version^0.8.8 (#264) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
Pragma version^0.8.8 (#303) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
Pragma version^0.8.8 (#373) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
Pragma version^0.8.0 (#391) allows old versions
Pragma version^0.8.0 (#620) allows old versions
Pragma version^0.8.0 (#646) allows old versions
Pragma version^0.8.0 (#719) allows old versions
Pragma version^0.8.0 (#803) allows old versions
Pragma version^0.8.0 (#832) allows old versions
Pragma version^0.8.8 (#1188) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
Pragma version^0.8.8 (#1363) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
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
Function IUniswapV2Router01.WETH() (#8) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1282) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1289) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1296) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1306) is not in mixedCase
Constant DividendPayingToken.magnitude (#1214) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BbEth.claimStuckTokens(address)._token (#1543) is not in mixedCase
Parameter BbEth.setWallets(address)._marketing (#1575) is not in mixedCase
Parameter BbEth.setBuyFees(uint16,uint16,uint16)._reward (#1580) is not in mixedCase
Parameter BbEth.setBuyFees(uint16,uint16,uint16)._marketing (#1581) is not in mixedCase
Parameter BbEth.setBuyFees(uint16,uint16,uint16)._burn (#1582) is not in mixedCase
Parameter BbEth.setSellFees(uint16,uint16,uint16)._reward (#1592) is not in mixedCase
Parameter BbEth.setSellFees(uint16,uint16,uint16)._marketing (#1593) is not in mixedCase
Parameter BbEth.setSellFees(uint16,uint16,uint16)._burn (#1594) is not in mixedCase
Constant BbEth.deadWallet (#1394) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter TOKENDividendTracker.getAccount(address)._account (#1984) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in BbEth._transfer(address,address,uint256) (#1745-1838):
External calls:
- swapAndSendToMarketing(marketingTokens) (#1778)
- marketingWallet.transfer(newBalance) (#1847)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1783)
- _allowances[owner][spender] = amount (#1139)
- super._transfer(from,address(this),fees) (#1810)
- _balances[sender] = senderBalance - amount (#1060)
- _balances[recipient] += amount (#1062)
- super._transfer(from,deadWallet,burnAmount) (#1811)
- _balances[sender] = senderBalance - amount (#1060)
- _balances[recipient] += amount (#1062)
- super._transfer(from,to,amount) (#1815)
- _balances[sender] = senderBalance - amount (#1060)
- _balances[recipient] += amount (#1062)
- swapping = false (#1785)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1140)
- swapAndSendDividends(sellTokens) (#1783)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1828-1835)
- SendDividends(tokens,newBalance) (#1902)
- swapAndSendDividends(sellTokens) (#1783)
- Transfer(sender,recipient,amount) (#1064)
- super._transfer(from,address(this),fees) (#1810)
- Transfer(sender,recipient,amount) (#1064)
- super._transfer(from,deadWallet,burnAmount) (#1811)
- Transfer(sender,recipient,amount) (#1064)
- super._transfer(from,to,amount) (#1815)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#13) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#14)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1261) is too similar to TOKENDividendTracker.getAccount(address).withdrawableDividends (#1991)
Prevent variables from having similar names.
Additional information: link
BbEth.updateGasForProcessing(uint256) (#1633-1644) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,TOKEN: gasForProcessing must be between 200,000 and 500,000) (#1634-1637)
BbEth.slitherConstructorVariables() (#1366-1905) uses literals with too many digits:
- gasForProcessing = 300000 (#1405)
TOKENDividendTracker.getAccountAtIndex(uint256) (#2033-2063) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2048-2057)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1260-1276) has external calls inside a loop: success = IERC20(ETH).transfer(user,_withdrawableDividend) (#1265)
Favor pull over push strategy for external calls.
Additional information: link
Young tokens have high risks of price dump / death
Alexa traffic rank is relatively low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account