Doges Among Us (DAU) is an online multiplayer defi social deduction game built for Binance Smart Chain and the Metaverse. The game was inspired by the party game Clue and the hit Daniel Craig film Knives Out as well as Aliens.
The game is Free to Play as well as Play to Earn
Players can mint their main Doge characters to join teams, collaborate, play, and deduce.
Players will earn crypto by playing or contributing to the community.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DAU.rescueToken(address,uint256) (#494-496) ignores return value by IBEP20(_token).transfer(owner(),_amount) (#495)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in DAU._transferFrom(address,address,uint256) (#282-306):
External calls:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#386-396)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- buyBackTokens() (#294)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#435-442)
External calls sending eth:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- buyBackTokens() (#294)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#435-442)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#299)
- amountReceived = takeFee(sender,recipient,amount) (#301)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#331)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#302)
- buyBackTokens() (#294)
- inSwap = true (#502)
- inSwap = false (#502)
Apply the check-effects-interactions pattern.
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.
DAU.swapAndLiquify(uint256) (#349-375) performs a multiplication on the result of a division:
-amountLiqBNB = (newBalance.mul(liquidityFee.div(2))).div(tfee) (#368)
Consider ordering multiplication before division.
Additional information: link
DAU.swapAndLiquify(uint256) (#349-375) ignores return value by address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
DAU.swapTokensForEth(uint256).e (#392) is a local variable never initialized
DAU.addLiquidity(uint256,uint256).e (#412) 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
DAU.addLiquidity(uint256,uint256) (#399-417) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
Ensure that all the return values of the function calls are used.
Additional information: link
DAU.setdevWallet(address)._dev (#472) lacks a zero-check on :
- dev = _dev (#473)
Check that the address is not zero.
Additional information: link
Context._msgData() (#52-55) is never used and should be removed
Remove unused functions.
Additional information: link
DAU.slitherConstructorVariables() (#179-519) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#181)
DAU.slitherConstructorVariables() (#179-519) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#182)
DAU.slitherConstructorVariables() (#179-519) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#201)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DAU.DEAD (#181) should be constant
DAU.WBNB (#180) should be constant
DAU.ZERO (#182) should be constant
DAU._totalSupply (#201) should be constant
DAU.feeDenominator (#213) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
DAU.setTxLimit(uint256) (#447-449) should emit an event for:
- _maxTxAmount = amount (#448)
DAU.setExtraFeeOnSell(uint256) (#459-462) should emit an event for:
- extraFeeOnSell = _extraFee (#461)
DAU.setFees(uint256,uint256,uint256) (#464-470) should emit an event for:
- liquidityFee = _liquidityFee (#465)
- devFee = _devFee (#466)
- burnFee = _burnFee (#467)
- totalFee = _liquidityFee.add(_devFee).add(burnFee) (#468)
DAU.setBuyback(bool,uint256) (#481-484) should emit an event for:
- buyBackUpperLimit = _buyBackUpperLimit (#483)
Emit an event for critical parameter changes.
Additional information: link
Variable 'DAU.swapTokensForEth(uint256).e (#392)' in DAU.swapTokensForEth(uint256) (#377-397) potentially used before declaration: SwapTokenForETHFailed(string(abi.encodePacked(SwapTokenForETHFailed failed with error ,e))) (#393)
Variable 'DAU.addLiquidity(uint256,uint256).e (#412)' in DAU.addLiquidity(uint256,uint256) (#399-417) potentially used before declaration: AddLiquidityFailed(string(abi.encodePacked(AddLiquidityFailed failed with error ,e))) (#413)
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 DAU.constructor() (#230-249):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#232)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = ~ uint256(0) (#233)
- _balances[owner_] = _totalSupply (#247)
- dev = msg.sender (#245)
- excludeFee[owner_] = true (#237)
- excludeFee[address(this)] = true (#239)
- excludeMaxTxn[owner_] = true (#238)
- excludeMaxTxn[address(this)] = true (#240)
- permitted[msg.sender] = true (#242)
- permitted[address(this)] = true (#243)
Reentrancy in DAU.swapAndLiquify(uint256) (#349-375):
External calls:
- swapTokensForEth(swapAmount) (#362)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#386-396)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
External calls sending eth:
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
State variables written after the call(s):
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- _allowances[msg.sender][spender] = amount (#261)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DAU._transferFrom(address,address,uint256) (#282-306):
External calls:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#386-396)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- buyBackTokens() (#294)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#435-442)
External calls sending eth:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- buyBackTokens() (#294)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#435-442)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#443)
- buyBackTokens() (#294)
- Transfer(sender,address(this),feeAmount) (#332)
- amountReceived = takeFee(sender,recipient,amount) (#301)
- Transfer(sender,recipient,amountReceived) (#304)
Reentrancy in DAU.addLiquidity(uint256,uint256) (#399-417):
External calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
Event emitted after the call(s):
- AddLiquidityFailed(string(abi.encodePacked(AddLiquidityFailed failed with error ,e))) (#413)
- AddLiquidityFailed(AddLiquidityFailed failed without an error message from pancakeSwap) (#415)
Reentrancy in DAU.constructor() (#230-249):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#232)
Event emitted after the call(s):
- Transfer(address(0),owner_,_totalSupply) (#248)
Reentrancy in DAU.swapAndLiquify(uint256) (#349-375):
External calls:
- swapTokensForEth(swapAmount) (#362)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#386-396)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
External calls sending eth:
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#405-416)
Event emitted after the call(s):
- AddLiquidityFailed(string(abi.encodePacked(AddLiquidityFailed failed with error ,e))) (#413)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- AddLiquidityFailed(AddLiquidityFailed failed without an error message from pancakeSwap) (#415)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- Approval(msg.sender,spender,amount) (#262)
- addLiquidity(liqAmount,amountLiqBNB) (#372)
- SwapAndLiquify(swapAmount,newBalance,liqAmount) (#374)
Reentrancy in DAU.swapBnbForTokens(uint256) (#428-444):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#435-442)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#443)
Reentrancy in DAU.swapTokensForEth(uint256) (#377-397):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#386-396)
Event emitted after the call(s):
- SwapTokenForETHFailed(string(abi.encodePacked(SwapTokenForETHFailed failed with error ,e))) (#393)
- SwapTokenForETHFailed(SwapTokenForETHFailed failed without an error message from pancakeSwap) (#395)
Apply the check-effects-interactions pattern.
Additional information: link
DAU._maxTxAmount (#207) is set pre-construction with a non-constant function or state variable:
- _totalSupply
DAU.totalFee (#212) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(devFee).add(burnFee)
DAU.swapThreshold (#222) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 5000
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
Low level call in DAU.swapAndLiquify(uint256) (#349-375):
- address(dev).call{gas: 30000,value: amountBNBdev}() (#370)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#133) is not in mixedCase
Parameter DAU.setExtraFeeOnSell(uint256)._extraFee (#459) is not in mixedCase
Parameter DAU.setFees(uint256,uint256,uint256)._liquidityFee (#464) is not in mixedCase
Parameter DAU.setFees(uint256,uint256,uint256)._devFee (#464) is not in mixedCase
Parameter DAU.setFees(uint256,uint256,uint256)._burnFee (#464) is not in mixedCase
Parameter DAU.setdevWallet(address)._dev (#472) is not in mixedCase
Parameter DAU.setSwapBackSettings(bool,uint256)._enabled (#476) is not in mixedCase
Parameter DAU.setSwapBackSettings(bool,uint256)._amount (#476) is not in mixedCase
Parameter DAU.setBuyback(bool,uint256)._enabled (#481) is not in mixedCase
Parameter DAU.setBuyback(bool,uint256)._buyBackUpperLimit (#481) is not in mixedCase
Parameter DAU.rescueToken(address,uint256)._token (#494) is not in mixedCase
Parameter DAU.rescueToken(address,uint256)._amount (#494) is not in mixedCase
Parameter DAU.rescueBnb(uint256)._amount (#498) is not in mixedCase
Parameter DAU.setAllow(address[],bool)._users (#513) is not in mixedCase
Variable DAU.WBNB (#180) is not in mixedCase
Variable DAU.DEAD (#181) is not in mixedCase
Variable DAU.ZERO (#182) is not in mixedCase
Variable DAU._balances (#195) is not in mixedCase
Variable DAU._allowances (#196) is not in mixedCase
Constant DAU._name (#198) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DAU._symbol (#199) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DAU._decimals (#200) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DAU._totalSupply (#201) is not in mixedCase
Variable DAU._maxTxAmount (#207) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#53)" inContext (#47-56)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#138) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#139)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#94-97)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#103-107)
getCirculatingSupply() should be declared external:
- DAU.getCirculatingSupply() (#486-488)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
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 Telegram link on the website
Unable to find Twitter link on the website
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts