LUNADAO Token Logo

LUNADAO Token

About LUNADAO

Listings

Token 2 years
white paper

Our proposed LUNADAO effectively helps LUNA to be popularized and matured in BSC. LUNADAO quickly absorbed 1 million coin-holding users from BSC users by paying dividends to LUNADAO holders. 10% handling fee for each transaction, all of which will be used for token dividends. Huge dividends are more conducive to the promotion of LUNADAO community, spreading LUNADAO’s public chain technology and values.

Social

Laser Scorebeta Last Audit: 23 May 2022

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

Anti-Scam

Links

LUNADAO.swapBNBForLUNA(uint256) (#1952-1969) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
LUNADAO.addLiquidity(uint256,uint256) (#2005-2018) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapTokensForEth(tokenAmountForBNB) (#1879)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapAndSendDividends(sellTokens) (#1895)
- success = IERC20(LUNA).transfer(address(dividendTracker),dividends) (#1974)
- dividendTracker.distributeLUNADividends(dividends) (#1977)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- address(_DevWalletAddress).transfer(BNBAmountForApp) (#1890)
- address(_FoudWalletAddress).transfer(BNBAmountForFoud) (#1891)
- swapAndSendDividends(sellTokens) (#1895)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
State variables written after the call(s):
- super._transfer(from,address(this),fees_scope_0) (#1911)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#526)
- _balances[recipient] = _balances[recipient].add(amount) (#527)
- super._transfer(from,to,amount) (#1914)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#526)
- _balances[recipient] = _balances[recipient].add(amount) (#527)
- swapping = false (#1898)
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.

LUNADAO.claim() (#1804-1806) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1805)
LUNADAO._transfer(address,address,uint256) (#1821-1929) ignores return value by dividendTracker.process(gas) (#1922-1927)
LUNADAO.addLiquidity(uint256,uint256) (#2005-2018) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#1036) shadows:
- ERC20._name (#348) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1036) shadows:
- ERC20._symbol (#349) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1083) shadows:
- Ownable._owner (#626) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1090) shadows:
- Ownable._owner (#626) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1097) shadows:
- Ownable._owner (#626) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1107) shadows:
- Ownable._owner (#626) (state variable)
Rename the local variables that shadow another component.

Additional information: link

LUNADAO.setFee(uint256,uint256,uint256) (#1693-1701) should emit an event for:
- LUNARewardsFee = _LUNARewardsFee (#1698)
- LUNARewardsShare = _LUNARewardsShare (#1699)
- LPShare = _LPShare (#1700)
LUNADAO.setSnipeBlocks(uint8) (#1816-1819) should emit an event for:
- snipeBlocks = _blocks (#1818)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1062-1078):
External calls:
- success = IERC20(LUNA).transfer(user,_withdrawableDividend) (#1067)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1070)
Reentrancy in LUNADAO.updateDividendTracker(address) (#1639-1654):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1646)
- newDividendTracker.excludeFromDividends(address(this)) (#1647)
- newDividendTracker.excludeFromDividends(owner()) (#1648)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1649)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1653)
Apply the check-effects-interactions pattern.

Additional information: link

LUNADAO._transfer(address,address,uint256).iterations (#1922) is a local variable never initialized
LUNADAO._transfer(address,address,uint256).lastProcessedIndex (#1922) is a local variable never initialized
LUNADAO._transfer(address,address,uint256).claims (#1922) 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

Redundant expression "this (#120)" inContext (#114-123)
Remove redundant statements if they congest code but offer no value.

Additional information: link

LUNADAO.updateUniswapV2Router(address)._uniswapV2Pair (#1660-1661) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1662)
LUNADAO.setDevWallet(address).wallet (#1680) lacks a zero-check on :
- _DevWalletAddress = wallet (#1681)
LUNADAO.setPresaleContract(address).wallet (#1684) lacks a zero-check on :
- _PresaleAddress = wallet (#1685)
LUNADAO.setFoudWalletAddress(address).wallet (#1689) lacks a zero-check on :
- _FoudWalletAddress = wallet (#1690)
LUNADAO.rescueBNB(address)._recipient (#1721) lacks a zero-check on :
- _recipient.transfer(address(this).balance) (#1722)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#1062-1078) has external calls inside a loop: success = IERC20(LUNA).transfer(user,_withdrawableDividend) (#1067)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'LUNADAO._transfer(address,address,uint256).iterations (#1922)' in LUNADAO._transfer(address,address,uint256) (#1821-1929) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1923)
Variable 'LUNADAO._transfer(address,address,uint256).lastProcessedIndex (#1922)' in LUNADAO._transfer(address,address,uint256) (#1821-1929) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1923)
Variable 'LUNADAO._transfer(address,address,uint256).claims (#1922)' in LUNADAO._transfer(address,address,uint256) (#1821-1929) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1923)
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 LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapTokensForEth(tokenAmountForBNB) (#1879)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
State variables written after the call(s):
- swapTokensForEth(tokenAmountForBNB) (#1879)
- _allowances[owner][spender] = amount (#592)
Reentrancy in LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapTokensForEth(tokenAmountForBNB) (#1879)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapAndSendDividends(sellTokens) (#1895)
- success = IERC20(LUNA).transfer(address(dividendTracker),dividends) (#1974)
- dividendTracker.distributeLUNADividends(dividends) (#1977)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- address(_DevWalletAddress).transfer(BNBAmountForApp) (#1890)
- address(_FoudWalletAddress).transfer(BNBAmountForFoud) (#1891)
- swapAndSendDividends(sellTokens) (#1895)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1895)
- _allowances[owner][spender] = amount (#592)
Reentrancy in LUNADAO.constructor() (#1600-1635):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1607-1608)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1611)
- uniswapV2Router = _uniswapV2Router (#1610)
Reentrancy in LUNADAO.constructor() (#1600-1635):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1607-1608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1613)
- dividendTracker.excludeFromDividends(pair) (#1731)
State variables written after the call(s):
- swapTokensAtAmount = totalSupply_.mul(2).div(10 ** 6) (#1615)
Reentrancy in LUNADAO.constructor() (#1600-1635):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1607-1608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1613)
- dividendTracker.excludeFromDividends(pair) (#1731)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1618)
- dividendTracker.excludeFromDividends(address(this)) (#1619)
- dividendTracker.excludeFromDividends(owner()) (#1620)
- dividendTracker.excludeFromDividends(deadWallet) (#1621)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1622)
State variables written after the call(s):
- _mint(owner(),totalSupply_) (#1634)
- _balances[account] = _balances[account].add(amount) (#546)
- excludeFromFees(owner(),true) (#1625)
- _isExcludedFromFees[account] = excluded (#1667)
- excludeFromFees(_DevWalletAddress,true) (#1626)
- _isExcludedFromFees[account] = excluded (#1667)
- excludeFromFees(_FoudWalletAddress,true) (#1627)
- _isExcludedFromFees[account] = excluded (#1667)
- excludeFromFees(address(this),true) (#1628)
- _isExcludedFromFees[account] = excluded (#1667)
- _mint(owner(),totalSupply_) (#1634)
- _totalSupply = _totalSupply.add(amount) (#545)
Reentrancy in LUNADividendTracker.processAccount(address,bool) (#1433-1443):
External calls:
- amount = _withdrawDividendOfUser(account) (#1434)
- success = IERC20(LUNA).transfer(user,_withdrawableDividend) (#1067)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1437)
Reentrancy in LUNADAO.swapAndLiquify(uint256) (#1982-2003):
External calls:
- swapTokensForEth(half) (#1994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- addLiquidity(otherHalf,newBalance) (#2000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2000)
- _allowances[owner][spender] = amount (#592)
Reentrancy in LUNADAO.updateUniswapV2Router(address) (#1656-1663):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1660-1661)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1662)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in LUNADAO._setAutomatedMarketMakerPair(address,bool) (#1726-1735):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1731)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1734)
Reentrancy in LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapTokensForEth(tokenAmountForBNB) (#1879)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#593)
- swapTokensForEth(tokenAmountForBNB) (#1879)
Reentrancy in LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapTokensForEth(tokenAmountForBNB) (#1879)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapAndSendDividends(sellTokens) (#1895)
- success = IERC20(LUNA).transfer(address(dividendTracker),dividends) (#1974)
- dividendTracker.distributeLUNADividends(dividends) (#1977)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- address(_DevWalletAddress).transfer(BNBAmountForApp) (#1890)
- address(_FoudWalletAddress).transfer(BNBAmountForFoud) (#1891)
- swapAndSendDividends(sellTokens) (#1895)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#593)
- swapAndSendDividends(sellTokens) (#1895)
- SendDividends(tokens,dividends) (#1978)
- swapAndSendDividends(sellTokens) (#1895)
- Transfer(sender,recipient,amount) (#528)
- super._transfer(from,address(this),fees_scope_0) (#1911)
- Transfer(sender,recipient,amount) (#528)
- super._transfer(from,to,amount) (#1914)
Reentrancy in LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapTokensForEth(tokenAmountForBNB) (#1879)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- swapAndSendDividends(sellTokens) (#1895)
- success = IERC20(LUNA).transfer(address(dividendTracker),dividends) (#1974)
- dividendTracker.distributeLUNADividends(dividends) (#1977)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1916)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1917)
- dividendTracker.process(gas) (#1922-1927)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- address(_DevWalletAddress).transfer(BNBAmountForApp) (#1890)
- address(_FoudWalletAddress).transfer(BNBAmountForFoud) (#1891)
- swapAndSendDividends(sellTokens) (#1895)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1923)
Reentrancy in LUNADAO.constructor() (#1600-1635):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1607-1608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1613)
- dividendTracker.excludeFromDividends(pair) (#1731)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1734)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1613)
Reentrancy in LUNADAO.constructor() (#1600-1635):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1607-1608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1613)
- dividendTracker.excludeFromDividends(pair) (#1731)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1618)
- dividendTracker.excludeFromDividends(address(this)) (#1619)
- dividendTracker.excludeFromDividends(owner()) (#1620)
- dividendTracker.excludeFromDividends(deadWallet) (#1621)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1622)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1669)
- excludeFromFees(_DevWalletAddress,true) (#1626)
- ExcludeFromFees(account,excluded) (#1669)
- excludeFromFees(address(this),true) (#1628)
- ExcludeFromFees(account,excluded) (#1669)
- excludeFromFees(_FoudWalletAddress,true) (#1627)
- ExcludeFromFees(account,excluded) (#1669)
- excludeFromFees(owner(),true) (#1625)
- Transfer(address(0),account,amount) (#547)
- _mint(owner(),totalSupply_) (#1634)
Reentrancy in LUNADividendTracker.processAccount(address,bool) (#1433-1443):
External calls:
- amount = _withdrawDividendOfUser(account) (#1434)
- success = IERC20(LUNA).transfer(user,_withdrawableDividend) (#1067)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1438)
Reentrancy in LUNADAO.processDividendTracker(uint256) (#1799-1802):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1800)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1801)
Reentrancy in LUNADAO.swapAndLiquify(uint256) (#1982-2003):
External calls:
- swapTokensForEth(half) (#1994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1942-1948)
- addLiquidity(otherHalf,newBalance) (#2000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2000)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#593)
- addLiquidity(otherHalf,newBalance) (#2000)
- SwapAndLiquify(half,newBalance,otherHalf) (#2002)
Reentrancy in LUNADAO.swapAndSendDividends(uint256) (#1971-1980):
External calls:
- swapBNBForLUNA(tokens) (#1972)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
- success = IERC20(LUNA).transfer(address(dividendTracker),dividends) (#1974)
- dividendTracker.distributeLUNADividends(dividends) (#1977)
External calls sending eth:
- swapBNBForLUNA(tokens) (#1972)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1978)
Reentrancy in LUNADAO.updateDividendTracker(address) (#1639-1654):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1646)
- newDividendTracker.excludeFromDividends(address(this)) (#1647)
- newDividendTracker.excludeFromDividends(owner()) (#1648)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1649)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1651)
Apply the check-effects-interactions pattern.

Additional information: link

LUNADividendTracker.getAccount(address) (#1296-1340) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1337-1339)
LUNADividendTracker.canAutoClaim(uint256) (#1361-1367) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1362)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1366)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#119-122) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1117-1123) is never used and should be removed
SafeMath.mod(uint256,uint256) (#285-287) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#301-304) is never used and should be removed
SafeMathInt.abs(int256) (#981-984) is never used and should be removed
SafeMathInt.div(int256,int256) (#952-958) is never used and should be removed
SafeMathInt.mul(int256,int256) (#940-947) is never used and should be removed
Remove unused functions.

Additional information: link

Function IUniswapV2Router01.WETH() (#687) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1083) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1090) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1097) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1107) is not in mixedCase
Variable DividendPayingToken.LUNA (#1011) is not in mixedCase
Constant DividendPayingToken.magnitude (#1016) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter LUNADividendTracker.getAccount(address)._account (#1296) is not in mixedCase
Parameter LUNADAO.setFee(uint256,uint256,uint256)._LUNARewardsFee (#1694) is not in mixedCase
Parameter LUNADAO.setFee(uint256,uint256,uint256)._LUNARewardsShare (#1695) is not in mixedCase
Parameter LUNADAO.setFee(uint256,uint256,uint256)._LPShare (#1696) is not in mixedCase
Parameter LUNADAO.rescueBNB(address)._recipient (#1721) is not in mixedCase
Parameter LUNADAO.setSnipeBlocks(uint8)._blocks (#1816) is not in mixedCase
Variable LUNADAO._DevWalletAddress (#1533) is not in mixedCase
Variable LUNADAO._FoudWalletAddress (#1534) is not in mixedCase
Variable LUNADAO.LUNA (#1536) is not in mixedCase
Variable LUNADAO.BUSD (#1537) is not in mixedCase
Variable LUNADAO._isBlacklisted (#1543) is not in mixedCase
Variable LUNADAO.LUNARewardsFee (#1545) is not in mixedCase
Variable LUNADAO.LUNARewardsShare (#1546) is not in mixedCase
Variable LUNADAO.LPShare (#1547) is not in mixedCase
Variable LUNADAO._PresaleAddress (#1550) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in LUNADAO._transfer(address,address,uint256) (#1821-1929):
External calls:
- address(_DevWalletAddress).transfer(BNBAmountForApp) (#1890)
- address(_FoudWalletAddress).transfer(BNBAmountForFoud) (#1891)
External calls sending eth:
- swapAndLiquify(tokenAmountForLP) (#1878)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2010-2017)
- address(_DevWalletAddress).transfer(BNBAmountForApp) (#1890)
- address(_FoudWalletAddress).transfer(BNBAmountForFoud) (#1891)
- swapAndSendDividends(sellTokens) (#1895)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(0,path,address(this),block.timestamp) (#1963-1968)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1895)
- _allowances[owner][spender] = amount (#592)
- super._transfer(from,address(this),fees_scope_0) (#1911)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#526)
- _balances[recipient] = _balances[recipient].add(amount) (#527)
- super._transfer(from,to,amount) (#1914)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#526)
- _balances[recipient] = _balances[recipient].add(amount) (#527)
- swapping = false (#1898)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#593)
- swapAndSendDividends(sellTokens) (#1895)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1923)
- SendDividends(tokens,dividends) (#1978)
- swapAndSendDividends(sellTokens) (#1895)
- Transfer(sender,recipient,amount) (#528)
- super._transfer(from,address(this),fees_scope_0) (#1911)
- Transfer(sender,recipient,amount) (#528)
- super._transfer(from,to,amount) (#1914)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#692) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#693)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1063) is too similar to LUNADividendTracker.getAccount(address).withdrawableDividends (#1301)
Variable ERC20._totalSupply (#346) is too similar to LUNADAO.totalSupply_ (#1539)
Prevent variables from having similar names.

Additional information: link

LUNADividendTracker.getAccountAtIndex(uint256) (#1342-1359) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1353)
LUNADAO.updateGasForProcessing(uint256) (#1738-1743) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,LUNA: gasForProcessing must be between 200,000 and 500,000) (#1739)
LUNADAO.slitherConstructorVariables() (#1522-2021) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1532)
LUNADAO.slitherConstructorVariables() (#1522-2021) uses literals with too many digits:
- _PresaleAddress = 0x000000000000000000000000000000000000dEaD (#1550)
LUNADAO.slitherConstructorVariables() (#1522-2021) uses literals with too many digits:
- gasForProcessing = 300000 (#1557)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#935) is never used in SafeMathInt (#933-991)
Remove unused state variables.

Additional information: link

LUNADAO.deadWallet (#1532) should be constant
LUNADAO.totalSupply_ (#1539) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

name() should be declared external:
- ERC20.name() (#368-370)
symbol() should be declared external:
- ERC20.symbol() (#376-378)
decimals() should be declared external:
- ERC20.decimals() (#393-395)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#419-422)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#427-429)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#438-441)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#456-464)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#478-481)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#497-500)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#661-664)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#670-674)
distributeLUNADividends(uint256) should be declared external:
- DividendPayingToken.distributeLUNADividends(uint256) (#1041-1052)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1056-1058)
- LUNADividendTracker.withdrawDividend() (#1267-1269)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1083-1085)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1097-1099)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1178-1180)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1182-1187)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1189-1191)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1195-1197)
getAccountAtIndex(uint256) should be declared external:
- LUNADividendTracker.getAccountAtIndex(uint256) (#1342-1359)
process(uint256) should be declared external:
- LUNADividendTracker.process(uint256) (#1386-1431)
updateDividendTracker(address) should be declared external:
- LUNADAO.updateDividendTracker(address) (#1639-1654)
updateUniswapV2Router(address) should be declared external:
- LUNADAO.updateUniswapV2Router(address) (#1656-1663)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- LUNADAO.excludeMultipleAccountsFromFees(address[],bool) (#1672-1678)
setFee(uint256,uint256,uint256) should be declared external:
- LUNADAO.setFee(uint256,uint256,uint256) (#1693-1701)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- LUNADAO.setAutomatedMarketMakerPair(address,bool) (#1703-1707)
rescueToken(address,uint256) should be declared external:
- LUNADAO.rescueToken(address,uint256) (#1713-1719)
rescueBNB(address) should be declared external:
- LUNADAO.rescueBNB(address) (#1721-1723)
updateGasForProcessing(uint256) should be declared external:
- LUNADAO.updateGasForProcessing(uint256) (#1738-1743)
isExcludedFromFees(address) should be declared external:
- LUNADAO.isExcludedFromFees(address) (#1757-1759)
withdrawableDividendOf(address) should be declared external:
- LUNADAO.withdrawableDividendOf(address) (#1761-1763)
dividendTokenBalanceOf(address) should be declared external:
- LUNADAO.dividendTokenBalanceOf(address) (#1765-1767)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Token is deployed only at one blockchain

Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.


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 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 code repository for the project


Young tokens have high risks of scam / price dump / death


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

Additional information: link


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 LUNADAO

News for LUNADAO