DogeBeer Token Logo

DBeer [DogeBeer] Token

About DBeer

Listings

Token 9 months
white paper

The Official Beer On The Moon. DogeBeer because you can’t drink Bitcoin.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links

DogeBeer.addLiquidity(uint256,uint256) (#871-881) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DogeBeer._transfer(address,address,uint256) (#810-845):
External calls:
- swapAndLiquify(contractTokenBalance) (#836)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#862-868)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#836)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#844)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#751)
- _rOwned[_devWalletAddress] = _rOwned[_devWalletAddress].add(rDev) (#759)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#915)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#905)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#906)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#657)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#927)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#928)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#917)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#659)
- _tokenTransfer(from,to,amount,takeFee) (#844)
- _rTotal = _rTotal.sub(rFee) (#704)
- _tokenTransfer(from,to,amount,takeFee) (#844)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#753)
- _tOwned[_devWalletAddress] = _tOwned[_devWalletAddress].add(tDev) (#761)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#926)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#656)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#916)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#658)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)


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.

DogeBeer.constructor(string,string,uint256,uint256,uint256,uint256,uint256,address,address,address,address) (#510-546) performs a multiplication on the result of a division:
-numTokensSellToAddToLiquidity = (_tTotal * 5 / 10000) * 10 ** _decimals (#524)
Consider ordering multiplication before division.

Additional information: link

DogeBeer.addLiquidity(uint256,uint256) (#871-881) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
Ensure that all the return values of the function calls are used.

Additional information: link

DogeBeer._approve(address,address,uint256).owner (#802) shadows:
- Ownable.owner() (#238-240) (function)
Rename the local variables that shadow another component.

Additional information: link

DogeBeer.setNumTokensSellToAddToLiquidity(uint256) (#942-944) should emit an event for:
- numTokensSellToAddToLiquidity = amountToUpdate (#943)
Emit an event for critical parameter changes.

Additional information: link

DogeBeer.setDevWalletAddress(address)._addr (#690) lacks a zero-check on :
- _devWalletAddress = _addr (#691)
Check that the address is not zero.

Additional information: link

Reentrancy in DogeBeer.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#862-868)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
- _allowances[owner][spender] = amount (#806)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DogeBeer.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#862-868)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#873-880)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#807)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#269-274) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked.) (#271)
Avoid relying on block.timestamp.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#209-222) uses assembly
- INLINE ASM (#214-217)
Do not use evm assembly.

Additional information: link

SafeMath.trySub(uint256,uint256) (#62-67) is never used and should be removed
Remove unused functions.

Additional information: link

solc-0.8.6 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Low level call in Address.functionDelegateCall(address,bytes,string) (#203-207):
- (success,returndata) = target.delegatecall(data) (#205)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable DogeBeer._maxTxAmount (#494) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#149)" inContext (#143-152)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in DogeBeer.constructor(string,string,uint256,uint256,uint256,uint256,uint256,address,address,address,address) (#510-546):
External calls:
- address(service).transfer(msg.value) (#542)
Event emitted after the call(s):
- Transfer(address(0),tokenOwner,_tTotal) (#543)
Apply the check-effects-interactions pattern.

Additional information: link

Variable DogeBeer.reflectionFromToken(uint256,bool).rTransferAmount (#622) is too similar to DogeBeer._transferFromExcluded(address,address,uint256).tTransferAmount (#925)
Prevent variables from having similar names.

Additional information: link

isExcludedFromFee(address) should be declared external:
- DogeBeer.isExcludedFromFee(address) (#798-800)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find code repository for the project


Young tokens have high risks of scam / 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

Price for DBeer