Energyfi is designing green and cost-effective Decentralized Finance by providing a complete set of DeFi features on Avax, Near, Bsc and Echain (Energyfi Chain) all while accelerating their adoption. The Energyfi platform includes a wide range of crosschain DApps including Launchpad, Dex, Bridge, Staking/Farming and Lending features.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Energyfi.claimStuckTokens(address) (#1239-1250) ignores return value by erc20token.transfer(owner(),balance) (#1249)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in Energyfi._transfer(address,address,uint256) (#1414-1462):
External calls:
- swapTokensForEth(contractTokenBalance,_marketingWallet) (#1449)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recepient,block.timestamp) (#1474-1480)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _rOwned[address(0xdead)] = _rOwned[address(0xdead)].add(rBurn) (#1353)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#1354)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1519)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1541)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1565)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1588)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1520)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1543)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1566)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1590)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _rTotal = _rTotal.sub(rFee) (#1256)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _tOwned[address(0xdead)] = _tOwned[address(0xdead)].add(tBurn) (#1356)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1564)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing) (#1357)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1587)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1542)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1589)
Apply the check-effects-interactions pattern.
Additional information: link
Energyfi.allowance(address,address).owner (#1053) shadows:
- Ownable.owner() (#308-310) (function)
Energyfi._approve(address,address,uint256).owner (#1403) shadows:
- Ownable.owner() (#308-310) (function)
Rename the local variables that shadow another component.
Additional information: link
Energyfi.setTaxFeePercent(uint256) (#1195-1197) should emit an event for:
- _taxFee = taxFee (#1196)
Energyfi.setBurnFeePercent(uint256) (#1199-1201) should emit an event for:
- _burnFee = burnFee (#1200)
Energyfi.setMarketingFeePercent(uint256) (#1203-1205) should emit an event for:
- _marketingFee = marketingFee (#1204)
Energyfi.setNumTokensSellToAddToLiquidity(uint256) (#1207-1212) should emit an event for:
- numTokensSellToAddToLiquidity = numTokens (#1211)
Energyfi.setMaxTxAmount(uint256) (#1230-1232) should emit an event for:
- _maxTxAmount = value (#1231)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Energyfi._transfer(address,address,uint256) (#1414-1462):
External calls:
- swapTokensForEth(contractTokenBalance,_marketingWallet) (#1449)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recepient,block.timestamp) (#1474-1480)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _burnFee = _previousBurnFee (#1394)
- _burnFee = 0 (#1388)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _marketingFee = _previousMarketingFee (#1395)
- _marketingFee = 0 (#1389)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _previousBurnFee = _burnFee (#1384)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _previousMarketingFee = _marketingFee (#1385)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _previousTaxFee = _taxFee (#1383)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1257)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- _taxFee = _previousTaxFee (#1393)
- _taxFee = 0 (#1387)
Reentrancy in Energyfi.transferFrom(address,address,uint256) (#1071-1086):
External calls:
- _transfer(sender,recipient,amount) (#1076)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recepient,block.timestamp) (#1474-1480)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1077-1084)
- _allowances[owner][spender] = amount (#1410)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Energyfi._transfer(address,address,uint256) (#1414-1462):
External calls:
- swapTokensForEth(contractTokenBalance,_marketingWallet) (#1449)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recepient,block.timestamp) (#1474-1480)
Event emitted after the call(s):
- Transfer(msg.sender,address(0xdead),tBurn) (#1360)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- Transfer(sender,recipient,tTransferAmount) (#1526)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- Transfer(sender,recipient,tTransferAmount) (#1549)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- Transfer(sender,recipient,tTransferAmount) (#1572)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
- Transfer(sender,recipient,tTransferAmount) (#1596)
- _tokenTransfer(from,to,amount,takeFee) (#1461)
Reentrancy in Energyfi.transferFrom(address,address,uint256) (#1071-1086):
External calls:
- _transfer(sender,recipient,amount) (#1076)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recepient,block.timestamp) (#1474-1480)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1411)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1077-1084)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#377-387) uses assembly
- INLINE ASM (#383-385)
Address.verifyCallResult(bool,bytes,string) (#583-603) uses assembly
- INLINE ASM (#595-598)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.6']
- >=0.6.2 (#4)
- >=0.6.2 (#167)
- >=0.5.0 (#218)
- ^0.8.0 (#252)
- ^0.8.0 (#276)
- ^0.8.0 (#354)
- ^0.8.0 (#608)
- ^0.8.0 (#855)
- ^0.8.6 (#946)
Use one Solidity version.
Additional information: link
Energyfi.includeInReward(address) (#1174-1185) has costly operations inside a loop:
- _excluded.pop() (#1181)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#436-441) is never used and should be removed
Address.functionCall(address,bytes,string) (#449-455) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#468-480) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#488-504) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#548-558) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#566-575) is never used and should be removed
Address.functionStaticCall(address,bytes) (#512-523) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#531-540) is never used and should be removed
Address.isContract(address) (#377-387) is never used and should be removed
Address.sendValue(address,uint256) (#405-416) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#583-603) is never used and should be removed
Context._msgData() (#269-271) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#815-824) is never used and should be removed
SafeMath.mod(uint256,uint256) (#775-777) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#841-850) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#626-636) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#680-689) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#696-705) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#659-673) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#643-652) is never used and should be removed
Remove unused functions.
Additional information: link
Energyfi._rTotal (#963) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Energyfi._previousTaxFee (#971) is set pre-construction with a non-constant function or state variable:
- _taxFee
Energyfi._previousMarketingFee (#974) is set pre-construction with a non-constant function or state variable:
- _marketingFee
Energyfi._previousBurnFee (#977) is set pre-construction with a non-constant function or state variable:
- _burnFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version>=0.6.2 (#4) allows old versions
Pragma version>=0.6.2 (#167) allows old versions
Pragma version>=0.5.0 (#218) allows old versions
Pragma version^0.8.0 (#252) allows old versions
Pragma version^0.8.0 (#276) allows old versions
Pragma version^0.8.0 (#354) allows old versions
Pragma version^0.8.0 (#608) allows old versions
Pragma version^0.8.0 (#855) allows old versions
solc-0.8.11 is not recommended for deployment
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
Low level call in Address.sendValue(address,uint256) (#405-416):
- (success) = recipient.call{value: amount}() (#411)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#488-504):
- (success,returndata) = target.call{value: value}(data) (#500-502)
Low level call in Address.functionStaticCall(address,bytes,string) (#531-540):
- (success,returndata) = target.staticcall(data) (#538)
Low level call in Address.functionDelegateCall(address,bytes,string) (#566-575):
- (success,returndata) = target.delegatecall(data) (#573)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#9) is not in mixedCase
Parameter Energyfi.setSwapAndLiquifyEnabled(bool)._enabled (#1234) is not in mixedCase
Parameter Energyfi.claimStuckTokens(address)._token (#1239) is not in mixedCase
Parameter Energyfi.calculateTaxFee(uint256)._amount (#1364) is not in mixedCase
Parameter Energyfi.calculateBurnFee(uint256)._amount (#1368) is not in mixedCase
Parameter Energyfi.calculateMarketingFee(uint256)._amount (#1372) is not in mixedCase
Variable Energyfi._taxFee (#970) is not in mixedCase
Variable Energyfi._marketingFee (#973) is not in mixedCase
Variable Energyfi._burnFee (#976) is not in mixedCase
Variable Energyfi._marketingWallet (#982-983) is not in mixedCase
Variable Energyfi._maxTxAmount (#988) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#14) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#15)
Variable Energyfi._transferStandard(address,address,uint256).rTransferAmount (#1514) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi._transferStandard(address,address,uint256).rTransferAmount (#1514) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi.reflectionFromToken(uint256,bool).rTransferAmount (#1147) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi.reflectionFromToken(uint256,bool).rTransferAmount (#1147) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1324) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1324) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi._transferStandard(address,address,uint256).rTransferAmount (#1514) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._transferStandard(address,address,uint256).rTransferAmount (#1514) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi.reflectionFromToken(uint256,bool).rTransferAmount (#1147) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._transferStandard(address,address,uint256).rTransferAmount (#1514) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Variable Energyfi.reflectionFromToken(uint256,bool).rTransferAmount (#1147) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi.reflectionFromToken(uint256,bool).rTransferAmount (#1147) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Variable Energyfi._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1324) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1324) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi._transferToExcluded(address,address,uint256).rTransferAmount (#1536) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi._transferToExcluded(address,address,uint256).rTransferAmount (#1536) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._transferToExcluded(address,address,uint256).rTransferAmount (#1536) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi._transferBothExcluded(address,address,uint256).rTransferAmount (#1582) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi._transferBothExcluded(address,address,uint256).rTransferAmount (#1582) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi._getValues(uint256).rTransferAmount (#1277) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi._transferStandard(address,address,uint256).rTransferAmount (#1514) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._transferBothExcluded(address,address,uint256).rTransferAmount (#1582) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._transferBothExcluded(address,address,uint256).rTransferAmount (#1582) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi.reflectionFromToken(uint256,bool).rTransferAmount (#1147) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._transferFromExcluded(address,address,uint256).rTransferAmount (#1559) is too similar to Energyfi._transferFromExcluded(address,address,uint256).tTransferAmount (#1561)
Variable Energyfi._transferFromExcluded(address,address,uint256).rTransferAmount (#1559) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi._transferToExcluded(address,address,uint256).rTransferAmount (#1536) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi._transferFromExcluded(address,address,uint256).rTransferAmount (#1559) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Variable Energyfi._transferBothExcluded(address,address,uint256).rTransferAmount (#1582) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._getValues(uint256).rTransferAmount (#1277) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._transferToExcluded(address,address,uint256).rTransferAmount (#1536) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Variable Energyfi._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1324) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Variable Energyfi._getValues(uint256).rTransferAmount (#1277) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi._transferFromExcluded(address,address,uint256).rTransferAmount (#1559) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._transferToExcluded(address,address,uint256).rTransferAmount (#1536) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1324) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._getValues(uint256).rTransferAmount (#1277) is too similar to Energyfi._transferBothExcluded(address,address,uint256).tTransferAmount (#1584)
Variable Energyfi._getValues(uint256).rTransferAmount (#1277) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Variable Energyfi._transferFromExcluded(address,address,uint256).rTransferAmount (#1559) is too similar to Energyfi._transferToExcluded(address,address,uint256).tTransferAmount (#1538)
Variable Energyfi._transferFromExcluded(address,address,uint256).rTransferAmount (#1559) is too similar to Energyfi._getValues(uint256).tTransferAmount (#1272)
Variable Energyfi._getValues(uint256).rTransferAmount (#1277) is too similar to Energyfi._transferStandard(address,address,uint256).tTransferAmount (#1516)
Variable Energyfi._transferBothExcluded(address,address,uint256).rTransferAmount (#1582) is too similar to Energyfi._getTValues(uint256).tTransferAmount (#1300)
Prevent variables from having similar names.
Additional information: link
Energyfi._decimals (#968) should be constant
Energyfi._marketingWallet (#982-983) should be constant
Energyfi._name (#966) should be constant
Energyfi._symbol (#967) should be constant
Energyfi._tTotal (#962) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#327-329)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#335-341)
name() should be declared external:
- Energyfi.name() (#1023-1025)
symbol() should be declared external:
- Energyfi.symbol() (#1027-1029)
decimals() should be declared external:
- Energyfi.decimals() (#1031-1033)
totalSupply() should be declared external:
- Energyfi.totalSupply() (#1035-1037)
transfer(address,uint256) should be declared external:
- Energyfi.transfer(address,uint256) (#1044-1051)
allowance(address,address) should be declared external:
- Energyfi.allowance(address,address) (#1053-1060)
approve(address,uint256) should be declared external:
- Energyfi.approve(address,uint256) (#1062-1069)
transferFrom(address,address,uint256) should be declared external:
- Energyfi.transferFrom(address,address,uint256) (#1071-1086)
increaseAllowance(address,uint256) should be declared external:
- Energyfi.increaseAllowance(address,uint256) (#1088-1099)
decreaseAllowance(address,uint256) should be declared external:
- Energyfi.decreaseAllowance(address,uint256) (#1101-1115)
isExcludedFromReward(address) should be declared external:
- Energyfi.isExcludedFromReward(address) (#1117-1119)
totalFees() should be declared external:
- Energyfi.totalFees() (#1121-1123)
deliver(uint256) should be declared external:
- Energyfi.deliver(uint256) (#1125-1135)
reflectionFromToken(uint256,bool) should be declared external:
- Energyfi.reflectionFromToken(uint256,bool) (#1137-1150)
excludeFromReward(address) should be declared external:
- Energyfi.excludeFromReward(address) (#1165-1172)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Energyfi.setSwapAndLiquifyEnabled(bool) (#1234-1237)
isExcludedFromFee(address) should be declared external:
- Energyfi.isExcludedFromFee(address) (#1398-1400)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 1% buy tax and 0% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Unable to find Youtube account
Unable to find Discord account