EternalBoys Token Logo

EB [EternalBoys] Token

About EB

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

Reentrancy in EternalBoys._transfer(address,address,uint256) (contracts/EternalBoys.sol#1066-1173):
External calls:
- swapBack() (contracts/EternalBoys.sol#1129)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/EternalBoys.sol#1185-1191)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (contracts/EternalBoys.sol#1244)
External calls sending eth:
- swapBack() (contracts/EternalBoys.sol#1129)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (contracts/EternalBoys.sol#1244)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (contracts/EternalBoys.sol#1166)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/EternalBoys.sol#361)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/EternalBoys.sol#362)
- super._transfer(from,to,amount) (contracts/EternalBoys.sol#1172)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/EternalBoys.sol#361)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/EternalBoys.sol#362)
- swapping = false (contracts/EternalBoys.sol#1131)
- tokensForBuyBack += fees * 33 / 99 (contracts/EternalBoys.sol#1147)
- tokensForBuyBack += fees * sellBuyBackFee / sellTotalFees (contracts/EternalBoys.sol#1154)
- tokensForBuyBack += fees * buyBuyBackFee / buyTotalFees (contracts/EternalBoys.sol#1161)
- tokensForLiquidity += fees * 33 / 99 (contracts/EternalBoys.sol#1146)
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (contracts/EternalBoys.sol#1153)
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (contracts/EternalBoys.sol#1160)
- tokensForMarketing += fees * 33 / 99 (contracts/EternalBoys.sol#1148)
- tokensForMarketing += fees * sellMarketingFee / sellTotalFees (contracts/EternalBoys.sol#1155)
- tokensForMarketing += fees * buyMarketingFee / buyTotalFees (contracts/EternalBoys.sol#1162)
Apply the check-effects-interactions pattern.

Additional information: link

EternalBoys._transfer(address,address,uint256) (contracts/EternalBoys.sol#1066-1173) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (contracts/EternalBoys.sol#1159)
-tokensForMarketing += fees * buyMarketingFee / buyTotalFees (contracts/EternalBoys.sol#1162)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in EternalBoys.swapBack() (contracts/EternalBoys.sol#1210-1245):
External calls:
- swapTokensForEth(amountToSwapForETH) (contracts/EternalBoys.sol#1222)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/EternalBoys.sol#1185-1191)
State variables written after the call(s):
- tokensForBuyBack = 0 (contracts/EternalBoys.sol#1235)
- tokensForLiquidity = 0 (contracts/EternalBoys.sol#1233)
- tokensForMarketing = 0 (contracts/EternalBoys.sol#1234)
Apply the check-effects-interactions pattern.

Additional information: link

EternalBoys._transfer(address,address,uint256) (contracts/EternalBoys.sol#1066-1173) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (contracts/EternalBoys.sol#1094)
Do not use tx.origin for authorization.

Additional information: link

EternalBoys.addLiquidity(uint256,uint256) (contracts/EternalBoys.sol#1195-1208) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
Ensure that all the return values of the function calls are used.

Additional information: link

EternalBoys.constructor().totalSupply (contracts/EternalBoys.sol#936) shadows:
- ERC20.totalSupply() (contracts/EternalBoys.sol#235-237) (function)
- IERC20.totalSupply() (contracts/EternalBoys.sol#86) (function)
Rename the local variables that shadow another component.

Additional information: link

EternalBoys.updateSellFees(uint256,uint256,uint256) (contracts/EternalBoys.sol#1025-1030) should emit an event for:
- sellMarketingFee = _marketingFee (contracts/EternalBoys.sol#1026)
- sellLiquidityFee = _liquidityFee (contracts/EternalBoys.sol#1027)
- sellBuyBackFee = _buyBackFee (contracts/EternalBoys.sol#1028)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellBuyBackFee (contracts/EternalBoys.sol#1029)
Emit an event for critical parameter changes.

Additional information: link

EternalBoys.updateBuyBackWallet(address).newWallet (contracts/EternalBoys.sol#1054) lacks a zero-check on :
- buyBackWallet = newWallet (contracts/EternalBoys.sol#1056)
Check that the address is not zero.

Additional information: link

Reentrancy in EternalBoys.swapBack() (contracts/EternalBoys.sol#1210-1245):
External calls:
- swapTokensForEth(amountToSwapForETH) (contracts/EternalBoys.sol#1222)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/EternalBoys.sol#1185-1191)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- addLiquidity(liquidityTokens,ethForLiquidity) (contracts/EternalBoys.sol#1239)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- addLiquidity(liquidityTokens,ethForLiquidity) (contracts/EternalBoys.sol#1239)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (contracts/EternalBoys.sol#1239)
- _allowances[owner][spender] = amount (contracts/EternalBoys.sol#427)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in EternalBoys.swapBack() (contracts/EternalBoys.sol#1210-1245):
External calls:
- swapTokensForEth(amountToSwapForETH) (contracts/EternalBoys.sol#1222)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/EternalBoys.sol#1185-1191)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- addLiquidity(liquidityTokens,ethForLiquidity) (contracts/EternalBoys.sol#1239)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- addLiquidity(liquidityTokens,ethForLiquidity) (contracts/EternalBoys.sol#1239)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (contracts/EternalBoys.sol#1200-1207)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/EternalBoys.sol#428)
- addLiquidity(liquidityTokens,ethForLiquidity) (contracts/EternalBoys.sol#1239)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (contracts/EternalBoys.sol#1240)
Apply the check-effects-interactions pattern.

Additional information: link

SafeMathUint.toInt256Safe(uint256) (contracts/EternalBoys.sol#708-712) is never used and should be removed
Remove unused functions.

Additional information: link

solc-0.8.9 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 EternalBoys.swapBack() (contracts/EternalBoys.sol#1210-1245):
- (success) = address(marketingWallet).call{value: ethForMarketing}() (contracts/EternalBoys.sol#1237)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (contracts/EternalBoys.sol#1244)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable EternalBoys._isExcludedMaxTransactionAmount (contracts/EternalBoys.sol#894) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/EternalBoys.sol#10)" inContext (contracts/EternalBoys.sol#4-13)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/EternalBoys.sol#722) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/EternalBoys.sol#723)
Prevent variables from having similar names.

Additional information: link

EternalBoys.updateSwapTokensAtAmount(uint256) (contracts/EternalBoys.sol#997-1002) uses literals with too many digits:
- require(bool,string)(newAmount >= totalSupply() * 1 / 100000,Swap amount cannot be lower than 0.001% total supply.) (contracts/EternalBoys.sol#998)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (contracts/EternalBoys.sol#649) is never used in SafeMathInt (contracts/EternalBoys.sol#647-705)
Remove unused state variables.

Additional information: link

isExcludedFromFees(address) should be declared external:
- EternalBoys.isExcludedFromFees(address) (contracts/EternalBoys.sol#1060-1062)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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


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 volume.


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


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for EB