Luckyfloki Token Token Logo

LFLOKI [Luckyfloki] Token

ALERT: honeypot scam

About LFLOKI

Listings

Not Found
Token 4 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 18 June 2022

report
Token seems to be a scam (type: honeypot scam).

Luckyfloki.transferBNBToMarketing(uint256) (#928-930) sends eth to arbitrary user
Dangerous calls:
- marketingAddress.transfer(amount) (#929)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Luckyfloki._transfer(address,address,uint256) (#1034-1074):
External calls:
- swapAndLiquify(contractTokenBalance) (#1061)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousLiquidityFee = _liquidityFee (#1011)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rTotal = _rTotal.sub(rFee) (#933)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
Reentrancy in Luckyfloki.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
State variables written after the call(s):
- _burnTokens(allocationForBurn) (#1111)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
Apply the check-effects-interactions pattern.

Additional information: link


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


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.


Contract ownership is not renounced (belongs to a wallet)

Luckyfloki.calculateTokenAllocationForMarketing(uint256) (#992-994) performs a multiplication on the result of a division:
-tokenBalance.div(_liquidityFee).mul(_marketingFee) (#993)
Luckyfloki.calculateBNBAllocationForMarketing(uint256) (#997-1000) performs a multiplication on the result of a division:
-bnbBalance.div(_liquidityFeeLessBurnFee).mul(_marketingFee) (#999)
Luckyfloki.calculateTokenAllocationForBurn(uint256) (#1003-1005) performs a multiplication on the result of a division:
-tokenBalance.div(_liquidityFee).mul(_burnFee) (#1004)
Consider ordering multiplication before division.

Additional information: link

Luckyfloki.addLiquidity(uint256,uint256) (#1132-1145) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Ensure that all the return values of the function calls are used.

Additional information: link

Luckyfloki.allowance(address,address).owner (#778) shadows:
- Ownable.owner() (#419-421) (function)
Luckyfloki._approve(address,address,uint256).owner (#1026) shadows:
- Ownable.owner() (#419-421) (function)
Rename the local variables that shadow another component.

Additional information: link

Luckyfloki.setTaxFeePercent(uint256) (#892-894) should emit an event for:
- _taxFee = taxFee (#893)
Luckyfloki.setLiquidityFeePercent(uint256) (#896-898) should emit an event for:
- _liquidityFee = liquidityFee (#897)
Luckyfloki.setMaxTxPercent(uint256) (#900-904) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#901-903)
Luckyfloki.setTokensToSellIntoLiq(uint256) (#911-913) should emit an event for:
- numTokensSellToAddToLiquidity = _amount * 10 ** 9 (#912)
Emit an event for critical parameter changes.

Additional information: link

Luckyfloki.setMarketingAddress(address)._marketingAddress (#915) lacks a zero-check on :
- marketingAddress = _marketingAddress (#916)
Luckyfloki.withdrawBNB(address).recipient (#923) lacks a zero-check on :
- recipient.transfer(address(this).balance) (#924)
Check that the address is not zero.

Additional information: link

Reentrancy in Luckyfloki.constructor() (#734-750):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#740)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#746)
- _isExcludedFromFee[address(this)] = true (#747)
- pancakeRouter = _pancakeRouter (#743)
Reentrancy in Luckyfloki.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- _allowances[owner][spender] = amount (#1030)
Reentrancy in Luckyfloki.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
State variables written after the call(s):
- _burnTokens(allocationForBurn) (#1111)
- _previousLiquidityFee = _liquidityFee (#1011)
- _burnTokens(allocationForBurn) (#1111)
- _previousTaxFee = _taxFee (#1010)
- _burnTokens(allocationForBurn) (#1111)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _burnTokens(allocationForBurn) (#1111)
- _rTotal = _rTotal.sub(rFee) (#933)
- _burnTokens(allocationForBurn) (#1111)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _burnTokens(allocationForBurn) (#1111)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _burnTokens(allocationForBurn) (#1111)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
- _burnTokens(allocationForBurn) (#1111)
- _totalBurn = _totalBurn.add(tokensToBurn) (#1151)
Reentrancy in Luckyfloki.transferFrom(address,address,uint256) (#787-791):
External calls:
- _transfer(sender,recipient,amount) (#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
- _allowances[owner][spender] = amount (#1030)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Luckyfloki._transfer(address,address,uint256) (#1034-1074):
External calls:
- swapAndLiquify(contractTokenBalance) (#1061)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
Reentrancy in Luckyfloki.constructor() (#734-750):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#740)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#749)
Reentrancy in Luckyfloki.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1031)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
Reentrancy in Luckyfloki.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
Event emitted after the call(s):
- SwapAndLiquify(half,swappedBNBForLiquidity,otherHalf) (#1110)
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _burnTokens(allocationForBurn) (#1111)
Reentrancy in Luckyfloki.transferFrom(address,address,uint256) (#787-791):
External calls:
- _transfer(sender,recipient,amount) (#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1031)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

Address.isContract(address) (#271-280) uses assembly
- INLINE ASM (#278)
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) uses assembly
- INLINE ASM (#377-380)
Do not use evm assembly.

Additional information: link

Luckyfloki.includeInReward(address) (#860-871) has costly operations inside a loop:
- _excluded.pop() (#867)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) is never used and should be removed
Address.functionCall(address,bytes) (#324-326) is never used and should be removed
Address.functionCall(address,bytes,string) (#334-336) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#349-351) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#359-362) is never used and should be removed
Address.isContract(address) (#271-280) is never used and should be removed
Address.sendValue(address,uint256) (#298-304) is never used and should be removed
Context._msgData() (#244-247) is never used and should be removed
SafeMath.mod(uint256,uint256) (#217-219) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#233-236) is never used and should be removed
Remove unused functions.

Additional information: link

Luckyfloki._rTotal (#691) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Luckyfloki._previousTaxFee (#699) is set pre-construction with a non-constant function or state variable:
- _taxFee
Luckyfloki._previousLiquidityFee (#702) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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) (#298-304):
- (success) = recipient.call{value: amount}() (#302)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#364-385):
- (success,returndata) = target.call{value: weiValue}(data) (#368)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakePair.DOMAIN_SEPARATOR() (#505) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#506) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#523) is not in mixedCase
Function IPancakeRouter01.WETH() (#543) is not in mixedCase
Parameter Luckyfloki.setSwapAndLiquifyEnabled(bool)._enabled (#906) is not in mixedCase
Parameter Luckyfloki.setTokensToSellIntoLiq(uint256)._amount (#911) is not in mixedCase
Parameter Luckyfloki.setMarketingAddress(address)._marketingAddress (#915) is not in mixedCase
Parameter Luckyfloki.calculateTaxFee(uint256)._amount (#983) is not in mixedCase
Parameter Luckyfloki.calculateLiquidityFee(uint256)._amount (#987) is not in mixedCase
Variable Luckyfloki._taxFee (#698) is not in mixedCase
Variable Luckyfloki._liquidityFee (#701) is not in mixedCase
Variable Luckyfloki._burnFee (#704) is not in mixedCase
Variable Luckyfloki._marketingFee (#705) is not in mixedCase
Variable Luckyfloki._maxTxAmount (#715) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#245)" inContext (#239-248)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Luckyfloki._transfer(address,address,uint256) (#1034-1074):
External calls:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousLiquidityFee = _liquidityFee (#1011)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rTotal = _rTotal.sub(rFee) (#933)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
Reentrancy in Luckyfloki.swapAndLiquify(uint256) (#1076-1112):
External calls:
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
State variables written after the call(s):
- _burnTokens(allocationForBurn) (#1111)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- _burnTokens(allocationForBurn) (#1111)
- _previousLiquidityFee = _liquidityFee (#1011)
- _burnTokens(allocationForBurn) (#1111)
- _previousTaxFee = _taxFee (#1010)
- _burnTokens(allocationForBurn) (#1111)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _burnTokens(allocationForBurn) (#1111)
- _rTotal = _rTotal.sub(rFee) (#933)
- _burnTokens(allocationForBurn) (#1111)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _burnTokens(allocationForBurn) (#1111)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _burnTokens(allocationForBurn) (#1111)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
- _burnTokens(allocationForBurn) (#1111)
- _totalBurn = _totalBurn.add(tokensToBurn) (#1151)
Event emitted after the call(s):
- SwapAndLiquify(half,swappedBNBForLiquidity,otherHalf) (#1110)
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _burnTokens(allocationForBurn) (#1111)
Reentrancy in Luckyfloki.transferFrom(address,address,uint256) (#787-791):
External calls:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
External calls sending eth:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
- _allowances[owner][spender] = amount (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1031)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#548) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#549)
Variable Luckyfloki.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki._getValues(uint256).rTransferAmount (#939) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._getValues(uint256).rTransferAmount (#939) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki._getValues(uint256).rTransferAmount (#939) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._getValues(uint256).rTransferAmount (#939) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._getValues(uint256).rTransferAmount (#939) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Luckyfloki._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Luckyfloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._getValues(uint256).rTransferAmount (#939) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Variable Luckyfloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Variable Luckyfloki._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Variable Luckyfloki._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Luckyfloki._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Luckyfloki._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Variable Luckyfloki._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Variable Luckyfloki._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Variable Luckyfloki._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Luckyfloki._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Luckyfloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Luckyfloki._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Luckyfloki.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Luckyfloki._getTValues(uint256).tTransferAmount (#946)
Variable Luckyfloki._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Luckyfloki._getValues(uint256).tTransferAmount (#938)
Prevent variables from having similar names.

Additional information: link

Luckyfloki._burnTokens(uint256) (#1147-1154) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#1148)
Luckyfloki.slitherConstructorVariables() (#676-1206) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 9 (#690)
Luckyfloki.slitherConstructorVariables() (#676-1206) uses literals with too many digits:
- _maxTxAmount = 300000000000000 * 10 ** 9 (#715)
Luckyfloki.slitherConstructorVariables() (#676-1206) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 300000000000 * 10 ** 9 (#716)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Luckyfloki._burnFee (#704) should be constant
Luckyfloki._decimals (#696) should be constant
Luckyfloki._marketingFee (#705) should be constant
Luckyfloki._name (#694) should be constant
Luckyfloki._symbol (#695) should be constant
Luckyfloki._tTotal (#690) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#438-441)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#447-451)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#453-455)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#458-463)
unlock() should be declared external:
- Ownable.unlock() (#466-471)
name() should be declared external:
- Luckyfloki.name() (#752-754)
symbol() should be declared external:
- Luckyfloki.symbol() (#756-758)
decimals() should be declared external:
- Luckyfloki.decimals() (#760-762)
totalSupply() should be declared external:
- Luckyfloki.totalSupply() (#764-766)
transfer(address,uint256) should be declared external:
- Luckyfloki.transfer(address,uint256) (#773-776)
allowance(address,address) should be declared external:
- Luckyfloki.allowance(address,address) (#778-780)
approve(address,uint256) should be declared external:
- Luckyfloki.approve(address,uint256) (#782-785)
transferFrom(address,address,uint256) should be declared external:
- Luckyfloki.transferFrom(address,address,uint256) (#787-791)
increaseAllowance(address,uint256) should be declared external:
- Luckyfloki.increaseAllowance(address,uint256) (#793-796)
decreaseAllowance(address,uint256) should be declared external:
- Luckyfloki.decreaseAllowance(address,uint256) (#798-801)
isExcludedFromReward(address) should be declared external:
- Luckyfloki.isExcludedFromReward(address) (#803-805)
totalFees() should be declared external:
- Luckyfloki.totalFees() (#807-809)
numOfTokensToSellToAddToLiquidityAmount() should be declared external:
- Luckyfloki.numOfTokensToSellToAddToLiquidityAmount() (#812-814)
getContractTokenBalance() should be declared external:
- Luckyfloki.getContractTokenBalance() (#816-818)
totalTokensBurnt() should be declared external:
- Luckyfloki.totalTokensBurnt() (#820-822)
deliver(uint256) should be declared external:
- Luckyfloki.deliver(uint256) (#824-831)
reflectionFromToken(uint256,bool) should be declared external:
- Luckyfloki.reflectionFromToken(uint256,bool) (#833-842)
excludeFromReward(address) should be declared external:
- Luckyfloki.excludeFromReward(address) (#850-858)
excludeFromFee(address) should be declared external:
- Luckyfloki.excludeFromFee(address) (#884-886)
includeInFee(address) should be declared external:
- Luckyfloki.includeInFee(address) (#888-890)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Luckyfloki.setSwapAndLiquifyEnabled(bool) (#906-909)
setTokensToSellIntoLiq(uint256) should be declared external:
- Luckyfloki.setTokensToSellIntoLiq(uint256) (#911-913)
isExcludedFromFee(address) should be declared external:
- Luckyfloki.isExcludedFromFee(address) (#1022-1024)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

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.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


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


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for LFLOKI