LOVE INU Token Logo

LOVE [LOVE INU] Token

About LOVE

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 17 February 2022

report
Code:


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

ELON.swapBack() (#361-402) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ELON._transferFrom(address,address,uint256) (#285-314):
External calls:
- swapBack() (#303)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#372-378)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
External calls sending eth:
- swapBack() (#303)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#307)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#310)
- amountReceived = takeFee(sender,recipient,amount) (#309)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#340)
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.

ELON.slitherConstructorVariables() (#181-498) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#222)
Consider ordering multiplication before division.

Additional information: link

ELON.swapBack() (#361-402) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
Ensure that all the return values of the function calls are used.

Additional information: link

ELON.setFees(uint256,uint256,uint256,uint256) (#431-438) should emit an event for:
- liquidityFee = _liquidityFee (#432)
- marketingFee = _marketingFee (#433)
- devFee = _devFee (#434)
- totalFee = _liquidityFee.add(_marketingFee).add(_devFee) (#435)
- feeDenominator = _feeDenominator (#436)
ELON.setSellMultiplier(uint256) (#453-455) should emit an event for:
- _sellMultiplier = multiplier (#454)
ELON.setTxLimit(uint256) (#461-464) should emit an event for:
- _maxTxAmount = amountBuy (#462)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#120) lacks a zero-check on :
- owner = adr (#121)
ELON.setFeeReceiver(address,address)._marketingFeeReceiver (#456) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#457)
ELON.setFeeReceiver(address,address)._devFeeReceiver (#456) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#458)
Check that the address is not zero.

Additional information: link

Reentrancy in ELON._transferFrom(address,address,uint256) (#285-314):
External calls:
- swapBack() (#303)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#372-378)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
External calls sending eth:
- swapBack() (#303)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
State variables written after the call(s):
- launch() (#305)
- launchedAt = block.number (#422)
Reentrancy in ELON.constructor() (#231-251):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#233)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#234)
- _balances[_owner] = _totalSupply (#249)
- isFeeExempt[msg.sender] = true (#237)
- isTimelockExempt[msg.sender] = true (#244)
- isTimelockExempt[DEAD] = true (#245)
- isTimelockExempt[address(this)] = true (#246)
- isTxLimitExempt[msg.sender] = true (#239)
- isTxLimitExempt[address(this)] = true (#240)
- isTxLimitExempt[routerAddress] = true (#241)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ELON._transferFrom(address,address,uint256) (#285-314):
External calls:
- swapBack() (#303)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#372-378)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
External calls sending eth:
- swapBack() (#303)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#341)
- amountReceived = takeFee(sender,recipient,amount) (#309)
- Transfer(sender,recipient,amountReceived) (#312)
Reentrancy in ELON.constructor() (#231-251):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#233)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#250)
Reentrancy in ELON.swapBack() (#361-402):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#372-378)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#392-399)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#400)
Apply the check-effects-interactions pattern.

Additional information: link

ELON._transferFrom(address,address,uint256) (#285-314) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two operations) (#300)
Avoid relying on block.timestamp.

Additional information: link

ELON.buyTokens(uint256,address) (#404-415) is never used and should be removed
Remove unused functions.

Additional information: link

ELON._maxTxAmount (#194) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
ELON._maxWalletSize (#195) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
ELON.swapThreshold (#222) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 3
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Pragma version^0.8.11 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.12 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 ELON.swapBack() (#361-402):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#386)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#388)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable Auth._intAddr (#67) is not in mixedCase
Function IDEXRouter.WETH() (#135) is not in mixedCase
Parameter ELON.tradingStatus(bool)._status (#347) is not in mixedCase
Parameter ELON.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#431) is not in mixedCase
Parameter ELON.setFees(uint256,uint256,uint256,uint256)._marketingFee (#431) is not in mixedCase
Parameter ELON.setFees(uint256,uint256,uint256,uint256)._devFee (#431) is not in mixedCase
Parameter ELON.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#431) is not in mixedCase
Parameter ELON.cooldownEnabled(bool,uint8)._status (#440) is not in mixedCase
Parameter ELON.cooldownEnabled(bool,uint8)._interval (#440) is not in mixedCase
Parameter ELON.setFeeReceiver(address,address)._marketingFeeReceiver (#456) is not in mixedCase
Parameter ELON.setFeeReceiver(address,address)._devFeeReceiver (#456) is not in mixedCase
Parameter ELON.setSwapBackSettings(bool,uint256)._enabled (#465) is not in mixedCase
Parameter ELON.setSwapBackSettings(bool,uint256)._amount (#465) is not in mixedCase
Parameter ELON.blacklistAddress(address,bool)._address (#470) is not in mixedCase
Parameter ELON.blacklistAddress(address,bool)._value (#470) is not in mixedCase
Parameter ELON.transferForeignToken(address)._token (#478) is not in mixedCase
Variable ELON.WBNB (#184) is not in mixedCase
Variable ELON.DEAD (#185) is not in mixedCase
Variable ELON.ZERO (#186) is not in mixedCase
Constant ELON._name (#189) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ELON._symbol (#190) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ELON._decimals (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ELON._totalSupply (#193) is not in mixedCase
Variable ELON._maxTxAmount (#194) is not in mixedCase
Variable ELON._maxWalletSize (#195) is not in mixedCase
Variable ELON._balances (#197) is not in mixedCase
Variable ELON._allowances (#198) is not in mixedCase
Variable ELON._sellMultiplier (#210) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#140) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#141)
Prevent variables from having similar names.

Additional information: link

ELON.slitherConstructorVariables() (#181-498) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#185)
ELON.slitherConstructorVariables() (#181-498) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#186)
ELON.slitherConstructorVariables() (#181-498) uses literals with too many digits:
- _totalSupply = 100000 * (10 ** _decimals) (#193)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ELON.DEAD (#185) should be constant
ELON.WBNB (#184) should be constant
ELON.ZERO (#186) should be constant
ELON._totalSupply (#193) should be constant
ELON.routerAddress (#187) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#91-93)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#99-101)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#120-124)
tradingStatus(bool) should be declared external:
- ELON.tradingStatus(bool) (#347-352)
cooldownEnabled(bool,uint8) should be declared external:
- ELON.cooldownEnabled(bool,uint8) (#440-443)
blacklistAddress(address,bool) should be declared external:
- ELON.blacklistAddress(address,bool) (#470-472)
transferForeignToken(address) should be declared external:
- ELON.transferForeignToken(address) (#478-482)
isOverLiquified(uint256,uint256) should be declared external:
- ELON.isOverLiquified(uint256,uint256) (#492-494)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


Unable to find Twitter account


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for LOVE