Ethernal Finance II Token Logo

ETHFIN [Ethernal Finance II] Token

About ETHFIN

Listings

Token 2 years
white paper

Ethernal is a utility ecosystem that provides rewards in any top coins you want (e.g. ETH, BTC, BNB, SHIB) simply by holding, no need to stake or farm.

A community-driven DeFi Token built on the Binance Smart Chain with an innovative reflections functionality and a focus on continuous, sustainable growth. Ethernal's main objective is to offer as much value as possible to its users through added utility.

The Ethernal project seeks to build upon famous reflection tokens such as Safemoon and
EverGrow by adding an innovative functionality which allows users to claim rewards in up to 6 concurrent tokens of their choosing. In order to guarantee continuous usage, rewards, and valuation, the project team aims to launch new functionalities and marketing efforts regularly.

Laser Scorebeta Last Audit: 30 November 2021

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

Anti-Scam

Links

EthernalFinanceII.SendBNBfromContract(uint256,address) (#1202-1207) sends eth to arbitrary user
Dangerous calls:
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

EthernalFinanceII.random(uint256) (#1137-1143) uses a weak PRNG: "randomnumber = uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,msg.sender,nonce))) % range (#1139)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in EthernalFinanceII.setMyAutoPayout(bool) (#1700-1704):
External calls:
- CheckforWork() (#1700)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- (amountToken,amountETH) = _pancakeRouter.addLiquidityETH{value: bnbamount}(Contract,tokenamount,0,0,address(0),block.timestamp) (#1190-1197)
- (success,data) = routerAddress.call(abi.encodeWithSelector(0x18cbafe5,tokenamount,0,path,Contract,block.timestamp)) (#1329-1337)
External calls sending eth:
- CheckforWork() (#1700)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- (amountToken,amountETH) = _pancakeRouter.addLiquidityETH{value: bnbamount}(Contract,tokenamount,0,0,address(0),block.timestamp) (#1190-1197)
State variables written after the call(s):
- _AutoPayoutEnabled[msg.sender] = Checked (#1702)
Apply the check-effects-interactions pattern.

Additional information: link

EthernalFinanceII.RewardTokenoftheWeek (#397) is never initialized. It is used in:
- EthernalFinanceII.getPromotedRewardTokenoftheWeek() (#1458-1461)
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


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

EthernalFinanceII._PayTeam() (#681-708) uses a dangerous strict equality:
- SendBNBfromContract(MarketingBNB,MarketingWallet) == true (#683)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

EthernalFinanceII.ClaimRewards(address) (#1771-1874) performs a multiplication on the result of a division:
-slicevalue = amountBNB / 100 (#1836)
-BNBslice = slicevalue * percslice (#1845)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in EthernalFinanceII.constructor() (#551-597):
External calls:
- _pancakePairAddress = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#582)
State variables written after the call(s):
- UpdateRegister(_pancakePairAddress,false) (#583)
- N_holders ++ (#643)
- UpdateRegister(_pancakePairAddress,false) (#583)
- _RewardTokens[recipient].Slice1 = 75 (#647)
- _RewardTokens[recipient].Slice2 = 25 (#648)
- _RewardTokens[recipient].Token1 = 0 (#649)
- _RewardTokens[recipient].Token2 = 1 (#650)
- UpdateRegister(_pancakePairAddress,false) (#583)
- _isregistered[recipient] = true (#638)
- UpdateRegister(_pancakePairAddress,false) (#583)
- investorList.push(recipient) (#637)
Apply the check-effects-interactions pattern.

Additional information: link

EthernalFinanceII.AirdropPayout().Dropsmade (#1904) 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

EthernalFinanceII.setMainWallet(address) (#752-761) should emit an event for:
- MainWallet = addr (#756)
- MainWallet = addr (#756)
- MainWallet = addr (#756)
Emit an event for critical parameter changes.

Additional information: link

EthernalFinanceII.sendAirdrop(uint256,address) (#1719-1727) should emit an event for:
- RafflePot -= _Tokens (#1725)
Emit an event for critical parameter changes.

Additional information: link

EthernalFinanceII.setMainWallet(address).addr (#752) lacks a zero-check on :
- MainWallet = addr (#756)
Check that the address is not zero.

Additional information: link

EthernalFinanceII.ClaimRewards(address) (#1771-1874) has external calls inside a loop: PayoutTokenContract_scope_0 == _pancakeRouter.WETH() (#1850)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in EthernalFinanceII.doWork(uint32) (#1035-1076):
External calls:
- _swapTaxTokenForBNB(_maxTxAmount,_maxTxAmount) (#1040)
- (success,data) = routerAddress.call(abi.encodeWithSelector(0x18cbafe5,tokenamount,0,path,Contract,block.timestamp)) (#1329-1337)
- sendLiquidity() (#1044)
- (amountToken,amountETH) = _pancakeRouter.addLiquidityETH{value: bnbamount}(Contract,tokenamount,0,0,address(0),block.timestamp) (#1190-1197)
- _StartRewardCalculation() (#1056)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _DistributeRewards(N_payoutsperWorkRound) (#1064)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- doBuyback() (#1070)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- RefundGas() (#1035)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
External calls sending eth:
- sendLiquidity() (#1044)
- (amountToken,amountETH) = _pancakeRouter.addLiquidityETH{value: bnbamount}(Contract,tokenamount,0,0,address(0),block.timestamp) (#1190-1197)
- _StartRewardCalculation() (#1056)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _DistributeRewards(N_payoutsperWorkRound) (#1064)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- doBuyback() (#1070)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- RefundGas() (#1035)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
State variables written after the call(s):
- NextTask ++ (#1073)
- NextTask = 0 (#1075)
- doBuyback() (#1070)
- SingleUntaxedTransfer = true (#1949)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in EthernalFinanceII.doWork(uint32) (#1035-1076):
External calls:
- _swapTaxTokenForBNB(_maxTxAmount,_maxTxAmount) (#1040)
- (success,data) = routerAddress.call(abi.encodeWithSelector(0x18cbafe5,tokenamount,0,path,Contract,block.timestamp)) (#1329-1337)
- sendLiquidity() (#1044)
- (amountToken,amountETH) = _pancakeRouter.addLiquidityETH{value: bnbamount}(Contract,tokenamount,0,0,address(0),block.timestamp) (#1190-1197)
- _StartRewardCalculation() (#1056)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _DistributeRewards(N_payoutsperWorkRound) (#1064)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- doBuyback() (#1070)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- RefundGas() (#1035)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
External calls sending eth:
- sendLiquidity() (#1044)
- (amountToken,amountETH) = _pancakeRouter.addLiquidityETH{value: bnbamount}(Contract,tokenamount,0,0,address(0),block.timestamp) (#1190-1197)
- _StartRewardCalculation() (#1056)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _DistributeRewards(N_payoutsperWorkRound) (#1064)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- doBuyback() (#1070)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,address(receiver),block.timestamp) (#1362-1369)
- RefundGas() (#1035)
- (success) = receiver.call{value: amountBNB}(new bytes(0)) (#1204)
Event emitted after the call(s):
- Buyback_(tokens,N_holders) (#1964)
- doBuyback() (#1070)
- TokensBurned(amount) (#1488)
- doBuyback() (#1070)
- Transfer(account,deadwallet,amount) (#1487)
- doBuyback() (#1070)
- Transfer(sender,recipient,amount) (#908)
- doBuyback() (#1070)
Apply the check-effects-interactions pattern.

Additional information: link

EthernalFinanceII.doBuyback() (#1940-1974) uses timestamp for comparisons
Dangerous comparisons:
- __balanceOf[MainWallet] > tokens (#1956)
- (__totalSupply - tokens > burnUntil) (#1961)
Avoid relying on block.timestamp.

Additional information: link

EthernalFinanceII.sliceUint(bytes,uint256) (#1210-1220) uses assembly
- INLINE ASM (#1216-1218)
Do not use evm assembly.

Additional information: link

EthernalFinanceII.RefundGas() (#495-506) compares to a boolean constant:
-SendBNBfromContract(tempPot,MainWallet) == false (#502)
Remove the equality to the boolean constant.

Additional information: link

EthernalFinanceII.AirdropPayout() (#1893-1933) has costly operations inside a loop:
- Airdrop_totalPaidOut += payoutperwinner (#1919)
Use a local variable to hold the loop computation result.

Additional information: link

EthernalFinanceII._buyBackTokens(uint256) (#1418-1445) is never used and should be removed
Remove unused functions.

Additional information: link

solc-0.8.6 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 EthernalFinanceII._swapTokenForBNB(uint256) (#1318-1350):
- (success,data) = routerAddress.call(abi.encodeWithSelector(0x18cbafe5,tokenamount,0,path,Contract,block.timestamp)) (#1329-1337)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

EthernalFinanceII (#346-1977) should inherit from DAPP (#312-326)
Inherit from the missing interface or contract.

Additional information: link

Modifier EthernalFinanceII.RefundGas() (#495-506) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "DistributeSellTax (#1042)" inEthernalFinanceII (#346-1977)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#150) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#151)
Prevent variables from having similar names.

Additional information: link

EthernalFinanceII.slitherConstructorConstantVariables() (#346-1977) uses literals with too many digits:
- initialSupply = 100000000000000000000000000000 (#352)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

EthernalFinanceII.RewardTokenoftheWeek (#397) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

MyAvailableRewards() should be declared external:
- EthernalFinanceII.MyAvailableRewards() (#1887-1890)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token contract audit


Unable to find audit 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 price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for ETHFIN