Luna Inu Token Logo

$LUNAINU [Luna Inu] Token

About $LUNAINU

Listings

Token 3 years
CoinMarketCap 3 years

Website

In honour of Jeff Bezos’s Dog ‘Luna’ Luna Inu is the latest and greatest meme token to hit the Binance Smart Chain. With one mission on its mind to take her fellow Lunauts with the help of Jeff Bezos beyond the moon and also to make the world a better place for its fellow dogs!

Social

Laser Scorebeta Last Audit: 19 May 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

LunaInu.addLiquidity(uint256,uint256) (#729-742) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in LunaInu._transfer(address,address,uint256) (#638-676):
External calls:
- swapAndLiquify(contractTokenBalance) (#660)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#660)
- recipient.transfer(amount) (#602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#663)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#671)
- finalAmount = takeFee(sender,recipient,amount) (#665-666)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#756)
Apply the check-effects-interactions pattern.

Additional information: link


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Contract ownership is not renounced (belongs to a wallet)

Contract ticker ($LUNAINU) 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.

LunaInu.addLiquidity(uint256,uint256) (#729-742) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
Ensure that all the return values of the function calls are used.

Additional information: link

LunaInu.allowance(address,address).owner (#496) shadows:
- Ownable.owner() (#153-155) (function)
LunaInu._approve(address,address,uint256).owner (#515) shadows:
- Ownable.owner() (#153-155) (function)
Rename the local variables that shadow another component.

Additional information: link

LunaInu.setBuyTaxes(uint256,uint256,uint256) (#535-541) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyCharityTeamFee) (#540)
LunaInu.setSellTaxes(uint256,uint256,uint256) (#543-549) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellCharityTeamFee) (#548)
LunaInu.setDistributionSettings(uint256,uint256,uint256) (#551-557) should emit an event for:
- _liquidityShare = newLiquidityShare (#552)
- _CharityTeamShare = newCharityTeamShare (#554)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_CharityTeamShare) (#556)
LunaInu.setMaxTxAmount(uint256) (#559-562) should emit an event for:
- _maxTxAmount = maxTxAmount (#561)
LunaInu.setWalletLimit(uint256) (#572-574) should emit an event for:
- _walletMax = newLimit (#573)
LunaInu.setNumTokensBeforeSwap(uint256) (#576-578) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#577)
Emit an event for critical parameter changes.

Additional information: link

LunaInu.setMarketingWalletAddress(address).newAddress (#580) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#581)
LunaInu.setCharityTeamWalletAddress(address).newAddress (#584) lacks a zero-check on :
- CharityTeamWalletAddress = address(newAddress) (#585)
Check that the address is not zero.

Additional information: link

Reentrancy in LunaInu.changeRouterVersion(address) (#605-622):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#613-614)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#621)
- isWalletLimitExempt[address(uniswapPair)] = true (#620)
- uniswapPair = newPairAddress (#617)
- uniswapV2Router = _uniswapV2Router (#618)
Reentrancy in LunaInu.constructor() (#446-474):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#450-451)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#454)
- _balances[_msgSender()] = _totalSupply (#472)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_CharityTeamShare) (#461)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyCharityTeamFee) (#459)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellCharityTeamFee) (#460)
- isExcludedFromFee[owner()] = true (#456)
- isExcludedFromFee[address(this)] = true (#457)
- isMarketPair[address(uniswapPair)] = true (#470)
- isTxLimitExempt[owner()] = true (#467)
- isTxLimitExempt[address(this)] = true (#468)
- isWalletLimitExempt[owner()] = true (#463)
- isWalletLimitExempt[address(uniswapPair)] = true (#464)
- isWalletLimitExempt[address(this)] = true (#465)
- uniswapV2Router = _uniswapV2Router (#453)
Reentrancy in LunaInu.swapAndLiquify(uint256) (#685-707):
External calls:
- swapTokensForEth(tokensForSwap) (#690)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#700)
- recipient.transfer(amount) (#602)
- transferToAddressETH(CharityTeamWalletAddress,amountBNBCharityTeam) (#703)
- recipient.transfer(amount) (#602)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- _allowances[owner][spender] = amount (#519)
Reentrancy in LunaInu.transferFrom(address,address,uint256) (#632-636):
External calls:
- _transfer(sender,recipient,amount) (#633)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- _transfer(sender,recipient,amount) (#633)
- recipient.transfer(amount) (#602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#634)
- _allowances[owner][spender] = amount (#519)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in LunaInu._transfer(address,address,uint256) (#638-676):
External calls:
- swapAndLiquify(contractTokenBalance) (#660)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#660)
- recipient.transfer(amount) (#602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#757)
- finalAmount = takeFee(sender,recipient,amount) (#665-666)
- Transfer(sender,recipient,finalAmount) (#673)
Reentrancy in LunaInu.constructor() (#446-474):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#450-451)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#473)
Reentrancy in LunaInu.swapAndLiquify(uint256) (#685-707):
External calls:
- swapTokensForEth(tokensForSwap) (#690)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#700)
- recipient.transfer(amount) (#602)
- transferToAddressETH(CharityTeamWalletAddress,amountBNBCharityTeam) (#703)
- recipient.transfer(amount) (#602)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#520)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
Reentrancy in LunaInu.swapTokensForEth(uint256) (#709-727):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#726)
Reentrancy in LunaInu.transferFrom(address,address,uint256) (#632-636):
External calls:
- _transfer(sender,recipient,amount) (#633)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#718-724)
External calls sending eth:
- _transfer(sender,recipient,amount) (#633)
- recipient.transfer(amount) (#602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#520)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#634)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#85-94) uses assembly
- INLINE ASM (#92)
Address._functionCallWithValue(address,bytes,uint256,string) (#121-138) uses assembly
- INLINE ASM (#130-133)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#121-138) is never used and should be removed
Address.functionCall(address,bytes) (#104-106) is never used and should be removed
Address.functionCall(address,bytes,string) (#108-110) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#112-114) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#116-119) is never used and should be removed
Address.isContract(address) (#85-94) is never used and should be removed
Address.sendValue(address,uint256) (#96-102) is never used and should be removed
Context._msgData() (#12-15) is never used and should be removed
SafeMath.mod(uint256,uint256) (#73-75) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#77-80) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#96-102):
- (success) = recipient.call{value: amount}() (#100)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#121-138):
- (success,returndata) = target.call{value: weiValue}(data) (#124)
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() (#205) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#206) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#222) is not in mixedCase
Function IUniswapV2Router01.WETH() (#241) is not in mixedCase
Parameter LunaInu.setSwapAndLiquifyEnabled(bool)._enabled (#588) is not in mixedCase
Variable LunaInu.CharityTeamWalletAddress (#384) is not in mixedCase
Variable LunaInu._balances (#387) is not in mixedCase
Variable LunaInu._buyLiquidityFee (#395) is not in mixedCase
Variable LunaInu._buyMarketingFee (#396) is not in mixedCase
Variable LunaInu._buyCharityTeamFee (#397) is not in mixedCase
Variable LunaInu._sellLiquidityFee (#398) is not in mixedCase
Variable LunaInu._sellMarketingFee (#399) is not in mixedCase
Variable LunaInu._sellCharityTeamFee (#400) is not in mixedCase
Variable LunaInu._liquidityShare (#402) is not in mixedCase
Variable LunaInu._marketingShare (#403) is not in mixedCase
Variable LunaInu._CharityTeamShare (#404) is not in mixedCase
Variable LunaInu._totalTaxIfBuying (#406) is not in mixedCase
Variable LunaInu._totalTaxIfSelling (#407) is not in mixedCase
Variable LunaInu._totalDistributionShares (#408) is not in mixedCase
Variable LunaInu._maxTxAmount (#411) is not in mixedCase
Variable LunaInu._walletMax (#412) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#13)" inContext (#6-16)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in LunaInu._transfer(address,address,uint256) (#638-676):
External calls:
- swapAndLiquify(contractTokenBalance) (#660)
- recipient.transfer(amount) (#602)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#660)
- recipient.transfer(amount) (#602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#663)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#671)
- finalAmount = takeFee(sender,recipient,amount) (#665-666)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#756)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#757)
- finalAmount = takeFee(sender,recipient,amount) (#665-666)
- Transfer(sender,recipient,finalAmount) (#673)
Reentrancy in LunaInu.swapAndLiquify(uint256) (#685-707):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#700)
- recipient.transfer(amount) (#602)
- transferToAddressETH(CharityTeamWalletAddress,amountBNBCharityTeam) (#703)
- recipient.transfer(amount) (#602)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#700)
- recipient.transfer(amount) (#602)
- transferToAddressETH(CharityTeamWalletAddress,amountBNBCharityTeam) (#703)
- recipient.transfer(amount) (#602)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
- _allowances[owner][spender] = amount (#519)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#520)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#706)
Reentrancy in LunaInu.transferFrom(address,address,uint256) (#632-636):
External calls:
- _transfer(sender,recipient,amount) (#633)
- recipient.transfer(amount) (#602)
External calls sending eth:
- _transfer(sender,recipient,amount) (#633)
- recipient.transfer(amount) (#602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#734-741)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#634)
- _allowances[owner][spender] = amount (#519)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#520)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#634)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#246) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#247)
Prevent variables from having similar names.

Additional information: link

LunaInu.slitherConstructorVariables() (#374-764) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#385)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#143) is never used in LunaInu (#374-764)
Remove unused state variables.

Additional information: link

LunaInu._decimals (#381) should be constant
LunaInu._name (#379) should be constant
LunaInu._symbol (#380) should be constant
LunaInu._totalSupply (#410) should be constant
Ownable._previousOwner (#143) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#162-165)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#167-171)
name() should be declared external:
- LunaInu.name() (#476-478)
symbol() should be declared external:
- LunaInu.symbol() (#480-482)
decimals() should be declared external:
- LunaInu.decimals() (#484-486)
totalSupply() should be declared external:
- LunaInu.totalSupply() (#488-490)
allowance(address,address) should be declared external:
- LunaInu.allowance(address,address) (#496-498)
increaseAllowance(address,uint256) should be declared external:
- LunaInu.increaseAllowance(address,uint256) (#500-503)
decreaseAllowance(address,uint256) should be declared external:
- LunaInu.decreaseAllowance(address,uint256) (#505-508)
approve(address,uint256) should be declared external:
- LunaInu.approve(address,uint256) (#510-513)
addMarketPair(address) should be declared external:
- LunaInu.addMarketPair(address) (#523-525)
setIsExcludedFromFee(address,bool) should be declared external:
- LunaInu.setIsExcludedFromFee(address,bool) (#531-533)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LunaInu.setSwapAndLiquifyEnabled(bool) (#588-591)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- LunaInu.setSwapAndLiquifyByLimitOnly(bool) (#593-595)
getCirculatingSupply() should be declared external:
- LunaInu.getCirculatingSupply() (#597-599)
changeRouterVersion(address) should be declared external:
- LunaInu.changeRouterVersion(address) (#605-622)
transfer(address,uint256) should be declared external:
- LunaInu.transfer(address,uint256) (#627-630)
transferFrom(address,address,uint256) should be declared external:
- LunaInu.transferFrom(address,address,uint256) (#632-636)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain

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


Telegram account link seems to be invalid


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/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find whitepaper link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token has no active CoinGecko listing / rank


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 $LUNAINU

News for $LUNAINU