Lightning is a deflationary rebase protocol, which runs through a total of 156 cycles. In each cycle, a part of the Total Supply gets burned through burn fees.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LightningProtocol._setBurnFee(uint256) (#823-826) contains a tautology or contradiction:
- require(bool,string)(burnFee >= 0 && burnFee <= 1500,burnFee should be in 0 - 15) (#824)
LightningProtocol._setFeeStage(uint256) (#828-831) contains a tautology or contradiction:
- require(bool,string)(burnFee >= 0 && burnFee <= 1500,burnFee should be in 0 - 15) (#829)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
LightningProtocol._rTotal (#498) is set pre-construction with a non-constant function or state variable:
- (_MAX - (_MAX % _tTotal))
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
LightningProtocol._setFeeStage(uint256) (#828-831) should emit an event for:
- _BURN_FEE = burnFee (#830)
Emit an event for critical parameter changes.
Additional information: link
Address.isContract(address) (#287-296) uses assembly
- INLINE ASM (#294)
Address._functionCallWithValue(address,bytes,uint256,string) (#380-401) uses assembly
- INLINE ASM (#393-396)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#380-401) is never used and should be removed
Address.functionCall(address,bytes) (#340-342) is never used and should be removed
Address.functionCall(address,bytes,string) (#350-352) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#365-367) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#375-378) is never used and should be removed
Address.isContract(address) (#287-296) is never used and should be removed
Address.sendValue(address,uint256) (#314-320) is never used and should be removed
Context._msgData() (#30-33) is never used and should be removed
LightningProtocol._getMaxTxAmount() (#837-839) is never used and should be removed
SafeMath.mod(uint256,uint256) (#244-246) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#260-263) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.0 (#22) allows old versions
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 Address.sendValue(address,uint256) (#314-320):
- (success) = recipient.call{value: amount}() (#318)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#380-401):
- (success,returndata) = target.call{value: weiValue}(data) (#384)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function LightningProtocol._setFeeStage(uint256) (#828-831) is not in mixedCase
Function LightningProtocol._getBurnFee() (#833-835) is not in mixedCase
Function LightningProtocol._getCycle() (#841-843) is not in mixedCase
Function LightningProtocol._getBurnCycle() (#845-847) is not in mixedCase
Function LightningProtocol._getTradedCycle() (#849-851) is not in mixedCase
Variable LightningProtocol._BURN_FEE (#509) is not in mixedCase
Variable LightningProtocol._TAX_FEE (#510) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#31)" inContext (#25-34)
Remove redundant statements if they congest code but offer no value.
Additional information: link
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (1000000 * _DECIMALFACTOR) && _tTradeCycle <= (2000000 * _DECIMALFACTOR) (#672)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (2000000 * _DECIMALFACTOR) && _tTradeCycle <= (3000000 * _DECIMALFACTOR) (#674)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (3000000 * _DECIMALFACTOR) && _tTradeCycle <= (4000000 * _DECIMALFACTOR) (#676)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (4000000 * _DECIMALFACTOR) && _tTradeCycle <= (5000000 * _DECIMALFACTOR) (#678)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (5000000 * _DECIMALFACTOR) && _tTradeCycle <= (6000000 * _DECIMALFACTOR) (#680)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (6000000 * _DECIMALFACTOR) && _tTradeCycle <= (7000000 * _DECIMALFACTOR) (#682)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (7000000 * _DECIMALFACTOR) && _tTradeCycle <= (8000000 * _DECIMALFACTOR) (#684)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (8000000 * _DECIMALFACTOR) && _tTradeCycle <= (9000000 * _DECIMALFACTOR) (#686)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (9000000 * _DECIMALFACTOR) && _tTradeCycle <= (10000000 * _DECIMALFACTOR) (#688)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (10000000 * _DECIMALFACTOR) && _tTradeCycle <= (11000000 * _DECIMALFACTOR) (#690)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (11000000 * _DECIMALFACTOR) && _tTradeCycle <= (12000000 * _DECIMALFACTOR) (#692)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (12000000 * _DECIMALFACTOR) && _tTradeCycle <= (13000000 * _DECIMALFACTOR) (#694)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (13000000 * _DECIMALFACTOR) && _tTradeCycle <= (14000000 * _DECIMALFACTOR) (#696)
LightningProtocol._transfer(address,address,uint256) (#651-718) uses literals with too many digits:
- _tTradeCycle >= (14000000 * _DECIMALFACTOR) (#698)
LightningProtocol.slitherConstructorVariables() (#468-869) uses literals with too many digits:
- _tTotal = 100000000 * _DECIMALFACTOR (#497)
LightningProtocol.slitherConstructorConstantVariables() (#468-869) uses literals with too many digits:
- _MAX_TX_SIZE = 100000000 * _DECIMALFACTOR (#511)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Variable LightningProtocol._getValues(uint256).rTransferAmount (#786) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol.reflectionFromToken(uint256,bool).rTransferAmount (#609) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol.reflectionFromToken(uint256,bool).rTransferAmount (#609) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#801) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol._getValues(uint256).rTransferAmount (#786) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferToExcluded(address,address,uint256).rTransferAmount (#732) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#801) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol._transferToExcluded(address,address,uint256).rTransferAmount (#732) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol._getValues(uint256).rTransferAmount (#786) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Variable LightningProtocol.reflectionFromToken(uint256,bool).rTransferAmount (#609) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._transferToExcluded(address,address,uint256).rTransferAmount (#732) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._transferStandard(address,address,uint256).rTransferAmount (#722) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol.reflectionFromToken(uint256,bool).rTransferAmount (#609) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol._transferStandard(address,address,uint256).rTransferAmount (#722) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol.reflectionFromToken(uint256,bool).rTransferAmount (#609) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferToExcluded(address,address,uint256).rTransferAmount (#732) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#801) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferFromExcluded(address,address,uint256).rTransferAmount (#743) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol.reflectionFromToken(uint256,bool).rTransferAmount (#609) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Variable LightningProtocol._transferToExcluded(address,address,uint256).rTransferAmount (#732) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferFromExcluded(address,address,uint256).rTransferAmount (#743) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol._getValues(uint256).rTransferAmount (#786) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol._transferStandard(address,address,uint256).rTransferAmount (#722) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._getValues(uint256).rTransferAmount (#786) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol._transferBothExcluded(address,address,uint256).rTransferAmount (#754) is too similar to LightningProtocol._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable LightningProtocol._transferToExcluded(address,address,uint256).rTransferAmount (#732) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Variable LightningProtocol._transferBothExcluded(address,address,uint256).rTransferAmount (#754) is too similar to LightningProtocol._getValues(uint256).tTransferAmount (#784)
Variable LightningProtocol._transferStandard(address,address,uint256).rTransferAmount (#722) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol._getValues(uint256).rTransferAmount (#786) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._transferStandard(address,address,uint256).rTransferAmount (#722) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferStandard(address,address,uint256).rTransferAmount (#722) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Variable LightningProtocol._transferFromExcluded(address,address,uint256).rTransferAmount (#743) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferFromExcluded(address,address,uint256).rTransferAmount (#743) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol._transferFromExcluded(address,address,uint256).rTransferAmount (#743) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#801) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Variable LightningProtocol._transferBothExcluded(address,address,uint256).rTransferAmount (#754) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Variable LightningProtocol._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#801) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#801) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol._transferBothExcluded(address,address,uint256).rTransferAmount (#754) is too similar to LightningProtocol._transferStandard(address,address,uint256).tTransferAmount (#722)
Variable LightningProtocol._transferBothExcluded(address,address,uint256).rTransferAmount (#754) is too similar to LightningProtocol._getTValues(uint256,uint256,uint256).tTransferAmount (#793)
Variable LightningProtocol._transferBothExcluded(address,address,uint256).rTransferAmount (#754) is too similar to LightningProtocol._transferFromExcluded(address,address,uint256).tTransferAmount (#743)
Variable LightningProtocol._transferFromExcluded(address,address,uint256).rTransferAmount (#743) is too similar to LightningProtocol._transferToExcluded(address,address,uint256).tTransferAmount (#732)
Prevent variables from having similar names.
Additional information: link
LightningProtocol.includeAccount(address) (#630-641) has costly operations inside a loop:
- _excluded.pop() (#637)
Use a local variable to hold the loop computation result.
Additional information: link
LightningProtocol.allowance(address,address).owner (#557) shadows:
- Ownable.owner() (#433-435) (function)
LightningProtocol._approve(address,address,uint256).owner (#643) shadows:
- Ownable.owner() (#433-435) (function)
Rename the local variables that shadow another component.
Additional information: link
LightningProtocol.transferredTokens (#507) is never used in LightningProtocol (#468-869)
LightningProtocol.tokenBatchCount (#508) is never used in LightningProtocol (#468-869)
LightningProtocol.MAX_SUPPLY (#517) is never used in LightningProtocol (#468-869)
LightningProtocol._gonsPerFragment (#519) is never used in LightningProtocol (#468-869)
LightningProtocol._gonBalances (#520) is never used in LightningProtocol (#468-869)
Remove unused state variables.
Additional information: link
LightningProtocol._TAX_FEE (#510) should be constant
LightningProtocol._gonsPerFragment (#519) should be constant
LightningProtocol.tokenBatchCount (#508) should be constant
LightningProtocol.transferredTokens (#507) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#452-455)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#461-465)
name() should be declared external:
- LightningProtocol.name() (#531-533)
symbol() should be declared external:
- LightningProtocol.symbol() (#535-537)
decimals() should be declared external:
- LightningProtocol.decimals() (#539-541)
totalSupply() should be declared external:
- LightningProtocol.totalSupply() (#543-545)
balanceOf(address) should be declared external:
- LightningProtocol.balanceOf(address) (#547-550)
transfer(address,uint256) should be declared external:
- LightningProtocol.transfer(address,uint256) (#552-555)
allowance(address,address) should be declared external:
- LightningProtocol.allowance(address,address) (#557-559)
approve(address,uint256) should be declared external:
- LightningProtocol.approve(address,uint256) (#561-564)
transferFrom(address,address,uint256) should be declared external:
- LightningProtocol.transferFrom(address,address,uint256) (#566-570)
increaseAllowance(address,uint256) should be declared external:
- LightningProtocol.increaseAllowance(address,uint256) (#572-575)
decreaseAllowance(address,uint256) should be declared external:
- LightningProtocol.decreaseAllowance(address,uint256) (#577-580)
isExcluded(address) should be declared external:
- LightningProtocol.isExcluded(address) (#582-584)
totalFees() should be declared external:
- LightningProtocol.totalFees() (#586-588)
totalBurn() should be declared external:
- LightningProtocol.totalBurn() (#590-592)
deliver(uint256) should be declared external:
- LightningProtocol.deliver(uint256) (#594-601)
reflectionFromToken(uint256,bool) should be declared external:
- LightningProtocol.reflectionFromToken(uint256,bool) (#603-612)
_getBurnFee() should be declared external:
- LightningProtocol._getBurnFee() (#833-835)
_getCycle() should be declared external:
- LightningProtocol._getCycle() (#841-843)
_getBurnCycle() should be declared external:
- LightningProtocol._getBurnCycle() (#845-847)
_getTradedCycle() should be declared external:
- LightningProtocol._getTradedCycle() (#849-851)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Contract has 6% buy tax and 2% sell tax.
Taxes are low and contract ownership is renounced.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account