Lunatics Token Logo

LunaT [Lunatics] Token

About LunaT

Listings

Token 3 years
CoinGecko 3 years
CoinMarketCap 3 years
[CoinMarketCap] alert: Smart contract of the following asset can be modified by the contract creator (for example: disable selling, change fees, mint new tokens, or transfer tokens). Please exercise caution before taking any action and DYOR.
white paper

Lunatics is an obscure, totally unique project that is hyper-deflationary and is designed to both Reward Lunatics holders in Luna Classic and Burn the supply of Terra Luna Classic.

We are a Community of Lunatics Dedicating our project to burning the supply of Luna Classic. Since Our main focus is reducing the supply of Luna Classic, all of our utilities will assist with those burns. Our contract automatically burns Luna Classic. Plus more to come in the future

From the beginning, we wanted to bring a project together, to not only BURN Luna Classic, but to also reward our holders WITH Luna Classic. What you decide to do with your rewards, is up to each individual. You can keep it, sell it, or our personal favourite, send it to the burn wallet, to help further burn even more Luna Classic!!

The contract will buy Luna Classic Tokens and send to the designated Burn Wallet on every buy/sell. These Luna Classic Tokens will be in a multisig wallet for added security. We will send the Luna Classic Tokens to the Terra Luna Classic Dead Wallet and burn those tokens Live on Twitter and YouTube.

Laser Scorebeta Last Audit: 2 January 2023

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

Lunatics.swapBNBforLuna(uint256) (#1447-1457) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
Lunatics.addLiquidity(uint256,uint256) (#1055-1065) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Lunatics._transfer(address,address,uint256) (#1341-1430):
External calls:
- swapTokens(tokensToSwap) (#1381)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1459)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- dividendPayingTracker.distributeDividends(amount) (#1461)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
External calls sending eth:
- swapTokens(tokensToSwap) (#1381)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
State variables written after the call(s):
- super._transfer(from,address(this),txFees) (#1404)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#150)
- _balances[recipient] = _balances[recipient].add(amount) (#151)
- super._transfer(address(this),deadWallet,burnFees) (#1405)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#150)
- _balances[recipient] = _balances[recipient].add(amount) (#151)
- super._transfer(from,address(this),txFees_scope_0) (#1412)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#150)
- _balances[recipient] = _balances[recipient].add(amount) (#151)
- super._transfer(address(this),deadWallet,burnFees_scope_1) (#1413)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#150)
- _balances[recipient] = _balances[recipient].add(amount) (#151)
- super._transfer(from,to,amount) (#1419)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#150)
- _balances[recipient] = _balances[recipient].add(amount) (#151)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


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)

Redundant expression "this (#20)" inContext (#14-23)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#271) is too similar to _LUNADividendTracker.getAccount(address).withdrawableDividends (#699)
Prevent variables from having similar names.

Additional information: link

Lunatics.swapTokens(uint256) (#1172-1210) uses literals with too many digits:
- balancez > 10000000000 (#1203)
Lunatics.slitherConstructorVariables() (#843-1466) uses literals with too many digits:
- gasForProcessing = 300000 (#894)
Lunatics.slitherConstructorVariables() (#843-1466) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#855)
_LUNADividendTracker.getAccountAtIndex(uint256) (#739-756) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#750)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendPayingToken.lastAmount (#223) is never used in _LUNADividendTracker (#621-841)
Remove unused state variables.

Additional information: link

Lunatics._transfer(address,address,uint256) (#1341-1430) performs a multiplication on the result of a division:
-txFees_scope_0 = amount * totalSellFees / 100 (#1409)
-burnFees_scope_1 = txFees_scope_0 * burnSellFee / totalSellFees (#1411)
Lunatics._transfer(address,address,uint256) (#1341-1430) performs a multiplication on the result of a division:
-txFees = amount * totalBuyFees / 100 (#1401)
-burnFees = txFees * burnBuyFee / totalBuyFees (#1403)
Consider ordering multiplication before division.

Additional information: link

Lunatics.activateMarket(bool) (#1080-1086) compares to a boolean constant:
-require(bool)(marketActive == false) (#1081)
Remove the equality to the boolean constant.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#270-286) has external calls inside a loop: success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#275)
Lunatics.KKAirdrop(address[],uint256[]) (#1164-1171) has external calls inside a loop: _lunaDividendTracker.setBalance(address(adr),balanceOf(adr)) (#1169)
Favor pull over push strategy for external calls.

Additional information: link

SafeMathInt.div(int256,int256) (#587-593) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#522-525) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#527-530) is never used and should be removed
SafeMathInt.mul(int256,int256) (#577-585) is never used and should be removed
IterableMapping.get(IterableMapping.Map,address) (#448-450) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#501-505) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#570-573) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#565-568) is never used and should be removed
ERC20._setupDecimals(uint8) (#183-185) is never used and should be removed
Context._msgData() (#19-22) is never used and should be removed
SafeMath.mod(uint256,uint256) (#555-558) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#512-520) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#507-510) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#307-313) is never used and should be removed
Remove unused functions.

Additional information: link

Lunatics.minimumTokensBeforeSwap (#879) is set pre-construction with a non-constant function or state variable:
- 10_000_000 * 10 ** decimals()
Lunatics.totalBuyFees (#892) is set pre-construction with a non-constant function or state variable:
- LUNARewardsBuyFee.add(marketingBuyFee).add(liqBuyFee).add(burnBuyFee).add(LUNABurnBuyFee)
Lunatics.tokensToSwap (#880) is set pre-construction with a non-constant function or state variable:
- 10_000_000 * 10 ** decimals()
Lunatics.totalSellFees (#893) is set pre-construction with a non-constant function or state variable:
- LUNARewardsSellFee.add(marketingSellFee).add(liqSellFee).add(burnSellFee).add(LUNABurnSellFee)
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

Pragma version0.8.15 (#13) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.15 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Lunatics.deadWallet (#855) should be constant
DividendPayingToken.lastAmount (#223) should be constant
Lunatics.lunaBurnWallet (#852) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getAccountAtIndex(uint256) should be declared external:
- _LUNADividendTracker.getAccountAtIndex(uint256) (#739-756)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#128-132)
processDividendTracker(uint256) should be declared external:
- Lunatics.processDividendTracker(uint256) (#1316-1320)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#45-48)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#289-291)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#139-142)
setMaxWallet(bool,uint256) should be declared external:
- Lunatics.setMaxWallet(bool,uint256) (#1127-1131)
symbol() should be declared external:
- ERC20.symbol() (#98-100)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#114-117)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#134-137)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#50-54)
process(uint256) should be declared external:
- _LUNADividendTracker.process(uint256) (#783-828)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#249-260)
name() should be declared external:
- ERC20.name() (#94-96)
edit_excludeFromFees(address,bool) should be declared external:
- Lunatics.edit_excludeFromFees(address,bool) (#1110-1114)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#262-264)
- _LUNADividendTracker.withdrawDividend() (#650-652)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#123-126)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- Lunatics.excludeMultipleAccountsFromFees(address[],bool) (#1116-1122)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#297-299)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Lunatics.setAutomatedMarketMakerPair(address,bool) (#1256-1259)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#119-121)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in Lunatics.update_lunaDividendTracker(address) (#1233-1243):
External calls:
- new_lunaDividendTracker.excludeFromDividends(address(new_lunaDividendTracker)) (#1237)
- new_lunaDividendTracker.excludeFromDividends(address(this)) (#1238)
- new_lunaDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1239)
- new_lunaDividendTracker.excludeFromDividends(address(deadWallet)) (#1240)
State variables written after the call(s):
- _lunaDividendTracker = new_lunaDividendTracker (#1242)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#270-286):
External calls:
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#275)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#278)
Apply the check-effects-interactions pattern.

Additional information: link

Lunatics._transfer(address,address,uint256).lastProcessedIndex (#1426) is a local variable never initialized
Lunatics._transfer(address,address,uint256).iterations (#1426) is a local variable never initialized
Lunatics._transfer(address,address,uint256).claims (#1426) is a local variable never initialized
Lunatics.swapTokens(uint256).success_scope_0 (#1191) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

Lunatics.update_LUNADividendToken(address,uint256) (#1321-1325) ignores return value by _lunaDividendTracker.process(gas) (#1322)
Lunatics._transfer(address,address,uint256) (#1341-1430) ignores return value by _lunaDividendTracker.process(gas) (#1426-1428)
Lunatics.swapBNBforLuna(uint256) (#1447-1457) ignores return value by uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
Lunatics.claim() (#1326-1329) ignores return value by _lunaDividendTracker.processAccount(address(msg.sender),false) (#1327)
Lunatics.addLiquidity(uint256,uint256) (#1055-1065) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string,address)._name (#239) shadows:
- ERC20._name (#84) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#302) shadows:
- Ownable._owner (#26) (state variable)
DividendPayingToken.constructor(string,string,address)._symbol (#239) shadows:
- ERC20._symbol (#85) (state variable)
Lunatics.setSwapSend(bool,bool,bool)._burn (#1047) shadows:
- ERC20._burn(address,uint256) (#165-173) (function)
DividendPayingToken.withdrawableDividendOf(address)._owner (#293) shadows:
- Ownable._owner (#26) (state variable)
DividendPayingToken.dividendOf(address)._owner (#289) shadows:
- Ownable._owner (#26) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#297) shadows:
- Ownable._owner (#26) (state variable)
Rename the local variables that shadow another component.

Additional information: link

Lunatics.setMaxWallet(bool,uint256) (#1127-1131) should emit an event for:
- maxWalletAmount = max * 10 ** decimals() (#1129)
Lunatics.setMaxTxAmount(uint256,uint256) (#1071-1076) should emit an event for:
- maxBuyTxAmount = _buy * 10 ** decimals() (#1072)
- maxSellTxAmount = _sell * 10 ** decimals() (#1073)
Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#1145-1163) should emit an event for:
- LUNARewardsBuyFee = _reward_buy (#1148)
- LUNARewardsSellFee = _reward_sell (#1149)
- LUNABurnBuyFee = _luna_burn_buy (#1150)
- LUNABurnSellFee = _luna_burn_sell (#1151)
- burnBuyFee = _burn_buy (#1152)
- burnSellFee = _burn_sell (#1153)
- liqBuyFee = _liq_buy (#1154)
- liqSellFee = _liq_sell (#1155)
- marketingBuyFee = _marketing_buy (#1156)
- marketingSellFee = _marketing_sell (#1157)
- totalBuyFees = LUNARewardsBuyFee.add(marketingBuyFee).add(liqBuyFee).add(burnBuyFee).add(LUNABurnBuyFee) (#1158)
- totalSellFees = LUNARewardsSellFee.add(marketingSellFee).add(liqSellFee).add(burnSellFee).add(LUNABurnSellFee) (#1159)
Lunatics.setBuySecondLimits(uint256) (#1077-1079) should emit an event for:
- buySecondsLimit = buy (#1078)
Lunatics.setSwapAndLiquify(bool,uint256,uint256,uint256) (#1039-1046) should emit an event for:
- intervalSecondsForSwap = _intervalSecondsForSwap (#1041)
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap * 10 ** decimals() (#1042)
- tokensToSwap = _tokensToSwap * 10 ** decimals() (#1043)
Emit an event for critical parameter changes.

Additional information: link

_LUNADividendTracker.setDividendTokenAddress(address).newToken (#654) lacks a zero-check on :
- dividendToken = newToken (#655)
Lunatics.update_LUNADividendToken(address,uint256)._newContract (#1321) lacks a zero-check on :
- _lunaDividendToken = _newContract (#1323)
Lunatics.setliqWallet(address).newWallet (#1142) lacks a zero-check on :
- liqWallet = newWallet (#1143)
Lunatics.setMarketingWallet(address).wallet (#1124) lacks a zero-check on :
- marketingWallet = wallet (#1125)
DividendPayingToken.constructor(string,string,address)._token (#239) lacks a zero-check on :
- dividendToken = _token (#240)
Lunatics.setLunaAddress(address).newAddress (#1036) lacks a zero-check on :
- lunaAddress = newAddress (#1037)
Check that the address is not zero.

Additional information: link

Variable 'Lunatics._transfer(address,address,uint256).iterations (#1426)' in Lunatics._transfer(address,address,uint256) (#1341-1430) potentially used before declaration: Processed_lunaDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1427)
Variable 'Lunatics._transfer(address,address,uint256).lastProcessedIndex (#1426)' in Lunatics._transfer(address,address,uint256) (#1341-1430) potentially used before declaration: Processed_lunaDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1427)
Variable 'Lunatics.swapTokens(uint256).success (#1185)' in Lunatics.swapTokens(uint256) (#1172-1210) potentially used before declaration: (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
Variable 'Lunatics._transfer(address,address,uint256).claims (#1426)' in Lunatics._transfer(address,address,uint256) (#1341-1430) potentially used before declaration: Processed_lunaDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1427)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in _LUNADividendTracker.processAccount(address,bool) (#830-840):
External calls:
- amount = _withdrawDividendOfUser(account) (#831)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#275)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#834)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- swapBNBforLuna(balancez) (#1204)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- transferDividends(_lunaDividendToken,address(_lunaDividendTracker),_lunaDividendTracker,DividendsPart) (#1206)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1459)
- dividendPayingTracker.distributeDividends(amount) (#1461)
External calls sending eth:
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- swapBNBforLuna(balancez) (#1204)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
State variables written after the call(s):
- isInternalTransaction = false (#1209)
Reentrancy in Lunatics.prepareForPartherOrExchangeListing(address) (#1211-1215):
External calls:
- _lunaDividendTracker.excludeFromDividends(_partnerOrExchangeAddress) (#1212)
State variables written after the call(s):
- excludeFromFees(_partnerOrExchangeAddress,true) (#1213)
- excludedFromFees[account] = excluded (#1250)
- excludedFromMaxWallet[_partnerOrExchangeAddress] = true (#1214)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
External calls sending eth:
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
State variables written after the call(s):
- addLiquidity(liqPart,liqBnb) (#1198)
- _allowances[owner][spender] = amount (#179)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
State variables written after the call(s):
- super._transfer(address(this),lunaBurnWallet,burnPart) (#1180)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#150)
- _balances[recipient] = _balances[recipient].add(amount) (#151)
Reentrancy in Lunatics.update_LUNADividendToken(address,uint256) (#1321-1325):
External calls:
- _lunaDividendTracker.process(gas) (#1322)
State variables written after the call(s):
- _lunaDividendToken = _newContract (#1323)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Lunatics._setAutomatedMarketMakerPair(address,bool) (#1260-1267):
External calls:
- _lunaDividendTracker.excludeFromDividends(pair) (#1264)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1266)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#152)
- super._transfer(address(this),lunaBurnWallet,burnPart) (#1180)
Reentrancy in _LUNADividendTracker.processAccount(address,bool) (#830-840):
External calls:
- amount = _withdrawDividendOfUser(account) (#831)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#275)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#835)
Reentrancy in Lunatics._transfer(address,address,uint256) (#1341-1430):
External calls:
- swapTokens(tokensToSwap) (#1381)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1459)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- dividendPayingTracker.distributeDividends(amount) (#1461)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- _lunaDividendTracker.setBalance(address(from),balanceOf(from)) (#1421)
- _lunaDividendTracker.setBalance(address(to),balanceOf(to)) (#1422)
- _lunaDividendTracker.process(gas) (#1426-1428)
External calls sending eth:
- swapTokens(tokensToSwap) (#1381)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
Event emitted after the call(s):
- Processed_lunaDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1427)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- swapBNBforLuna(balancez) (#1204)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- transferDividends(_lunaDividendToken,address(_lunaDividendTracker),_lunaDividendTracker,DividendsPart) (#1206)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1459)
- dividendPayingTracker.distributeDividends(amount) (#1461)
External calls sending eth:
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- swapBNBforLuna(balancez) (#1204)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
Event emitted after the call(s):
- SendDividends(amount) (#1462)
- transferDividends(_lunaDividendToken,address(_lunaDividendTracker),_lunaDividendTracker,DividendsPart) (#1206)
Reentrancy in Lunatics.prepareForPartherOrExchangeListing(address) (#1211-1215):
External calls:
- _lunaDividendTracker.excludeFromDividends(_partnerOrExchangeAddress) (#1212)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1251)
- excludeFromFees(_partnerOrExchangeAddress,true) (#1213)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
External calls sending eth:
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
Event emitted after the call(s):
- MarketingFeeCollected(marketingBnb) (#1186)
Reentrancy in Lunatics.processDividendTracker(uint256) (#1316-1320):
External calls:
- (lunaIterations,lunaClaims,lunaLastProcessedIndex) = _lunaDividendTracker.process(gas) (#1317)
Event emitted after the call(s):
- Processed_lunaDividendTracker(lunaIterations,lunaClaims,lunaLastProcessedIndex,false,gas,tx.origin) (#1318)
Reentrancy in Lunatics._transfer(address,address,uint256) (#1341-1430):
External calls:
- swapTokens(tokensToSwap) (#1381)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1459)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- dividendPayingTracker.distributeDividends(amount) (#1461)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
External calls sending eth:
- swapTokens(tokensToSwap) (#1381)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
- uniswapV2Router.swapExactETHForTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1451-1456)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#152)
- super._transfer(address(this),deadWallet,burnFees_scope_1) (#1413)
- Transfer(sender,recipient,amount) (#152)
- super._transfer(from,address(this),txFees_scope_0) (#1412)
- Transfer(sender,recipient,amount) (#152)
- super._transfer(address(this),deadWallet,burnFees) (#1405)
- Transfer(sender,recipient,amount) (#152)
- super._transfer(from,to,amount) (#1419)
- Transfer(sender,recipient,amount) (#152)
- super._transfer(from,address(this),txFees) (#1404)
Reentrancy in Lunatics.transferDividends(address,address,DividendPayingToken,uint256) (#1458-1464):
External calls:
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1459)
- dividendPayingTracker.distributeDividends(amount) (#1461)
Event emitted after the call(s):
- SendDividends(amount) (#1462)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
External calls sending eth:
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
- addLiquidity(liqPart,liqBnb) (#1198)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liqWallet,block.timestamp) (#1057-1064)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#180)
- addLiquidity(liqPart,liqBnb) (#1198)
Reentrancy in Lunatics.swapTokens(uint256) (#1172-1210):
External calls:
- swapTokensForBNB(swapBalance) (#1179)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1438-1444)
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
External calls sending eth:
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
Event emitted after the call(s):
- LunaBurnFeeCollected(lunaBurnBnb) (#1192)
Reentrancy in Lunatics.update_lunaDividendTracker(address) (#1233-1243):
External calls:
- new_lunaDividendTracker.excludeFromDividends(address(new_lunaDividendTracker)) (#1237)
- new_lunaDividendTracker.excludeFromDividends(address(this)) (#1238)
- new_lunaDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1239)
- new_lunaDividendTracker.excludeFromDividends(address(deadWallet)) (#1240)
Event emitted after the call(s):
- Update_lunaDividendTracker(newAddress,address(_lunaDividendTracker)) (#1241)
Apply the check-effects-interactions pattern.

Additional information: link

_LUNADividendTracker.getAccount(address) (#694-737) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#734-736)
_LUNADividendTracker.canAutoClaim(uint256) (#758-764) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#759)
- block.timestamp.sub(lastClaimTime) >= claimWait (#763)
Lunatics._transfer(address,address,uint256) (#1341-1430) uses timestamp for comparisons
Dangerous comparisons:
- marketActiveAt + 30 < block.timestamp (#1366)
- require(bool,string)(marketActiveAt + 7 < block.timestamp,You cannot buy at launch.) (#1367)
- require(bool,string)(userLastTradeData[to].lastBuyTime + buySecondsLimit <= block.timestamp,You cannot do multi-buy orders.) (#1368)
- overMinimumTokenBalance && startTimeForSwap + intervalSecondsForSwap <= block.timestamp (#1378)
Avoid relying on block.timestamp.

Additional information: link

Low level call in Lunatics.swapTokens(uint256) (#1172-1210):
- (success) = address(marketingWallet).call{value: marketingBnb}() (#1185)
- (success) = address(lunaBurnWallet).call{value: lunaBurnBnb}() (#1191)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter Lunatics.transferForeignToken(address,address,uint256)._token (#1099) is not in mixedCase
Function Lunatics.getNumberOf_LUNADividendTokenHolders() (#1336-1338) is not in mixedCase
Variable Lunatics._lunaDividendToken (#854) is not in mixedCase
Parameter Lunatics.transferForeignToken(address,address,uint256)._value (#1099) is not in mixedCase
Function Lunatics.update_LUNADividendToken(address,uint256) (#1321-1325) is not in mixedCase
Struct Lunatics.userData (#900-902) is not in CapWords
Parameter Lunatics.setMaxTxAmount(uint256,uint256)._sell (#1071) is not in mixedCase
Parameter Lunatics.KKAirdrop(address[],uint256[])._address (#1164) is not in mixedCase
Parameter Lunatics.transferForeignToken(address,address,uint256)._to (#1099) is not in mixedCase
Parameter _LUNADividendTracker.updateMinimumTokenBalanceForDividends(uint256)._newMinimumBalance (#658) is not in mixedCase
Parameter Lunatics.setFeesDetails(bool,bool,bool)._buyFeeStatus (#1066) is not in mixedCase
Event Lunatics_LUNADividendEnabledUpdated(bool) (#917) is not in CapWords
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._marketing_buy (#1145) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._liq_sell (#1146) is not in mixedCase
Function Lunatics.update_lunaDividendTracker(address) (#1233-1243) is not in mixedCase
Parameter Lunatics.KKAirdrop(address[],uint256[])._amount (#1164) is not in mixedCase
Parameter Lunatics.editMultiExcludedFromMaxWallet(address[],bool[])._address (#1136) is not in mixedCase
Parameter Lunatics.setMultiBlock(bool)._state (#1052) is not in mixedCase
Function Lunatics.getAccount_LUNADividendsInfo(address) (#1292-1303) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#374) is not in mixedCase
Function Lunatics.withdrawable_LUNADividendOf(address) (#1286-1288) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#391) is not in mixedCase
Parameter Lunatics.setSwapAndLiquify(bool,uint256,uint256,uint256)._state (#1039) is not in mixedCase
Constant DividendPayingToken.magnitude (#220) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter Lunatics.setMaxTxAmount(uint256,uint256)._buy (#1071) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._liq_buy (#1145) is not in mixedCase
Parameter Lunatics.updateLiqWallet(address)._newWallet (#1222) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._reward_buy (#1145) is not in mixedCase
Contract _LUNADividendTracker (#621-841) is not in CapWords
Parameter Lunatics.setSwapAndLiquify(bool,uint256,uint256,uint256)._minimumTokensBeforeSwap (#1039) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#373) is not in mixedCase
Parameter _LUNADividendTracker.getAccount(address)._account (#694) is not in mixedCase
Parameter Lunatics.update_LUNADividendToken(address,uint256)._newContract (#1321) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._reward_sell (#1146) is not in mixedCase
Variable Lunatics.LUNARewardsBuyFee (#882) is not in mixedCase
Function Lunatics.set_LUNADividendEnabled(bool) (#1230-1232) is not in mixedCase
Parameter Lunatics.set_LUNADividendEnabled(bool)._enabled (#1230) is not in mixedCase
Parameter Lunatics.editPreMarketUser(address,bool)._address (#1095) is not in mixedCase
Variable Lunatics.LUNARewardsSellFee (#883) is not in mixedCase
Function Lunatics.getTotal_LUNADividendsDistributed() (#1283-1285) is not in mixedCase
Function Lunatics._lunaDividendTokenBalanceOf(address) (#1289-1291) is not in mixedCase
Variable Lunatics.LiqSwapSendActive (#860) is not in mixedCase
Parameter Lunatics.setSwapSend(bool,bool,bool)._burn (#1047) is not in mixedCase
Function Lunatics.KKAirdrop(address[],uint256[]) (#1164-1171) is not in mixedCase
Parameter Lunatics.setSwapAndLiquify(bool,uint256,uint256,uint256)._tokensToSwap (#1039) is not in mixedCase
Parameter Lunatics.updateMarketingWallet(address)._newWallet (#1216) is not in mixedCase
Parameter Lunatics.prepareForPartherOrExchangeListing(address)._partnerOrExchangeAddress (#1211) is not in mixedCase
Variable Lunatics._lunaDividendEnabled (#863) is not in mixedCase
Parameter Lunatics.setSwapAndLiquify(bool,uint256,uint256,uint256)._intervalSecondsForSwap (#1039) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#289) is not in mixedCase
Parameter Lunatics.setFeesDetails(bool,bool,bool)._feeStatus (#1066) is not in mixedCase
Function Lunatics.getAccount_LUNADividendsInfoAtIndex(uint256) (#1304-1315) is not in mixedCase
Function Lunatics.getLast_LUNADividendProcessedIndex() (#1330-1332) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._marketing_sell (#1146) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#297) is not in mixedCase
Event LunaticsUpdate_lunaDividendTracker(address,address) (#911) is not in CapWords
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._burn_sell (#1147) is not in mixedCase
Variable Lunatics.LUNABurnBuyFee (#884) is not in mixedCase
Parameter Lunatics.editMultiExcludedFromMaxWallet(address[],bool[])._states (#1136) is not in mixedCase
Variable Lunatics.ProcessDividendStatus (#862) is not in mixedCase
Parameter Lunatics.setMinimumWeiForTokenomics(uint256)._value (#1091) is not in mixedCase
Parameter Lunatics.setSwapSend(bool,bool,bool)._marketing (#1047) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#293) is not in mixedCase
Variable Lunatics._lunaDividendTracker (#848) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._luna_burn_sell (#1147) is not in mixedCase
Variable DividendPayingToken._isAuth (#230) is not in mixedCase
Parameter Lunatics.setFeesDetails(bool,bool,bool)._sellFeeStatus (#1066) is not in mixedCase
Function Lunatics.edit_excludeFromFees(address,bool) (#1110-1114) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._burn_buy (#1147) is not in mixedCase
Parameter Lunatics.setSwapSend(bool,bool,bool)._liq (#1047) is not in mixedCase
Function IUniswapV2Router01.WETH() (#419) is not in mixedCase
Variable Lunatics.LUNABurnSellFee (#885) is not in mixedCase
Parameter Lunatics.setProcessDividendStatus(bool)._active (#1033) is not in mixedCase
Event LunaticsProcessed_lunaDividendTracker(uint256,uint256,uint256,bool,uint256,address) (#939-946) is not in CapWords
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#302) is not in mixedCase
Function Lunatics.Sweep() (#1106-1109) is not in mixedCase
Parameter Lunatics.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._luna_burn_buy (#1147) is not in mixedCase
Function Lunatics.KKPunish() (#1005-1018) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity 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.

Contract has 8% buy tax and 8% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Token is deployed only at one blockchain


Unable to find Youtube account


Unable to find KYC or doxxing proof


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for LunaT

News for LunaT