CryptoHeadz Token Logo

HEADZ [CryptoHeadz] Token

ALERT: unclassified scam

About HEADZ

Listings

Token 7 months
CoinMarketCap 6 months
white paper

Originally launched on Oct 17th, 2021 as Squidanomics, CryptoHeadz has transformed to become something much more important than a TV-show-themed meme token. CryptoHeadZ is brings the NFT, Gaming, and Passive income fusion to make any crypto lover lose their head! The HEADZ community is a proud and active tribe of cryptocurrency traders, developers, gamers, and collectors from all over the world. Whether it is through their addictive games, lucrative giveaways, or inspiring NFT utility, the team is always striving to create the safest and most fun community on the Binance Smart Chain.

CryptoHeadZ the game is a 2D multiplayer platform shooter and the primary focus of the CryptoHeadZ token. The game is created with Unity and is available on any PC web browser. A combination PvE-PvP game, CryptoHeadZ allows players to battle against each other and/or computer-controlled characters in real-time, jumping and dodging environmental obstacles and hazards on an ever-growing collection of stages. Each player starts with a default weapon depending on which character they use, but there are other guns and items scattered throughout the battlefield that you may pick up and use to your advantage.

The tokenomics are also set up to reward those who share the long-term vision of CryptoHeadz. BUSD rewards are paid out to holders based on their holdings and the amount of trading volume that occurs. By HOLDing their tokens they will gain a stable reward that gives a constant passive income. There is also a portion of the trade tax that adds to the liquidity to consistently stabilize the price and reduce the price impact that occurs when people enter or leave the project. Lastly, the marketing tax makes sure that the token gets the exposure required to grow & find new investors while the development tax ensures that there will always be exciting things right around the corner for investors.

Laser Scorebeta Last Audit: 2 February 2022

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


Contract creator or owner is blacklisted for past scams

CryptoHeadz.addLiquidity(uint256,uint256) (CryptoHeadz.sol#504-519) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422):
External calls:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#494-500)
- address(marketingWallet).sendValue(marketingWalletAmt) (CryptoHeadz.sol#446)
- address(devWallet).sendValue(devAmt) (CryptoHeadz.sol#452)
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (CryptoHeadz.sol#478)
- dividendTracker.distributeBUSDDividends(dividends) (CryptoHeadz.sol#481)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#466-472)
External calls sending eth:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
State variables written after the call(s):
- super._transfer(from,address(this),feeAmt) (CryptoHeadz.sol#407)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,to,amount) (CryptoHeadz.sol#409)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- swapping = false (CryptoHeadz.sol#389)
Apply the check-effects-interactions pattern.

Additional information: link

CryptoHeadz.rescueBEP20Tokens(address) (CryptoHeadz.sol#144-146) ignores return value by IERC20(tokenAddress).transfer(msg.sender,IERC20(tokenAddress).balanceOf(address(this))) (CryptoHeadz.sol#145)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


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.

Reentrancy in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422):
External calls:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#494-500)
- address(marketingWallet).sendValue(marketingWalletAmt) (CryptoHeadz.sol#446)
- address(devWallet).sendValue(devAmt) (CryptoHeadz.sol#452)
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (CryptoHeadz.sol#478)
- dividendTracker.distributeBUSDDividends(dividends) (CryptoHeadz.sol#481)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#466-472)
External calls sending eth:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in CryptoHeadz.constructor() (CryptoHeadz.sol#86-118):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (CryptoHeadz.sol#92)
State variables written after the call(s):
- pair = _pair (CryptoHeadz.sol#95)
- router = _router (CryptoHeadz.sol#94)
Reentrancy in CryptoHeadz.constructor() (CryptoHeadz.sol#86-118):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (CryptoHeadz.sol#92)
- _setAutomatedMarketMakerPair(_pair,true) (CryptoHeadz.sol#97)
- dividendTracker.excludeFromDividends(newPair,true) (CryptoHeadz.sol#263)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (CryptoHeadz.sol#101)
- dividendTracker.excludeFromDividends(address(this),true) (CryptoHeadz.sol#102)
- dividendTracker.excludeFromDividends(owner(),true) (CryptoHeadz.sol#103)
- dividendTracker.excludeFromDividends(address(0xdead),true) (CryptoHeadz.sol#104)
- dividendTracker.excludeFromDividends(address(_router),true) (CryptoHeadz.sol#105)
State variables written after the call(s):
- _mint(owner(),1e15 * (10 ** 9)) (CryptoHeadz.sol#117)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#240)
- excludeFromFees(owner(),true) (CryptoHeadz.sol#108)
- _isExcludedFromFees[account] = excluded (CryptoHeadz.sol#166)
- excludeFromFees(address(this),true) (CryptoHeadz.sol#109)
- _isExcludedFromFees[account] = excluded (CryptoHeadz.sol#166)
- excludeFromFees(marketingWallet,true) (CryptoHeadz.sol#110)
- _isExcludedFromFees[account] = excluded (CryptoHeadz.sol#166)
- excludeFromFees(devWallet,true) (CryptoHeadz.sol#111)
- _isExcludedFromFees[account] = excluded (CryptoHeadz.sol#166)
- _mint(owner(),1e15 * (10 ** 9)) (CryptoHeadz.sol#117)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#239)
Reentrancy in HEADZDividendTracker.processAccount(address,bool) (CryptoHeadz.sol#724-734):
External calls:
- amount = _withdrawDividendOfUser(account) (CryptoHeadz.sol#725)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (CryptoHeadz.sol#728)
Reentrancy in CryptoHeadz.swapAndLiquify(uint256) (CryptoHeadz.sol#424-454):
External calls:
- swapTokensForBNB(toSwap) (CryptoHeadz.sol#432)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#494-500)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (CryptoHeadz.sol#440)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (CryptoHeadz.sol#440)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (CryptoHeadz.sol#440)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in CryptoHeadz.updateDividendTracker(address) (CryptoHeadz.sol#121-129):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker),true) (CryptoHeadz.sol#124)
- newDividendTracker.excludeFromDividends(address(this),true) (CryptoHeadz.sol#125)
- newDividendTracker.excludeFromDividends(owner(),true) (CryptoHeadz.sol#126)
- newDividendTracker.excludeFromDividends(address(router),true) (CryptoHeadz.sol#127)
State variables written after the call(s):
- dividendTracker = newDividendTracker (CryptoHeadz.sol#128)
Apply the check-effects-interactions pattern.

Additional information: link

CryptoHeadz.swapAndLiquify(uint256) (CryptoHeadz.sol#424-454) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (CryptoHeadz.sol#435)
-bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity (CryptoHeadz.sol#436)
CryptoHeadz.swapAndLiquify(uint256) (CryptoHeadz.sol#424-454) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (CryptoHeadz.sol#435)
-marketingWalletAmt = unitBalance * 2 * sellTaxes.marketing (CryptoHeadz.sol#444)
CryptoHeadz.swapAndLiquify(uint256) (CryptoHeadz.sol#424-454) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (CryptoHeadz.sol#435)
-devAmt = unitBalance * 2 * sellTaxes.dev (CryptoHeadz.sol#450)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#74-90):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#82)
Apply the check-effects-interactions pattern.

Additional information: link

CryptoHeadz._transfer(address,address,uint256).feeAmt (CryptoHeadz.sol#402) is a local variable never initialized
CryptoHeadz._transfer(address,address,uint256).lastProcessedIndex (CryptoHeadz.sol#417) is a local variable never initialized
CryptoHeadz.setBulkBot(address[],bool).i (CryptoHeadz.sol#236) is a local variable never initialized
CryptoHeadz._transfer(address,address,uint256).iterations (CryptoHeadz.sol#417) is a local variable never initialized
CryptoHeadz.airdropTokens(address[],uint256[]).i (CryptoHeadz.sol#350) is a local variable never initialized
CryptoHeadz._transfer(address,address,uint256).claims (CryptoHeadz.sol#417) 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

CryptoHeadz.claim() (CryptoHeadz.sol#138-140) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (CryptoHeadz.sol#139)
CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422) ignores return value by dividendTracker.process(gas) (CryptoHeadz.sol#417-420)
CryptoHeadz.addLiquidity(uint256,uint256) (CryptoHeadz.sol#504-519) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#48) shadows:
- ERC20._name (ERC20.sol#42) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#48) shadows:
- ERC20._symbol (ERC20.sol#43) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#96) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#103) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#110) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#120) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

CryptoHeadz.setSwapTokensAtAmount(uint256) (CryptoHeadz.sol#199-201) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (CryptoHeadz.sol#200)
CryptoHeadz.setBuyTaxes(uint256,uint256,uint256,uint256) (CryptoHeadz.sol#203-206) should emit an event for:
- totalBuyTax = _rewards + _marketing + _liquidity + _dev (CryptoHeadz.sol#205)
CryptoHeadz.setSellTaxes(uint256,uint256,uint256,uint256) (CryptoHeadz.sol#208-211) should emit an event for:
- totalSellTax = _rewards + _marketing + _liquidity + _dev (CryptoHeadz.sol#210)
CryptoHeadz.setMaxTxAmount(uint256) (CryptoHeadz.sol#250-252) should emit an event for:
- maxTxAmount = amount * 10 ** 9 (CryptoHeadz.sol#251)
CryptoHeadz.setMaxWalletBalance(uint256) (CryptoHeadz.sol#254-256) should emit an event for:
- maxWalletAmount = amount * 10 ** 9 (CryptoHeadz.sol#255)
Emit an event for critical parameter changes.

Additional information: link

CryptoHeadz.setMarketingWallet(address).newWallet (CryptoHeadz.sol#189) lacks a zero-check on :
- marketingWallet = newWallet (CryptoHeadz.sol#190)
CryptoHeadz.setDevWallet(address).newWallet (CryptoHeadz.sol#193) lacks a zero-check on :
- devWallet = newWallet (CryptoHeadz.sol#194)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#74-90) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'CryptoHeadz._transfer(address,address,uint256).iterations (CryptoHeadz.sol#417)' in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (CryptoHeadz.sol#418)
Variable 'CryptoHeadz._transfer(address,address,uint256).lastProcessedIndex (CryptoHeadz.sol#417)' in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (CryptoHeadz.sol#418)
Variable 'CryptoHeadz._transfer(address,address,uint256).claims (CryptoHeadz.sol#417)' in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (CryptoHeadz.sol#418)
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 CryptoHeadz._setAutomatedMarketMakerPair(address,bool) (CryptoHeadz.sol#258-267):
External calls:
- dividendTracker.excludeFromDividends(newPair,true) (CryptoHeadz.sol#263)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (CryptoHeadz.sol#266)
Reentrancy in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422):
External calls:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#494-500)
- address(marketingWallet).sendValue(marketingWalletAmt) (CryptoHeadz.sol#446)
- address(devWallet).sendValue(devAmt) (CryptoHeadz.sol#452)
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (CryptoHeadz.sol#478)
- dividendTracker.distributeBUSDDividends(dividends) (CryptoHeadz.sol#481)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#466-472)
External calls sending eth:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- SendDividends(tokens,dividends) (CryptoHeadz.sol#482)
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,address(this),feeAmt) (CryptoHeadz.sol#407)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (CryptoHeadz.sol#409)
Reentrancy in CryptoHeadz._transfer(address,address,uint256) (CryptoHeadz.sol#355-422):
External calls:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#494-500)
- address(marketingWallet).sendValue(marketingWalletAmt) (CryptoHeadz.sol#446)
- address(devWallet).sendValue(devAmt) (CryptoHeadz.sol#452)
- swapAndSendDividends(sellTokens) (CryptoHeadz.sol#386)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (CryptoHeadz.sol#478)
- dividendTracker.distributeBUSDDividends(dividends) (CryptoHeadz.sol#481)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#466-472)
- dividendTracker.setBalance(from,balanceOf(from)) (CryptoHeadz.sol#411)
- dividendTracker.setBalance(to,balanceOf(to)) (CryptoHeadz.sol#412)
- dividendTracker.process(gas) (CryptoHeadz.sol#417-420)
External calls sending eth:
- swapAndLiquify(swapTokens) (CryptoHeadz.sol#382)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (CryptoHeadz.sol#418)
Reentrancy in CryptoHeadz.constructor() (CryptoHeadz.sol#86-118):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (CryptoHeadz.sol#92)
- _setAutomatedMarketMakerPair(_pair,true) (CryptoHeadz.sol#97)
- dividendTracker.excludeFromDividends(newPair,true) (CryptoHeadz.sol#263)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (CryptoHeadz.sol#266)
- _setAutomatedMarketMakerPair(_pair,true) (CryptoHeadz.sol#97)
Reentrancy in CryptoHeadz.constructor() (CryptoHeadz.sol#86-118):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (CryptoHeadz.sol#92)
- _setAutomatedMarketMakerPair(_pair,true) (CryptoHeadz.sol#97)
- dividendTracker.excludeFromDividends(newPair,true) (CryptoHeadz.sol#263)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (CryptoHeadz.sol#101)
- dividendTracker.excludeFromDividends(address(this),true) (CryptoHeadz.sol#102)
- dividendTracker.excludeFromDividends(owner(),true) (CryptoHeadz.sol#103)
- dividendTracker.excludeFromDividends(address(0xdead),true) (CryptoHeadz.sol#104)
- dividendTracker.excludeFromDividends(address(_router),true) (CryptoHeadz.sol#105)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (CryptoHeadz.sol#168)
- excludeFromFees(address(this),true) (CryptoHeadz.sol#109)
- ExcludeFromFees(account,excluded) (CryptoHeadz.sol#168)
- excludeFromFees(owner(),true) (CryptoHeadz.sol#108)
- ExcludeFromFees(account,excluded) (CryptoHeadz.sol#168)
- excludeFromFees(devWallet,true) (CryptoHeadz.sol#111)
- ExcludeFromFees(account,excluded) (CryptoHeadz.sol#168)
- excludeFromFees(marketingWallet,true) (CryptoHeadz.sol#110)
- Transfer(address(0),account,amount) (ERC20.sol#241)
- _mint(owner(),1e15 * (10 ** 9)) (CryptoHeadz.sol#117)
Reentrancy in HEADZDividendTracker.processAccount(address,bool) (CryptoHeadz.sol#724-734):
External calls:
- amount = _withdrawDividendOfUser(account) (CryptoHeadz.sol#725)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
Event emitted after the call(s):
- Claim(account,amount,automatic) (CryptoHeadz.sol#729)
Reentrancy in CryptoHeadz.processDividendTracker(uint256) (CryptoHeadz.sol#131-134):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (CryptoHeadz.sol#132)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (CryptoHeadz.sol#133)
Reentrancy in CryptoHeadz.swapAndLiquify(uint256) (CryptoHeadz.sol#424-454):
External calls:
- swapTokensForBNB(toSwap) (CryptoHeadz.sol#432)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#494-500)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (CryptoHeadz.sol#440)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (CryptoHeadz.sol#440)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (CryptoHeadz.sol#510-517)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (CryptoHeadz.sol#440)
Reentrancy in CryptoHeadz.swapAndSendDividends(uint256) (CryptoHeadz.sol#475-484):
External calls:
- swapTokensForBUSD(tokens) (CryptoHeadz.sol#476)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CryptoHeadz.sol#466-472)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (CryptoHeadz.sol#478)
- dividendTracker.distributeBUSDDividends(dividends) (CryptoHeadz.sol#481)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (CryptoHeadz.sol#482)
Apply the check-effects-interactions pattern.

Additional information: link

HEADZDividendTracker.getAccount(address) (CryptoHeadz.sol#586-629) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (CryptoHeadz.sol#626-628)
HEADZDividendTracker.canAutoClaim(uint256) (CryptoHeadz.sol#650-656) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (CryptoHeadz.sol#651)
- block.timestamp.sub(lastClaimTime) >= claimWait (CryptoHeadz.sol#655)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#130-136) is never used and should be removed
SafeMath.div(uint256,uint256) (SafeMath.sol#90-92) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#106-112) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMath.sol#200-203) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMath.sol#171-177) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMath.sol#159-166) is never used and should be removed
Remove unused functions.

Additional information: link

Parameter CryptoHeadz.setBuyTaxes(uint256,uint256,uint256,uint256)._rewards (CryptoHeadz.sol#203) is not in mixedCase
Parameter CryptoHeadz.setBuyTaxes(uint256,uint256,uint256,uint256)._marketing (CryptoHeadz.sol#203) is not in mixedCase
Parameter CryptoHeadz.setBuyTaxes(uint256,uint256,uint256,uint256)._liquidity (CryptoHeadz.sol#203) is not in mixedCase
Parameter CryptoHeadz.setBuyTaxes(uint256,uint256,uint256,uint256)._dev (CryptoHeadz.sol#203) is not in mixedCase
Parameter CryptoHeadz.setSellTaxes(uint256,uint256,uint256,uint256)._rewards (CryptoHeadz.sol#208) is not in mixedCase
Parameter CryptoHeadz.setSellTaxes(uint256,uint256,uint256,uint256)._marketing (CryptoHeadz.sol#208) is not in mixedCase
Parameter CryptoHeadz.setSellTaxes(uint256,uint256,uint256,uint256)._liquidity (CryptoHeadz.sol#208) is not in mixedCase
Parameter CryptoHeadz.setSellTaxes(uint256,uint256,uint256,uint256)._dev (CryptoHeadz.sol#208) is not in mixedCase
Parameter CryptoHeadz.setSwapEnabled(bool)._enabled (CryptoHeadz.sol#215) is not in mixedCase
Variable CryptoHeadz.BUSD (CryptoHeadz.sol#35) is not in mixedCase
Variable CryptoHeadz._isBot (CryptoHeadz.sol#68) is not in mixedCase
Parameter HEADZDividendTracker.getAccount(address)._account (CryptoHeadz.sol#586) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#96) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#103) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#110) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#120) is not in mixedCase
Variable DividendPayingToken.BUSD (DividendPayingToken.sol#22) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#28) is not in UPPER_CASE_WITH_UNDERSCORES
Function IRouter.WETH() (IDex.sol#16) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#75) is too similar to HEADZDividendTracker.getAccount(address).withdrawableDividends (CryptoHeadz.sol#591)
Prevent variables from having similar names.

Additional information: link

CryptoHeadz.setGasForProcessing(uint256) (CryptoHeadz.sol#272-277) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,HEADZ: gasForProcessing must be between 200,000 and 500,000) (CryptoHeadz.sol#273)
CryptoHeadz.slitherConstructorVariables() (CryptoHeadz.sol#22-521) uses literals with too many digits:
- gasForProcessing = 300000 (CryptoHeadz.sol#62)
HEADZDividendTracker.getAccountAtIndex(uint256) (CryptoHeadz.sol#631-648) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (CryptoHeadz.sol#642)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (SafeMath.sol#154) is never used in SafeMathInt (SafeMath.sol#152-210)
Remove unused state variables.

Additional information: link

CryptoHeadz.antiBotBlocks (CryptoHeadz.sol#69) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

updateDividendTracker(address) should be declared external:
- CryptoHeadz.updateDividendTracker(address) (CryptoHeadz.sol#121-129)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- CryptoHeadz.excludeMultipleAccountsFromFees(address[],bool) (CryptoHeadz.sol#171-176)
isExcludedFromFees(address) should be declared external:
- CryptoHeadz.isExcludedFromFees(address) (CryptoHeadz.sol#296-298)
withdrawableDividendOf(address) should be declared external:
- CryptoHeadz.withdrawableDividendOf(address) (CryptoHeadz.sol#300-302)
dividendTokenBalanceOf(address) should be declared external:
- CryptoHeadz.dividendTokenBalanceOf(address) (CryptoHeadz.sol#304-306)
getAccountAtIndex(uint256) should be declared external:
- HEADZDividendTracker.getAccountAtIndex(uint256) (CryptoHeadz.sol#631-648)
setBalance(address,uint256) should be declared external:
- HEADZDividendTracker.setBalance(address,uint256) (CryptoHeadz.sol#659-675)
process(uint256) should be declared external:
- HEADZDividendTracker.process(uint256) (CryptoHeadz.sol#677-722)
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (DividendPayingToken.sol#53-64)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#68-70)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#96-98)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#110-112)
name() should be declared external:
- ERC20.name() (ERC20.sol#62-64)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#70-72)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#113-116)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#121-123)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#132-135)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#150-158)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#172-175)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#191-194)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.

Additional information: link

HEADZDividendTracker.excludeFromDividends(address,bool) (CryptoHeadz.sol#556-569) compares to a boolean constant:
-value == true (CryptoHeadz.sol#559)
Remove the equality to the boolean constant.

Additional information: link

Low level call in Address.sendValue(address,uint256) (CryptoHeadz.sol#13-18):
- (success) = recipient.call{value: amount}() (CryptoHeadz.sol#16)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Holders:


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

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


Token is deployed only at one blockchain


Token has only one trading pair


Twitter account has relatively few followers


Last post in Twitter was more than 30 days ago


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find whitepaper link on the website


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

Additional information: link


Young tokens have high risks of 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 price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for HEADZ

News for HEADZ