EpicHero.io 3D NFT Token Logo

EPICHERO [EpicHero.io 3D NFT] Token

About EPICHERO

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years
white paper

EpicHero is the First Ever play to earn game that rewards its NFT holders with 5% BNB of token transaction and NFT marketplace transaction tax. This innovative mechanism gives the EpicHero NFT holder's great passive income overtime simply by holding the NFT in their wallet. The multiple use cases, from play2earn, collecting to simply holding for passive income, makes EpicHero friendly to anyone, and attractive in various states of the market.

Social

Laser Scorebeta Last Audit: 2 January 2023

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

Anti-Scam

Links


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

EpicHeroToken._buyBackAndBurn(uint256) (#1243-1254) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
EpicHeroToken._addLiquidity(uint256,uint256) (#1213-1224) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
DividendPayingToken.retrieveBNB(uint256) (#257-261) sends eth to arbitrary user
Dangerous calls:
- (success) = address(msg.sender).call{value: amount}() (#259)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- swapping = false (#1146)
- swapping = true (#1152)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- super._transfer(address(this),deadAddress,tokensToBurn) (#1128)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- super._transfer(address(this),gameTreasury,tokensToTreasury) (#1133)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1177)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- super._transfer(from,to,amount) (#1181)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- swapping = false (#1160)
Apply the check-effects-interactions pattern.

Additional information: link


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Contract ownership is not renounced (belongs to a wallet)

EpicHeroToken.setMinBNBAfterBuyback(uint256) (#921-924) contains a tautology or contradiction:
- require(bool,string)(_newAmount >= 0,newAmount error) (#922)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link

Contract name (EpicHero.io 3D NFT) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

DividendPayingToken._withdrawDividendOfUser(address) (#263-279) has external calls inside a loop: success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#268)
Favor pull over push strategy for external calls.

Additional information: link

EpicHeroToken._transfer(address,address,uint256) (#1068-1196) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(10000) (#1166)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1170)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in EpicHeroToken.setThoreumDividendTracker(address) (#936-947):
External calls:
- newThoreumDividendTracker.excludeFromDividends(address(newThoreumDividendTracker)) (#941)
- newThoreumDividendTracker.excludeFromDividends(address(this)) (#942)
- newThoreumDividendTracker.excludeFromDividends(address(dexRouter)) (#943)
- newThoreumDividendTracker.excludeFromDividends(address(deadAddress)) (#944)
State variables written after the call(s):
- thoreumDividendTracker = newThoreumDividendTracker (#946)
Reentrancy in EpicHeroToken.prepareForPartner(address) (#839-842):
External calls:
- thoreumDividendTracker.excludeFromDividends(_partnerOrExchangeAddress) (#840)
State variables written after the call(s):
- excludeFromFees(_partnerOrExchangeAddress,true) (#841)
- isExcludedFromFees[account] = excluded (#1021)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
State variables written after the call(s):
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- _allowances[owner][spender] = amount (#170)
Reentrancy in ThoreumDividendTracker.processAccount(address,bool) (#604-614):
External calls:
- amount = _withdrawDividendOfUser(account) (#605)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#268)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#608)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- _allowances[owner][spender] = amount (#170)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- _allowances[owner][spender] = amount (#170)
Reentrancy in EpicHeroToken._swapAndLiquify(uint256) (#1198-1211):
External calls:
- _swapTokensForBNB(half) (#1204)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _addLiquidity(otherHalf,newBalance) (#1208)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#1208)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- _addLiquidity(otherHalf,newBalance) (#1208)
- _allowances[owner][spender] = amount (#170)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- _allowances[owner][spender] = amount (#170)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- _allowances[owner][spender] = amount (#170)
Apply the check-effects-interactions pattern.

Additional information: link

ThoreumDividendTracker._canAutoClaim(uint256) (#739-745) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#740)
- block.timestamp.sub(lastClaimTime) >= claimWait (#744)
ThoreumDividendTracker.getAccount(address) (#675-718) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#715-717)
Avoid relying on block.timestamp.

Additional information: link

Low level call in EpicHeroToken.retrieveBNB(uint256) (#1048-1051):
- (success) = address(msg.sender).call{value: amount}() (#1049)
Low level call in DividendPayingToken.retrieveBNB(uint256) (#257-261):
- (success) = address(msg.sender).call{value: amount}() (#259)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

DividendPayingToken.lastAmount (#199) is never used in ThoreumDividendTracker (#544-749)
Remove unused state variables.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#263-279):
External calls:
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#268)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#271)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- SendWbnbDividends(wbnbDividends) (#1318)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- SwapAndLiquify(half,newBalance,otherHalf) (#1210)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
Reentrancy in ThoreumDividendTracker.processAccount(address,bool) (#604-614):
External calls:
- amount = _withdrawDividendOfUser(account) (#605)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#268)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#609)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- SendThoreumDividends(thoreumDividends) (#1306)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#145)
- super._transfer(from,address(this),fees) (#1177)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(from,to,amount) (#1181)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
- thoreumDividendTracker.setBalance(address(from),balanceOf(from),sendThoreumInTx) (#1183)
- thoreumDividendTracker.setBalance(address(to),balanceOf(to),sendThoreumInTx) (#1184)
- thoreumDividendTracker.process(gas) (#1189-1194)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
Event emitted after the call(s):
- ProcessedThoreumDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1190)
Reentrancy in EpicHeroToken._swapAndSendWbnbReflects(uint256) (#1310-1320):
External calls:
- _swapTokensForDividendToken(tokens,address(wbnbReflectTracker),wbnbReflectToken) (#1313)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
Event emitted after the call(s):
- SendWbnbDividends(wbnbDividends) (#1318)
Reentrancy in EpicHeroToken._swapAndLiquify(uint256) (#1198-1211):
External calls:
- _swapTokensForBNB(half) (#1204)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _addLiquidity(otherHalf,newBalance) (#1208)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#1208)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _addLiquidity(otherHalf,newBalance) (#1208)
- SwapAndLiquify(half,newBalance,otherHalf) (#1210)
Reentrancy in EpicHeroToken.processDividendTracker(uint256) (#1030-1033):
External calls:
- (aIterations,aClaims,aLastProcessedIndex) = thoreumDividendTracker.process(gas) (#1031)
Event emitted after the call(s):
- ProcessedThoreumDividendTracker(aIterations,aClaims,aLastProcessedIndex,false,gas,tx.origin) (#1032)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _swapTokensForBNB(swapTokens) (#1102)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1263-1269)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#1234-1240)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(address(this),gameTreasury,tokensToTreasury) (#1133)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(address(this),deadAddress,tokensToBurn) (#1128)
Reentrancy in EpicHeroToken.prepareForPartner(address) (#839-842):
External calls:
- thoreumDividendTracker.excludeFromDividends(_partnerOrExchangeAddress) (#840)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1023)
- excludeFromFees(_partnerOrExchangeAddress,true) (#841)
Reentrancy in EpicHeroToken._swapAndSendThoreumDividends(uint256) (#1297-1308):
External calls:
- _swapTokensForDividendToken(tokens,address(thoreumDividendTracker),thoreumDividendToken) (#1300)
- dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#1288-1294)
- thoreumDividendTracker.distributeDividends(thoreumDividends) (#1305)
Event emitted after the call(s):
- SendThoreumDividends(thoreumDividends) (#1306)
Reentrancy in EpicHeroToken._setAutomatedMarketMakerPair(address,bool) (#997-1005):
External calls:
- thoreumDividendTracker.excludeFromDividends(pair) (#1001)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1004)
Apply the check-effects-interactions pattern.

Additional information: link

Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable 'EpicHeroToken._transfer(address,address,uint256).lastProcessedIndex (#1189)' in EpicHeroToken._transfer(address,address,uint256) (#1068-1196) potentially used before declaration: ProcessedThoreumDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1190)
Variable 'EpicHeroToken._transfer(address,address,uint256).claims (#1189)' in EpicHeroToken._transfer(address,address,uint256) (#1068-1196) potentially used before declaration: ProcessedThoreumDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1190)
Variable 'EpicHeroToken._transfer(address,address,uint256).iterations (#1189)' in EpicHeroToken._transfer(address,address,uint256) (#1068-1196) potentially used before declaration: ProcessedThoreumDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1190)
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

DividendPayingToken.retrieveBNB(uint256) (#257-261) uses tx.origin for authorization: require(bool,string)(tx.origin == adminAddress,Only admin) (#258)
DividendPayingToken.setDividendTokenAddress(address) (#242-245) uses tx.origin for authorization: require(bool,string)(tx.origin == adminAddress,Only admin) (#243)
DividendPayingToken.setMinTokenBeforeSendDividend(uint256) (#247-250) uses tx.origin for authorization: require(bool,string)(tx.origin == adminAddress,Only admin) (#248)
DividendPayingToken.setOnlyCaller(address) (#237-240) uses tx.origin for authorization: require(bool,string)(tx.origin == adminAddress,Only admin) (#238)
DividendPayingToken.retrieveTokens(address,uint256) (#252-255) uses tx.origin for authorization: require(bool,string)(tx.origin == adminAddress,Only admin) (#253)
Do not use tx.origin for authorization.

Additional information: link

EpicHeroToken._transfer(address,address,uint256).claims (#1189) is a local variable never initialized
EpicHeroToken._transfer(address,address,uint256).lastProcessedIndex (#1189) is a local variable never initialized
EpicHeroToken._transfer(address,address,uint256).iterations (#1189) 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

EpicHeroToken._transfer(address,address,uint256) (#1068-1196) ignores return value by thoreumDividendTracker.process(gas) (#1189-1194)
EpicHeroToken.claim() (#1053-1055) ignores return value by thoreumDividendTracker.processAccount(address(msg.sender),false) (#1054)
EpicHeroToken._addLiquidity(uint256,uint256) (#1213-1224) ignores return value by dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string,address)._name (#212) shadows:
- ERC20._name (#77) (state variable)
DividendPayingToken.constructor(string,string,address)._symbol (#212) shadows:
- ERC20._symbol (#78) (state variable)
Rename the local variables that shadow another component.

Additional information: link

EpicHeroToken.setThoreumDividendRewardFee(uint8) (#949-953) should emit an event for:
- thoreumDividendRewardsFee = newFee (#951)
EpicHeroToken.setMaxWalletToken(uint256) (#905-907) should emit an event for:
- maxWalletToken = _maxToken (#906)
EpicHeroToken.setSwapTokensAtAmount(uint256) (#909-911) should emit an event for:
- swapTokensAtAmount = _swapAmount (#910)
EpicHeroToken.setToBurnTokenFee(uint256) (#893-897) should emit an event for:
- toBurnTokenFee = newFee (#895)
EpicHeroToken.setBuyBackUpperLimitBNB(uint256) (#931-934) should emit an event for:
- buybackUpperLimitBNB = buyBackLimit (#933)
EpicHeroToken.setMaxSellTransaction(uint256) (#848-850) should emit an event for:
- maxSellTransactionAmount = _maxTxn (#849)
EpicHeroToken.setMarketingFee(uint8) (#961-965) should emit an event for:
- marketingFee = newFee (#963)
EpicHeroToken.setWbnbReflectRewardFee(uint8) (#955-959) should emit an event for:
- wbnbReflectRewardsFee = newFee (#957)
EpicHeroToken.setBuyBackFee(uint8) (#967-971) should emit an event for:
- buyBackFee = newFee (#969)
EpicHeroToken.setMinBNBAfterBuyback(uint256) (#921-924) should emit an event for:
- minBNBAfterBuyback = _newAmount (#923)
EpicHeroToken.setToBurnAllianceFee(uint256) (#887-891) should emit an event for:
- toBurnAllianceFee = newFee (#889)
EpicHeroToken.setSellTransactionMultiplier(uint256) (#913-915) should emit an event for:
- sellFeeIncreaseFactor = _multiplier (#914)
EpicHeroToken.setGasForProcessing(uint256) (#1007-1009) should emit an event for:
- gasForProcessing = newValue (#1008)
EpicHeroToken.setGameTreasuryFee(uint256) (#899-903) should emit an event for:
- gameTreasuryFee = newFee (#901)
ThoreumDividendTracker.updateClaimWait(uint256) (#580-583) should emit an event for:
- claimWait = newClaimWait (#582)
EpicHeroToken.setMaxBuyTransaction(uint256) (#844-846) should emit an event for:
- maxBuyTransactionAmount = _maxTxn (#845)
EpicHeroToken.setLiquidityFee(uint8) (#973-977) should emit an event for:
- liquidityFee = newFee (#975)
EpicHeroToken.setMinSellToTriggerBuyback(uint256) (#926-929) should emit an event for:
- minSellToTriggerBuyback = _newAmount (#928)
Emit an event for critical parameter changes.

Additional information: link

DividendPayingToken.setOnlyCaller(address)._newCaller (#237) lacks a zero-check on :
- onlyCaller = _newCaller (#239)
EpicHeroToken.setBurnAllianceToken(address)._newAddress (#883) lacks a zero-check on :
- toBurnAllianceToken = _newAddress (#884)
EpicHeroToken.setThoreumDividendToken(address)._newContract (#852) lacks a zero-check on :
- thoreumDividendToken = _newContract (#853)
EpicHeroToken.setWbnbReflectToken(address)._newContract (#865) lacks a zero-check on :
- wbnbReflectToken = _newContract (#866)
DividendPayingToken.constructor(string,string,address)._token (#212) lacks a zero-check on :
- dividendToken = _token (#213)
EpicHeroToken.setMarketingWallet(address)._newWallet (#878) lacks a zero-check on :
- marketingWallet = _newWallet (#880)
EpicHeroToken.setWbnbReflectTracker(address)._newContract (#869) lacks a zero-check on :
- wbnbReflectTracker = _newContract (#870)
EpicHeroToken.setTeamWallet(address)._newWallet (#873) lacks a zero-check on :
- teamWallet = _newWallet (#875)
ThoreumDividendTracker.setDividendTokenAddress(address).newToken (#563) lacks a zero-check on :
- dividendToken = newToken (#564)
Check that the address is not zero.

Additional information: link

SafeMathInt.div(int256,int256) (#513-519) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#458-461) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#462-465) is never used and should be removed
SafeMathInt.mul(int256,int256) (#504-512) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#440-444) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#497-500) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#493-496) is never used and should be removed
ERC20._setupDecimals(uint8) (#174-176) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#485-488) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#449-457) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#445-448) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#298-300) is never used and should be removed
Remove unused functions.

Additional information: link

Parameter EpicHeroToken.setMinThoreumBeforeSendDividend(uint256)._newAmount (#857) is not in mixedCase
Function IDEXRouter.WETH() (#335) is not in mixedCase
Parameter ThoreumDividendTracker.updateMinimumTokenBalanceForDividends(uint256)._newMinimumBalance (#567) is not in mixedCase
Parameter EpicHeroToken.setMaxWalletToken(uint256)._maxToken (#905) is not in mixedCase
Parameter EpicHeroToken.setSellTransactionMultiplier(uint256)._multiplier (#913) is not in mixedCase
Parameter EpicHeroToken.setBurnAllianceToken(address)._newAddress (#883) is not in mixedCase
Constant DividendPayingToken.magnitude (#196) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter EpicHeroToken.setWbnbReflectToken(address)._newContract (#865) is not in mixedCase
Parameter EpicHeroToken.setWbnbReflectTracker(address)._newContract (#869) is not in mixedCase
Parameter EpicHeroToken.prepareForPartner(address)._partnerOrExchangeAddress (#839) is not in mixedCase
Parameter EpicHeroToken.setMaxBuyTransaction(uint256)._maxTxn (#844) is not in mixedCase
Parameter EpicHeroToken.setTradingIsEnabled(bool)._enabled (#917) is not in mixedCase
Parameter EpicHeroToken.setTeamWallet(address)._newWallet (#873) is not in mixedCase
Parameter EpicHeroToken.setMinSellToTriggerBuyback(uint256)._newAmount (#926) is not in mixedCase
Parameter EpicHeroToken.setSendThoreumInTx(bool)._newStatus (#861) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#281) is not in mixedCase
Parameter ThoreumDividendTracker.getAccount(address)._account (#675) is not in mixedCase
Parameter EpicHeroToken.setMaxSellTransaction(uint256)._maxTxn (#848) is not in mixedCase
Parameter EpicHeroToken.setSwapTokensAtAmount(uint256)._swapAmount (#909) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#289) is not in mixedCase
Parameter EpicHeroToken.setMinBNBAfterBuyback(uint256)._newAmount (#921) is not in mixedCase
Parameter EpicHeroToken.setThoreumDividendToken(address)._newContract (#852) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#285) is not in mixedCase
Parameter EpicHeroToken.setMarketingWallet(address)._newWallet (#878) is not in mixedCase
Parameter DividendPayingToken.setOnlyCaller(address)._newCaller (#237) is not in mixedCase
Parameter EpicHeroToken.manualBuyBackAndBurn(uint256)._amount (#1035) is not in mixedCase
Parameter EpicHeroToken.setFeesOnNormalTransfers(bool)._enabled (#987) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#293) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
State variables written after the call(s):
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
- _allowances[owner][spender] = amount (#170)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _swapTokensForBNB(contractTokenBalance.mul(buyBackFee).div(totalFees)) (#1114)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
- _buyBackAndBurn(buyBackBalanceBNB.div(10 ** 2)) (#1158)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1248-1253)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1177)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- super._transfer(from,to,amount) (#1181)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- swapping = false (#1160)
Event emitted after the call(s):
- ProcessedThoreumDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1190)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(from,to,amount) (#1181)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(from,address(this),fees) (#1177)
Reentrancy in EpicHeroToken._transfer(address,address,uint256) (#1068-1196):
External calls:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
External calls sending eth:
- _transferToWallet(address(marketingWallet),marketingPortion) (#1108)
- recipient.transfer(amount) (#1323)
- _transferToWallet(address(teamWallet),teamPortion) (#1109)
- recipient.transfer(amount) (#1323)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- dexRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#1216-1223)
State variables written after the call(s):
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- _allowances[owner][spender] = amount (#170)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- _allowances[owner][spender] = amount (#170)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- _allowances[owner][spender] = amount (#170)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- _allowances[owner][spender] = amount (#170)
- super._transfer(address(this),deadAddress,tokensToBurn) (#1128)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- super._transfer(address(this),gameTreasury,tokensToTreasury) (#1133)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#143)
- _balances[recipient] = _balances[recipient].add(amount) (#144)
- swapping = false (#1146)
- swapping = true (#1152)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#171)
- _buyBackAllianceTokenAndBurn(swapTokensToBurnAlliance) (#1123)
- Approval(owner,spender,amount) (#171)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- Approval(owner,spender,amount) (#171)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- Approval(owner,spender,amount) (#171)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- SendThoreumDividends(thoreumDividends) (#1306)
- _swapAndSendThoreumDividends(sellTokens.sub(1300)) (#1138)
- SendWbnbDividends(wbnbDividends) (#1318)
- _swapAndSendWbnbReflects(sellTokens_scope_0.sub(1300)) (#1143)
- SwapAndLiquify(half,newBalance,otherHalf) (#1210)
- _swapAndLiquify(contractTokenBalance.mul(liquidityFee).div(totalFees)) (#1118)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(address(this),deadAddress,tokensToBurn) (#1128)
- Transfer(sender,recipient,amount) (#145)
- super._transfer(address(this),gameTreasury,tokensToTreasury) (#1133)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#340) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#341)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#264) is too similar to ThoreumDividendTracker.getAccount(address).withdrawableDividends (#680)
Prevent variables from having similar names.

Additional information: link

ThoreumDividendTracker.getAccountAtIndex(uint256) (#720-737) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#731)
EpicHeroToken.constructor() (#806-829) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (#828)
ThoreumDividendTracker.constructor() (#558-561) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (#560)
EpicHeroToken.slitherConstructorVariables() (#751-1333) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#765)
EpicHeroToken.slitherConstructorVariables() (#751-1333) uses literals with too many digits:
- gasForProcessing = 1000000 (#789)
EpicHeroToken.slitherConstructorVariables() (#751-1333) uses literals with too many digits:
- maxBuyTransactionAmount = 1000000 * 10 ** 18 (#793)
EpicHeroToken.slitherConstructorVariables() (#751-1333) uses literals with too many digits:
- maxSellTransactionAmount = 100000 * 10 ** 18 (#794)
EpicHeroToken.slitherConstructorVariables() (#751-1333) uses literals with too many digits:
- maxWalletToken = 1000000000 * 10 ** 18 (#796)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendPayingToken.lastAmount (#199) should be constant
EpicHeroToken.deadAddress (#765) should be constant
EpicHeroToken.gameTreasury (#776) should be constant
DividendPayingToken.adminAddress (#201) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#389-391)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#121-125)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#400-402)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#38-41)
decimals() should be declared external:
- ERC20.decimals() (#95-97)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- EpicHeroToken.setAutomatedMarketMakerPair(address,bool) (#991-995)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#281-283)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#233-235)
- ThoreumDividendTracker.withdrawDividend() (#667-669)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#393-398)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#132-135)
symbol() should be declared external:
- ERC20.symbol() (#91-93)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#107-110)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#127-130)
setMinSellToTriggerBuyback(uint256) should be declared external:
- EpicHeroToken.setMinSellToTriggerBuyback(uint256) (#926-929)
process(uint256) should be declared external:
- ThoreumDividendTracker.process(uint256) (#616-661)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#404-406)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#43-47)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#219-231)
setMinBNBAfterBuyback(uint256) should be declared external:
- EpicHeroToken.setMinBNBAfterBuyback(uint256) (#921-924)
name() should be declared external:
- ERC20.name() (#87-89)
manualBuyBackAndBurn(uint256) should be declared external:
- EpicHeroToken.manualBuyBackAndBurn(uint256) (#1035-1042)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#116-119)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#49-54)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#289-291)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#112-114)
getAccountAtIndex(uint256) should be declared external:
- ThoreumDividendTracker.getAccountAtIndex(uint256) (#720-737)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 4% buy tax and 13% 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 liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Token is deployed only at one blockchain


Unable to find Youtube account


Unable to find Discord account


Unable to find token contract audit


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


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


Token has relatively low CoinMarketCap rank

Price for EPICHERO

News for EPICHERO