DogeKing Grow Token Logo

DKGROW [DogeKing Grow] Token

ALERT: honeypot scam

About DKGROW

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 15 August 2022

report
Token seems to be a scam (type: honeypot scam).

DogekingGrow.addLiquidity(uint256,uint256) (#517-530) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DogekingGrow._transfer(address,address,uint256) (#429-454):
External calls:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- _rOwned[address(this)] += rMarketing (#353)
- _rOwned[address(this)] += rLiquidity (#343)
- _rOwned[address(this)] += rDev (#363)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#468)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#469)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- _rTotal -= rRfi (#332)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- _tOwned[address(this)] += tDev (#361)
- _tOwned[address(this)] += tMarketing (#351)
- _tOwned[sender] = _tOwned[sender] - tAmount (#462)
- _tOwned[address(this)] += tLiquidity (#341)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#465)
Apply the check-effects-interactions pattern.

Additional information: link

DogekingGrow.rescueAnyBEP20Tokens(address,address,uint256) (#607-610) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#609)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


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.


Contract ownership is not renounced (belongs to a wallet)

DogekingGrow.swapAndLiquify(uint256) (#487-515) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (#498)
-bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity (#499)
DogekingGrow.swapAndLiquify(uint256) (#487-515) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (#498)
-marketingAmt = unitBalance * 2 * sellTaxes.marketing (#506)
DogekingGrow.swapAndLiquify(uint256) (#487-515) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (#498)
-devAmt = unitBalance * 2 * sellTaxes.dev (#511)
Consider ordering multiplication before division.

Additional information: link

DogekingGrow.addLiquidity(uint256,uint256) (#517-530) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
Ensure that all the return values of the function calls are used.

Additional information: link

DogekingGrow.allowance(address,address).owner (#226) shadows:
- Ownable.owner() (#57-59) (function)
DogekingGrow._approve(address,address,uint256).owner (#422) shadows:
- Ownable.owner() (#57-59) (function)
Rename the local variables that shadow another component.

Additional information: link

DogekingGrow.updateMaxWalletBalance(uint256) (#558-560) should emit an event for:
- maxWalletBalance = amount * 10 ** _decimals (#559)
DogekingGrow.updatMaxBuyAmt(uint256) (#562-564) should emit an event for:
- maxBuyAmount = amount * 10 ** _decimals (#563)
DogekingGrow.updatMaxSellAmt(uint256) (#566-568) should emit an event for:
- maxSellAmount = amount * 10 ** _decimals (#567)
DogekingGrow.updateSwapTokensAtAmount(uint256) (#570-572) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#571)
Emit an event for critical parameter changes.

Additional information: link

DogekingGrow.updateMarketingWallet(address).newWallet (#550) lacks a zero-check on :
- marketingAddress = newWallet (#551)
DogekingGrow.updateDevWallet(address).newDevWallet (#554) lacks a zero-check on :
- devAddress = newDevWallet (#555)
DogekingGrow.updateRouterAndPair(address,address).newPair (#589) lacks a zero-check on :
- pair = newPair (#591)
Check that the address is not zero.

Additional information: link

Reentrancy in DogekingGrow._transfer(address,address,uint256) (#429-454):
External calls:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- totFeesPaid.dev += tDev (#357)
- totFeesPaid.marketing += tMarketing (#347)
- totFeesPaid.liquidity += tLiquidity (#337)
- totFeesPaid.rfi += tRfi (#333)
Reentrancy in DogekingGrow.constructor() (#183-200):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#185-186)
State variables written after the call(s):
- excludeFromReward(pair) (#191)
- _excluded.push(account) (#285)
- excludeFromReward(pair) (#191)
- _isExcluded[account] = true (#284)
- _isExcludedFromFee[owner()] = true (#194)
- _isExcludedFromFee[address(this)] = true (#195)
- _isExcludedFromFee[marketingAddress] = true (#196)
- _isExcludedFromFee[devAddress] = true (#197)
- _rOwned[owner()] = _rTotal (#193)
- excludeFromReward(pair) (#191)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#282)
- pair = _pair (#189)
- router = _router (#188)
Reentrancy in DogekingGrow.swapAndLiquify(uint256) (#487-515):
External calls:
- swapTokensForBNB(toSwap) (#495)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#503)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#503)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#503)
- _allowances[owner][spender] = amount (#425)
Reentrancy in DogekingGrow.transferFrom(address,address,uint256) (#235-243):
External calls:
- _transfer(sender,recipient,amount) (#236)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
External calls sending eth:
- _transfer(sender,recipient,amount) (#236)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#240)
- _allowances[owner][spender] = amount (#425)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DogekingGrow._transfer(address,address,uint256) (#429-454):
External calls:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
Event emitted after the call(s):
- Transfer(sender,recipient,s.tTransferAmount) (#482)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- Transfer(sender,address(this),s.tLiquidity + s.tDev + s.tMarketing) (#483)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
Reentrancy in DogekingGrow.constructor() (#183-200):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#185-186)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#199)
Reentrancy in DogekingGrow.swapAndLiquify(uint256) (#487-515):
External calls:
- swapTokensForBNB(toSwap) (#495)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#503)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#503)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#426)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#503)
Reentrancy in DogekingGrow.transferFrom(address,address,uint256) (#235-243):
External calls:
- _transfer(sender,recipient,amount) (#236)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#541-547)
External calls sending eth:
- _transfer(sender,recipient,amount) (#236)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#426)
- _approve(sender,_msgSender(),currentAllowance - amount) (#240)
Apply the check-effects-interactions pattern.

Additional information: link

DogekingGrow.includeInReward(address) (#288-299) has costly operations inside a loop:
- _excluded.pop() (#295)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#42-45) is never used and should be removed
Remove unused functions.

Additional information: link

DogekingGrow._rTotal (#127) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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.8.10 (#13) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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

Function IRouter.WETH() (#88) is not in mixedCase
Struct DogekingGrow.valuesFromGetValues (#161-173) is not in CapWords
Parameter DogekingGrow.setTaxes(uint256,uint256,uint256,uint256)._rfi (#315) is not in mixedCase
Parameter DogekingGrow.setTaxes(uint256,uint256,uint256,uint256)._marketing (#315) is not in mixedCase
Parameter DogekingGrow.setTaxes(uint256,uint256,uint256,uint256)._dev (#315) is not in mixedCase
Parameter DogekingGrow.setTaxes(uint256,uint256,uint256,uint256)._liquidity (#315) is not in mixedCase
Parameter DogekingGrow.setSellTaxes(uint256,uint256,uint256,uint256)._rfi (#323) is not in mixedCase
Parameter DogekingGrow.setSellTaxes(uint256,uint256,uint256,uint256)._marketing (#323) is not in mixedCase
Parameter DogekingGrow.setSellTaxes(uint256,uint256,uint256,uint256)._dev (#323) is not in mixedCase
Parameter DogekingGrow.setSellTaxes(uint256,uint256,uint256,uint256)._liquidity (#323) is not in mixedCase
Parameter DogekingGrow.updateSwapEnabled(bool)._enabled (#574) is not in mixedCase
Parameter DogekingGrow.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#607) is not in mixedCase
Parameter DogekingGrow.rescueAnyBEP20Tokens(address,address,uint256)._to (#607) is not in mixedCase
Parameter DogekingGrow.rescueAnyBEP20Tokens(address,address,uint256)._amount (#607) is not in mixedCase
Constant DogekingGrow._decimals (#123) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogekingGrow._name (#139) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogekingGrow._symbol (#140) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#43)" inContext (#37-46)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in DogekingGrow._transfer(address,address,uint256) (#429-454):
External calls:
- swapAndLiquify(swapTokensAtAmount) (#450)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (#450)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- _rOwned[address(this)] += rMarketing (#353)
- _rOwned[address(this)] += rLiquidity (#343)
- _rOwned[address(this)] += rDev (#363)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#468)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#469)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- _rTotal -= rRfi (#332)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- _tOwned[address(this)] += tDev (#361)
- _tOwned[address(this)] += tMarketing (#351)
- _tOwned[sender] = _tOwned[sender] - tAmount (#462)
- _tOwned[address(this)] += tLiquidity (#341)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#465)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- totFeesPaid.dev += tDev (#357)
- totFeesPaid.marketing += tMarketing (#347)
- totFeesPaid.liquidity += tLiquidity (#337)
- totFeesPaid.rfi += tRfi (#333)
Event emitted after the call(s):
- Transfer(sender,recipient,s.tTransferAmount) (#482)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
- Transfer(sender,address(this),s.tLiquidity + s.tDev + s.tMarketing) (#483)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),to == pair) (#453)
Reentrancy in DogekingGrow.transferFrom(address,address,uint256) (#235-243):
External calls:
- _transfer(sender,recipient,amount) (#236)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
External calls sending eth:
- _transfer(sender,recipient,amount) (#236)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#522-529)
- address(marketingAddress).transfer(marketingAmt) (#508)
- address(devAddress).transfer(devAmt) (#513)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#240)
- _allowances[owner][spender] = amount (#425)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#426)
- _approve(sender,_msgSender(),currentAllowance - amount) (#240)
Apply the check-effects-interactions pattern.

Additional information: link

DogekingGrow._tTotal (#126) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#66-68)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#70-73)
name() should be declared external:
- DogekingGrow.name() (#202-204)
symbol() should be declared external:
- DogekingGrow.symbol() (#205-207)
decimals() should be declared external:
- DogekingGrow.decimals() (#208-210)
totalSupply() should be declared external:
- DogekingGrow.totalSupply() (#212-214)
transfer(address,uint256) should be declared external:
- DogekingGrow.transfer(address,uint256) (#221-224)
allowance(address,address) should be declared external:
- DogekingGrow.allowance(address,address) (#226-228)
approve(address,uint256) should be declared external:
- DogekingGrow.approve(address,uint256) (#230-233)
transferFrom(address,address,uint256) should be declared external:
- DogekingGrow.transferFrom(address,address,uint256) (#235-243)
increaseAllowance(address,uint256) should be declared external:
- DogekingGrow.increaseAllowance(address,uint256) (#245-248)
decreaseAllowance(address,uint256) should be declared external:
- DogekingGrow.decreaseAllowance(address,uint256) (#250-256)
isExcludedFromReward(address) should be declared external:
- DogekingGrow.isExcludedFromReward(address) (#258-260)
reflectionFromToken(uint256,bool,bool) should be declared external:
- DogekingGrow.reflectionFromToken(uint256,bool,bool) (#262-271)
excludeFromFee(address) should be declared external:
- DogekingGrow.excludeFromFee(address) (#302-304)
includeInFee(address) should be declared external:
- DogekingGrow.includeInFee(address) (#306-308)
isExcludedFromFee(address) should be declared external:
- DogekingGrow.isExcludedFromFee(address) (#311-313)
setTaxes(uint256,uint256,uint256,uint256) should be declared external:
- DogekingGrow.setTaxes(uint256,uint256,uint256,uint256) (#315-321)
setSellTaxes(uint256,uint256,uint256,uint256) should be declared external:
- DogekingGrow.setSellTaxes(uint256,uint256,uint256,uint256) (#323-329)
isBot(address) should be declared external:
- DogekingGrow.isBot(address) (#594-596)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- DogekingGrow.rescueAnyBEP20Tokens(address,address,uint256) (#607-610)
Use the external attribute for functions never called from the contract.

Additional information: link


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average 30d PancakeSwap liquidity is low.


Average 30d PancakeSwap volume is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for DKGROW