Luzion Protocol is a fully functioning automated staking, compounding and dividend rewards system.
Reentrancy in LuzionProtocol._transferFrom(address,address,uint256) (#1766-1802):
External calls:
- rebase() (#1773)
- pairContract.sync() (#1536)
- addLiquidity() (#1777)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1643)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
- swapBack() (#1781)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1599)
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
External calls sending eth:
- addLiquidity() (#1777)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
- swapBack() (#1781)
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
State variables written after the call(s):
- _gonBalances[_from] = _gonBalances[_from].sub(gonAmount) (#1785)
- _gonBalances[_to] = _gonBalances[_to].add(gonAmountReceived) (#1787)
- gonAmountReceived = takeFee(_from,_to,gonAmount) (#1786)
- _gonBalances[autoBlackhole] = _gonBalances[autoBlackhole].add(_gonAmount.mul(autoBlackholeFee).div(feeDenominator)) (#1557-1559)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(_gonAmount.mul(_treasuryFee).div(feeDenominator)) (#1561-1563)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(_gonAmount.mul(ecosystemFee).div(feeDenominator)) (#1565-1567)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(_gonAmount.mul(dividendFee).div(feeDenominator)) (#1569-1571)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(_gonAmount.mul(liquidityFee).div(feeDenominator)) (#1573-1575)
- swapBack() (#1781)
- inSwap = true (#1343)
- inSwap = false (#1345)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#1211-1224) ignores return value by rewardToken.transfer(shareholder,amount) (#1219)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
LuzionProtocol.swapBack() (#1586-1620) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
LuzionProtocol.addLiquidity() (#1625-1660) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
LuzionProtocol.buyTokens(uint256,address) (#1665-1673) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#1670-1672)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
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.
LuzionProtocol.swapBack().success (#1608) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
(success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
LuzionProtocol.swapBack().success (#1608) is written in both
(success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
success = false (#1618)
Fix or remove the writes.
Additional information: link
DividendDistributor.process(uint256) (#1174-1199) has costly operations inside a loop:
- currentIndex = 0 (#1187)
DividendDistributor.distributeDividend(address) (#1211-1224) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#1218)
DividendDistributor.process(uint256) (#1174-1199) has costly operations inside a loop:
- currentIndex ++ (#1196)
Use a local variable to hold the loop computation result.
Additional information: link
LuzionProtocol.constructor(uint256,uint256,address,DividendDistributor,address[4]) (#1358-1416) performs a multiplication on the result of a division:
-gonSwapThreshold = gonsTotal.div(10000).mul(10) (#1396)
LuzionProtocol.setSwapBackSettings(bool,uint256,uint256) (#1491-1494) performs a multiplication on the result of a division:
-gonSwapThreshold = gonsTotal.div(_denominator).mul(_numerator) (#1493)
LuzionProtocol.rebase() (#1508-1540) performs a multiplication on the result of a division:
-times = deltaTime.div(900) (#1516)
-epoch = times.mul(15) (#1517)
LuzionProtocol.rebase() (#1508-1540) performs a multiplication on the result of a division:
-times = deltaTime.div(900) (#1516)
-lastRebasedTime = lastRebasedTime.add(times.mul(900)) (#1534)
LuzionProtocol.addLiquidity() (#1625-1660) performs a multiplication on the result of a division:
-autoLiquidityAmount = _gonBalances[address(this)].div(gonsPerFragment) (#1628)
-amountToLiquify = autoLiquidityAmount.mul(dynamicLiquidityFee).div(totalFee).div(2) (#1630)
LuzionProtocol.getLiquidityBacking(uint256) (#1983-1986) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(gonsPerFragment) (#1984)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#1985)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#1211-1224):
External calls:
- rewardToken.transfer(shareholder,amount) (#1219)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#1221)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#1222)
Reentrancy in DividendDistributor.process(uint256) (#1174-1199):
External calls:
- distributeDividend(shareholders[currentIndex]) (#1191)
- rewardToken.transfer(shareholder,amount) (#1219)
State variables written after the call(s):
- currentIndex ++ (#1196)
Reentrancy in LuzionProtocol.setDividendDistributor(address) (#1943-1947):
External calls:
- distributor.unInitialized(false) (#1944)
- distributor.setTokenAddress(_msgSender()) (#1945)
State variables written after the call(s):
- distributor = DividendDistributor(distributor_) (#1946)
Reentrancy in DividendDistributor.setShare(address,uint256) (#1135-1149):
External calls:
- distributeDividend(shareholder) (#1137)
- rewardToken.transfer(shareholder,amount) (#1219)
State variables written after the call(s):
- shares[shareholder].amount = amount (#1147)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#1148)
Apply the check-effects-interactions pattern.
Additional information: link
LuzionProtocol.addLiquidity() (#1625-1660) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
Ensure that all the return values of the function calls are used.
Additional information: link
LuzionProtocol.allowance(address,address)._owner (#1689) shadows:
- Ownable._owner (#298) (state variable)
Rename the local variables that shadow another component.
Additional information: link
DividendDistributor.setTokenAddress(address).token_ (#1113) lacks a zero-check on :
- _token = token_ (#1114)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#1211-1224) has external calls inside a loop: rewardToken.transfer(shareholder,amount) (#1219)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in LuzionProtocol.addLiquidity() (#1625-1660):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1643)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
State variables written after the call(s):
- lastAddLiquidityTime = block.timestamp (#1658)
Reentrancy in LuzionProtocol.constructor(uint256,uint256,address,DividendDistributor,address[4]) (#1358-1416):
External calls:
- pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#1366)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = type()(uint256).max (#1369)
- _gonBalances[_msgSender()] = gonsTotal (#1398)
- _isDividendExempt[_msgSender()] = true (#1408)
- _isDividendExempt[pair] = true (#1409)
- _isDividendExempt[address(this)] = true (#1410)
- _isDividendExempt[DEAD] = true (#1411)
- _isFeeExempt[_msgSender()] = true (#1404)
- _isFeeExempt[address(this)] = true (#1405)
- _isFeeExempt[treasuryReceiver] = true (#1406)
- _isFeeExempt[ecosystemReceiver] = true (#1407)
- _transferOwnership(_msgSender()) (#1413)
- _owner = newOwner (#389)
- autoAddLiquidity = true (#1401)
- _initializeFeeReceivers(_feeReceiverSettings) (#1384)
- autoBlackhole = _autoBlackhole (#1914)
- autoBlackholeFee = 2 (#1378)
- _initializeFeeReceivers(_feeReceiverSettings) (#1384)
- autoLiquidityReceiver = _autoLiquidityReceiver (#1911)
- autoRebase = false (#1400)
- _initializeDistributor(_distributor) (#1385)
- distributor = DividendDistributor(distributor_) (#1930)
- distributorGas = 500000 (#1373)
- dividendFee = 4 (#1374)
- ecosystemFee = 2 (#1377)
- _initializeFeeReceivers(_feeReceiverSettings) (#1384)
- ecosystemReceiver = _ecosystemReceiver (#1913)
- feeDenominator = 100 (#1380)
- gonSwapThreshold = gonsTotal.div(10000).mul(10) (#1396)
- gonsPerFragment = gonsTotal.div(supplyTotal) (#1395)
- gonsTotal = uintMax - (uintMax % supplyInitialFragment) (#1394)
- initRebaseStartTime = block.timestamp (#1387)
- lastRebasedTime = block.timestamp (#1388)
- liquidityFee = 2 (#1375)
- pairContract = IUniswapV2Pair(pair) (#1367)
- rateDecimals = 7 (#1372)
- sellFee = 4 (#1379)
- supplyInitialFragment = _supplyInitial.mul(10 ** 5) (#1391)
- supplyMax = _supplyMax.mul(10 ** 5) (#1393)
- supplyTotal = supplyInitialFragment (#1392)
- swapEnabled = true (#1402)
- targetLiquidity = 50 (#1381)
- targetLiquidityDenominator = 100 (#1382)
- totalFee = liquidityFee.add(treasuryFee).add(ecosystemFee).add(dividendFee).add(autoBlackholeFee) (#1390)
- treasuryFee = 2 (#1376)
- _initializeFeeReceivers(_feeReceiverSettings) (#1384)
- treasuryReceiver = _treasuryReceiver (#1912)
- uintMax = ~ uint256(0) (#1371)
Reentrancy in DividendDistributor.deposit() (#1154-1169):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _msgValue()}(0,path,address(this),block.timestamp) (#1161-1163)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#1168)
- totalDividends = totalDividends.add(amount) (#1167)
Reentrancy in DividendDistributor.distributeDividend(address) (#1211-1224):
External calls:
- rewardToken.transfer(shareholder,amount) (#1219)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#1220)
Reentrancy in DividendDistributor.setShare(address,uint256) (#1135-1149):
External calls:
- distributeDividend(shareholder) (#1137)
- rewardToken.transfer(shareholder,amount) (#1219)
State variables written after the call(s):
- addShareholder(shareholder) (#1141)
- shareholderIndexes[shareholder] = shareholders.length (#1255)
- removeShareholder(shareholder) (#1143)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#1264)
- addShareholder(shareholder) (#1141)
- shareholders.push(shareholder) (#1256)
- removeShareholder(shareholder) (#1143)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#1263)
- shareholders.pop() (#1265)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#1146)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LuzionProtocol._transferFrom(address,address,uint256) (#1766-1802):
External calls:
- rebase() (#1773)
- pairContract.sync() (#1536)
- addLiquidity() (#1777)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1643)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
- swapBack() (#1781)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1599)
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
- distributor.setShare(_from,balanceOf(_from)) (#1790)
- distributor.setShare(_to,balanceOf(_to)) (#1793)
- distributor.process(distributorGas) (#1796)
External calls sending eth:
- addLiquidity() (#1777)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
- swapBack() (#1781)
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
Event emitted after the call(s):
- Transfer(_from,_to,gonAmountReceived.div(gonsPerFragment)) (#1798)
Reentrancy in LuzionProtocol._transferFrom(address,address,uint256) (#1766-1802):
External calls:
- rebase() (#1773)
- pairContract.sync() (#1536)
- addLiquidity() (#1777)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1643)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
- swapBack() (#1781)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1599)
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
External calls sending eth:
- addLiquidity() (#1777)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1648-1655)
- swapBack() (#1781)
- distributor.deposit{value: amountETHToRespectiveReceiver.mul(dividendFee).div(feeTotal)}() (#1604-1606)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
Event emitted after the call(s):
- Transfer(_from,address(this),feeAmount.div(gonsPerFragment)) (#1577)
- gonAmountReceived = takeFee(_from,_to,gonAmount) (#1786)
Reentrancy in LuzionProtocol.constructor(uint256,uint256,address,DividendDistributor,address[4]) (#1358-1416):
External calls:
- pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#1366)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#390)
- _transferOwnership(_msgSender()) (#1413)
- Transfer(address(ZERO),_msgSender(),supplyTotal) (#1414)
Reentrancy in LuzionProtocol.rebase() (#1508-1540):
External calls:
- pairContract.sync() (#1536)
Event emitted after the call(s):
- RebaseInitiated(epoch,supplyTotal) (#1538)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#1204-1206) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#1205)
LuzionProtocol.rebase() (#1508-1540) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < (31536000) (#1519)
- deltaTimeFromInit >= (31536000) && deltaTimeFromInit < ((15 * 31536000) / 10) (#1521)
- deltaTimeFromInit >= ((15 * 31536000) / 10) && deltaTimeFromInit < (7 * 31536000) (#1523)
- deltaTimeFromInit >= (7 * 31536000) (#1525)
- i < times (#1529)
LuzionProtocol.shouldRebase() (#1830-1832) uses timestamp for comparisons
Dangerous comparisons:
- autoRebase && (supplyTotal < supplyMax) && _msgSender() != pair && ! inSwap && block.timestamp >= (lastRebasedTime + 900) (#1831)
LuzionProtocol.shouldAddLiquidity() (#1837-1839) uses timestamp for comparisons
Dangerous comparisons:
- autoAddLiquidity && ! inSwap && _msgSender() != pair && block.timestamp >= (lastAddLiquidityTime + 43200) (#1838)
Avoid relying on block.timestamp.
Additional information: link
LuzionProtocol.isContract(address) (#1879-1883) uses assembly
- INLINE ASM (#1881)
Do not use evm assembly.
Additional information: link
Context._msgData() (#269-271) is never used and should be removed
ERC20._afterTokenTransfer(address,address,uint256) (#859) is never used and should be removed
ERC20._approve(address,address,uint256) (#803-809) is never used and should be removed
ERC20._beforeTokenTransfer(address,address,uint256) (#843) is never used and should be removed
ERC20._burn(address,uint256) (#773-788) is never used and should be removed
ERC20._mint(address,uint256) (#750-760) is never used and should be removed
ERC20._spendAllowance(address,address,uint256) (#819-827) is never used and should be removed
ERC20._transfer(address,address,uint256) (#722-738) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#204-213) is never used and should be removed
SafeMath.mod(uint256,uint256) (#164-166) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#230-239) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#35-41) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#77-82) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#89-94) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#60-70) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#48-53) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.13 (#12) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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 LuzionProtocol.swapBack() (#1586-1620):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(treasuryFee).div(feeTotal)}() (#1608-1611)
- (success,None) = address(ecosystemReceiver).call{gas: 30000,value: amountETHToRespectiveReceiver.mul(ecosystemFee).div(feeTotal)}() (#1613-1616)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#890) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#892) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#906) is not in mixedCase
Function IUniswapV2Router01.WETH() (#959) is not in mixedCase
Parameter DividendDistributor.changeRouter(IUniswapV2Router02)._router (#1097) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#1120) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#1120) is not in mixedCase
Parameter DividendDistributor.changeRewardToken(IERC20Extended)._rewardToken (#1128) is not in mixedCase
Variable DividendDistributor._token (#1052) is not in mixedCase
Parameter LuzionProtocol.changeRouter(IUniswapV2Router02)._router (#1435) is not in mixedCase
Parameter LuzionProtocol.changePairContract(address)._address (#1444) is not in mixedCase
Parameter LuzionProtocol.setAutoRebase(bool)._flag (#1467) is not in mixedCase
Parameter LuzionProtocol.setBotBlacklist(address,bool)._botAddress (#1479) is not in mixedCase
Parameter LuzionProtocol.setBotBlacklist(address,bool)._flag (#1479) is not in mixedCase
Parameter LuzionProtocol.setSwapBackSettings(bool,uint256,uint256)._enabled (#1491) is not in mixedCase
Parameter LuzionProtocol.setSwapBackSettings(bool,uint256,uint256)._numerator (#1491) is not in mixedCase
Parameter LuzionProtocol.setSwapBackSettings(bool,uint256,uint256)._denominator (#1491) is not in mixedCase
Parameter LuzionProtocol.rescueToken(address,uint256)._tokenAddress (#1499) is not in mixedCase
Parameter LuzionProtocol.rescueToken(address,uint256)._tokens (#1499) is not in mixedCase
Parameter LuzionProtocol.takeFee(address,address,uint256)._from (#1545) is not in mixedCase
Parameter LuzionProtocol.takeFee(address,address,uint256)._to (#1545) is not in mixedCase
Parameter LuzionProtocol.takeFee(address,address,uint256)._gonAmount (#1545) is not in mixedCase
Parameter LuzionProtocol.approve(address,uint256)._spender (#1680) is not in mixedCase
Parameter LuzionProtocol.approve(address,uint256)._value (#1680) is not in mixedCase
Parameter LuzionProtocol.allowance(address,address)._owner (#1689) is not in mixedCase
Parameter LuzionProtocol.allowance(address,address)._spender (#1689) is not in mixedCase
Parameter LuzionProtocol.decreaseAllowance(address,uint256)._spender (#1696) is not in mixedCase
Parameter LuzionProtocol.decreaseAllowance(address,uint256)._subtractedValue (#1696) is not in mixedCase
Parameter LuzionProtocol.increaseAllowance(address,uint256)._spender (#1715) is not in mixedCase
Parameter LuzionProtocol.increaseAllowance(address,uint256)._addedValue (#1715) is not in mixedCase
Parameter LuzionProtocol.transfer(address,uint256)._to (#1728) is not in mixedCase
Parameter LuzionProtocol.transfer(address,uint256)._value (#1728) is not in mixedCase
Parameter LuzionProtocol.transferFrom(address,address,uint256)._from (#1739) is not in mixedCase
Parameter LuzionProtocol.transferFrom(address,address,uint256)._to (#1739) is not in mixedCase
Parameter LuzionProtocol.transferFrom(address,address,uint256)._value (#1739) is not in mixedCase
Parameter LuzionProtocol.checkFeeExempt(address)._addr (#1865) is not in mixedCase
Parameter LuzionProtocol.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1903) is not in mixedCase
Parameter LuzionProtocol.setFeeReceivers(address,address,address,address)._treasuryReceiver (#1903) is not in mixedCase
Parameter LuzionProtocol.setFeeReceivers(address,address,address,address)._ecosystemReceiver (#1903) is not in mixedCase
Parameter LuzionProtocol.setFeeReceivers(address,address,address,address)._autoBlackhole (#1903) is not in mixedCase
Parameter LuzionProtocol.setDistributionCriteria(uint256,uint256)._minPeriod (#1952) is not in mixedCase
Parameter LuzionProtocol.setDistributionCriteria(uint256,uint256)._minDistribution (#1952) is not in mixedCase
Parameter LuzionProtocol.setAutoAddLiquidity(bool)._flag (#1991) is not in mixedCase
Parameter LuzionProtocol.setTargetLiquidity(uint256,uint256)._target (#2003) is not in mixedCase
Parameter LuzionProtocol.setTargetLiquidity(uint256,uint256)._denominator (#2003) is not in mixedCase
Variable LuzionProtocol._blacklistBotContract (#1333) is not in mixedCase
Variable LuzionProtocol._isFeeExempt (#1334) is not in mixedCase
Variable LuzionProtocol._isDividendExempt (#1335) is not in mixedCase
Variable LuzionProtocol._gonBalances (#1336) is not in mixedCase
Variable LuzionProtocol._allowedFragments (#1337) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#961) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#961)
Variable DividendDistributor.changeRewardToken(IERC20Extended)._rewardToken (#1128) is too similar to DividendDistributor.constructor(address,address).rewardToken_ (#1076)
Variable LuzionProtocol.constructor(uint256,uint256,address,DividendDistributor,address[4])._distributor (#1362) is too similar to LuzionProtocol.setDividendDistributor(address).distributor_ (#1943)
Variable LuzionProtocol.constructor(uint256,uint256,address,DividendDistributor,address[4])._distributor (#1362) is too similar to LuzionProtocol._initializeDistributor(DividendDistributor).distributor_ (#1929)
Prevent variables from having similar names.
Additional information: link
LuzionProtocol.constructor(uint256,uint256,address,DividendDistributor,address[4]) (#1358-1416) uses literals with too many digits:
- distributorGas = 500000 (#1373)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
authorize(address) should be declared external:
- Ownable.authorize(address) (#338-340)
unauthorize(address) should be declared external:
- Ownable.unauthorize(address) (#345-347)
isOwner(address) should be declared external:
- Ownable.isOwner(address) (#352-354)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#370-372)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#378-381)
name() should be declared external:
- ERC20.name() (#562-564)
symbol() should be declared external:
- ERC20.symbol() (#570-572)
decimals() should be declared external:
- ERC20.decimals() (#587-589)
totalSupply() should be declared external:
- ERC20.totalSupply() (#594-596)
- LuzionProtocol.totalSupply() (#1807-1809)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#613-617)
- LuzionProtocol.transfer(address,uint256) (#1728-1734)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#636-640)
- LuzionProtocol.approve(address,uint256) (#1680-1684)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#658-663)
- LuzionProtocol.transferFrom(address,address,uint256) (#1739-1749)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#677-681)
- LuzionProtocol.increaseAllowance(address,uint256) (#1715-1723)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#697-706)
- LuzionProtocol.decreaseAllowance(address,uint256) (#1696-1710)
distributorInitialization(bool) should be declared external:
- LuzionProtocol.distributorInitialization(bool) (#1936-1938)
setDividendDistributor(address) should be declared external:
- LuzionProtocol.setDividendDistributor(address) (#1943-1947)
Use the external attribute for functions never called from the contract.
Additional information: link
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 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
Unable to find Discord account
Unable to find Youtube account