$$Doge Empire 👑 is a Community of crypto lovers who aim to make this realm Safe and Profitable 💰 again. Holders Automatically Earn 5% Reflections in Doge Coin 💰, no need to claim! Holders also have EXCLUSIVE RIGHTS to mint verifiably 💎 Rare and unique NFTs. Dogeverse Play to Earn 🎮 .
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1638-1717):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1728-1734)
- swapAndSendDividends(rewardTokens) (#1673)
- success = IERC20(rewardToken).approve(address(dividendTracker),dividends) (#1772)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1746-1752)
- IERC20(rewardToken).transfer(marketingAddress,portionForMarketing) (#1775)
- dividendTracker.distributeDividends(dividends) (#1777)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1691)
- _balances[sender] = senderBalance - amount (#450)
- _balances[recipient] += amount (#452)
- super._transfer(from,to,amount) (#1694)
- _balances[sender] = senderBalance - amount (#450)
- _balances[recipient] += amount (#452)
- swapping = false (#1676)
Apply the check-effects-interactions pattern.
Additional information: link
DividendPayingToken.distributeDividends(uint256) (#1210-1225) ignores return value by IERC20(rewardToken).transferFrom(_msgSender(),address(this),amount) (#1214)
ERC20DividendToken.swapAndSendDividends(uint256) (#1766-1780) ignores return value by IERC20(rewardToken).transfer(marketingAddress,portionForMarketing) (#1775)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#82-84)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#90-93)
name() should be declared external:
- ERC20.name() (#278-280)
symbol() should be declared external:
- ERC20.symbol() (#286-288)
decimals() should be declared external:
- ERC20.decimals() (#303-305)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#329-332)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#337-339)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#348-351)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#366-380)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#394-397)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#413-421)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1066-1068)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1070-1075)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1077-1079)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1081-1083)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#1210-1225)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1229-1231)
- ERC20DividendTracker.withdrawDividend() (#1819-1824)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1266-1268)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1280-1282)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ERC20DividendToken.excludeMultipleAccountsFromFees(address[],bool) (#1472-1481)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ERC20DividendToken.setAutomatedMarketMakerPair(address,bool) (#1501-1511)
updateGasForProcessing(uint256) should be declared external:
- ERC20DividendToken.updateGasForProcessing(uint256) (#1527-1538)
isExcludedFromFees(address) should be declared external:
- ERC20DividendToken.isExcludedFromFees(address) (#1552-1554)
withdrawableDividendOf(address) should be declared external:
- ERC20DividendToken.withdrawableDividendOf(address) (#1556-1562)
dividendTokenBalanceOf(address) should be declared external:
- ERC20DividendToken.dividendTokenBalanceOf(address) (#1564-1570)
getAccountAtIndex(uint256) should be declared external:
- ERC20DividendTracker.getAccountAtIndex(uint256) (#1902-1923)
process(uint256) should be declared external:
- ERC20DividendTracker.process(uint256) (#1950-2002)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1235-1261):
External calls:
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#1245-1248)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1251-1253)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20DividendToken._transfer(address,address,uint256).iterations (#1703) is a local variable never initialized
ERC20DividendToken._transfer(address,address,uint256).lastProcessedIndex (#1705) is a local variable never initialized
ERC20DividendToken._transfer(address,address,uint256).claims (#1704) 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
ERC20DividendToken.claim() (#1626-1628) ignores return value by dividendTracker.processAccount(_msgSender(),false) (#1627)
ERC20DividendToken._transfer(address,address,uint256) (#1638-1717) ignores return value by dividendTracker.process(gas) (#1702-1715)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(address,string,string)._name (#1206) shadows:
- ERC20._name (#258) (state variable)
DividendPayingToken.constructor(address,string,string)._symbol (#1206) shadows:
- ERC20._symbol (#259) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1266) shadows:
- Ownable._owner (#49) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1273) shadows:
- Ownable._owner (#49) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1280) shadows:
- Ownable._owner (#49) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1289) shadows:
- Ownable._owner (#49) (state variable)
Rename the local variables that shadow another component.
Additional information: link
DividendPayingToken.constructor(address,string,string)._rewardToken (#1206) lacks a zero-check on :
- rewardToken = _rewardToken (#1207)
ERC20DividendToken.constructor(string,string,uint256,address,address,address).rewardToken_ (#1403) lacks a zero-check on :
- rewardToken = rewardToken_ (#1409)
ERC20DividendToken.constructor(string,string,uint256,address,address,address).marketingAddress_ (#1403) lacks a zero-check on :
- marketingAddress = marketingAddress_ (#1410)
ERC20DividendToken.setMarketingWallet(address).wallet (#1483) lacks a zero-check on :
- marketingAddress = wallet (#1484)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1235-1261) has external calls inside a loop: success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#1245-1248)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'ERC20DividendToken._transfer(address,address,uint256).iterations (#1703)' in ERC20DividendToken._transfer(address,address,uint256) (#1638-1717) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1707-1714)
Variable 'ERC20DividendToken._transfer(address,address,uint256).lastProcessedIndex (#1705)' in ERC20DividendToken._transfer(address,address,uint256) (#1638-1717) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1707-1714)
Variable 'ERC20DividendToken._transfer(address,address,uint256).claims (#1704)' in ERC20DividendToken._transfer(address,address,uint256) (#1638-1717) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1707-1714)
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 ERC20DividendToken._transfer(address,address,uint256) (#1638-1717):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1728-1734)
- swapAndSendDividends(rewardTokens) (#1673)
- success = IERC20(rewardToken).approve(address(dividendTracker),dividends) (#1772)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1746-1752)
- IERC20(rewardToken).transfer(marketingAddress,portionForMarketing) (#1775)
- dividendTracker.distributeDividends(dividends) (#1777)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
State variables written after the call(s):
- swapAndSendDividends(rewardTokens) (#1673)
- _allowances[owner][spender] = amount (#529)
Reentrancy in ERC20DividendToken._updateUniswapV2Router(address) (#1455-1464):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1457-1458)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1460)
Reentrancy in ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1403-1428):
External calls:
- _deployDividendTracker(routerV2_,rewardToken_) (#1414)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1445)
- dividendTracker.excludeFromDividends(address(this)) (#1446)
- dividendTracker.excludeFromDividends(owner()) (#1447)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1448)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1449)
- dividendTracker.excludeFromDividends(marketingAddress) (#1450)
- _updateUniswapV2Router(routerV2_) (#1416)
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1457-1458)
- dividendTracker.excludeFromDividends(pair) (#1521)
State variables written after the call(s):
- _mint(owner(),totalSupply_ * (10 ** 18)) (#1427)
- _balances[account] += amount (#474)
- excludeFromFees(owner(),true) (#1419)
- _isExcludedFromFees[account] = excluded (#1467)
- excludeFromFees(address(this),true) (#1420)
- _isExcludedFromFees[account] = excluded (#1467)
- excludeFromFees(marketingAddress,true) (#1421)
- _isExcludedFromFees[account] = excluded (#1467)
- _mint(owner(),totalSupply_ * (10 ** 18)) (#1427)
- _totalSupply += amount (#473)
- _updateUniswapV2Router(routerV2_) (#1416)
- uniswapV2Pair = _uniswapV2Pair (#1460)
Reentrancy in DividendPayingToken.distributeDividends(uint256) (#1210-1225):
External calls:
- IERC20(rewardToken).transferFrom(_msgSender(),address(this),amount) (#1214)
State variables written after the call(s):
- magnifiedDividendPerShare = magnifiedDividendPerShare.add((received).mul(magnitude) / totalSupply()) (#1218-1220)
- totalDividendsDistributed = totalDividendsDistributed.add(received) (#1223)
Reentrancy in ERC20DividendTracker.processAccount(address,bool) (#2004-2018):
External calls:
- amount = _withdrawDividendOfUser(address(account)) (#2009)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#1245-1248)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2012)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ERC20DividendToken._deployDividendTracker(address,address) (#1441-1453):
External calls:
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1445)
- dividendTracker.excludeFromDividends(address(this)) (#1446)
- dividendTracker.excludeFromDividends(owner()) (#1447)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1448)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1449)
- dividendTracker.excludeFromDividends(marketingAddress) (#1450)
Event emitted after the call(s):
- DeployedDividendTracker(address(dividendTracker)) (#1452)
Reentrancy in ERC20DividendToken._setAutomatedMarketMakerPair(address,bool) (#1513-1525):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1521)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1524)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1638-1717):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1728-1734)
- swapAndSendDividends(rewardTokens) (#1673)
- success = IERC20(rewardToken).approve(address(dividendTracker),dividends) (#1772)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1746-1752)
- IERC20(rewardToken).transfer(marketingAddress,portionForMarketing) (#1775)
- dividendTracker.distributeDividends(dividends) (#1777)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#530)
- swapAndSendDividends(rewardTokens) (#1673)
- SendDividends(tokens,dividends) (#1778)
- swapAndSendDividends(rewardTokens) (#1673)
- Transfer(sender,recipient,amount) (#454)
- super._transfer(from,to,amount) (#1694)
- Transfer(sender,recipient,amount) (#454)
- super._transfer(from,address(this),fees) (#1691)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1638-1717):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1728-1734)
- swapAndSendDividends(rewardTokens) (#1673)
- success = IERC20(rewardToken).approve(address(dividendTracker),dividends) (#1772)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1746-1752)
- IERC20(rewardToken).transfer(marketingAddress,portionForMarketing) (#1775)
- dividendTracker.distributeDividends(dividends) (#1777)
- dividendTracker.setBalance(from,balanceOf(from)) (#1696)
- dividendTracker.setBalance(to,balanceOf(to)) (#1697)
- dividendTracker.process(gas) (#1702-1715)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1668)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1707-1714)
Reentrancy in ERC20DividendToken._updateUniswapV2Router(address) (#1455-1464):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1457-1458)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1461)
- dividendTracker.excludeFromDividends(pair) (#1521)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1524)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1461)
- UpdateUniswapV2Router(newAddress) (#1463)
Reentrancy in ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1403-1428):
External calls:
- _deployDividendTracker(routerV2_,rewardToken_) (#1414)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1445)
- dividendTracker.excludeFromDividends(address(this)) (#1446)
- dividendTracker.excludeFromDividends(owner()) (#1447)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1448)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1449)
- dividendTracker.excludeFromDividends(marketingAddress) (#1450)
- _updateUniswapV2Router(routerV2_) (#1416)
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1457-1458)
- dividendTracker.excludeFromDividends(pair) (#1521)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1469)
- excludeFromFees(marketingAddress,true) (#1421)
- ExcludeFromFees(account,excluded) (#1469)
- excludeFromFees(owner(),true) (#1419)
- ExcludeFromFees(account,excluded) (#1469)
- excludeFromFees(address(this),true) (#1420)
- SetAutomatedMarketMakerPair(pair,value) (#1524)
- _updateUniswapV2Router(routerV2_) (#1416)
- Transfer(address(0),account,amount) (#475)
- _mint(owner(),totalSupply_ * (10 ** 18)) (#1427)
- UpdateUniswapV2Router(newAddress) (#1463)
- _updateUniswapV2Router(routerV2_) (#1416)
Reentrancy in DividendPayingToken.distributeDividends(uint256) (#1210-1225):
External calls:
- IERC20(rewardToken).transferFrom(_msgSender(),address(this),amount) (#1214)
Event emitted after the call(s):
- DividendsDistributed(_msgSender(),received) (#1221)
Reentrancy in ERC20DividendTracker.processAccount(address,bool) (#2004-2018):
External calls:
- amount = _withdrawDividendOfUser(address(account)) (#2009)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#1245-1248)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2013)
Reentrancy in ERC20DividendToken.processDividendTracker(uint256) (#1610-1624):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1611-1615)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1616-1623)
Reentrancy in ERC20DividendToken.swapAndSendDividends(uint256) (#1766-1780):
External calls:
- swapTokensForERC20(tokens) (#1767)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1746-1752)
- success = IERC20(rewardToken).approve(address(dividendTracker),dividends) (#1772)
- IERC20(rewardToken).transfer(marketingAddress,portionForMarketing) (#1775)
- dividendTracker.distributeDividends(dividends) (#1777)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1778)
Reentrancy in ERC20DividendToken.swapAndSendDividendsToMarketing(uint256) (#1755-1764):
External calls:
- swapTokensForEth(tokens) (#1756)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1728-1734)
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
External calls sending eth:
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
Event emitted after the call(s):
- SendDividendsToMarketing(tokens,dividends) (#1762)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20DividendTracker.getAccount(address) (#1857-1900) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1897-1899)
ERC20DividendTracker.canAutoClaim(uint256) (#1925-1931) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1926)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1930)
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.0 (#8)
- ^0.8.0 (#34)
- ^0.8.0 (#110)
- ^0.8.0 (#194)
- ^0.8.0 (#222)
- ^0.8.0 (#578)
- >=0.5.0 (#806)
- >=0.5.0 (#827)
- >=0.6.2 (#883)
- >=0.6.2 (#982)
- ^0.8.0 (#1028)
Use one Solidity version.
Additional information: link
Context._msgData() (#25-27) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1298-1302) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#765-774) is never used and should be removed
SafeMath.mod(uint256,uint256) (#725-727) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#791-800) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#742-751) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#596-602) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#638-643) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#650-655) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#621-631) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#609-614) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#8) allows old versions
Pragma version^0.8.0 (#34) allows old versions
Pragma version^0.8.0 (#110) allows old versions
Pragma version^0.8.0 (#194) allows old versions
Pragma version^0.8.0 (#222) allows old versions
Pragma version^0.8.0 (#578) allows old versions
Pragma version>=0.5.0 (#806) allows old versions
Pragma version>=0.5.0 (#827) allows old versions
Pragma version>=0.6.2 (#883) allows old versions
Pragma version>=0.6.2 (#982) allows old versions
Pragma version^0.8.0 (#1028) allows old versions
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 ERC20DividendToken.swapAndSendDividendsToMarketing(uint256) (#1755-1764):
- (success) = address(marketingAddress).call{value: dividends}() (#1759)
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() (#844) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#845) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#862) is not in mixedCase
Function IUniswapV2Router01.WETH() (#887) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1266) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1273) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1280) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1289) is not in mixedCase
Constant DividendPayingToken.magnitude (#1186) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter ERC20DividendToken.excludePresale(address)._presaleAddress (#1432) is not in mixedCase
Parameter ERC20DividendTracker.getAccount(address)._account (#1857) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#892) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#893)
Variable ERC20._totalSupply (#256) is too similar to ERC20DividendToken.constructor(string,string,uint256,address,address,address).totalSupply_ (#1403)
Variable ERC20DividendToken._deployDividendTracker(address,address).rewardToken_ (#1441) is too similar to ERC20DividendToken._transfer(address,address,uint256).rewardTokens (#1672)
Variable ERC20DividendToken.constructor(string,string,uint256,address,address,address).rewardToken_ (#1403) is too similar to ERC20DividendToken._transfer(address,address,uint256).rewardTokens (#1672)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1239) is too similar to ERC20DividendTracker.getAccount(address).withdrawableDividends (#1864)
Variable DividendPayingToken.constructor(address,string,string)._rewardToken (#1206) is too similar to ERC20DividendTracker.constructor(address).rewardToken_ (#1806)
Variable DEMP.constructor(address)._marketingAddress (#2035) is too similar to ERC20DividendToken.constructor(string,string,uint256,address,address,address).marketingAddress_ (#1403)
Variable DEMP._rewardToken (#2033) is too similar to ERC20DividendToken.constructor(string,string,uint256,address,address,address).rewardToken_ (#1403)
Variable DEMP._rewardToken (#2033) is too similar to ERC20DividendToken._deployDividendTracker(address,address).rewardToken_ (#1441)
Variable DEMP._rewardToken (#2033) is too similar to ERC20DividendToken._transfer(address,address,uint256).rewardTokens (#1672)
Prevent variables from having similar names.
Additional information: link
ERC20DividendToken.updateGasForProcessing(uint256) (#1527-1538) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,ERC20DividendToken: gasForProcessing must be between 200,000 and 500,000) (#1528-1531)
DEMP.slitherConstructorVariables() (#2021-2039) uses literals with too many digits:
- gasForProcessing = 300000 (#1358)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DEMP._rewardToken (#2033) should be constant
DEMP._routerAddress (#2032) should be constant
DEMP._tokenSupply (#2023) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts