Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ILoveLowTax.swapBack() (#635-684) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ILoveLowTax._transferFrom(address,address,uint256) (#570-611):
External calls:
- swapBack() (#580)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#645-651)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
External calls sending eth:
- swapBack() (#580)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#588)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#596)
- finalAmount = takeFee(sender,recipient,amount) (#595)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#625)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#256-268) ignores return value by RewardToken.transfer(shareholder,amount) (#262)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
ILoveLowTax.swapBack().tmpSuccess (#666) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
tmpSuccess = false (#670)
ILoveLowTax.swapBack().tmpSuccess1 (#667) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
tmpSuccess1 = false (#671)
Fix or remove the writes.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
ILoveLowTax._maxTxAmount (#378) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 100
ILoveLowTax._walletMax (#379) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 100
ILoveLowTax.swapThreshold (#415) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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.7.4 (#25) allows old versions
solc-0.7.4 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
Reentrancy in DividendDistributor.distributeDividend(address) (#256-268):
External calls:
- RewardToken.transfer(shareholder,amount) (#262)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#264)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#265)
Reentrancy in DividendDistributor.process(uint256) (#227-249):
External calls:
- distributeDividend(shareholders[currentIndex]) (#241)
- RewardToken.transfer(shareholder,amount) (#262)
State variables written after the call(s):
- currentIndex ++ (#246)
Reentrancy in DividendDistributor.setShare(address,uint256) (#190-205):
External calls:
- distributeDividend(shareholder) (#193)
- RewardToken.transfer(shareholder,amount) (#262)
State variables written after the call(s):
- shares[shareholder].amount = amount (#203)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#204)
Apply the check-effects-interactions pattern.
Additional information: link
ILoveLowTax.swapBack() (#635-684) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#185-188) should emit an event for:
- minPeriod = newMinPeriod (#186)
- minDistribution = newMinDistribution (#187)
ILoveLowTax.changeFees(uint256,uint256,uint256,uint256) (#527-535) should emit an event for:
- liquidityFee = newLiqFee (#528)
- rewardsFee = newRewardFee (#529)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#533)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#534)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#355) lacks a zero-check on :
- owner = adr (#356)
ILoveLowTax.changeFeeReceivers(address,address,address).newLiquidityReceiver (#537) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#538)
ILoveLowTax.changeFeeReceivers(address,address,address).newMarketingWallet (#537) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#539)
ILoveLowTax.changeFeeReceivers(address,address,address).newanothermarketingWallet (#537) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#540)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#256-268) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#262)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in ILoveLowTax._transferFrom(address,address,uint256) (#570-611):
External calls:
- swapBack() (#580)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#645-651)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
External calls sending eth:
- swapBack() (#580)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
State variables written after the call(s):
- launch() (#584)
- launchedAt = block.number (#493)
Reentrancy in ILoveLowTax.constructor() (#423-455):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#426)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#427)
- _balances[msg.sender] = _totalSupply (#453)
- anothermarketingWallet = 0x3A784Eb471566a8C7CFeb287A3c07c632dB45Fd4 (#448)
- autoLiquidityReceiver = msg.sender (#446)
- dividendDistributor = new DividendDistributor(address(router)) (#429)
- isDividendExempt[pair] = true (#439)
- isDividendExempt[address(this)] = true (#441)
- isDividendExempt[DEAD] = true (#442)
- isDividendExempt[ZERO] = true (#443)
- isFeeExempt[msg.sender] = true (#431)
- isFeeExempt[address(this)] = true (#432)
- isFeeExempt[anothermarketingWallet] = true (#433)
- isTxLimitExempt[msg.sender] = true (#435)
- isTxLimitExempt[pair] = true (#436)
- isTxLimitExempt[DEAD] = true (#437)
- marketingWallet = msg.sender (#447)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#450)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#451)
Reentrancy in DividendDistributor.deposit() (#207-225):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#215-220)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#224)
- totalDividends = totalDividends.add(amount) (#223)
Reentrancy in DividendDistributor.distributeDividend(address) (#256-268):
External calls:
- RewardToken.transfer(shareholder,amount) (#262)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#263)
Reentrancy in DividendDistributor.setShare(address,uint256) (#190-205):
External calls:
- distributeDividend(shareholder) (#193)
- RewardToken.transfer(shareholder,amount) (#262)
State variables written after the call(s):
- addShareholder(shareholder) (#197)
- shareholderIndexes[shareholder] = shareholders.length (#286)
- removeShareholder(shareholder) (#199)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#292)
- addShareholder(shareholder) (#197)
- shareholders.push(shareholder) (#287)
- removeShareholder(shareholder) (#199)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#291)
- shareholders.pop() (#293)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#202)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ILoveLowTax._transferFrom(address,address,uint256) (#570-611):
External calls:
- swapBack() (#580)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#645-651)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
- dividendDistributor.setShare(sender,_balances[sender]) (#600)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#604)
- dividendDistributor.process(distributorGas) (#607)
External calls sending eth:
- swapBack() (#580)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#609)
Reentrancy in ILoveLowTax._transferFrom(address,address,uint256) (#570-611):
External calls:
- swapBack() (#580)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#645-651)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
External calls sending eth:
- swapBack() (#580)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#626)
- finalAmount = takeFee(sender,recipient,amount) (#595)
Reentrancy in ILoveLowTax.constructor() (#423-455):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#426)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#454)
Reentrancy in ILoveLowTax.swapBack() (#635-684):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#645-651)
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#661)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#674-681)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#682)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#251-254) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#252-253)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#227-249) has costly operations inside a loop:
- currentIndex = 0 (#238)
DividendDistributor.distributeDividend(address) (#256-268) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#261)
DividendDistributor.process(uint256) (#227-249) has costly operations inside a loop:
- currentIndex ++ (#246)
Use a local variable to hold the loop computation result.
Additional information: link
Low level call in ILoveLowTax.swapBack() (#635-684):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#666)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#667)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#84) is not in mixedCase
Variable DividendDistributor._token (#141) is not in mixedCase
Variable DividendDistributor.RewardToken (#151) is not in mixedCase
Constant ILoveLowTax._name (#368) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ILoveLowTax._symbol (#369) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ILoveLowTax._decimals (#370) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ILoveLowTax.DEAD (#372) is not in mixedCase
Variable ILoveLowTax.ZERO (#373) is not in mixedCase
Variable ILoveLowTax.RewardToken (#375) is not in mixedCase
Variable ILoveLowTax._totalSupply (#377) is not in mixedCase
Variable ILoveLowTax._maxTxAmount (#378) is not in mixedCase
Variable ILoveLowTax._walletMax (#379) is not in mixedCase
Variable ILoveLowTax._balances (#383) is not in mixedCase
Variable ILoveLowTax._allowances (#384) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#89) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#90)
Prevent variables from having similar names.
Additional information: link
ILoveLowTax.slitherConstructorVariables() (#364-689) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#372)
ILoveLowTax.slitherConstructorVariables() (#364-689) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#373)
ILoveLowTax.slitherConstructorVariables() (#364-689) uses literals with too many digits:
- _totalSupply = 100000 * (10 ** _decimals) (#377)
ILoveLowTax.slitherConstructorVariables() (#364-689) uses literals with too many digits:
- distributorGas = 300000 (#409)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ILoveLowTax.RewardToken (#375) is never used in ILoveLowTax (#364-689)
Remove unused state variables.
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#162) should be constant
DividendDistributor.routerAddress (#150) should be constant
ILoveLowTax.DEAD (#372) should be constant
ILoveLowTax.RewardToken (#375) should be constant
ILoveLowTax.ZERO (#373) should be constant
ILoveLowTax._totalSupply (#377) should be constant
ILoveLowTax.routerAddress (#374) 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) (#327-329)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#334-336)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#355-359)
getCirculatingSupply() should be declared external:
- ILoveLowTax.getCirculatingSupply() (#465-467)
claim() should be declared external:
- ILoveLowTax.claim() (#483-486)
tradingStatus(bool) should be declared external:
- ILoveLowTax.tradingStatus(bool) (#631-633)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Unable to find Telegram and Twitter accounts