DBQuest Token Logo

DBQ [DBQuest] Token

About DBQ

Listings

Token 3 months
CoinMarketCap 2 months

Website

[CoinGecko] alert: Set Tax Notice: The following token has a variable tax function on the smart contract - which allows contract owners to change tax rates post deployment.
Do your own research and be careful if you are trading this token.
white paper

DBquest is a BSC BEP20 token with an interactive staking platform where you get daily chances to find Airdrops or other rewards. The Platform will be focussing on strategic partnerships with influencers, other projects, companies and other entities. The roadmap includes cross chain 3 dimensional NFT's that will be used in the P2E turn based card game.

Social

Laser Scorebeta Last Audit: 21 February 2022

report
Code:


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

DBQ._swapBack(uint256) (DBQ.sol#150-195) sends eth to arbitrary user
Dangerous calls:
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DBQ._transfer(address,address,uint256) (DBQ.sol#72-86):
External calls:
- _swapBack(swapAmount) (DBQ.sol#81)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
External calls sending eth:
- _swapBack(swapAmount) (DBQ.sol#81)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
State variables written after the call(s):
- amountAfterTaxes = _takeTax(sender,recipient,amount) (DBQ.sol#83)
- _balances[sender] = senderBalance - amount (BEP20.sol#97)
- _balances[recipient] += amount (BEP20.sol#99)
- super._transfer(sender,recipient,amountAfterTaxes) (DBQ.sol#85)
- _balances[sender] = senderBalance - amount (BEP20.sol#97)
- _balances[recipient] += amount (BEP20.sol#99)
Apply the check-effects-interactions pattern.

Additional information: link

DBQ.recoverBEP20(IBEP20,address) (DBQ.sol#230-235) ignores return value by token.transfer(recipient,amount) (DBQ.sol#233)
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.

DBQ._swapBack(uint256) (DBQ.sol#150-195) ignores return value by ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
DBQ._swapBack(uint256) (DBQ.sol#150-195) ignores return value by ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
Ensure that all the return values of the function calls are used.

Additional information: link

BEP20.constructor(address,address).owner (BEP20.sol#17) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
BEP20.allowance(address,address).owner (BEP20.sol#52) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
BEP20._approve(address,address,uint256).owner (BEP20.sol#104) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
DBQ.constructor(address,address,address,address).owner (DBQ.sol#60) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
Rename the local variables that shadow another component.

Additional information: link

DBQ.constructor(address,address,address,address).spark (DBQ.sol#60) lacks a zero-check on :
- sparkWallet = spark (DBQ.sol#65)
DBQ.constructor(address,address,address,address).marketing (DBQ.sol#60) lacks a zero-check on :
- marketingWallet = marketing (DBQ.sol#66)
DBQ.recoverBNB(address).recipient (DBQ.sol#223) lacks a zero-check on :
- (sent) = address(recipient).call{gas: transferGas,value: amount}() (DBQ.sol#225)
Check that the address is not zero.

Additional information: link

Reentrancy in DBQ._swapBack(uint256) (DBQ.sol#150-195):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
External calls sending eth:
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
State variables written after the call(s):
- inSwap = false (DBQ.sol#194)
Reentrancy in DBQ.constructor(address,address,address,address) (DBQ.sol#60-68):
External calls:
- pair = IDEXFactory(ROUTER.factory()).createPair(ROUTER.WETH(),address(this)) (DBQ.sol#61)
State variables written after the call(s):
- _approve(address(this),address(ROUTER),type()(uint256).max) (DBQ.sol#62)
- _allowances[owner][spender] = amount (BEP20.sol#108)
- isMarketMaker[pair] = true (DBQ.sol#63)
- isWhitelisted[saleHost] = true (DBQ.sol#67)
- marketingWallet = marketing (DBQ.sol#66)
- sparkWallet = spark (DBQ.sol#65)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DBQ._swapBack(uint256) (DBQ.sol#150-195):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
External calls sending eth:
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
Event emitted after the call(s):
- DepositMarketing(marketingWallet,amountBNBMarketing) (DBQ.sol#177)
Reentrancy in DBQ._swapBack(uint256) (DBQ.sol#150-195):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
External calls sending eth:
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
Event emitted after the call(s):
- DepositSpark(sparkWallet,amountBNBSpark) (DBQ.sol#179)
Reentrancy in DBQ._swapBack(uint256) (DBQ.sol#150-195):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
External calls sending eth:
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
Event emitted after the call(s):
- AutoLiquidity(amountBNBLiquidity,liquidityTokens) (DBQ.sol#191)
Reentrancy in DBQ._transfer(address,address,uint256) (DBQ.sol#72-86):
External calls:
- _swapBack(swapAmount) (DBQ.sol#81)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
External calls sending eth:
- _swapBack(swapAmount) (DBQ.sol#81)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (BEP20.sol#101)
- super._transfer(sender,recipient,amountAfterTaxes) (DBQ.sol#85)
- Transfer(sender,recipient,amount) (BEP20.sol#101)
- amountAfterTaxes = _takeTax(sender,recipient,amount) (DBQ.sol#83)
Reentrancy in DBQ.constructor(address,address,address,address) (DBQ.sol#60-68):
External calls:
- pair = IDEXFactory(ROUTER.factory()).createPair(ROUTER.WETH(),address(this)) (DBQ.sol#61)
Event emitted after the call(s):
- Approval(owner,spender,amount) (BEP20.sol#109)
- _approve(address(this),address(ROUTER),type()(uint256).max) (DBQ.sol#62)
Reentrancy in DBQ.recoverBEP20(IBEP20,address) (DBQ.sol#230-235):
External calls:
- token.transfer(recipient,amount) (DBQ.sol#233)
Event emitted after the call(s):
- RecoverBEP20(address(token),recipient,amount) (DBQ.sol#234)
Reentrancy in DBQ.recoverBNB(address) (DBQ.sol#223-228):
External calls:
- (sent) = address(recipient).call{gas: transferGas,value: amount}() (DBQ.sol#225)
Event emitted after the call(s):
- RecoverBNB(recipient,amount) (DBQ.sol#227)
Reentrancy in DBQ.triggerSwapBack(bool,uint256) (DBQ.sol#216-221):
External calls:
- _swapBack(tokenAmount) (DBQ.sol#219)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (DBQ.sol#161-167)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
External calls sending eth:
- _swapBack(tokenAmount) (DBQ.sol#219)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (DBQ.sol#182-189)
Event emitted after the call(s):
- TriggerSwapBack(tokenAmount) (DBQ.sol#220)
Apply the check-effects-interactions pattern.

Additional information: link

DBQ.getDynamicBuyTax() (DBQ.sol#94-103) uses timestamp for comparisons
Dangerous comparisons:
- endingTime > block.timestamp (DBQ.sol#97)
DBQ.getDynamicSellTax() (DBQ.sol#109-118) uses timestamp for comparisons
Dangerous comparisons:
- endingTime > block.timestamp (DBQ.sol#112)
DBQ._takeTax(address,address,uint256) (DBQ.sol#124-131) uses timestamp for comparisons
Dangerous comparisons:
- taxAmount > 0 (DBQ.sol#128)
DBQ._shouldSwapBack(address) (DBQ.sol#146-148) uses timestamp for comparisons
Dangerous comparisons:
- isMarketMaker[recipient] && swapEnabled && balanceOf(address(this)) >= swapThreshold (DBQ.sol#147)
DBQ._swapBack(uint256) (DBQ.sol#150-195) uses timestamp for comparisons
Dangerous comparisons:
- liquidityTokens > 0 (DBQ.sol#181)
DBQ.triggerSwapBack(bool,uint256) (DBQ.sol#216-221) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(balanceOf(address(this)) >= tokenAmount,Insufficient balance) (DBQ.sol#218)
Avoid relying on block.timestamp.

Additional information: link

Pragma version0.8.11 (BEP20.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.11 (DBQ.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.11 (IBEP20.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.11 (IDEX.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.11 (Ownable.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 DBQ._swapBack(uint256) (DBQ.sol#150-195):
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DBQ.sol#176)
- (sparkSuccess) = address(sparkWallet).call{gas: transferGas,value: amountBNBSpark}() (DBQ.sol#178)
Low level call in DBQ.recoverBNB(address) (DBQ.sol#223-228):
- (sent) = address(recipient).call{gas: transferGas,value: amount}() (DBQ.sol#225)
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() (IDEX.sol#11) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

getOwner() should be declared external:
- BEP20.getOwner() (BEP20.sol#23-25)
totalSupply() should be declared external:
- BEP20.totalSupply() (BEP20.sol#39-41)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (BEP20.sol#61-73)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (BEP20.sol#75-78)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (BEP20.sol#80-88)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#20-24)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume 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.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 0% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Twitter account has relatively few followers


Unable to find Blog account (Reddit or Medium)


Unable to find Discord account

Search:


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 find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


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


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinMarketCap rank

Anti-Scam Checks

Price for DBQ

News for DBQ