Hamdan Coin Token Logo

HMC [Hamdan Coin] Token

About HMC

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years
white paper

The Hamdan Platform is a new, decentralized infrastructure engine that will enable world-changing projects to be created, launched, and brought to market. The first such launch project will be the HMC, a game-changing cryptocurrency that will provide a variety of functions and opportunities.

The HMC will help with the deflationary nature of many fiat currencies by providing a digital asset that can be used as a store of value. HMC will also have the power of appreciation, which we believe will help millions of people have a valuable asset to increase their financial stature and situation.

On the road map for HMC, in conjunction with our partners, will be the onboarding of local merchants to accept the HMC as a form of payment at retailers throughout the GCC and worldwide.

Social

Laser Scorebeta Last Audit: 14 November 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

HMC.addLiquidity(uint256,uint256) (contracts/HMC.sol#497-512) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (contracts/HMC.sol#517)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/HMC.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#469-475)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (contracts/HMC.sol#371)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#222)
- super._transfer(from,to,amount) (contracts/HMC.sol#375)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#222)
- swapping = false (contracts/HMC.sol#356)
Apply the check-effects-interactions pattern.

Additional information: link

HMC.swapAndSendToFee(uint256) (contracts/HMC.sol#403-412) ignores return value by IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
HMC.transferToken(address,address,uint256) (contracts/HMC.sol#137-140) ignores return value by erc20.transfer(to,amount) (contracts/HMC.sol#139)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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 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 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)

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

Additional information: link

Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
State variables written after the call(s):
- super._transfer(address(this),deadWallet,burnTokens) (contracts/HMC.sol#348)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#222)
Reentrancy in HMC.updateDividendTracker(address) (contracts/HMC.sol#146-161):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/HMC.sol#153)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/HMC.sol#154)
- newDividendTracker.excludeFromDividends(owner()) (contracts/HMC.sol#155)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/HMC.sol#156)
State variables written after the call(s):
- dividendTracker = newDividendTracker (contracts/HMC.sol#160)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (contracts/DividendPayingToken.sol#83-106):
External calls:
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#93)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (contracts/DividendPayingToken.sol#96-98)
Apply the check-effects-interactions pattern.

Additional information: link

HMC._transfer(address,address,uint256).iterations (contracts/HMC.sol#394) is a local variable never initialized
HMC._transfer(address,address,uint256).lastProcessedIndex (contracts/HMC.sol#394) is a local variable never initialized
HMC._transfer(address,address,uint256).claims (contracts/HMC.sol#394) 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

HMC.claim() (contracts/HMC.sol#305-307) ignores return value by dividendTracker.processAccount(msg.sender,false) (contracts/HMC.sol#306)
HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401) ignores return value by dividendTracker.process(gas) (contracts/HMC.sol#394-399)
HMC.addLiquidity(uint256,uint256) (contracts/HMC.sol#497-512) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string,address)._name (contracts/DividendPayingToken.sol#54) shadows:
- ERC20._name (contracts/ERC20.sol#43) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/DividendPayingToken.sol#144) shadows:
- Ownable._owner (contracts/Ownable.sol#8) (state variable)
DividendPayingToken.constructor(string,string,address)._symbol (contracts/DividendPayingToken.sol#55) shadows:
- ERC20._symbol (contracts/ERC20.sol#44) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/DividendPayingToken.sol#118) shadows:
- Ownable._owner (contracts/Ownable.sol#8) (state variable)
DividendPayingToken.dividendOf(address)._owner (contracts/DividendPayingToken.sol#111) shadows:
- Ownable._owner (contracts/Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/DividendPayingToken.sol#130) shadows:
- Ownable._owner (contracts/Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

HMC.setCAKERewardsFee(uint256) (contracts/HMC.sol#191-194) should emit an event for:
- CAKERewardsFee = value (contracts/HMC.sol#192)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (contracts/HMC.sol#193)
HMC.setBurnFee(uint256) (contracts/HMC.sol#207-210) should emit an event for:
- burnFee = value (contracts/HMC.sol#208)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (contracts/HMC.sol#209)
HMC.setMarketingFee(uint256) (contracts/HMC.sol#201-205) should emit an event for:
- marketingFee = value (contracts/HMC.sol#202)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (contracts/HMC.sol#203)
HMC.setLiquiditFee(uint256) (contracts/HMC.sol#196-199) should emit an event for:
- liquidityFee = value (contracts/HMC.sol#197)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (contracts/HMC.sol#198)
Emit an event for critical parameter changes.

Additional information: link

HMC.setMarketingWallet(address).wallet (contracts/HMC.sol#187) lacks a zero-check on :
- _marketingWalletAddress = wallet (contracts/HMC.sol#188)
HMC.transferETH(address,uint256).to (contracts/HMC.sol#133) lacks a zero-check on :
- to.transfer(amount) (contracts/HMC.sol#134)
HMC.constructor(address,address,address,address)._uniswapV2Pair (contracts/HMC.sol#102-103) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/HMC.sol#106)
Ownable.constructor().msgSender (contracts/Ownable.sol#16) lacks a zero-check on :
- _owner = msgSender (contracts/Ownable.sol#17)
HMC.setLockContract(address).contractAddr (contracts/HMC.sol#212) lacks a zero-check on :
- lockContract = contractAddr (contracts/HMC.sol#213)
HMC.updateUniswapV2Router(address)._uniswapV2Pair (contracts/HMC.sol#167-168) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/HMC.sol#169)
Check that the address is not zero.

Additional information: link

Variable 'HMC._transfer(address,address,uint256).claims (contracts/HMC.sol#394)' in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/HMC.sol#395)
Variable 'HMC._transfer(address,address,uint256).lastProcessedIndex (contracts/HMC.sol#394)' in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/HMC.sol#395)
Variable 'HMC._transfer(address,address,uint256).iterations (contracts/HMC.sol#394)' in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/HMC.sol#395)
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 HMC.swapAndLiquify(uint256) (contracts/HMC.sol#414-435):
External calls:
- swapTokensForEth(half) (contracts/HMC.sol#426)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
- addLiquidity(otherHalf,newBalance) (contracts/HMC.sol#432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/HMC.sol#432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/HMC.sol#432)
- _allowances[owner][spender] = amount (contracts/ERC20.sol#287)
Reentrancy in HMC.swapAndSendToFee(uint256) (contracts/HMC.sol#403-412):
External calls:
- swapTokensForUSDT(swapAmount) (contracts/HMC.sol#408)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
State variables written after the call(s):
- super._transfer(address(this),_marketingWalletAddress,transferAmount) (contracts/HMC.sol#411)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#222)
Reentrancy in HMCDividendTracker.processAccount(address,bool) (contracts/HMC.sol#721-731):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/HMC.sol#722)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#93)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (contracts/HMC.sol#725)
Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- _allowances[owner][spender] = amount (contracts/ERC20.sol#287)
Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (contracts/HMC.sol#517)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/HMC.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#469-475)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- _allowances[owner][spender] = amount (contracts/ERC20.sol#287)
Reentrancy in HMC.updateUniswapV2Router(address) (contracts/HMC.sol#163-170):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (contracts/HMC.sol#167-168)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/HMC.sol#169)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in HMC._setAutomatedMarketMakerPair(address,bool) (contracts/HMC.sol#227-236):
External calls:
- dividendTracker.excludeFromDividends(pair) (contracts/HMC.sol#232)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/HMC.sol#235)
Reentrancy in HMC.swapAndSendDividends(uint256) (contracts/HMC.sol#514-522):
External calls:
- swapTokensForCake(tokens) (contracts/HMC.sol#515)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#469-475)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (contracts/HMC.sol#517)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/HMC.sol#519)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (contracts/HMC.sol#520)
Reentrancy in HMC.processDividendTracker(uint256) (contracts/HMC.sol#300-303):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (contracts/HMC.sol#301)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (contracts/HMC.sol#302)
Reentrancy in HMCDividendTracker.processAccount(address,bool) (contracts/HMC.sol#721-731):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/HMC.sol#722)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#93)
Event emitted after the call(s):
- Claim(account,amount,automatic) (contracts/HMC.sol#726)
Reentrancy in HMC.updateDividendTracker(address) (contracts/HMC.sol#146-161):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/HMC.sol#153)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/HMC.sol#154)
- newDividendTracker.excludeFromDividends(owner()) (contracts/HMC.sol#155)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/HMC.sol#156)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (contracts/HMC.sol#158)
Reentrancy in HMC.swapAndSendToFee(uint256) (contracts/HMC.sol#403-412):
External calls:
- swapTokensForUSDT(swapAmount) (contracts/HMC.sol#408)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#223)
- super._transfer(address(this),_marketingWalletAddress,transferAmount) (contracts/HMC.sol#411)
Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ERC20.sol#288)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/HMC.sol#434)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (contracts/HMC.sol#517)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/HMC.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#469-475)
- dividendTracker.setBalance(address(from),balanceOf(from)) (contracts/HMC.sol#388)
- dividendTracker.setBalance(address(to),balanceOf(to)) (contracts/HMC.sol#389)
- dividendTracker.process(gas) (contracts/HMC.sol#394-399)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/HMC.sol#395)
Reentrancy in HMC.swapAndLiquify(uint256) (contracts/HMC.sol#414-435):
External calls:
- swapTokensForEth(half) (contracts/HMC.sol#426)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
- addLiquidity(otherHalf,newBalance) (contracts/HMC.sol#432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/HMC.sol#432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (contracts/HMC.sol#432)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/HMC.sol#434)
Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#223)
- super._transfer(address(this),deadWallet,burnTokens) (contracts/HMC.sol#348)
Reentrancy in HMC._transfer(address,address,uint256) (contracts/HMC.sol#318-401):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/HMC.sol#345)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#488-494)
- IERC20(USDT).transfer(_marketingWalletAddress,newBalance) (contracts/HMC.sol#410)
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#449-455)
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (contracts/HMC.sol#517)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/HMC.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/HMC.sol#469-475)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/HMC.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/HMC.sol#503-510)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ERC20.sol#288)
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- SendDividends(tokens,dividends) (contracts/HMC.sol#520)
- swapAndSendDividends(sellTokens) (contracts/HMC.sol#354)
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#223)
- super._transfer(from,address(this),fees) (contracts/HMC.sol#371)
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#223)
- super._transfer(from,to,amount) (contracts/HMC.sol#375)
Apply the check-effects-interactions pattern.

Additional information: link

HMCDividendTracker.getAccount(address) (contracts/HMC.sol#585-628) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (contracts/HMC.sol#625-627)
HMCDividendTracker.canAutoClaim(uint256) (contracts/HMC.sol#649-655) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (contracts/HMC.sol#650)
- block.timestamp.sub(lastClaimTime) >= claimWait (contracts/HMC.sol#654)
Avoid relying on block.timestamp.

Additional information: link

SafeMathInt.div(int256,int256) (contracts/SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.abs(int256) (contracts/SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.mul(int256,int256) (contracts/SafeMathInt.sol#41-48) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/SafeMath.sol#142-145) is never used and should be removed
Context._msgData() (contracts/Context.sol#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/SafeMath.sol#126-128) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (contracts/DividendPayingToken.sol#163-178) is never used and should be removed
Remove unused functions.

Additional information: link

HMC.totalFees (contracts/HMC.sol#40) is set pre-construction with a non-constant function or state variable:
- CAKERewardsFee.add(liquidityFee).add(marketingFee).add(burnFee)
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.6.2 (contracts/IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (contracts/SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (contracts/IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (contracts/DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (contracts/ILock.sol#3) allows old versions
Pragma version^0.6.2 (contracts/IterableMapping.sol#6) allows old versions
Pragma version^0.6.2 (contracts/IERC20.sol#3) allows old versions
Pragma version^0.6.2 (contracts/IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (contracts/SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (contracts/ERC20.sol#3) allows old versions
Pragma version^0.6.2 (contracts/SafeMathUint.sol#3) allows old versions
Pragma version^0.6.2 (contracts/HMC.sol#3) allows old versions
Pragma version^0.6.2 (contracts/DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (contracts/Context.sol#3) allows old versions
Pragma version^0.6.2 (contracts/Ownable.sol#1) allows old versions
Pragma version^0.6.2 (contracts/IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (contracts/DividendPayingTokenInterface.sol#3) allows old versions
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

Variable HMC.CAKE (contracts/HMC.sol#29) is not in mixedCase
Variable DividendPayingToken.CAKE (contracts/DividendPayingToken.sol#28) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/IUniswapV2Pair.sol#38) is not in mixedCase
Variable HMC._isBlacklisted (contracts/HMC.sol#34) is not in mixedCase
Constant DividendPayingToken.magnitude (contracts/DividendPayingToken.sol#33) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/IUniswapV2Pair.sol#20) is not in mixedCase
Parameter HMCDividendTracker.getAccount(address)._account (contracts/HMC.sol#585) is not in mixedCase
Variable HMC.USDT (contracts/HMC.sol#30) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (contracts/DividendPayingToken.sol#111) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/DividendPayingToken.sol#130) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/DividendPayingToken.sol#118) is not in mixedCase
Variable HMC.CAKERewardsFee (contracts/HMC.sol#36) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/IUniswapV2Router.sol#7) is not in mixedCase
Variable HMC._marketingWalletAddress (contracts/HMC.sol#42) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/DividendPayingToken.sol#144) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (contracts/DividendPayingToken.sol#87) is too similar to HMCDividendTracker.getAccount(address).withdrawableDividends (contracts/HMC.sol#590)
Prevent variables from having similar names.

Additional information: link

HMCDividendTracker.getAccountAtIndex(uint256) (contracts/HMC.sol#630-647) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (contracts/HMC.sol#641)
HMC.constructor(address,address,address,address) (contracts/HMC.sol#89-127) uses literals with too many digits:
- _mint(owner(),1000000000000 * (10 ** 18)) (contracts/HMC.sol#126)
HMC.updateGasForProcessing(uint256) (contracts/HMC.sol#239-244) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,HMC: gasForProcessing must be between 200,000 and 500,000) (contracts/HMC.sol#240)
HMCDividendTracker.constructor(address) (contracts/HMC.sol#545-548) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (contracts/HMC.sol#547)
HMC.slitherConstructorVariables() (contracts/HMC.sol#15-523) uses literals with too many digits:
- gasForProcessing = 300000 (contracts/HMC.sol#46)
HMC.slitherConstructorVariables() (contracts/HMC.sol#15-523) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (contracts/HMC.sol#27)
HMC.slitherConstructorVariables() (contracts/HMC.sol#15-523) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (contracts/HMC.sol#32)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (contracts/SafeMathInt.sol#36) is never used in SafeMathInt (contracts/SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

HMC.deadWallet (contracts/HMC.sol#27) should be constant
HMC.swapTokensAtAmount (contracts/HMC.sol#32) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (contracts/DividendPayingToken.sol#63-73)
updateDividendTracker(address) should be declared external:
- HMC.updateDividendTracker(address) (contracts/HMC.sol#146-161)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (contracts/IterableMapping.sol#17-19)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (contracts/ERC20.sol#151-159)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (contracts/IterableMapping.sol#28-30)
updateGasForProcessing(uint256) should be declared external:
- HMC.updateGasForProcessing(uint256) (contracts/HMC.sol#239-244)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/Ownable.sol#43-46)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- HMC.setAutomatedMarketMakerPair(address,bool) (contracts/HMC.sol#216-220)
decimals() should be declared external:
- ERC20.decimals() (contracts/ERC20.sol#88-90)
process(uint256) should be declared external:
- HMCDividendTracker.process(uint256) (contracts/HMC.sol#674-719)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (contracts/DividendPayingToken.sol#111-113)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (contracts/IterableMapping.sol#21-26)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (contracts/ERC20.sol#192-195)
symbol() should be declared external:
- ERC20.symbol() (contracts/ERC20.sol#71-73)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (contracts/ERC20.sol#114-117)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- HMC.excludeMultipleAccountsFromFees(address[],bool) (contracts/HMC.sol#179-185)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (contracts/ERC20.sol#173-176)
updateUniswapV2Router(address) should be declared external:
- HMC.updateUniswapV2Router(address) (contracts/HMC.sol#163-170)
excludeFromFees(address,bool) should be declared external:
- HMC.excludeFromFees(address,bool) (contracts/HMC.sol#172-177)
withdrawableDividendOf(address) should be declared external:
- HMC.withdrawableDividendOf(address) (contracts/HMC.sol#262-264)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (contracts/IterableMapping.sol#34-36)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/Ownable.sol#52-56)
name() should be declared external:
- ERC20.name() (contracts/ERC20.sol#63-65)
isExcludedFromFees(address) should be declared external:
- HMC.isExcludedFromFees(address) (contracts/HMC.sol#258-260)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (contracts/ERC20.sol#133-136)
dividendTokenBalanceOf(address) should be declared external:
- HMC.dividendTokenBalanceOf(address) (contracts/HMC.sol#266-268)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (contracts/DividendPayingToken.sol#130-137)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (contracts/DividendPayingToken.sol#77-79)
- HMCDividendTracker.withdrawDividend() (contracts/HMC.sol#554-556)
getAccountAtIndex(uint256) should be declared external:
- HMCDividendTracker.getAccountAtIndex(uint256) (contracts/HMC.sol#630-647)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (contracts/ERC20.sol#122-124)
Use the external attribute for functions never called from the contract.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (contracts/DividendPayingToken.sol#83-106) has external calls inside a loop: success = IERC20(CAKE).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#93)
Favor pull over push strategy for external calls.

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.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Token is deployed only at one blockchain

Contract has 10% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Last post in Twitter was more than 180 days ago


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


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to verify token contract address on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is not listed at Mobula.Finance

Additional information: link


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but average PancakeSwap 30d trading volume is low


Token has relatively low CoinGecko rank

Price for HMC

News for HMC