Lunatic-Cats Token Logo

LCAT [Lunatic-Cats] Token

About LCAT

Listings

Token 3 years
white paper

😻 Welcome to the Presale of Lunatic-Cats 😻
Lunatic-Cats is a hyper-deflationary 😸, auto-liquidity 😸 generating token that pays out 💰 static reflections to holders 😸.
Simply hold your $LCAT in your wallet and your bag grows with every transaction! 🙌💰

Catonomics:
12% on every transaction (Buy/Sell/Transfer)
splitted in: 4% Reflection for holders / 4% Marketing & DEV (2% / 2%) / 2% Liquidity / 2% Buyback & Burn 🔥
🔒 Liquidity locked for 5 years! 🔒
❌ No Team Token! ❌

Social

Laser Scorebeta Last Audit: 6 June 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links

LunaticCat._takeDev(uint256) (#1007-1019) sends eth to arbitrary user
Dangerous calls:
- _devWallet.transfer(address(this).balance) (#1013)
LunaticCat.addLiquidity(uint256,uint256) (#1181-1193) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in LunaticCat._tokenTransfer(address,address,uint256,bool) (#1195-1213):
External calls:
- _transferFromExcluded(sender,recipient,amount) (#1200)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _transferToExcluded(sender,recipient,amount) (#1202)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _transferStandard(sender,recipient,amount) (#1204)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _transferBothExcluded(sender,recipient,amount) (#1206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _transferStandard(sender,recipient,amount) (#1208)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _transferFromExcluded(sender,recipient,amount) (#1200)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferToExcluded(sender,recipient,amount) (#1202)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferStandard(sender,recipient,amount) (#1204)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferBothExcluded(sender,recipient,amount) (#1206)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferStandard(sender,recipient,amount) (#1208)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- restoreAllFee() (#1212)
- _devFee = _previousDevFee (#1070)
- restoreAllFee() (#1212)
- _liquidityFee = _previousLiquidityFee (#1071)
- restoreAllFee() (#1212)
- _lottoFee = _previousLottoFee (#1069)
- restoreAllFee() (#1212)
- _taxFee = _previousTaxFee (#1068)
Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- addAddress(from) (#1142)
- _AddressExists[adr] = true (#970)
- addAddress(to) (#1143)
- _AddressExists[adr] = true (#970)
- addAddress(from) (#1142)
- _addressList.push(adr) (#971)
- addAddress(to) (#1143)
- _addressList.push(adr) (#971)
- drawLotto(lottoBalance) (#1131)
- _rOwned[_lottoPotAddress] = _rOwned[_lottoPotAddress].add(rLotto) (#993)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1024)
- _rOwned[_devWallet] = _rOwned[_devWallet].add(rDev) (#1015)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1216)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1226)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1238)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#844)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1217)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1239)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1228)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#846)
- drawLotto(lottoBalance) (#1131)
- _rTotal = _rTotal.sub(rFee) (#921)
- drawLotto(lottoBalance) (#1131)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1026)
- _tOwned[_lottoPotAddress] = _tOwned[_lottoPotAddress].add(tLotto) (#995)
- _tOwned[_devWallet] = _tOwned[_devWallet].add(tDev) (#1017)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1237)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#843)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1227)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#845)
- drawLotto(lottoBalance) (#1131)
- inSwapAndLiquify = true (#706)
- inSwapAndLiquify = false (#708)
Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devFee = _previousDevFee (#1070)
- _devFee = 0 (#1063)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _liquidityFee = _previousLiquidityFee (#1071)
- _liquidityFee = 0 (#1064)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _lottoFee = _previousLottoFee (#1069)
- _lottoFee = 0 (#1062)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousDevFee = _devFee (#1058)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousLiquidityFee = _liquidityFee (#1059)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousLottoFee = _lottoFee (#1057)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousTaxFee = _taxFee (#1056)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _rOwned[_lottoPotAddress] = _rOwned[_lottoPotAddress].add(rLotto) (#993)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1024)
- _rOwned[_devWallet] = _rOwned[_devWallet].add(rDev) (#1015)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1216)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1226)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1238)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#844)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1217)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1239)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1228)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _rTotal = _rTotal.sub(rFee) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1026)
- _tOwned[_lottoPotAddress] = _tOwned[_lottoPotAddress].add(tLotto) (#995)
- _tOwned[_devWallet] = _tOwned[_devWallet].add(tDev) (#1017)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1237)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#843)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1227)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#845)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _taxFee = _previousTaxFee (#1068)
- _taxFee = 0 (#1061)
Reentrancy in LunaticCat._transferBothExcluded(address,address,uint256) (#841-852):
External calls:
- _takeDev(tDev) (#849)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#849)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#850)
- _rTotal = _rTotal.sub(rFee) (#921)
Reentrancy in LunaticCat._transferFromExcluded(address,address,uint256) (#1235-1245):
External calls:
- _takeDev(tDev) (#1242)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1242)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1243)
- _rTotal = _rTotal.sub(rFee) (#921)
Reentrancy in LunaticCat._transferStandard(address,address,uint256) (#1214-1223):
External calls:
- _takeDev(tDev) (#1220)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1220)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1221)
- _rTotal = _rTotal.sub(rFee) (#921)
Reentrancy in LunaticCat._transferToExcluded(address,address,uint256) (#1224-1234):
External calls:
- _takeDev(tDev) (#1231)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1231)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1232)
- _rTotal = _rTotal.sub(rFee) (#921)
Reentrancy in LunaticCat.drawLotto(uint256) (#998-1005):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- ++ _lottoDrawCount (#1003)
- _totalLottoPrize = _totalLottoPrize.add(amount) (#1002)
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.

LunaticCat.addLiquidity(uint256,uint256) (#1181-1193) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
Ensure that all the return values of the function calls are used.

Additional information: link

LunaticCat.allowance(address,address).owner (#767) shadows:
- Ownable.owner() (#391-393) (function)
LunaticCat._approve(address,address,uint256).owner (#1078) shadows:
- Ownable.owner() (#391-393) (function)
Rename the local variables that shadow another component.

Additional information: link

LunaticCat.setTaxFeePercent(uint256) (#870-872) should emit an event for:
- _taxFee = taxFee (#871)
LunaticCat.setLottoFeePercent(uint256) (#874-876) should emit an event for:
- _lottoFee = lottoFee (#875)
LunaticCat.setDevFeePercent(uint256) (#878-880) should emit an event for:
- _devFee = devFee (#879)
LunaticCat.setMinLottoBalance(uint256) (#891-893) should emit an event for:
- _minLottoBalance = minBalance (#892)
LunaticCat.setLotteryThresHold(uint256) (#894-896) should emit an event for:
- lotteryThreshold = threshold (#895)
LunaticCat.setLiquidityFeePercent(uint256) (#897-899) should emit an event for:
- _liquidityFee = liquidityFee (#898)
LunaticCat.setMaxTxPercent(uint256) (#900-904) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#901-903)
LunaticCat.setAntiWhaleThreshold(uint256) (#912-914) should emit an event for:
- _antiWhaleThreshold = amount (#913)
Emit an event for critical parameter changes.

Additional information: link

LunaticCat.setUniswapPair(address).p (#859) lacks a zero-check on :
- uniswapV2Pair = p (#860)
LunaticCat.setDevAddress(address).dev (#888) lacks a zero-check on :
- _devWallet = dev (#889)
Check that the address is not zero.

Additional information: link

Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- drawLotto(lottoBalance) (#1131)
- _allowances[owner][spender] = amount (#1081)
- drawLotto(lottoBalance) (#1131)
- _lastLottoWinnerAmount = amount (#1001)
Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _allowances[owner][spender] = amount (#1081)
Reentrancy in LunaticCat._transferBothExcluded(address,address,uint256) (#841-852):
External calls:
- _takeDev(tDev) (#849)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#849)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#850)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Reentrancy in LunaticCat._transferFromExcluded(address,address,uint256) (#1235-1245):
External calls:
- _takeDev(tDev) (#1242)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1242)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1243)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Reentrancy in LunaticCat._transferStandard(address,address,uint256) (#1214-1223):
External calls:
- _takeDev(tDev) (#1220)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1220)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1221)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Reentrancy in LunaticCat._transferToExcluded(address,address,uint256) (#1224-1234):
External calls:
- _takeDev(tDev) (#1231)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1231)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1232)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Reentrancy in LunaticCat.constructor() (#717-740):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#723-724)
State variables written after the call(s):
- _isExcludedFromAntiWhale[owner()] = true (#733)
- _isExcludedFromAntiWhale[_lottoPotAddress] = true (#734)
- _isExcludedFromAntiWhale[address(this)] = true (#735)
- _isExcludedFromAntiWhale[address(uniswapV2Router)] = true (#736)
- _isExcludedFromAntiWhale[uniswapV2Pair] = true (#737)
- _isExcludedFromFee[owner()] = true (#729)
- _isExcludedFromFee[_lottoPotAddress] = true (#730)
- _isExcludedFromFee[address(this)] = true (#731)
- uniswapV2Router = _uniswapV2Router (#726)
Reentrancy in LunaticCat.drawLotto(uint256) (#998-1005):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _lastLottoWinnerAmount = amount (#1001)
Reentrancy in LunaticCat.swapAndLiquify(uint256) (#1148-1165):
External calls:
- swapTokensForEth(half) (#1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- addLiquidity(otherHalf,newBalance) (#1162)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1162)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1162)
- _allowances[owner][spender] = amount (#1081)
Reentrancy in LunaticCat.transferFrom(address,address,uint256) (#774-778):
External calls:
- _transfer(sender,recipient,amount) (#775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _transfer(sender,recipient,amount) (#775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#776)
- _allowances[owner][spender] = amount (#1081)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- drawLotto(lottoBalance) (#1131)
- DrawLotto(amount,_lottoDrawCount) (#1004)
- drawLotto(lottoBalance) (#1131)
- SwapAndLiquify(half,newBalance,otherHalf) (#1164)
- drawLotto(lottoBalance) (#1131)
- Transfer(sender,recipient,tTransferAmount) (#1222)
- drawLotto(lottoBalance) (#1131)
- Transfer(sender,recipient,tTransferAmount) (#1233)
- drawLotto(lottoBalance) (#1131)
- Transfer(sender,recipient,tTransferAmount) (#1244)
- drawLotto(lottoBalance) (#1131)
- Transfer(sender,recipient,tTransferAmount) (#851)
- drawLotto(lottoBalance) (#1131)
Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#1222)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#1233)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#1244)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#851)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
Reentrancy in LunaticCat._transferBothExcluded(address,address,uint256) (#841-852):
External calls:
- _takeDev(tDev) (#849)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#849)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#851)
Reentrancy in LunaticCat._transferFromExcluded(address,address,uint256) (#1235-1245):
External calls:
- _takeDev(tDev) (#1242)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1242)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1244)
Reentrancy in LunaticCat._transferStandard(address,address,uint256) (#1214-1223):
External calls:
- _takeDev(tDev) (#1220)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1220)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1222)
Reentrancy in LunaticCat._transferToExcluded(address,address,uint256) (#1224-1234):
External calls:
- _takeDev(tDev) (#1231)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _takeDev(tDev) (#1231)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1233)
Reentrancy in LunaticCat.constructor() (#717-740):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#723-724)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#739)
Reentrancy in LunaticCat.drawLotto(uint256) (#998-1005):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- DrawLotto(amount,_lottoDrawCount) (#1004)
Reentrancy in LunaticCat.swapAndLiquify(uint256) (#1148-1165):
External calls:
- swapTokensForEth(half) (#1158)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
- addLiquidity(otherHalf,newBalance) (#1162)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1162)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- addLiquidity(otherHalf,newBalance) (#1162)
- SwapAndLiquify(half,newBalance,otherHalf) (#1164)
Reentrancy in LunaticCat.transferFrom(address,address,uint256) (#774-778):
External calls:
- _transfer(sender,recipient,amount) (#775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1173-1179)
External calls sending eth:
- _transfer(sender,recipient,amount) (#775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#776)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

Address.isContract(address) (#256-265) uses assembly
- INLINE ASM (#263)
Address._functionCallWithValue(address,bytes,uint256,string) (#342-361) uses assembly
- INLINE ASM (#353-356)
Do not use evm assembly.

Additional information: link

LunaticCat.includeInReward(address) (#828-839) has costly operations inside a loop:
- _excluded.pop() (#835)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#342-361) is never used and should be removed
Address.functionCall(address,bytes) (#306-308) is never used and should be removed
Address.functionCall(address,bytes,string) (#315-317) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#329-331) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#338-341) is never used and should be removed
Address.isContract(address) (#256-265) is never used and should be removed
Address.sendValue(address,uint256) (#282-287) is never used and should be removed
Context._msgData() (#230-233) is never used and should be removed
Remove unused functions.

Additional information: link

LunaticCat._rTotal (#652) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
LunaticCat._previousTaxFee (#660) is set pre-construction with a non-constant function or state variable:
- _taxFee
LunaticCat._previousLiquidityFee (#663) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
LunaticCat._previousLottoFee (#666) is set pre-construction with a non-constant function or state variable:
- _lottoFee
LunaticCat._previousDevFee (#669) is set pre-construction with a non-constant function or state variable:
- _devFee
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) (#282-287):
- (success) = recipient.call{value: amount}() (#285)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#342-361):
- (success,returndata) = target.call{value: weiValue}(data) (#345)
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() (#465) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#466) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#480) is not in mixedCase
Function IUniswapV2Router01.WETH() (#498) is not in mixedCase
Parameter LunaticCat.setSwapAndLiquifyEnabled(bool)._enabled (#905) is not in mixedCase
Parameter LunaticCat.calculateLottoFee(uint256)._amount (#1030) is not in mixedCase
Parameter LunaticCat.calculateDevFee(uint256)._amount (#1036) is not in mixedCase
Parameter LunaticCat.calculateTaxFee(uint256)._amount (#1042) is not in mixedCase
Parameter LunaticCat.calculateLiquidityFee(uint256)._amount (#1047) is not in mixedCase
Variable LunaticCat._isExcludedFromAntiWhale (#635) is not in mixedCase
Variable LunaticCat._AddressExists (#636) is not in mixedCase
Variable LunaticCat._taxFee (#659) is not in mixedCase
Variable LunaticCat._liquidityFee (#662) is not in mixedCase
Variable LunaticCat._devFee (#668) is not in mixedCase
Variable LunaticCat._shouldSwapToBNB (#678) is not in mixedCase
Variable LunaticCat._maxTxAmount (#680) is not in mixedCase
Variable LunaticCat._isAntiWhaleEnabled (#684) is not in mixedCase
Variable LunaticCat._antiWhaleThreshold (#685) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#231)" inContext (#226-234)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in LunaticCat._tokenTransfer(address,address,uint256,bool) (#1195-1213):
External calls:
- _transferFromExcluded(sender,recipient,amount) (#1200)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferToExcluded(sender,recipient,amount) (#1202)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferStandard(sender,recipient,amount) (#1204)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferBothExcluded(sender,recipient,amount) (#1206)
- _devWallet.transfer(address(this).balance) (#1013)
- _transferStandard(sender,recipient,amount) (#1208)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- restoreAllFee() (#1212)
- _devFee = _previousDevFee (#1070)
- restoreAllFee() (#1212)
- _liquidityFee = _previousLiquidityFee (#1071)
- restoreAllFee() (#1212)
- _lottoFee = _previousLottoFee (#1069)
- restoreAllFee() (#1212)
- _taxFee = _previousTaxFee (#1068)
Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- drawLotto(lottoBalance) (#1131)
- _devWallet.transfer(address(this).balance) (#1013)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- addAddress(from) (#1142)
- _AddressExists[adr] = true (#970)
- addAddress(to) (#1143)
- _AddressExists[adr] = true (#970)
- addAddress(from) (#1142)
- _addressList.push(adr) (#971)
- addAddress(to) (#1143)
- _addressList.push(adr) (#971)
Reentrancy in LunaticCat._transfer(address,address,uint256) (#1084-1147):
External calls:
- drawLotto(lottoBalance) (#1131)
- _devWallet.transfer(address(this).balance) (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devWallet.transfer(address(this).balance) (#1013)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- drawLotto(lottoBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _allowances[owner][spender] = amount (#1081)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _devFee = _previousDevFee (#1070)
- _devFee = 0 (#1063)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _liquidityFee = _previousLiquidityFee (#1071)
- _liquidityFee = 0 (#1064)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _lottoFee = _previousLottoFee (#1069)
- _lottoFee = 0 (#1062)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousDevFee = _devFee (#1058)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousLiquidityFee = _liquidityFee (#1059)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousLottoFee = _lottoFee (#1057)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _previousTaxFee = _taxFee (#1056)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _rOwned[_lottoPotAddress] = _rOwned[_lottoPotAddress].add(rLotto) (#993)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1024)
- _rOwned[_devWallet] = _rOwned[_devWallet].add(rDev) (#1015)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1216)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1226)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1238)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#844)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1217)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1239)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1228)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _rTotal = _rTotal.sub(rFee) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1026)
- _tOwned[_lottoPotAddress] = _tOwned[_lottoPotAddress].add(tLotto) (#995)
- _tOwned[_devWallet] = _tOwned[_devWallet].add(tDev) (#1017)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1237)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#843)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1227)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#845)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- _taxFee = _previousTaxFee (#1068)
- _taxFee = 0 (#1061)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#1222)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#1233)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#1244)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
- Transfer(sender,recipient,tTransferAmount) (#851)
- _tokenTransfer(from,to,amount,takeFee) (#1146)
Reentrancy in LunaticCat._transferBothExcluded(address,address,uint256) (#841-852):
External calls:
- _takeDev(tDev) (#849)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#850)
- _rTotal = _rTotal.sub(rFee) (#921)
- _reflectFee(rFee,tFee) (#850)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#851)
Reentrancy in LunaticCat._transferFromExcluded(address,address,uint256) (#1235-1245):
External calls:
- _takeDev(tDev) (#1242)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1243)
- _rTotal = _rTotal.sub(rFee) (#921)
- _reflectFee(rFee,tFee) (#1243)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1244)
Reentrancy in LunaticCat._transferStandard(address,address,uint256) (#1214-1223):
External calls:
- _takeDev(tDev) (#1220)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1221)
- _rTotal = _rTotal.sub(rFee) (#921)
- _reflectFee(rFee,tFee) (#1221)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1222)
Reentrancy in LunaticCat._transferToExcluded(address,address,uint256) (#1224-1234):
External calls:
- _takeDev(tDev) (#1231)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1232)
- _rTotal = _rTotal.sub(rFee) (#921)
- _reflectFee(rFee,tFee) (#1232)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1233)
Reentrancy in LunaticCat.drawLotto(uint256) (#998-1005):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- _devWallet.transfer(address(this).balance) (#1013)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _lastLottoWinnerAmount = amount (#1001)
- ++ _lottoDrawCount (#1003)
- _totalLottoPrize = _totalLottoPrize.add(amount) (#1002)
Event emitted after the call(s):
- DrawLotto(amount,_lottoDrawCount) (#1004)
Reentrancy in LunaticCat.transferFrom(address,address,uint256) (#774-778):
External calls:
- _transfer(sender,recipient,amount) (#775)
- _devWallet.transfer(address(this).balance) (#1013)
External calls sending eth:
- _transfer(sender,recipient,amount) (#775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1185-1192)
- _devWallet.transfer(address(this).balance) (#1013)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#776)
- _allowances[owner][spender] = amount (#1081)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1082)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#776)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#502) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#503)
Variable LunaticCat._transferStandard(address,address,uint256).rTransferAmount (#1215) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat._transferToExcluded(address,address,uint256).rTransferAmount (#1225) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat._transferFromExcluded(address,address,uint256).rTransferAmount (#1236) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat.reflectionFromToken(uint256,bool).rTransferAmount (#810) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat._transferToExcluded(address,address,uint256).rTransferAmount (#1225) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat._transferStandard(address,address,uint256).rTransferAmount (#1215) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat._transferBothExcluded(address,address,uint256).rTransferAmount (#842) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat._getValues(uint256).rTransferAmount (#928) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat._getRValues(LunaticCat.TData).rTransferAmount (#947) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat._getValues(uint256).rTransferAmount (#928) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat._getRValues(LunaticCat.TData).rTransferAmount (#947) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat._transferToExcluded(address,address,uint256).rTransferAmount (#1225) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat._transferStandard(address,address,uint256).rTransferAmount (#1215) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat._transferStandard(address,address,uint256).rTransferAmount (#1215) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Variable LunaticCat._transferBothExcluded(address,address,uint256).rTransferAmount (#842) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat._transferStandard(address,address,uint256).rTransferAmount (#1215) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._transferBothExcluded(address,address,uint256).rTransferAmount (#842) is too similar to LunaticCat._getValues(uint256).tTransferAmount (#925)
Variable LunaticCat._getValues(uint256).rTransferAmount (#928) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Variable LunaticCat._getValues(uint256).rTransferAmount (#928) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat._getRValues(LunaticCat.TData).rTransferAmount (#947) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat._transferFromExcluded(address,address,uint256).rTransferAmount (#1236) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat.reflectionFromToken(uint256,bool).rTransferAmount (#810) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat.reflectionFromToken(uint256,bool).rTransferAmount (#810) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Variable LunaticCat._transferBothExcluded(address,address,uint256).rTransferAmount (#842) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat._transferBothExcluded(address,address,uint256).rTransferAmount (#842) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Variable LunaticCat._getValues(uint256).rTransferAmount (#928) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat._transferFromExcluded(address,address,uint256).rTransferAmount (#1236) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._transferFromExcluded(address,address,uint256).rTransferAmount (#1236) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat.reflectionFromToken(uint256,bool).rTransferAmount (#810) is too similar to LunaticCat._transferFromExcluded(address,address,uint256).tTransferAmount (#1236)
Variable LunaticCat.reflectionFromToken(uint256,bool).rTransferAmount (#810) is too similar to LunaticCat._transferToExcluded(address,address,uint256).tTransferAmount (#1225)
Variable LunaticCat.reflectionFromToken(uint256,bool).rTransferAmount (#810) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._getRValues(LunaticCat.TData).rTransferAmount (#947) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat._getRValues(LunaticCat.TData).rTransferAmount (#947) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Variable LunaticCat._transferToExcluded(address,address,uint256).rTransferAmount (#1225) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat._transferToExcluded(address,address,uint256).rTransferAmount (#1225) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Variable LunaticCat._transferBothExcluded(address,address,uint256).rTransferAmount (#842) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._getValues(uint256).rTransferAmount (#928) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._getRValues(LunaticCat.TData).rTransferAmount (#947) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._transferStandard(address,address,uint256).rTransferAmount (#1215) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat._transferToExcluded(address,address,uint256).rTransferAmount (#1225) is too similar to LunaticCat._transferStandard(address,address,uint256).tTransferAmount (#1215)
Variable LunaticCat._transferFromExcluded(address,address,uint256).rTransferAmount (#1236) is too similar to LunaticCat._transferBothExcluded(address,address,uint256).tTransferAmount (#842)
Variable LunaticCat._transferFromExcluded(address,address,uint256).rTransferAmount (#1236) is too similar to LunaticCat._getTValues(uint256).tTransferAmount (#938)
Prevent variables from having similar names.

Additional information: link

LunaticCat.slitherConstructorVariables() (#627-1247) uses literals with too many digits:
- _minLottoBalance = 1000000 * 10 ** 18 (#647)
LunaticCat.slitherConstructorVariables() (#627-1247) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 18 (#651)
LunaticCat.slitherConstructorVariables() (#627-1247) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#680)
LunaticCat.slitherConstructorVariables() (#627-1247) uses literals with too many digits:
- _antiWhaleThreshold = 1500000000 * 10 ** 18 (#685)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

LunaticCat._decimals (#657) should be constant
LunaticCat._name (#655) should be constant
LunaticCat._symbol (#656) should be constant
LunaticCat._tTotal (#651) should be constant
LunaticCat.numTokensSellToAddToLiquidity (#681) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#408-411)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#415-419)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#421-423)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#425-430)
unlock() should be declared external:
- Ownable.unlock() (#433-438)
name() should be declared external:
- LunaticCat.name() (#741-743)
symbol() should be declared external:
- LunaticCat.symbol() (#744-746)
decimals() should be declared external:
- LunaticCat.decimals() (#747-749)
totalSupply() should be declared external:
- LunaticCat.totalSupply() (#750-752)
minLottoBalance() should be declared external:
- LunaticCat.minLottoBalance() (#753-755)
currentLottoPool() should be declared external:
- LunaticCat.currentLottoPool() (#756-758)
transfer(address,uint256) should be declared external:
- LunaticCat.transfer(address,uint256) (#763-766)
allowance(address,address) should be declared external:
- LunaticCat.allowance(address,address) (#767-769)
approve(address,uint256) should be declared external:
- LunaticCat.approve(address,uint256) (#770-773)
transferFrom(address,address,uint256) should be declared external:
- LunaticCat.transferFrom(address,address,uint256) (#774-778)
increaseAllowance(address,uint256) should be declared external:
- LunaticCat.increaseAllowance(address,uint256) (#779-782)
decreaseAllowance(address,uint256) should be declared external:
- LunaticCat.decreaseAllowance(address,uint256) (#783-786)
isExcludedFromReward(address) should be declared external:
- LunaticCat.isExcludedFromReward(address) (#787-789)
isIncludeFromLotto(address) should be declared external:
- LunaticCat.isIncludeFromLotto(address) (#790-792)
totalFees() should be declared external:
- LunaticCat.totalFees() (#793-795)
deliver(uint256) should be declared external:
- LunaticCat.deliver(uint256) (#796-803)
reflectionFromToken(uint256,bool) should be declared external:
- LunaticCat.reflectionFromToken(uint256,bool) (#804-813)
excludeFromReward(address) should be declared external:
- LunaticCat.excludeFromReward(address) (#819-827)
excludeFromFee(address) should be declared external:
- LunaticCat.excludeFromFee(address) (#862-864)
includeInFee(address) should be declared external:
- LunaticCat.includeInFee(address) (#866-868)
setshouldSwapToBNB(bool) should be declared external:
- LunaticCat.setshouldSwapToBNB(bool) (#882-884)
setLottoEnabled(bool) should be declared external:
- LunaticCat.setLottoEnabled(bool) (#885-887)
setDevAddress(address) should be declared external:
- LunaticCat.setDevAddress(address) (#888-890)
setMinLottoBalance(uint256) should be declared external:
- LunaticCat.setMinLottoBalance(uint256) (#891-893)
setLotteryThresHold(uint256) should be declared external:
- LunaticCat.setLotteryThresHold(uint256) (#894-896)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LunaticCat.setSwapAndLiquifyEnabled(bool) (#905-908)
isExcludedFromFee(address) should be declared external:
- LunaticCat.isExcludedFromFee(address) (#1074-1076)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract name (Lunatic-Cats) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.


Contract ownership is semi-renounced (passed to a contract)

Holders:


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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.

Contract has 12% buy tax and 8% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d PancakeSwap liquidity is low.


Token is deployed only at one blockchain


Token has only one trading pair


Twitter account has less than 100 followers


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for LCAT

News for LCAT