Light DeFi Token Logo

LIGHT [Light DeFi] Token

About LIGHT

Listings

Token 3 years
CoinMarketCap 3 years
white paper

LIGHT DEFI is an alternative to the financial system based on protocols and technological and industrial options to provide consumers with access to quality energy, based on a clean, reliable and sustainable energy matrix.
Deflationary BEP-20 token that directly finances the construction of photovoltaic solar power plants in Brazil and worldwide. Brazil is one of the countries with the greatest potential for generating renewable energy in the world.

You acquire tokens and as a reward you will receive more tokens from the profits earned by the solar power plants.

Social

Laser Scorebeta Last Audit: 5 February 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

LightDeFi.addLiquidity(uint256,uint256) (#1061-1074) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in LightDeFi._transfer(address,address,uint256) (#991-1018):
External calls:
- swapAndLiquify(contractTokenBalance) (#1013)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1013)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1017)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#941)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1117)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1126)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1137)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#882)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1118)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1128)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1138)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#884)
- _tokenTransfer(from,to,amount) (#1017)
- _rTotal = _rTotal.sub(rFee) (#896)
- _tokenTransfer(from,to,amount) (#1017)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#943)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1136)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#881)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1127)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#883)
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.

LightDeFi.setcharityWallet(address).newWallet (#1166) lacks a zero-check on :
- charityWallet = newWallet (#1167)
Check that the address is not zero.

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#520) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#521) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#537) is not in mixedCase
Function IUniswapV2Router01.WETH() (#558) is not in mixedCase
Parameter LightDeFi.calculateTaxFee(uint256)._amount (#946) is not in mixedCase
Parameter LightDeFi.calculateLiquidityFee(uint256)._amount (#952) is not in mixedCase
Parameter LightDeFi.setSwapAndLiquifyEnabled(bool)._enabled (#1195) is not in mixedCase
Variable LightDeFi._taxFee (#718) is not in mixedCase
Variable LightDeFi._liquidityFee (#721) is not in mixedCase
Variable LightDeFi._burnFee (#724) is not in mixedCase
Variable LightDeFi._charityFee (#727) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#254)" inContext (#248-257)
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 (#563) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#564)
Variable LightDeFi._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi.reflectionFromToken(uint256,bool).rTransferAmount (#845) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi._getValues(uint256).rTransferAmount (#902) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._transferStandard(address,address,uint256).rTransferAmount (#1116) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#917) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi.reflectionFromToken(uint256,bool).rTransferAmount (#845) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi._transferStandard(address,address,uint256).rTransferAmount (#1116) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi.reflectionFromToken(uint256,bool).rTransferAmount (#845) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi.reflectionFromToken(uint256,bool).rTransferAmount (#845) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi._transferBothExcluded(address,address,uint256).rTransferAmount (#880) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._transferStandard(address,address,uint256).rTransferAmount (#1116) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#917) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._transferBothExcluded(address,address,uint256).rTransferAmount (#880) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi.reflectionFromToken(uint256,bool).rTransferAmount (#845) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#917) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#917) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi._transferBothExcluded(address,address,uint256).rTransferAmount (#880) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to LightDeFi._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable LightDeFi._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#917) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi.reflectionFromToken(uint256,bool).rTransferAmount (#845) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Variable LightDeFi._getValues(uint256).rTransferAmount (#902) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi._transferBothExcluded(address,address,uint256).rTransferAmount (#880) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._transferStandard(address,address,uint256).rTransferAmount (#1116) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Variable LightDeFi._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#917) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Variable LightDeFi._getValues(uint256).rTransferAmount (#902) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi._getValues(uint256).rTransferAmount (#902) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to LightDeFi._getValues(uint256).tTransferAmount (#901)
Variable LightDeFi._transferBothExcluded(address,address,uint256).rTransferAmount (#880) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Variable LightDeFi._transferStandard(address,address,uint256).rTransferAmount (#1116) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi._getValues(uint256).rTransferAmount (#902) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Variable LightDeFi._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to LightDeFi._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable LightDeFi._transferBothExcluded(address,address,uint256).rTransferAmount (#880) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Variable LightDeFi._transferStandard(address,address,uint256).rTransferAmount (#1116) is too similar to LightDeFi._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable LightDeFi._getValues(uint256).rTransferAmount (#902) is too similar to LightDeFi._getTValues(uint256).tTransferAmount (#909)
Variable LightDeFi._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to LightDeFi._transferBothExcluded(address,address,uint256).tTransferAmount (#880)
Prevent variables from having similar names.

Additional information: link

LightDeFi._decimals (#716) should be constant
LightDeFi._name (#714) should be constant
LightDeFi._symbol (#715) should be constant
LightDeFi._tTotal (#710) should be constant
LightDeFi.numTokensSellToAddToLiquidity (#737) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#448-451)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#457-461)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#463-465)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#468-473)
unlock() should be declared external:
- Ownable.unlock() (#476-481)
name() should be declared external:
- LightDeFi.name() (#771-773)
symbol() should be declared external:
- LightDeFi.symbol() (#775-777)
decimals() should be declared external:
- LightDeFi.decimals() (#779-781)
totalSupply() should be declared external:
- LightDeFi.totalSupply() (#783-785)
transfer(address,uint256) should be declared external:
- LightDeFi.transfer(address,uint256) (#792-795)
allowance(address,address) should be declared external:
- LightDeFi.allowance(address,address) (#797-799)
approve(address,uint256) should be declared external:
- LightDeFi.approve(address,uint256) (#801-804)
transferFrom(address,address,uint256) should be declared external:
- LightDeFi.transferFrom(address,address,uint256) (#806-810)
increaseAllowance(address,uint256) should be declared external:
- LightDeFi.increaseAllowance(address,uint256) (#812-815)
decreaseAllowance(address,uint256) should be declared external:
- LightDeFi.decreaseAllowance(address,uint256) (#817-820)
isExcludedFromReward(address) should be declared external:
- LightDeFi.isExcludedFromReward(address) (#822-824)
totalFees() should be declared external:
- LightDeFi.totalFees() (#826-828)
deliver(uint256) should be declared external:
- LightDeFi.deliver(uint256) (#830-837)
reflectionFromToken(uint256,bool) should be declared external:
- LightDeFi.reflectionFromToken(uint256,bool) (#839-848)
excludeFromReward(address) should be declared external:
- LightDeFi.excludeFromReward(address) (#856-864)
isExcludedFromFee(address) should be declared external:
- LightDeFi.isExcludedFromFee(address) (#979-981)
excludeFromFee(address) should be declared external:
- LightDeFi.excludeFromFee(address) (#1144-1146)
includeInFee(address) should be declared external:
- LightDeFi.includeInFee(address) (#1148-1150)
setRouterAddress(address) should be declared external:
- LightDeFi.setRouterAddress(address) (#1188-1193)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LightDeFi.setSwapAndLiquifyEnabled(bool) (#1195-1198)
Use the external attribute for functions never called from the contract.

Additional information: link

LightDeFi.addLiquidity(uint256,uint256) (#1061-1074) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
Ensure that all the return values of the function calls are used.

Additional information: link

LightDeFi.allowance(address,address).owner (#797) shadows:
- Ownable.owner() (#429-431) (function)
LightDeFi._approve(address,address,uint256).owner (#983) shadows:
- Ownable.owner() (#429-431) (function)
Rename the local variables that shadow another component.

Additional information: link

LightDeFi.setTaxFeePercent(uint256) (#1170-1172) should emit an event for:
- _taxFee = taxFee (#1171)
LightDeFi.setLiquidityFeePercent(uint256) (#1174-1176) should emit an event for:
- _liquidityFee = liquidityFee (#1175)
LightDeFi.setChartityFeePercent(uint256) (#1178-1180) should emit an event for:
- _charityFee = charityFee (#1179)
LightDeFi.setBurnFeePercent(uint256) (#1182-1184) should emit an event for:
- _burnFee = burnFee (#1183)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in LightDeFi._transfer(address,address,uint256) (#991-1018):
External calls:
- swapAndLiquify(contractTokenBalance) (#1013)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1013)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1017)
- _burnFee = _previousBurnFee (#975)
- _burnFee = 0 (#969)
- _tokenTransfer(from,to,amount) (#1017)
- _charityFee = _previouscharityFee (#976)
- _charityFee = 0 (#968)
- _tokenTransfer(from,to,amount) (#1017)
- _liquidityFee = _previousLiquidityFee (#974)
- _liquidityFee = 0 (#967)
- _liquidityFee = 0 (#1100)
- _liquidityFee = _previousLiquidityFee (#1108)
- _tokenTransfer(from,to,amount) (#1017)
- _previousBurnFee = _burnFee (#963)
- _tokenTransfer(from,to,amount) (#1017)
- _previousLiquidityFee = _liquidityFee (#962)
- _tokenTransfer(from,to,amount) (#1017)
- _previousTaxFee = _taxFee (#961)
- _tokenTransfer(from,to,amount) (#1017)
- _previouscharityFee = _charityFee (#964)
- _tokenTransfer(from,to,amount) (#1017)
- _tFeeTotal = _tFeeTotal.add(tFee) (#897)
- _tokenTransfer(from,to,amount) (#1017)
- _taxFee = _previousTaxFee (#973)
- _taxFee = 0 (#966)
- _taxFee = 0 (#1099)
- _taxFee = _previousTaxFee (#1107)
Reentrancy in LightDeFi.constructor() (#753-769):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#758-759)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#765)
- _isExcludedFromFee[address(this)] = true (#766)
- uniswapV2Router = _uniswapV2Router (#762)
Reentrancy in LightDeFi.setRouterAddress(address) (#1188-1193):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1191)
State variables written after the call(s):
- uniswapV2Router = _newPancakeRouter (#1192)
Reentrancy in LightDeFi.swapAndLiquify(uint256) (#1020-1041):
External calls:
- swapTokensForEth(half) (#1032)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
- addLiquidity(otherHalf,newBalance) (#1038)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1038)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1038)
- _allowances[owner][spender] = amount (#987)
Reentrancy in LightDeFi.transferFrom(address,address,uint256) (#806-810):
External calls:
- _transfer(sender,recipient,amount) (#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
External calls sending eth:
- _transfer(sender,recipient,amount) (#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#808)
- _allowances[owner][spender] = amount (#987)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in LightDeFi._transfer(address,address,uint256) (#991-1018):
External calls:
- swapAndLiquify(contractTokenBalance) (#1013)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1013)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1121)
- _tokenTransfer(from,to,amount) (#1017)
- Transfer(sender,recipient,tTransferAmount) (#1131)
- _tokenTransfer(from,to,amount) (#1017)
- Transfer(sender,recipient,tTransferAmount) (#1141)
- _tokenTransfer(from,to,amount) (#1017)
- Transfer(sender,recipient,tTransferAmount) (#887)
- _tokenTransfer(from,to,amount) (#1017)
Reentrancy in LightDeFi.constructor() (#753-769):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#758-759)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#768)
Reentrancy in LightDeFi.swapAndLiquify(uint256) (#1020-1041):
External calls:
- swapTokensForEth(half) (#1032)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
- addLiquidity(otherHalf,newBalance) (#1038)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1038)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#988)
- addLiquidity(otherHalf,newBalance) (#1038)
- SwapAndLiquify(half,newBalance,otherHalf) (#1040)
Reentrancy in LightDeFi.transferFrom(address,address,uint256) (#806-810):
External calls:
- _transfer(sender,recipient,amount) (#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1052-1058)
External calls sending eth:
- _transfer(sender,recipient,amount) (#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1066-1073)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#988)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#808)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#476-481) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#478)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#281-290) uses assembly
- INLINE ASM (#288)
Address._functionCallWithValue(address,bytes,uint256,string) (#374-395) uses assembly
- INLINE ASM (#387-390)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#374-395) is never used and should be removed
Address.functionCall(address,bytes) (#334-336) is never used and should be removed
Address.functionCall(address,bytes,string) (#344-346) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#359-361) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#369-372) is never used and should be removed
Address.isContract(address) (#281-290) is never used and should be removed
Address.sendValue(address,uint256) (#308-314) is never used and should be removed
Context._msgData() (#253-256) is never used and should be removed
SafeMath.mod(uint256,uint256) (#226-228) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#242-245) is never used and should be removed
Remove unused functions.

Additional information: link

LightDeFi._rTotal (#711) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
LightDeFi._previousTaxFee (#719) is set pre-construction with a non-constant function or state variable:
- _taxFee
LightDeFi._previousLiquidityFee (#722) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
LightDeFi._previousBurnFee (#725) is set pre-construction with a non-constant function or state variable:
- _burnFee
LightDeFi._previouscharityFee (#729) is set pre-construction with a non-constant function or state variable:
- _charityFee
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

Low level call in Address.sendValue(address,uint256) (#308-314):
- (success) = recipient.call{value: amount}() (#312)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#374-395):
- (success,returndata) = target.call{value: weiValue}(data) (#378)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

LightDeFi.includeInReward(address) (#866-877) has costly operations inside a loop:
- _excluded.pop() (#873)
Use a local variable to hold the loop computation result.

Additional information: link

Holders:


Token is deployed only at one blockchain

Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.


Unable to find PancakeSwap trading pair to compute liquidity.


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


Last post in Twitter was more than 30 days ago


Unable to find Discord account

No disclosed threats


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


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for LIGHT

News for LIGHT