Welcome to DogeVille, inspired by games such as Stardew Valley and FarmVille. With the rise of cryptocurrency play 2 earn models DogeVille aims to be the farming game of cryptocurrency. Earn cryptocurrency by simply planting seeds, growing crops, and harvesting them on your farm. Visit our website or read our whitepaper to learn more.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DogeVille.addLiquidity(uint256,uint256) (#1767-1781) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DogeVille._transfer(address,address,uint256) (#1627-1697):
External calls:
- swapAndSendToFee(marketingTokens) (#1654)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- swapAndSendDividends(sellTokens) (#1660)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1679)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#816)
- _balances[recipient] = _balances[recipient].add(amount) (#817)
- super._transfer(from,to,amount) (#1682)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#816)
- _balances[recipient] = _balances[recipient].add(amount) (#817)
- swapping = false (#1662)
Apply the check-effects-interactions pattern.
Additional information: link
DogeVille.swapAndSendToFee(uint256) (#1699-1705) ignores return value by IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
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.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#982-998):
External calls:
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#987)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#990)
Reentrancy in DogeVille.updateDividendTracker(address) (#1432-1448):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1439)
- newDividendTracker.excludeFromDividends(address(this)) (#1440)
- newDividendTracker.excludeFromDividends(owner()) (#1441)
- newDividendTracker.excludeFromDividends(deadWallet) (#1442)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1443)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1447)
Apply the check-effects-interactions pattern.
Additional information: link
DogeVille._transfer(address,address,uint256).iterations (#1690) is a local variable never initialized
DogeVille._transfer(address,address,uint256).claims (#1690) is a local variable never initialized
DogeVille._transfer(address,address,uint256).lastProcessedIndex (#1690) 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
DogeVille.claim() (#1607-1609) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1608)
DogeVille.claimAddress(address) (#1611-1613) ignores return value by dividendTracker.processAccount(address(claimee),false) (#1612)
DogeVille._transfer(address,address,uint256) (#1627-1697) ignores return value by dividendTracker.process(gas) (#1690-1695)
DogeVille.addLiquidity(uint256,uint256) (#1767-1781) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#956) shadows:
- ERC20._name (#638) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#956) shadows:
- ERC20._symbol (#639) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1004) shadows:
- Ownable._owner (#328) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1011) shadows:
- Ownable._owner (#328) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1018) shadows:
- Ownable._owner (#328) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1028) shadows:
- Ownable._owner (#328) (state variable)
Rename the local variables that shadow another component.
Additional information: link
DogeVille.setSwapTokensAtAmount(uint256) (#1474-1476) should emit an event for:
- swapTokensAtAmount = amount (#1475)
DogeVille.setUSDTRewardsFee(uint256) (#1482-1485) should emit an event for:
- USDTRewardsFee = value (#1483)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee) (#1484)
DogeVille.setLiquiditFee(uint256) (#1487-1490) should emit an event for:
- liquidityFee = value (#1488)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee) (#1489)
DogeVille.setMarketingFee(uint256) (#1492-1495) should emit an event for:
- marketingFee = value (#1493)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee) (#1494)
DogeVilleDividendTracker.setLastProcessedIndex(uint256) (#1845-1847) should emit an event for:
- lastProcessedIndex = index (#1846)
Emit an event for critical parameter changes.
Additional information: link
DogeVille.updateUniswapV2Router(address)._uniswapV2Pair (#1454-1455) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1456)
DogeVille.setMarketingWallet(address).wallet (#1478) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1479)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#982-998) has external calls inside a loop: success = IERC20(USDT).transfer(user,_withdrawableDividend) (#987)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'DogeVille._transfer(address,address,uint256).lastProcessedIndex (#1690)' in DogeVille._transfer(address,address,uint256) (#1627-1697) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1691)
Variable 'DogeVille._transfer(address,address,uint256).claims (#1690)' in DogeVille._transfer(address,address,uint256) (#1627-1697) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1691)
Variable 'DogeVille._transfer(address,address,uint256).iterations (#1690)' in DogeVille._transfer(address,address,uint256) (#1627-1697) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1691)
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
DogeVille.constructor() (#1395-1426) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#1425)
DogeVille.updateGasForProcessing(uint256) (#1518-1523) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,DogeVille: gasForProcessing must be between 200,000 and 500,000) (#1519)
DogeVille.slitherConstructorVariables() (#1325-1793) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1335)
DogeVille.slitherConstructorVariables() (#1325-1793) uses literals with too many digits:
- swapTokensAtAmount = 4000000 * (10 ** 18) (#1339)
DogeVille.slitherConstructorVariables() (#1325-1793) uses literals with too many digits:
- gasForProcessing = 300000 (#1352)
DogeVilleDividendTracker.constructor() (#1815-1818) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (#1817)
DogeVilleDividendTracker.getAccountAtIndex(uint256) (#1904-1921) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1915)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Reentrancy in DogeVille._transfer(address,address,uint256) (#1627-1697):
External calls:
- swapAndSendToFee(marketingTokens) (#1654)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1657)
- _allowances[owner][spender] = amount (#882)
Reentrancy in DogeVille._transfer(address,address,uint256) (#1627-1697):
External calls:
- swapAndSendToFee(marketingTokens) (#1654)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- swapAndSendDividends(sellTokens) (#1660)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1660)
- _allowances[owner][spender] = amount (#882)
Reentrancy in DogeVille.constructor() (#1395-1426):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1401-1402)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1405)
- uniswapV2Router = _uniswapV2Router (#1404)
Reentrancy in DogeVille.constructor() (#1395-1426):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1401-1402)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1407)
- dividendTracker.excludeFromDividends(pair) (#1512)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1410)
- dividendTracker.excludeFromDividends(address(this)) (#1411)
- dividendTracker.excludeFromDividends(owner()) (#1412)
- dividendTracker.excludeFromDividends(deadWallet) (#1413)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1414)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#1425)
- _balances[account] = _balances[account].add(amount) (#836)
- excludeFromFees(owner(),true) (#1417)
- _isExcludedFromFees[account] = excluded (#1461)
- excludeFromFees(_marketingWalletAddress,true) (#1418)
- _isExcludedFromFees[account] = excluded (#1461)
- excludeFromFees(address(this),true) (#1419)
- _isExcludedFromFees[account] = excluded (#1461)
- _mint(owner(),100000000000 * (10 ** 18)) (#1425)
- _totalSupply = _totalSupply.add(amount) (#835)
Reentrancy in DogeVilleDividendTracker.processAccount(address,bool) (#1995-2005):
External calls:
- amount = _withdrawDividendOfUser(account) (#1996)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#987)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1999)
Reentrancy in DogeVille.swapAndLiquify(uint256) (#1707-1728):
External calls:
- swapTokensForEth(half) (#1719)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- addLiquidity(otherHalf,newBalance) (#1725)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1725)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1725)
- _allowances[owner][spender] = amount (#882)
Reentrancy in DogeVille.swapOnDemand(bool,bool,bool) (#1529-1550):
External calls:
- swapAndSendToFee(marketingTokens) (#1536)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1541)
- _allowances[owner][spender] = amount (#882)
Reentrancy in DogeVille.swapOnDemand(bool,bool,bool) (#1529-1550):
External calls:
- swapAndSendToFee(marketingTokens) (#1536)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- swapAndSendDividends(sellTokens) (#1546)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1546)
- _allowances[owner][spender] = amount (#882)
- swapping = false (#1549)
Reentrancy in DogeVille.updateUniswapV2Router(address) (#1450-1457):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1454-1455)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1456)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogeVille._setAutomatedMarketMakerPair(address,bool) (#1507-1516):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1512)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1515)
Reentrancy in DogeVille._transfer(address,address,uint256) (#1627-1697):
External calls:
- swapAndSendToFee(marketingTokens) (#1654)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#883)
- swapAndLiquify(swapTokens) (#1657)
- SwapAndLiquify(half,newBalance,otherHalf) (#1727)
- swapAndLiquify(swapTokens) (#1657)
Reentrancy in DogeVille._transfer(address,address,uint256) (#1627-1697):
External calls:
- swapAndSendToFee(marketingTokens) (#1654)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- swapAndSendDividends(sellTokens) (#1660)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#883)
- swapAndSendDividends(sellTokens) (#1660)
- SendDividends(tokens,dividends) (#1790)
- swapAndSendDividends(sellTokens) (#1660)
- Transfer(sender,recipient,amount) (#818)
- super._transfer(from,address(this),fees) (#1679)
- Transfer(sender,recipient,amount) (#818)
- super._transfer(from,to,amount) (#1682)
Reentrancy in DogeVille._transfer(address,address,uint256) (#1627-1697):
External calls:
- swapAndSendToFee(marketingTokens) (#1654)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- swapAndSendDividends(sellTokens) (#1660)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1684)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1685)
- dividendTracker.process(gas) (#1690-1695)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1691)
Reentrancy in DogeVille.constructor() (#1395-1426):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1401-1402)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1407)
- dividendTracker.excludeFromDividends(pair) (#1512)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1515)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1407)
Reentrancy in DogeVille.constructor() (#1395-1426):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1401-1402)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1407)
- dividendTracker.excludeFromDividends(pair) (#1512)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1410)
- dividendTracker.excludeFromDividends(address(this)) (#1411)
- dividendTracker.excludeFromDividends(owner()) (#1412)
- dividendTracker.excludeFromDividends(deadWallet) (#1413)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1414)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1463)
- excludeFromFees(address(this),true) (#1419)
- ExcludeFromFees(account,excluded) (#1463)
- excludeFromFees(_marketingWalletAddress,true) (#1418)
- ExcludeFromFees(account,excluded) (#1463)
- excludeFromFees(owner(),true) (#1417)
- Transfer(address(0),account,amount) (#837)
- _mint(owner(),100000000000 * (10 ** 18)) (#1425)
Reentrancy in DogeVilleDividendTracker.processAccount(address,bool) (#1995-2005):
External calls:
- amount = _withdrawDividendOfUser(account) (#1996)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#987)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2000)
Reentrancy in DogeVille.processDividendTracker(uint256) (#1602-1605):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1603)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1604)
Reentrancy in DogeVille.swapAndLiquify(uint256) (#1707-1728):
External calls:
- swapTokensForEth(half) (#1719)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- addLiquidity(otherHalf,newBalance) (#1725)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1725)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#883)
- addLiquidity(otherHalf,newBalance) (#1725)
- SwapAndLiquify(half,newBalance,otherHalf) (#1727)
Reentrancy in DogeVille.swapAndSendDividends(uint256) (#1783-1792):
External calls:
- swapTokensForUsdt(tokens) (#1784)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1790)
Reentrancy in DogeVille.swapOnDemand(bool,bool,bool) (#1529-1550):
External calls:
- swapAndSendToFee(marketingTokens) (#1536)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#883)
- swapAndLiquify(swapTokens) (#1541)
- SwapAndLiquify(half,newBalance,otherHalf) (#1727)
- swapAndLiquify(swapTokens) (#1541)
Reentrancy in DogeVille.swapOnDemand(bool,bool,bool) (#1529-1550):
External calls:
- swapAndSendToFee(marketingTokens) (#1536)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (#1704)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1739-1745)
- swapAndSendDividends(sellTokens) (#1546)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1786)
- dividendTracker.distributeUSDTDividends(dividends) (#1789)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1758-1764)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1773-1780)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#883)
- swapAndSendDividends(sellTokens) (#1546)
- SendDividends(tokens,dividends) (#1790)
- swapAndSendDividends(sellTokens) (#1546)
Reentrancy in DogeVille.updateDividendTracker(address) (#1432-1448):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1439)
- newDividendTracker.excludeFromDividends(address(this)) (#1440)
- newDividendTracker.excludeFromDividends(owner()) (#1441)
- newDividendTracker.excludeFromDividends(deadWallet) (#1442)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1443)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1445)
Apply the check-effects-interactions pattern.
Additional information: link
DogeVilleDividendTracker.getAccount(address) (#1859-1902) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1899-1901)
DogeVilleDividendTracker.canAutoClaim(uint256) (#1923-1929) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1924)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1928)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#315-318) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1038-1044) is never used and should be removed
SafeMath.mod(uint256,uint256) (#573-575) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#589-592) is never used and should be removed
SafeMathInt.abs(int256) (#197-200) is never used and should be removed
SafeMathInt.div(int256,int256) (#168-174) is never used and should be removed
SafeMathInt.mul(int256,int256) (#156-163) is never used and should be removed
Remove unused functions.
Additional information: link
DogeVille.totalFees (#1346) is set pre-construction with a non-constant function or state variable:
- USDTRewardsFee.add(liquidityFee).add(marketingFee)
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
Pragma version^0.6.2 (#5) allows old versions
Pragma version^0.6.2 (#89) allows old versions
Pragma version^0.6.2 (#143) allows old versions
Pragma version^0.6.2 (#213) allows old versions
Pragma version^0.6.2 (#231) allows old versions
Pragma version^0.6.2 (#259) allows old versions
Pragma version^0.6.2 (#298) allows old versions
Pragma version^0.6.2 (#324) allows old versions
Pragma version^0.6.2 (#383) allows old versions
Pragma version^0.6.2 (#450) allows old versions
Pragma version^0.6.2 (#599) allows old versions
Pragma version^0.6.2 (#911) allows old versions
Pragma version^0.6.2 (#1085) allows old versions
Pragma version^0.6.2 (#1230) allows old versions
Pragma version^0.6.2 (#1252) allows old versions
Pragma version^0.6.2 (#1316) 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
Parameter DividendPayingToken.dividendOf(address)._owner (#1004) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1011) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1018) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1028) is not in mixedCase
Variable DividendPayingToken.USDT (#930) is not in mixedCase
Constant DividendPayingToken.magnitude (#936) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router01.WETH() (#1089) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#1269) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#1270) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1287) is not in mixedCase
Variable DogeVille.USDT (#1337) is not in mixedCase
Variable DogeVille._isBlacklisted (#1341) is not in mixedCase
Variable DogeVille.USDTRewardsFee (#1343) is not in mixedCase
Variable DogeVille._marketingWalletAddress (#1348) is not in mixedCase
Parameter DogeVilleDividendTracker.getAccount(address)._account (#1859) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#316)" inContext (#310-319)
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 (#1094) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1095)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#983) is too similar to DogeVilleDividendTracker.getAccount(address).withdrawableDividends (#1864)
Prevent variables from having similar names.
Additional information: link
SafeMathInt.MAX_INT256 (#151) is never used in SafeMathInt (#149-207)
Remove unused state variables.
Additional information: link
DogeVille.deadWallet (#1335) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#363-366)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#372-376)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#394-396)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#398-403)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#405-407)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#411-413)
name() should be declared external:
- ERC20.name() (#658-660)
symbol() should be declared external:
- ERC20.symbol() (#666-668)
decimals() should be declared external:
- ERC20.decimals() (#683-685)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#709-712)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#717-719)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#728-731)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#746-754)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#768-771)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#787-790)
distributeUSDTDividends(uint256) should be declared external:
- DividendPayingToken.distributeUSDTDividends(uint256) (#961-972)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#976-978)
- DogeVilleDividendTracker.withdrawDividend() (#1824-1826)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1004-1006)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1018-1020)
updateDividendTracker(address) should be declared external:
- DogeVille.updateDividendTracker(address) (#1432-1448)
updateUniswapV2Router(address) should be declared external:
- DogeVille.updateUniswapV2Router(address) (#1450-1457)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- DogeVille.excludeMultipleAccountsFromFees(address[],bool) (#1466-1472)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- DogeVille.setAutomatedMarketMakerPair(address,bool) (#1497-1501)
updateGasForProcessing(uint256) should be declared external:
- DogeVille.updateGasForProcessing(uint256) (#1518-1523)
isExcludedFromFees(address) should be declared external:
- DogeVille.isExcludedFromFees(address) (#1560-1562)
withdrawableDividendOf(address) should be declared external:
- DogeVille.withdrawableDividendOf(address) (#1564-1566)
dividendTokenBalanceOf(address) should be declared external:
- DogeVille.dividendTokenBalanceOf(address) (#1568-1570)
getAccountAtIndex(uint256) should be declared external:
- DogeVilleDividendTracker.getAccountAtIndex(uint256) (#1904-1921)
process(uint256) should be declared external:
- DogeVilleDividendTracker.process(uint256) (#1948-1993)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Contract has 12% buy tax and 13% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
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 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