H2E is a community-driven project that's goal is to provide an ecosystem for
anyone to earn and interact with crypto and DeFi at their own pace. H2E offers
beyond the wall of the just blockchain we want to use both powers of crypto and
potential projects launched through our launchpad. What H2E intends to do is
merge those two concepts and allow for a more free and brighter future with a
byproduct of crypto earning and adoption.
Our goal is to provide generational wealth to all of our loyal holders with
reflection functionality, real estate renting, and investment in the project
launched through the launchpad. We redistribute 7% of every buy and sell
transaction fee to H2E holders.
Our mission is to provide actual value and real-world use cases to make H2E a
leader in the DeFi space, by developing a complete ecosystem. The ecosystem
will consist of our crypto-powered launchpad, crypto token, real estate
investment platform, and other financial offerings, with more to follow, as the
H2E takes shape.
By combining the power of blockchain and cryptocurrency we created a token
that is better than any other token available in the market, with a higher
automatic reward. H2E is the first reflection project with an actual utility on top of
the community's efforts to hold and grow. You probably already know this, but
with $H2E you will have higher profits than any other reflection token out there.
We made it better.
H2E’s mission is to bring popular cryptocurrency concepts to the mainstream.
Unlike older, comparable projects, H2E introduces holders to next-gen concepts
such as participation rewards, hold to earn, and more.
H2E’s mission is to bring popular cryptocurrency concepts to the mainstream.
Unlike older, comparable projects, H2E introduces holders to next-gen concepts
such as participation rH2E’s long-term goal is to establish itself as an industry
leader in the emerging Decentralized Finance sector. The management at H2E
believes that the underlying factor that will continue to define Blockchain
products are the ability to give people and businesses more power and control
over their finances. This is the driving force behind H2E, i.e., providing a platform
to the people where they can freely utilize their crypto assets in a fully secure,
seamless, and affordable online environment, rewards, hold to earn, and more.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract creator or owner is blacklisted for past scams
Hold2Earn.addLiquidity(uint256,uint256) (Hold2Earn.sol#615-628) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553):
External calls:
- swapAndLiquify(swapTokensAtAmount,swapTax) (Hold2Earn.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Hold2Earn.sol#606-612)
- address(marketingWallet).sendValue(marketingWalletAmt) (Hold2Earn.sol#577)
- address(operationsWallet).sendValue(operationsAmt) (Hold2Earn.sol#582)
- address(devWallet).sendValue(devAmt) (Hold2Earn.sol#588)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,swapTax) (Hold2Earn.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
State variables written after the call(s):
- super._transfer(from,address(this),swapAmt) (Hold2Earn.sol#528)
- _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) (Hold2Earn.sol#530)
- _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 (Hold2Earn.sol#499)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94):
External calls:
- success = swapBnbForCustomToken(user,_withdrawableDividend) (DividendPayingToken.sol#75)
- router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#79)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#87)
Apply the check-effects-interactions pattern.
Additional information: link
Hold2Earn.rescueBEP20Tokens(address) (Hold2Earn.sol#162-167) ignores return value by IERC20(tokenAddress).transfer(msg.sender,IERC20(tokenAddress).balanceOf(address(this))) (Hold2Earn.sol#163-166)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (Hold2Earn.sol#566)
-bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity (Hold2Earn.sol#567)
Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (Hold2Earn.sol#566)
-marketingWalletAmt = unitBalance * 2 * sellTaxes.marketing (Hold2Earn.sol#575)
Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (Hold2Earn.sol#566)
-operationsAmt = unitBalance * 2 * sellTaxes.operations (Hold2Earn.sol#580)
Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (Hold2Earn.sol#566)
-devAmt = unitBalance * 2 * sellTaxes.dev (Hold2Earn.sol#586)
Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (Hold2Earn.sol#566)
-dividends = unitBalance * 2 * sellTaxes.rewards (Hold2Earn.sol#591)
Consider ordering multiplication before division.
Additional information: link
Hold2Earn.setBulkBot(address[],bool).i (Hold2Earn.sol#306) is a local variable never initialized
Hold2Earn._transfer(address,address,uint256).lastProcessedIndex (Hold2Earn.sol#541) is a local variable never initialized
Hold2Earn.airdropTokens(address[],uint256[]).i (Hold2Earn.sol#438) is a local variable never initialized
Hold2Earn._transfer(address,address,uint256).iterations (Hold2Earn.sol#539) is a local variable never initialized
Hold2Earn._transfer(address,address,uint256).swapAmt (Hold2Earn.sol#511) is a local variable never initialized
Hold2Earn._transfer(address,address,uint256).claims (Hold2Earn.sol#540) is a local variable never initialized
DividendPayingToken._withdrawDividendOfUser(address).success_scope_0 (DividendPayingToken.sol#85) 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
DividendPayingToken.swapBnbForCustomToken(address,uint256) (DividendPayingToken.sol#100-110) ignores return value by router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
Hold2Earn.claim() (Hold2Earn.sol#156-158) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (Hold2Earn.sol#157)
Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553) ignores return value by dividendTracker.process(gas) (Hold2Earn.sol#538-551)
Hold2Earn.addLiquidity(uint256,uint256) (Hold2Earn.sol#615-628) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#43) shadows:
- ERC20._name (ERC20.sol#42) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#43) shadows:
- ERC20._symbol (ERC20.sol#43) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#115) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#129) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#139) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Hold2Earn.setMaxWallet(uint256) (Hold2Earn.sol#225-227) should emit an event for:
- maxWalletBalance = amount * 10 ** 9 (Hold2Earn.sol#226)
Hold2Earn.setSwapTokensAtAmount(uint256) (Hold2Earn.sol#231-233) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (Hold2Earn.sol#232)
Hold2Earn.setMaxBuyAndSellLimits(uint256,uint256) (Hold2Earn.sol#271-274) should emit an event for:
- maxBuyAmount = maxBuy * 10 ** decimals() (Hold2Earn.sol#272)
- maxSellAmount = maxSell * 10 ** decimals() (Hold2Earn.sol#273)
Hold2Earn.setCooldownTime(uint256,uint256) (Hold2Earn.sol#282-285) should emit an event for:
- coolDownTime = timeInSeconds (Hold2Earn.sol#283)
- coolDownBalance = balance * 10 ** decimals() (Hold2Earn.sol#284)
Hold2Earn.setTradingEnabled(bool,uint256,uint256) (Hold2Earn.sol#287-296) should emit an event for:
- antiBotBlocks = _deadline (Hold2Earn.sol#293)
- launchtax = _launchtax (Hold2Earn.sol#294)
Hold2Earn.setAntiBotBlocks(uint256) (Hold2Earn.sol#311-313) should emit an event for:
- antiBotBlocks = numberOfBlocks (Hold2Earn.sol#312)
Emit an event for critical parameter changes.
Additional information: link
Hold2Earn.setMarketingWallet(address).newWallet (Hold2Earn.sol#213) lacks a zero-check on :
- marketingWallet = newWallet (Hold2Earn.sol#214)
Hold2Earn.setDevWallet(address).newWallet (Hold2Earn.sol#217) lacks a zero-check on :
- devWallet = newWallet (Hold2Earn.sol#218)
Hold2Earn.setOperationsWallet(address).newWallet (Hold2Earn.sol#221) lacks a zero-check on :
- operationsWallet = newWallet (Hold2Earn.sol#222)
DividendPayingToken.setRewardToken(address).newToken (DividendPayingToken.sol#96) lacks a zero-check on :
- rewardToken = newToken (DividendPayingToken.sol#97)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) has external calls inside a loop: rewardToken != router.WETH() (DividendPayingToken.sol#74)
DividendPayingToken.swapBnbForCustomToken(address,uint256) (DividendPayingToken.sol#100-110) has external calls inside a loop: path[0] = router.WETH() (DividendPayingToken.sol#102)
DividendPayingToken.swapBnbForCustomToken(address,uint256) (DividendPayingToken.sol#100-110) has external calls inside a loop: router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) has external calls inside a loop: (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'DividendPayingToken._withdrawDividendOfUser(address).success (DividendPayingToken.sol#75)' in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) potentially used before declaration: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Variable 'Hold2Earn._transfer(address,address,uint256).claims (Hold2Earn.sol#540)' in Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Hold2Earn.sol#543-550)
Variable 'Hold2Earn._transfer(address,address,uint256).iterations (Hold2Earn.sol#539)' in Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Hold2Earn.sol#543-550)
Variable 'Hold2Earn._transfer(address,address,uint256).lastProcessedIndex (Hold2Earn.sol#541)' in Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Hold2Earn.sol#543-550)
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 Hold2Earn.constructor() (Hold2Earn.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (Hold2Earn.sol#99)
State variables written after the call(s):
- pair = _pair (Hold2Earn.sol#102)
- router = _router (Hold2Earn.sol#101)
Reentrancy in Hold2Earn.constructor() (Hold2Earn.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (Hold2Earn.sol#99)
- _setAutomatedMarketMakerPair(_pair,true) (Hold2Earn.sol#104)
- dividendTracker.excludeFromDividends(newPair,true) (Hold2Earn.sol#332)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (Hold2Earn.sol#107)
- dividendTracker.excludeFromDividends(address(this),true) (Hold2Earn.sol#108)
- dividendTracker.excludeFromDividends(owner(),true) (Hold2Earn.sol#109)
- dividendTracker.excludeFromDividends(deadWallet,true) (Hold2Earn.sol#110)
- dividendTracker.excludeFromDividends(address(_router),true) (Hold2Earn.sol#111)
State variables written after the call(s):
- _mint(owner(),1e6 * (10 ** 9)) (Hold2Earn.sol#124)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#240)
- excludeFromFees(owner(),true) (Hold2Earn.sol#114)
- _isExcludedFromFees[account] = excluded (Hold2Earn.sol#189)
- excludeFromFees(address(this),true) (Hold2Earn.sol#115)
- _isExcludedFromFees[account] = excluded (Hold2Earn.sol#189)
- excludeFromFees(marketingWallet,true) (Hold2Earn.sol#116)
- _isExcludedFromFees[account] = excluded (Hold2Earn.sol#189)
- excludeFromFees(devWallet,true) (Hold2Earn.sol#117)
- _isExcludedFromFees[account] = excluded (Hold2Earn.sol#189)
- excludeFromFees(operationsWallet,true) (Hold2Earn.sol#118)
- _isExcludedFromFees[account] = excluded (Hold2Earn.sol#189)
- _mint(owner(),1e6 * (10 ** 9)) (Hold2Earn.sol#124)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#239)
Reentrancy in Hold2EarnDividendTracker.processAccount(address,bool) (Hold2Earn.sol#854-868):
External calls:
- amount = _withdrawDividendOfUser(account) (Hold2Earn.sol#859)
- router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (Hold2Earn.sol#862)
Reentrancy in Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596):
External calls:
- swapTokensForBNB(toSwap) (Hold2Earn.sol#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Hold2Earn.sol#606-612)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in Hold2Earn.updateDividendTracker(address) (Hold2Earn.sol#129-139):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker),true) (Hold2Earn.sol#134)
- newDividendTracker.excludeFromDividends(address(this),true) (Hold2Earn.sol#135)
- newDividendTracker.excludeFromDividends(owner(),true) (Hold2Earn.sol#136)
- newDividendTracker.excludeFromDividends(address(router),true) (Hold2Earn.sol#137)
State variables written after the call(s):
- dividendTracker = newDividendTracker (Hold2Earn.sol#138)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Hold2Earn._setAutomatedMarketMakerPair(address,bool) (Hold2Earn.sol#324-336):
External calls:
- dividendTracker.excludeFromDividends(newPair,true) (Hold2Earn.sol#332)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (Hold2Earn.sol#335)
Reentrancy in Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553):
External calls:
- swapAndLiquify(swapTokensAtAmount,swapTax) (Hold2Earn.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Hold2Earn.sol#606-612)
- address(marketingWallet).sendValue(marketingWalletAmt) (Hold2Earn.sol#577)
- address(operationsWallet).sendValue(operationsAmt) (Hold2Earn.sol#582)
- address(devWallet).sendValue(devAmt) (Hold2Earn.sol#588)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,swapTax) (Hold2Earn.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (Hold2Earn.sol#530)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,address(this),swapAmt) (Hold2Earn.sol#528)
Reentrancy in Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553):
External calls:
- swapAndLiquify(swapTokensAtAmount,swapTax) (Hold2Earn.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Hold2Earn.sol#606-612)
- address(marketingWallet).sendValue(marketingWalletAmt) (Hold2Earn.sol#577)
- address(operationsWallet).sendValue(operationsAmt) (Hold2Earn.sol#582)
- address(devWallet).sendValue(devAmt) (Hold2Earn.sol#588)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
- dividendTracker.setBalance(from,balanceOf(from)) (Hold2Earn.sol#532)
- dividendTracker.setBalance(to,balanceOf(to)) (Hold2Earn.sol#533)
- dividendTracker.process(gas) (Hold2Earn.sol#538-551)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,swapTax) (Hold2Earn.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Hold2Earn.sol#543-550)
Reentrancy in Hold2Earn.constructor() (Hold2Earn.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (Hold2Earn.sol#99)
- _setAutomatedMarketMakerPair(_pair,true) (Hold2Earn.sol#104)
- dividendTracker.excludeFromDividends(newPair,true) (Hold2Earn.sol#332)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (Hold2Earn.sol#335)
- _setAutomatedMarketMakerPair(_pair,true) (Hold2Earn.sol#104)
Reentrancy in Hold2Earn.constructor() (Hold2Earn.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (Hold2Earn.sol#99)
- _setAutomatedMarketMakerPair(_pair,true) (Hold2Earn.sol#104)
- dividendTracker.excludeFromDividends(newPair,true) (Hold2Earn.sol#332)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (Hold2Earn.sol#107)
- dividendTracker.excludeFromDividends(address(this),true) (Hold2Earn.sol#108)
- dividendTracker.excludeFromDividends(owner(),true) (Hold2Earn.sol#109)
- dividendTracker.excludeFromDividends(deadWallet,true) (Hold2Earn.sol#110)
- dividendTracker.excludeFromDividends(address(_router),true) (Hold2Earn.sol#111)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (Hold2Earn.sol#191)
- excludeFromFees(operationsWallet,true) (Hold2Earn.sol#118)
- ExcludeFromFees(account,excluded) (Hold2Earn.sol#191)
- excludeFromFees(address(this),true) (Hold2Earn.sol#115)
- ExcludeFromFees(account,excluded) (Hold2Earn.sol#191)
- excludeFromFees(owner(),true) (Hold2Earn.sol#114)
- ExcludeFromFees(account,excluded) (Hold2Earn.sol#191)
- excludeFromFees(devWallet,true) (Hold2Earn.sol#117)
- ExcludeFromFees(account,excluded) (Hold2Earn.sol#191)
- excludeFromFees(marketingWallet,true) (Hold2Earn.sol#116)
- Transfer(address(0),account,amount) (ERC20.sol#241)
- _mint(owner(),1e6 * (10 ** 9)) (Hold2Earn.sol#124)
Reentrancy in Hold2EarnDividendTracker.processAccount(address,bool) (Hold2Earn.sol#854-868):
External calls:
- amount = _withdrawDividendOfUser(account) (Hold2Earn.sol#859)
- router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Event emitted after the call(s):
- Claim(account,amount,automatic) (Hold2Earn.sol#863)
Reentrancy in Hold2Earn.processDividendTracker(uint256) (Hold2Earn.sol#141-152):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (Hold2Earn.sol#142-143)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (Hold2Earn.sol#144-151)
Reentrancy in Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596):
External calls:
- swapTokensForBNB(toSwap) (Hold2Earn.sol#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Hold2Earn.sol#606-612)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
Reentrancy in Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596):
External calls:
- swapTokensForBNB(toSwap) (Hold2Earn.sol#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Hold2Earn.sol#606-612)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- address(marketingWallet).sendValue(marketingWalletAmt) (Hold2Earn.sol#577)
- address(operationsWallet).sendValue(operationsAmt) (Hold2Earn.sol#582)
- address(devWallet).sendValue(devAmt) (Hold2Earn.sol#588)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Hold2Earn.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (Hold2Earn.sol#620-627)
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (Hold2Earn.sol#594)
Apply the check-effects-interactions pattern.
Additional information: link
Hold2Earn._transfer(address,address,uint256) (Hold2Earn.sol#443-553) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed > coolDownTime,Cooldown is active. Please wait) (Hold2Earn.sol#461)
Hold2EarnDividendTracker.getAccount(address) (Hold2Earn.sol#708-751) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (Hold2Earn.sol#748-750)
Hold2EarnDividendTracker.canAutoClaim(uint256) (Hold2Earn.sol#776-782) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (Hold2Earn.sol#777)
- block.timestamp.sub(lastClaimTime) >= claimWait (Hold2Earn.sol#781)
Avoid relying on block.timestamp.
Additional information: link
Hold2Earn.setTradingEnabled(bool,uint256,uint256) (Hold2Earn.sol#287-296) compares to a boolean constant:
-startTradingBlock == 0 && _enabled == true (Hold2Earn.sol#295)
Hold2EarnDividendTracker.excludeFromDividends(address,bool) (Hold2Earn.sol#670-681) compares to a boolean constant:
-value == true (Hold2Earn.sol#673)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#149-155) 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
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94):
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Low level call in Address.sendValue(address,uint256) (Hold2Earn.sol#11-16):
- (success) = recipient.call{value: amount}() (Hold2Earn.sol#14)
Low level call in Hold2Earn.swapAndLiquify(uint256,uint256) (Hold2Earn.sol#555-596):
- (success) = address(dividendTracker).call{value: dividends}() (Hold2Earn.sol#593)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#115) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#129) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#139) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#20) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter Hold2Earn.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._rewards (Hold2Earn.sol#236) is not in mixedCase
Parameter Hold2Earn.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._marketing (Hold2Earn.sol#237) is not in mixedCase
Parameter Hold2Earn.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._liquidity (Hold2Earn.sol#238) is not in mixedCase
Parameter Hold2Earn.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._operations (Hold2Earn.sol#239) is not in mixedCase
Parameter Hold2Earn.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._dev (Hold2Earn.sol#240) is not in mixedCase
Parameter Hold2Earn.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._rewards (Hold2Earn.sol#252) is not in mixedCase
Parameter Hold2Earn.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._marketing (Hold2Earn.sol#253) is not in mixedCase
Parameter Hold2Earn.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._liquidity (Hold2Earn.sol#254) is not in mixedCase
Parameter Hold2Earn.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._operations (Hold2Earn.sol#255) is not in mixedCase
Parameter Hold2Earn.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._dev (Hold2Earn.sol#256) is not in mixedCase
Parameter Hold2Earn.setSwapEnabled(bool)._enabled (Hold2Earn.sol#278) is not in mixedCase
Parameter Hold2Earn.setTradingEnabled(bool,uint256,uint256)._enabled (Hold2Earn.sol#288) is not in mixedCase
Parameter Hold2Earn.setTradingEnabled(bool,uint256,uint256)._deadline (Hold2Earn.sol#289) is not in mixedCase
Parameter Hold2Earn.setTradingEnabled(bool,uint256,uint256)._launchtax (Hold2Earn.sol#290) is not in mixedCase
Constant Hold2Earn.deadWallet (Hold2Earn.sol#32) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Hold2Earn._isBot (Hold2Earn.sol#66) is not in mixedCase
Parameter Hold2EarnDividendTracker.getAccount(address)._account (Hold2Earn.sol#708) is not in mixedCase
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#70) is too similar to Hold2EarnDividendTracker.getAccount(address).withdrawableDividends (Hold2Earn.sol#715)
Prevent variables from having similar names.
Additional information: link
Hold2Earn.setGasForProcessing(uint256) (Hold2Earn.sol#341-352) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Hold2Earn: gasForProcessing must be between 200,000 and 500,000) (Hold2Earn.sol#342-345)
Hold2Earn.slitherConstructorVariables() (Hold2Earn.sol#19-629) uses literals with too many digits:
- gasForProcessing = 300000 (Hold2Earn.sol#60)
Hold2Earn.slitherConstructorConstantVariables() (Hold2Earn.sol#19-629) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (Hold2Earn.sol#32)
Hold2EarnDividendTracker.getAccountAtIndex(uint256) (Hold2Earn.sol#753-774) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (Hold2Earn.sol#768)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Hold2Earn.currentRewardToken (Hold2Earn.sol#42) is never used in Hold2Earn (Hold2Earn.sol#19-629)
SafeMathInt.MAX_INT256 (SafeMath.sol#154) is never used in SafeMathInt (SafeMath.sol#152-210)
Remove unused state variables.
Additional information: link
Hold2Earn.currentRewardToken (Hold2Earn.sol#42) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#115-117)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#129-131)
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)
updateDividendTracker(address) should be declared external:
- Hold2Earn.updateDividendTracker(address) (Hold2Earn.sol#129-139)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- Hold2Earn.excludeMultipleAccountsFromFees(address[],bool) (Hold2Earn.sol#194-202)
isExcludedFromFees(address) should be declared external:
- Hold2Earn.isExcludedFromFees(address) (Hold2Earn.sol#371-373)
withdrawableDividendOf(address) should be declared external:
- Hold2Earn.withdrawableDividendOf(address) (Hold2Earn.sol#375-377)
dividendTokenBalanceOf(address) should be declared external:
- Hold2Earn.dividendTokenBalanceOf(address) (Hold2Earn.sol#383-385)
getAccountAtIndex(uint256) should be declared external:
- Hold2EarnDividendTracker.getAccountAtIndex(uint256) (Hold2Earn.sol#753-774)
setBalance(address,uint256) should be declared external:
- Hold2EarnDividendTracker.setBalance(address,uint256) (Hold2Earn.sol#784-798)
process(uint256) should be declared external:
- Hold2EarnDividendTracker.process(uint256) (Hold2Earn.sol#800-852)
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
Contract has 5% buy tax and 14% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Telegram account link seems to be invalid
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account