DogeKingZilla Token Logo

DKZILLA [DogeKingZilla] Token

About DKZILLA

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 5 February 2022

report
Code:

Hitler.swapBack() (#326-367) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link


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

Reentrancy in Hitler._transferFrom(address,address,uint256) (#268-288):
External calls:
- swapBack() (#277)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#337-343)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
External calls sending eth:
- swapBack() (#277)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#281)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#284)
- amountReceived = takeFee(sender,recipient,amount) (#283)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#314)
Apply the check-effects-interactions pattern.

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.


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.

authorize(address) should be declared external:
- Auth.authorize(address) (#95-97)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#102-104)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#123-127)
transferForeignToken(address) should be declared external:
- Hitler.transferForeignToken(address) (#426-430)
isOverLiquified(uint256,uint256) should be declared external:
- Hitler.isOverLiquified(uint256,uint256) (#440-442)
Use the external attribute for functions never called from the contract.

Additional information: link

Hitler.swapBack() (#326-367) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
Ensure that all the return values of the function calls are used.

Additional information: link

Hitler.setTxLimit(uint256) (#390-393) should emit an event for:
- _maxTxAmount = amount (#392)
Hitler.setFees(uint256,uint256,uint256,uint256) (#408-414) should emit an event for:
- liquidityFee = _liquidityFee (#409)
- buybackFee = _buybackFee (#410)
- marketingFee = _marketingFee (#411)
- totalFee = _liquidityFee.add(_buybackFee).add(_marketingFee) (#412)
- feeDenominator = _feeDenominator (#413)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#123) lacks a zero-check on :
- owner = adr (#124)
Hitler.setFeeReceiver(address,address)._marketingFeeReceiver (#416) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#417)
Hitler.setFeeReceiver(address,address)._buybackFeeReceiver (#416) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#418)
Check that the address is not zero.

Additional information: link

Reentrancy in Hitler._transferFrom(address,address,uint256) (#268-288):
External calls:
- swapBack() (#277)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#337-343)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
External calls sending eth:
- swapBack() (#277)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
State variables written after the call(s):
- launch() (#279)
- launchedAt = block.number (#387)
Reentrancy in Hitler.constructor() (#223-234):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#225)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#226)
- _balances[_owner] = _totalSupply (#232)
- isFeeExempt[_owner] = true (#229)
- isTxLimitExempt[_owner] = true (#230)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Hitler._transferFrom(address,address,uint256) (#268-288):
External calls:
- swapBack() (#277)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#337-343)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
External calls sending eth:
- swapBack() (#277)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#315)
- amountReceived = takeFee(sender,recipient,amount) (#283)
- Transfer(sender,recipient,amountReceived) (#286)
Reentrancy in Hitler.constructor() (#223-234):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#225)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#233)
Reentrancy in Hitler.swapBack() (#326-367):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#337-343)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#357-364)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#365)
Apply the check-effects-interactions pattern.

Additional information: link

Hitler.buyTokens(uint256,address) (#369-380) is never used and should be removed
Remove unused functions.

Additional information: link

Hitler._maxTxAmount (#196) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
Hitler._maxWalletSize (#197) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
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 Hitler.swapBack() (#326-367):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#351)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#353)
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() (#138) is not in mixedCase
Parameter Hitler.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#408) is not in mixedCase
Parameter Hitler.setFees(uint256,uint256,uint256,uint256)._buybackFee (#408) is not in mixedCase
Parameter Hitler.setFees(uint256,uint256,uint256,uint256)._marketingFee (#408) is not in mixedCase
Parameter Hitler.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#408) is not in mixedCase
Parameter Hitler.setFeeReceiver(address,address)._marketingFeeReceiver (#416) is not in mixedCase
Parameter Hitler.setFeeReceiver(address,address)._buybackFeeReceiver (#416) is not in mixedCase
Parameter Hitler.transferForeignToken(address)._token (#426) is not in mixedCase
Variable Hitler.WBNB (#187) is not in mixedCase
Variable Hitler.DEAD (#188) is not in mixedCase
Variable Hitler.ZERO (#189) is not in mixedCase
Constant Hitler._name (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Hitler._symbol (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Hitler._decimals (#193) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Hitler._totalSupply (#195) is not in mixedCase
Variable Hitler._maxTxAmount (#196) is not in mixedCase
Variable Hitler._maxWalletSize (#197) is not in mixedCase
Variable Hitler._balances (#199) is not in mixedCase
Variable Hitler._allowances (#200) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#143) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#144)
Prevent variables from having similar names.

Additional information: link

Hitler.slitherConstructorVariables() (#184-446) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#188)
Hitler.slitherConstructorVariables() (#184-446) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#189)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Hitler.DEAD (#188) should be constant
Hitler.WBNB (#187) should be constant
Hitler.ZERO (#189) should be constant
Hitler._totalSupply (#195) should be constant
Hitler.swapThreshold (#219) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


Unable to find Twitter account


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

Search:


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for DKZILLA