Health Token aims to bridge the crypto and fitness industries. HELTH will be used within our ecosystem of Apps which aim to create a community based around Fitness and wellbeing, whilst providing rewards in HELTH to active and contributing users.
HealthHandler is the first app in our suite. Its function is to offer user generated meal plans tailored to your filters, through a tinder style yes or no system. It links to (currently) UK online shopping carts, where it then adds the needed ingredients for convenient purchase.
HELTH aims to offer an online store for nutritional supplements and fitness apparel (and in the future) Gym memberships. in which can be payed for by health at a discounted rate.
Other projects in the pipeline to ensure our project grows and stays strong.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in HealthToken.DepositRewardAndMarketing() (#1430-1434):
External calls:
- MarketingDeposit() (#1431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- RewardDeposit() (#1432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- MarketingDeposit() (#1431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- RewardDeposit() (#1432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- RewardDeposit() (#1432)
- _charityFee = _previousCharityFee (#1154)
- _charityFee = 0 (#1148)
- RewardDeposit() (#1432)
- _liquidityFee = _previousLiquidityFee (#1155)
- _liquidityFee = 0 (#1149)
- RewardDeposit() (#1432)
- _previousCharityFee = _charityFee (#1144)
- RewardDeposit() (#1432)
- _previousLiquidityFee = _liquidityFee (#1145)
- RewardDeposit() (#1432)
- _previousTaxFee = _taxFee (#1143)
- RewardDeposit() (#1432)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1101)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rCharity) (#1109)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1329)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1319)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1008)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1341)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1320)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1342)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1331)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1010)
- RewardDeposit() (#1432)
- _rTotal = _rTotal.sub(rFee) (#1052)
- RewardDeposit() (#1432)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1053)
- RewardDeposit() (#1432)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1103)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tCharity) (#1111)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1007)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1340)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1330)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1009)
- RewardDeposit() (#1432)
- _taxFee = _previousTaxFee (#1153)
- _taxFee = 0 (#1147)
- RewardDeposit() (#1432)
- inSwapAndLiquify = true (#872)
- inSwapAndLiquify = false (#874)
Reentrancy in HealthToken.MarketingDeposit() (#1436-1442):
External calls:
- _transfer(_msgSender(),_marketingWalletAddress,_marketingPortion) (#1440)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_marketingWalletAddress,_marketingPortion) (#1440)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- _initialMarketingDeposit = true (#1441)
Reentrancy in HealthToken.RewardDeposit() (#1444-1450):
External calls:
- _transfer(_msgSender(),_rewardWalletAddress,_rewardPortion) (#1448)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_rewardWalletAddress,_rewardPortion) (#1448)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- _initialRewardDeposit = true (#1449)
Reentrancy in HealthToken._transfer(address,address,uint256) (#1170-1238):
External calls:
- swapAndLiquify(contractTokenBalance) (#1225)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1225)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1101)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rCharity) (#1109)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1329)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1319)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1008)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1341)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1320)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1342)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1331)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _rTotal = _rTotal.sub(rFee) (#1052)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1103)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tCharity) (#1111)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1007)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1340)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1330)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1009)
Reentrancy in HealthToken.initialDevDeposit() (#1362-1369):
External calls:
- _transfer(_msgSender(),_devWalletAddress,_devTeamPortion) (#1366)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_devWalletAddress,_devTeamPortion) (#1366)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockDevWallet() (#1367)
- _WalletLockEndTime = _devWalletLockedStartTime.add(31556926) (#1353)
- lockDevWallet() (#1367)
- frozenAccount[_devWalletAddress] = true (#1350)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockLiquidityWallet1Month() (#1422)
- _1MonthLiquidityWalletLockEndTime = _1MonthLiquidityWalletLockStartTime.add(2629743) (#1399)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockLiquidityWallet3Month() (#1424)
- _3MonthLiquidityWalletLockEndTime = _3MonthLiquidityWalletLockStartTime.add(7889229) (#1406)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _charityFee = _previousCharityFee (#1154)
- _charityFee = 0 (#1148)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _liquidityFee = _previousLiquidityFee (#1155)
- _liquidityFee = 0 (#1149)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _previousCharityFee = _charityFee (#1144)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _previousLiquidityFee = _liquidityFee (#1145)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _previousTaxFee = _taxFee (#1143)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1101)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rCharity) (#1109)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1329)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1319)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1008)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1341)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1320)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1342)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1331)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1010)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _rTotal = _rTotal.sub(rFee) (#1052)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1053)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1103)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tCharity) (#1111)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1007)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1340)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1330)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1009)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _taxFee = _previousTaxFee (#1153)
- _taxFee = 0 (#1147)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- inSwapAndLiquify = true (#872)
- inSwapAndLiquify = false (#874)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockLiquidityWallet6Month() (#1426)
- _6MonthLiquidityWalletLockEndTime = _6MonthLiquidityWalletLockStartTime.add(15778458) (#1413)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _charityFee = _previousCharityFee (#1154)
- _charityFee = 0 (#1148)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _liquidityFee = _previousLiquidityFee (#1155)
- _liquidityFee = 0 (#1149)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _previousCharityFee = _charityFee (#1144)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _previousLiquidityFee = _liquidityFee (#1145)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _previousTaxFee = _taxFee (#1143)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1101)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rCharity) (#1109)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1329)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1319)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1008)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1341)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1320)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1342)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1331)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1010)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _rTotal = _rTotal.sub(rFee) (#1052)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1053)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1103)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tCharity) (#1111)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1007)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1340)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1330)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1009)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _taxFee = _previousTaxFee (#1153)
- _taxFee = 0 (#1147)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- inSwapAndLiquify = true (#872)
- inSwapAndLiquify = false (#874)
Apply the check-effects-interactions pattern.
Additional information: link
HealthToken.slitherConstructorVariables() (#789-1453) performs a multiplication on the result of a division:
-_devTeamPortion = _tTotal.div(10 ** 2).mul(10) (#834)
HealthToken.slitherConstructorVariables() (#789-1453) performs a multiplication on the result of a division:
-_liquidityLockPortion = _tTotal.div(10 ** 2).mul(10) (#836)
HealthToken.slitherConstructorVariables() (#789-1453) performs a multiplication on the result of a division:
-_marketingPortion = _tTotal.div(10 ** 4).mul(125) (#837)
HealthToken.slitherConstructorVariables() (#789-1453) performs a multiplication on the result of a division:
-_rewardPortion = _tTotal.div(10 ** 3).mul(25) (#838)
Consider ordering multiplication before division.
Additional information: link
HealthToken.addLiquidity(uint256,uint256) (#1281-1294) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Ensure that all the return values of the function calls are used.
Additional information: link
HealthToken.allowance(address,address).owner (#922) shadows:
- Ownable.owner() (#532-534) (function)
HealthToken._approve(address,address,uint256).owner (#1162) shadows:
- Ownable.owner() (#532-534) (function)
Rename the local variables that shadow another component.
Additional information: link
HealthToken.setTaxFeePercent(uint256) (#1025-1027) should emit an event for:
- _taxFee = taxFee (#1026)
HealthToken.setCharityFeePercent(uint256) (#1029-1031) should emit an event for:
- _charityFee = charityFee (#1030)
HealthToken.setLiquidityFeePercent(uint256) (#1033-1035) should emit an event for:
- _liquidityFee = liquidityFee (#1034)
HealthToken.setMaxTxPercent(uint256) (#1037-1041) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1038-1040)
Emit an event for critical parameter changes.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#363-369):
- (success) = recipient.call{value: amount}() (#367)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#424-431):
- (success,returndata) = target.call{value: value}(data) (#429)
Low level call in Address.functionStaticCall(address,bytes,string) (#449-455):
- (success,returndata) = target.staticcall(data) (#453)
Low level call in Address.functionDelegateCall(address,bytes,string) (#473-479):
- (success,returndata) = target.delegatecall(data) (#477)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#618) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#619) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#636) is not in mixedCase
Function IUniswapV2Router01.WETH() (#656) is not in mixedCase
Parameter HealthToken.setSwapAndLiquifyEnabled(bool)._enabled (#1043) is not in mixedCase
Parameter HealthToken.calculateTaxFee(uint256)._amount (#1122) is not in mixedCase
Parameter HealthToken.calculateCharityFee(uint256)._amount (#1128) is not in mixedCase
Parameter HealthToken.calculateLiquidityFee(uint256)._amount (#1134) is not in mixedCase
Function HealthToken.DepositRewardAndMarketing() (#1430-1434) is not in mixedCase
Function HealthToken.MarketingDeposit() (#1436-1442) is not in mixedCase
Function HealthToken.RewardDeposit() (#1444-1450) is not in mixedCase
Variable HealthToken._charityWalletAddress (#806) is not in mixedCase
Variable HealthToken._marketingWalletAddress (#807) is not in mixedCase
Variable HealthToken._rewardWalletAddress (#808) is not in mixedCase
Variable HealthToken._devWalletAddress (#809) is not in mixedCase
Variable HealthToken._liquidityAddress1Month (#810) is not in mixedCase
Variable HealthToken._liquidityAddress3Month (#811) is not in mixedCase
Variable HealthToken._liquidityAddress6Month (#812) is not in mixedCase
Variable HealthToken._initialMarketingDeposit (#814) is not in mixedCase
Variable HealthToken._initialRewardDeposit (#815) is not in mixedCase
Variable HealthToken._devWalletLockedStartTime (#817) is not in mixedCase
Variable HealthToken._WalletLockEndTime (#818) is not in mixedCase
Variable HealthToken._1MonthLiquidityWalletLockStartTime (#820) is not in mixedCase
Variable HealthToken._1MonthLiquidityWalletLockEndTime (#821) is not in mixedCase
Variable HealthToken._3MonthLiquidityWalletLockStartTime (#823) is not in mixedCase
Variable HealthToken._3MonthLiquidityWalletLockEndTime (#824) is not in mixedCase
Variable HealthToken._6MonthLiquidityWalletLockStartTime (#826) is not in mixedCase
Variable HealthToken._6MonthLiquidityWalletLockEndTime (#827) is not in mixedCase
Variable HealthToken._taxFee (#845) is not in mixedCase
Variable HealthToken._charityFee (#848) is not in mixedCase
Variable HealthToken._liquidityFee (#851) is not in mixedCase
Variable HealthToken._maxTxAmount (#860) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#310)" inContext (#304-313)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in HealthToken.DepositRewardAndMarketing() (#1430-1434):
External calls:
- MarketingDeposit() (#1431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- RewardDeposit() (#1432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- MarketingDeposit() (#1431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- RewardDeposit() (#1432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- RewardDeposit() (#1432)
- _allowances[owner][spender] = amount (#1166)
- RewardDeposit() (#1432)
- frozenAccount[_liquidityAddress1Month] = false (#1183)
- frozenAccount[_liquidityAddress3Month] = false (#1189)
- frozenAccount[_liquidityAddress6Month] = false (#1195)
- frozenAccount[_devWalletAddress] = false (#1201)
Reentrancy in HealthToken._transfer(address,address,uint256) (#1170-1238):
External calls:
- swapAndLiquify(contractTokenBalance) (#1225)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1225)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _charityFee = _previousCharityFee (#1154)
- _charityFee = 0 (#1148)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _liquidityFee = _previousLiquidityFee (#1155)
- _liquidityFee = 0 (#1149)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _previousCharityFee = _charityFee (#1144)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _previousLiquidityFee = _liquidityFee (#1145)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _previousTaxFee = _taxFee (#1143)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1053)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- _taxFee = _previousTaxFee (#1153)
- _taxFee = 0 (#1147)
Reentrancy in HealthToken.constructor() (#877-894):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#883-884)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#890)
- _isExcludedFromFee[address(this)] = true (#891)
- uniswapV2Router = _uniswapV2Router (#887)
Reentrancy in HealthToken.initialDevDeposit() (#1362-1369):
External calls:
- _transfer(_msgSender(),_devWalletAddress,_devTeamPortion) (#1366)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_devWalletAddress,_devTeamPortion) (#1366)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockDevWallet() (#1367)
- _devWalletLockedStartTime = block.timestamp (#1352)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockLiquidityWallet1Month() (#1422)
- _1MonthLiquidityWalletLockStartTime = block.timestamp (#1398)
- lockLiquidityWallet1Month() (#1422)
- frozenAccount[_liquidityAddress1Month] = true (#1396)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockLiquidityWallet3Month() (#1424)
- _3MonthLiquidityWalletLockStartTime = block.timestamp (#1405)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- _allowances[owner][spender] = amount (#1166)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- frozenAccount[_liquidityAddress1Month] = false (#1183)
- frozenAccount[_liquidityAddress3Month] = false (#1189)
- frozenAccount[_liquidityAddress6Month] = false (#1195)
- frozenAccount[_devWalletAddress] = false (#1201)
- lockLiquidityWallet3Month() (#1424)
- frozenAccount[_liquidityAddress3Month] = true (#1403)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- lockLiquidityWallet6Month() (#1426)
- _6MonthLiquidityWalletLockStartTime = block.timestamp (#1412)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- _allowances[owner][spender] = amount (#1166)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- frozenAccount[_liquidityAddress1Month] = false (#1183)
- frozenAccount[_liquidityAddress3Month] = false (#1189)
- frozenAccount[_liquidityAddress6Month] = false (#1195)
- frozenAccount[_devWalletAddress] = false (#1201)
- lockLiquidityWallet6Month() (#1426)
- frozenAccount[_liquidityAddress6Month] = true (#1410)
Reentrancy in HealthToken.swapAndLiquify(uint256) (#1240-1261):
External calls:
- swapTokensForEth(half) (#1252)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- addLiquidity(otherHalf,newBalance) (#1258)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1258)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1258)
- _allowances[owner][spender] = amount (#1166)
Reentrancy in HealthToken.transferFrom(address,address,uint256) (#931-935):
External calls:
- _transfer(sender,recipient,amount) (#932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(sender,recipient,amount) (#932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#933)
- _allowances[owner][spender] = amount (#1166)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HealthToken.DepositRewardAndMarketing() (#1430-1434):
External calls:
- MarketingDeposit() (#1431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- RewardDeposit() (#1432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- MarketingDeposit() (#1431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- RewardDeposit() (#1432)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1167)
- RewardDeposit() (#1432)
- FrozenFunds(_liquidityAddress1Month,false) (#1184)
- RewardDeposit() (#1432)
- FrozenFunds(_liquidityAddress3Month,false) (#1190)
- RewardDeposit() (#1432)
- FrozenFunds(_liquidityAddress6Month,false) (#1196)
- RewardDeposit() (#1432)
- FrozenFunds(_devWalletAddress,false) (#1202)
- RewardDeposit() (#1432)
- SwapAndLiquify(half,newBalance,otherHalf) (#1260)
- RewardDeposit() (#1432)
- Transfer(sender,recipient,tTransferAmount) (#1324)
- RewardDeposit() (#1432)
- Transfer(sender,recipient,tTransferAmount) (#1335)
- RewardDeposit() (#1432)
- Transfer(sender,recipient,tTransferAmount) (#1346)
- RewardDeposit() (#1432)
- Transfer(sender,recipient,tTransferAmount) (#1014)
- RewardDeposit() (#1432)
Reentrancy in HealthToken._transfer(address,address,uint256) (#1170-1238):
External calls:
- swapAndLiquify(contractTokenBalance) (#1225)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1225)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1324)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- Transfer(sender,recipient,tTransferAmount) (#1346)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- Transfer(sender,recipient,tTransferAmount) (#1335)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
- Transfer(sender,recipient,tTransferAmount) (#1014)
- _tokenTransfer(from,to,amount,takeFee) (#1237)
Reentrancy in HealthToken.constructor() (#877-894):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#883-884)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#893)
Reentrancy in HealthToken.initialDevDeposit() (#1362-1369):
External calls:
- _transfer(_msgSender(),_devWalletAddress,_devTeamPortion) (#1366)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_devWalletAddress,_devTeamPortion) (#1366)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- FrozenFunds(_devWalletAddress,true) (#1351)
- lockDevWallet() (#1367)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- FrozenFunds(_liquidityAddress1Month,true) (#1397)
- lockLiquidityWallet1Month() (#1422)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1167)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- FrozenFunds(_liquidityAddress3Month,true) (#1404)
- lockLiquidityWallet3Month() (#1424)
- FrozenFunds(_liquidityAddress1Month,false) (#1184)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- FrozenFunds(_liquidityAddress3Month,false) (#1190)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- FrozenFunds(_liquidityAddress6Month,false) (#1196)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- FrozenFunds(_devWalletAddress,false) (#1202)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- SwapAndLiquify(half,newBalance,otherHalf) (#1260)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- Transfer(sender,recipient,tTransferAmount) (#1324)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- Transfer(sender,recipient,tTransferAmount) (#1346)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- Transfer(sender,recipient,tTransferAmount) (#1335)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- Transfer(sender,recipient,tTransferAmount) (#1014)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
Reentrancy in HealthToken.liquidityWalletLock() (#1417-1428):
External calls:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_msgSender(),_liquidityAddress1Month,_liquidityLockPortion) (#1421)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress3Month,_liquidityLockPortion) (#1423)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1167)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- FrozenFunds(_liquidityAddress6Month,true) (#1411)
- lockLiquidityWallet6Month() (#1426)
- FrozenFunds(_liquidityAddress1Month,false) (#1184)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- FrozenFunds(_liquidityAddress3Month,false) (#1190)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- FrozenFunds(_liquidityAddress6Month,false) (#1196)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- FrozenFunds(_devWalletAddress,false) (#1202)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- SwapAndLiquify(half,newBalance,otherHalf) (#1260)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- Transfer(sender,recipient,tTransferAmount) (#1324)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- Transfer(sender,recipient,tTransferAmount) (#1335)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- Transfer(sender,recipient,tTransferAmount) (#1346)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
- Transfer(sender,recipient,tTransferAmount) (#1014)
- _transfer(_msgSender(),_liquidityAddress6Month,_liquidityLockPortion) (#1425)
Reentrancy in HealthToken.swapAndLiquify(uint256) (#1240-1261):
External calls:
- swapTokensForEth(half) (#1252)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
- addLiquidity(otherHalf,newBalance) (#1258)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1258)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1167)
- addLiquidity(otherHalf,newBalance) (#1258)
- SwapAndLiquify(half,newBalance,otherHalf) (#1260)
Reentrancy in HealthToken.transferFrom(address,address,uint256) (#931-935):
External calls:
- _transfer(sender,recipient,amount) (#932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(sender,recipient,amount) (#932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1167)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#933)
Reentrancy in HealthToken.useEntry(uint256,uint256) (#1388-1393):
External calls:
- _transfer(_rewardWalletAddress,creator,qty) (#1390)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1272-1278)
External calls sending eth:
- _transfer(_rewardWalletAddress,creator,qty) (#1390)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1286-1293)
Event emitted after the call(s):
- EntryUsed(id,creator) (#1391)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#579-584) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#581)
HealthToken._transfer(address,address,uint256) (#1170-1238) uses timestamp for comparisons
Dangerous comparisons:
- _1MonthLiquidityWalletLockEndTime < block.timestamp (#1182)
- _3MonthLiquidityWalletLockEndTime < block.timestamp (#1188)
- _6MonthLiquidityWalletLockEndTime < block.timestamp (#1194)
- _WalletLockEndTime < block.timestamp (#1200)
HealthToken.liquidityWalletLock() (#1417-1428) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_1MonthLiquidityWalletLockEndTime == 0,This can only be done Once) (#1420)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#336-345) uses assembly
- INLINE ASM (#343)
Address._verifyCallResult(bool,bytes,string) (#481-498) uses assembly
- INLINE ASM (#490-493)
Do not use evm assembly.
Additional information: link
HealthToken.includeInReward(address) (#992-1003) has costly operations inside a loop:
- _excluded.pop() (#999)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#481-498) is never used and should be removed
Address.functionCall(address,bytes) (#389-391) is never used and should be removed
Address.functionCall(address,bytes,string) (#399-401) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#414-416) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#424-431) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#463-465) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#473-479) is never used and should be removed
Address.functionStaticCall(address,bytes) (#439-441) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#449-455) is never used and should be removed
Address.isContract(address) (#336-345) is never used and should be removed
Address.sendValue(address,uint256) (#363-369) is never used and should be removed
Context._msgData() (#309-312) is never used and should be removed
HealthToken._takeReward(uint256) (#1114-1120) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#264-269) is never used and should be removed
SafeMath.mod(uint256,uint256) (#224-226) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#286-291) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#95-101) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#137-142) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#149-154) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#120-130) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#108-113) is never used and should be removed
Remove unused functions.
Additional information: link
HealthToken._rTotal (#831) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
HealthToken._devTeamPortion (#834) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(10 ** 2).mul(10)
HealthToken._liquidityLockPortion (#836) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(10 ** 2).mul(10)
HealthToken._marketingPortion (#837) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(10 ** 4).mul(125)
HealthToken._rewardPortion (#838) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(10 ** 3).mul(25)
HealthToken._previousTaxFee (#846) is set pre-construction with a non-constant function or state variable:
- _taxFee
HealthToken._previousCharityFee (#849) is set pre-construction with a non-constant function or state variable:
- _charityFee
HealthToken._previousLiquidityFee (#852) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.8.3 (#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 IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#661) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#662)
Variable HealthToken._1MonthLiquidityWalletLockEndTime (#821) is too similar to HealthToken._3MonthLiquidityWalletLockEndTime (#824)
Variable HealthToken._1MonthLiquidityWalletLockEndTime (#821) is too similar to HealthToken._6MonthLiquidityWalletLockEndTime (#827)
Variable HealthToken._1MonthLiquidityWalletLockStartTime (#820) is too similar to HealthToken._3MonthLiquidityWalletLockStartTime (#823)
Variable HealthToken._1MonthLiquidityWalletLockStartTime (#820) is too similar to HealthToken._6MonthLiquidityWalletLockStartTime (#826)
Variable HealthToken._3MonthLiquidityWalletLockEndTime (#824) is too similar to HealthToken._6MonthLiquidityWalletLockEndTime (#827)
Variable HealthToken._3MonthLiquidityWalletLockStartTime (#823) is too similar to HealthToken._6MonthLiquidityWalletLockStartTime (#826)
Variable HealthToken._liquidityAddress1Month (#810) is too similar to HealthToken._liquidityAddress3Month (#811)
Variable HealthToken._liquidityAddress1Month (#810) is too similar to HealthToken._liquidityAddress6Month (#812)
Variable HealthToken._liquidityAddress3Month (#811) is too similar to HealthToken._liquidityAddress6Month (#812)
Variable HealthToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1077) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1077) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1077) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken.reflectionFromToken(uint256,bool).rTransferAmount (#971) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken._transferToExcluded(address,address,uint256).rTransferAmount (#1328) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken._transferToExcluded(address,address,uint256).rTransferAmount (#1328) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken._getValues(uint256).rTransferAmount (#1058) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken.reflectionFromToken(uint256,bool).rTransferAmount (#971) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Variable HealthToken._transferToExcluded(address,address,uint256).rTransferAmount (#1328) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._transferToExcluded(address,address,uint256).rTransferAmount (#1328) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken._transferStandard(address,address,uint256).rTransferAmount (#1318) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken._transferStandard(address,address,uint256).rTransferAmount (#1318) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._transferStandard(address,address,uint256).rTransferAmount (#1318) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1006) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1006) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1339) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken._transferStandard(address,address,uint256).rTransferAmount (#1318) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken.reflectionFromToken(uint256,bool).rTransferAmount (#971) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken.reflectionFromToken(uint256,bool).rTransferAmount (#971) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._transferToExcluded(address,address,uint256).rTransferAmount (#1328) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken.reflectionFromToken(uint256,bool).rTransferAmount (#971) is too similar to HealthToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1339)
Variable HealthToken._transferStandard(address,address,uint256).rTransferAmount (#1318) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken.reflectionFromToken(uint256,bool).rTransferAmount (#971) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken._transferToExcluded(address,address,uint256).rTransferAmount (#1328) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Variable HealthToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1077) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken._getValues(uint256).rTransferAmount (#1058) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1339) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._getValues(uint256).rTransferAmount (#1058) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Variable HealthToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1006) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._getValues(uint256).rTransferAmount (#1058) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken._getValues(uint256).rTransferAmount (#1058) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1339) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken._transferStandard(address,address,uint256).rTransferAmount (#1318) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Variable HealthToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1006) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1339) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Variable HealthToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1339) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1006) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Variable HealthToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1339) is too similar to HealthToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1006)
Variable HealthToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1006) is too similar to HealthToken._transferStandard(address,address,uint256).tTransferAmount (#1318)
Variable HealthToken._getValues(uint256).rTransferAmount (#1058) is too similar to HealthToken._getValues(uint256).tTransferAmount (#1057)
Variable HealthToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1077) is too similar to HealthToken._getTValues(uint256).tTransferAmount (#1067)
Variable HealthToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1077) is too similar to HealthToken._transferToExcluded(address,address,uint256).tTransferAmount (#1328)
Prevent variables from having similar names.
Additional information: link
HealthToken.slitherConstructorVariables() (#789-1453) uses literals with too many digits:
- _tTotal = 1000000 * 10 ** 6 * 10 ** 9 (#830)
HealthToken.slitherConstructorVariables() (#789-1453) uses literals with too many digits:
- _maxTxAmount = 500000 * 10 ** 6 * 10 ** 9 (#860)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HealthToken._balances (#793) is never used in HealthToken (#789-1453)
Remove unused state variables.
Additional information: link
HealthToken._charityWalletAddress (#806) should be constant
HealthToken._decimals (#843) should be constant
HealthToken._devWalletAddress (#809) should be constant
HealthToken._liquidityAddress1Month (#810) should be constant
HealthToken._liquidityAddress3Month (#811) should be constant
HealthToken._liquidityAddress6Month (#812) should be constant
HealthToken._marketingWalletAddress (#807) should be constant
HealthToken._name (#840) should be constant
HealthToken._rewardWalletAddress (#808) should be constant
HealthToken._symbol (#841) should be constant
HealthToken._tTotal (#830) should be constant
HealthToken.numTokensSellToAddToLiquidity (#861) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#551-554)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#560-564)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#566-568)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#571-576)
unlock() should be declared external:
- Ownable.unlock() (#579-584)
name() should be declared external:
- HealthToken.name() (#896-898)
symbol() should be declared external:
- HealthToken.symbol() (#900-902)
decimals() should be declared external:
- HealthToken.decimals() (#904-906)
totalSupply() should be declared external:
- HealthToken.totalSupply() (#908-910)
transfer(address,uint256) should be declared external:
- HealthToken.transfer(address,uint256) (#917-920)
allowance(address,address) should be declared external:
- HealthToken.allowance(address,address) (#922-924)
approve(address,uint256) should be declared external:
- HealthToken.approve(address,uint256) (#926-929)
transferFrom(address,address,uint256) should be declared external:
- HealthToken.transferFrom(address,address,uint256) (#931-935)
increaseAllowance(address,uint256) should be declared external:
- HealthToken.increaseAllowance(address,uint256) (#937-940)
decreaseAllowance(address,uint256) should be declared external:
- HealthToken.decreaseAllowance(address,uint256) (#942-945)
isExcludedFromReward(address) should be declared external:
- HealthToken.isExcludedFromReward(address) (#947-949)
totalFees() should be declared external:
- HealthToken.totalFees() (#951-953)
deliver(uint256) should be declared external:
- HealthToken.deliver(uint256) (#956-963)
reflectionFromToken(uint256,bool) should be declared external:
- HealthToken.reflectionFromToken(uint256,bool) (#965-974)
excludeFromReward(address) should be declared external:
- HealthToken.excludeFromReward(address) (#982-990)
excludeFromFee(address) should be declared external:
- HealthToken.excludeFromFee(address) (#1017-1019)
includeInFee(address) should be declared external:
- HealthToken.includeInFee(address) (#1021-1023)
setSwapAndLiquifyEnabled(bool) should be declared external:
- HealthToken.setSwapAndLiquifyEnabled(bool) (#1043-1046)
isExcludedFromFee(address) should be declared external:
- HealthToken.isExcludedFromFee(address) (#1158-1160)
initialDevDeposit() should be declared external:
- HealthToken.initialDevDeposit() (#1362-1369)
addEntry(uint256,address) should be declared external:
- HealthToken.addEntry(uint256,address) (#1383-1386)
useEntry(uint256,uint256) should be declared external:
- HealthToken.useEntry(uint256,uint256) (#1388-1393)
liquidityWalletLock() should be declared external:
- HealthToken.liquidityWalletLock() (#1417-1428)
DepositRewardAndMarketing() should be declared external:
- HealthToken.DepositRewardAndMarketing() (#1430-1434)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Youtube account
Unable to find Discord account