Moon Money Token Logo

MM [Moon Money] Token

About MM

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 22 December 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

MoonMoney.addLiquidity(uint256,uint256) (MoonMoney.sol#519-532) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- success = IERC20(XRP).transfer(address(dividendTracker),dividends) (MoonMoney.sol#538)
- dividendTracker.distributeXRPDividends(dividends) (MoonMoney.sol#541)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#510-516)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (MoonMoney.sol#418)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (MoonMoney.sol#421)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (MoonMoney.sol#400)
Apply the check-effects-interactions pattern.

Additional information: link

MoonMoney._totalSupply (MoonMoney.sol#53) shadows:
- ERC20._totalSupply (ERC20.sol#41)
Remove the state variable shadowing.

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.

RewardTokenDividendTracker.getAccount(address) (MoonMoney.sol#617-660) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (MoonMoney.sol#657-659)
RewardTokenDividendTracker.canAutoClaim(uint256) (MoonMoney.sol#681-687) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (MoonMoney.sol#682)
- block.timestamp.sub(lastClaimTime) >= claimWait (MoonMoney.sol#686)
Avoid relying on block.timestamp.

Additional information: link

SafeMathInt.MAX_INT256 (SafeMathInt.sol#11) is never used in SafeMathInt (SafeMathInt.sol#9-67)
Remove unused state variables.

Additional information: link

MoonMoney._totalSupply (MoonMoney.sol#53) should be constant
MoonMoney.deadWallet (MoonMoney.sol#47) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#65-81):
External calls:
- success = IERC20(XRP).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#73)
Reentrancy in MoonMoney.updateDividendTracker(address) (MoonMoney.sol#189-204):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (MoonMoney.sol#196)
- newDividendTracker.excludeFromDividends(address(this)) (MoonMoney.sol#197)
- newDividendTracker.excludeFromDividends(owner()) (MoonMoney.sol#198)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (MoonMoney.sol#199)
State variables written after the call(s):
- dividendTracker = newDividendTracker (MoonMoney.sol#203)
Apply the check-effects-interactions pattern.

Additional information: link

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

MoonMoney.claim() (MoonMoney.sol#340-342) ignores return value by dividendTracker.processAccount(msg.sender,false) (MoonMoney.sol#341)
MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436) ignores return value by dividendTracker.process(gas) (MoonMoney.sol#429-434)
MoonMoney.addLiquidity(uint256,uint256) (MoonMoney.sol#519-532) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#43) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#43) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#87) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#94) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#101) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#111) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

MoonMoney.setSwapTokensAtAmount(uint256) (MoonMoney.sol#166-169) should emit an event for:
- _swapTokensAtAmount = newAmount (MoonMoney.sol#168)
MoonMoney.setMaxTxAmount(uint256) (MoonMoney.sol#172-175) should emit an event for:
- _maxTxAmount = newAmount (MoonMoney.sol#174)
MoonMoney.setXRPRewardsFee(uint256) (MoonMoney.sol#235-238) should emit an event for:
- XRPRewardsFee = value (MoonMoney.sol#236)
- totalFees = XRPRewardsFee.add(liquidityFee).add(marketingFee) (MoonMoney.sol#237)
MoonMoney.setLiquiditFee(uint256) (MoonMoney.sol#240-243) should emit an event for:
- liquidityFee = value (MoonMoney.sol#241)
- totalFees = XRPRewardsFee.add(liquidityFee).add(marketingFee) (MoonMoney.sol#242)
MoonMoney.setMarketingFee(uint256) (MoonMoney.sol#245-249) should emit an event for:
- marketingFee = value (MoonMoney.sol#246)
- totalFees = XRPRewardsFee.add(liquidityFee).add(marketingFee) (MoonMoney.sol#247)
MoonMoney.setMaxLimit(uint256) (MoonMoney.sol#439-442) should emit an event for:
- _maxLimit = newValue (MoonMoney.sol#441)
Emit an event for critical parameter changes.

Additional information: link

MoonMoney.updateUniswapV2Router(address)._uniswapV2Pair (MoonMoney.sol#210-211) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (MoonMoney.sol#212)
MoonMoney.setMarketingWalletAddress(address).wallet (MoonMoney.sol#230) lacks a zero-check on :
- _marketingWalletAddress = address(wallet) (MoonMoney.sol#231)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#65-81) has external calls inside a loop: success = IERC20(XRP).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'MoonMoney._transfer(address,address,uint256).iterations (MoonMoney.sol#429)' in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MoonMoney.sol#430)
Variable 'MoonMoney._transfer(address,address,uint256).lastProcessedIndex (MoonMoney.sol#429)' in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MoonMoney.sol#430)
Variable 'MoonMoney._transfer(address,address,uint256).claims (MoonMoney.sol#429)' in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MoonMoney.sol#430)
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 MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- success = IERC20(XRP).transfer(address(dividendTracker),dividends) (MoonMoney.sol#538)
- dividendTracker.distributeXRPDividends(dividends) (MoonMoney.sol#541)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#510-516)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MoonMoney.constructor() (MoonMoney.sol#112-151):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MoonMoney.sol#120-121)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (MoonMoney.sol#124)
- uniswapV2Router = _uniswapV2Router (MoonMoney.sol#123)
Reentrancy in MoonMoney.constructor() (MoonMoney.sol#112-151):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MoonMoney.sol#120-121)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MoonMoney.sol#126)
- dividendTracker.excludeFromDividends(pair) (MoonMoney.sol#267)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (MoonMoney.sol#129)
- dividendTracker.excludeFromDividends(address(this)) (MoonMoney.sol#130)
- dividendTracker.excludeFromDividends(owner()) (MoonMoney.sol#131)
- dividendTracker.excludeFromDividends(deadWallet) (MoonMoney.sol#132)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (MoonMoney.sol#133)
State variables written after the call(s):
- _mint(owner(),_totalSupply) (MoonMoney.sol#150)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (MoonMoney.sol#136)
- _isExcludedFromFees[account] = excluded (MoonMoney.sol#217)
- excludeFromFees(address(this),true) (MoonMoney.sol#137)
- _isExcludedFromFees[account] = excluded (MoonMoney.sol#217)
- excludeFromFees(_marketingWalletAddress,true) (MoonMoney.sol#138)
- _isExcludedFromFees[account] = excluded (MoonMoney.sol#217)
- _isExcludedFromWhale[owner()] = true (MoonMoney.sol#142)
- _isExcludedFromWhale[address(this)] = true (MoonMoney.sol#143)
- _isExcludedFromWhale[_marketingWalletAddress] = true (MoonMoney.sol#144)
- _isExcludedFromWhale[uniswapV2Pair] = true (MoonMoney.sol#145)
- _mint(owner(),_totalSupply) (MoonMoney.sol#150)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in RewardTokenDividendTracker.processAccount(address,bool) (MoonMoney.sol#756-766):
External calls:
- amount = _withdrawDividendOfUser(account) (MoonMoney.sol#757)
- success = IERC20(XRP).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (MoonMoney.sol#760)
Reentrancy in MoonMoney.swapAndLiquify(uint256) (MoonMoney.sol#454-476):
External calls:
- swapTokensForEth(half) (MoonMoney.sol#466)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- addLiquidity(otherHalf,newBalance) (MoonMoney.sol#472)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (MoonMoney.sol#472)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (MoonMoney.sol#472)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MoonMoney.updateUniswapV2Router(address) (MoonMoney.sol#206-213):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (MoonMoney.sol#210-211)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (MoonMoney.sol#212)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MoonMoney._setAutomatedMarketMakerPair(address,bool) (MoonMoney.sol#262-271):
External calls:
- dividendTracker.excludeFromDividends(pair) (MoonMoney.sol#267)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (MoonMoney.sol#270)
Reentrancy in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- SwapAndLiquify(half,newBalance,otherHalf) (MoonMoney.sol#475)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
Reentrancy in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- success = IERC20(XRP).transfer(address(dividendTracker),dividends) (MoonMoney.sol#538)
- dividendTracker.distributeXRPDividends(dividends) (MoonMoney.sol#541)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#510-516)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- SendDividends(tokens,dividends) (MoonMoney.sol#542)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (MoonMoney.sol#418)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (MoonMoney.sol#421)
Reentrancy in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- success = IERC20(XRP).transfer(address(dividendTracker),dividends) (MoonMoney.sol#538)
- dividendTracker.distributeXRPDividends(dividends) (MoonMoney.sol#541)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#510-516)
- dividendTracker.setBalance(address(from),balanceOf(from)) (MoonMoney.sol#423)
- dividendTracker.setBalance(address(to),balanceOf(to)) (MoonMoney.sol#424)
- dividendTracker.process(gas) (MoonMoney.sol#429-434)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MoonMoney.sol#430)
Reentrancy in MoonMoney.constructor() (MoonMoney.sol#112-151):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MoonMoney.sol#120-121)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MoonMoney.sol#126)
- dividendTracker.excludeFromDividends(pair) (MoonMoney.sol#267)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (MoonMoney.sol#270)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MoonMoney.sol#126)
Reentrancy in MoonMoney.constructor() (MoonMoney.sol#112-151):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MoonMoney.sol#120-121)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MoonMoney.sol#126)
- dividendTracker.excludeFromDividends(pair) (MoonMoney.sol#267)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (MoonMoney.sol#129)
- dividendTracker.excludeFromDividends(address(this)) (MoonMoney.sol#130)
- dividendTracker.excludeFromDividends(owner()) (MoonMoney.sol#131)
- dividendTracker.excludeFromDividends(deadWallet) (MoonMoney.sol#132)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (MoonMoney.sol#133)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (MoonMoney.sol#219)
- excludeFromFees(address(this),true) (MoonMoney.sol#137)
- ExcludeFromFees(account,excluded) (MoonMoney.sol#219)
- excludeFromFees(_marketingWalletAddress,true) (MoonMoney.sol#138)
- ExcludeFromFees(account,excluded) (MoonMoney.sol#219)
- excludeFromFees(owner(),true) (MoonMoney.sol#136)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),_totalSupply) (MoonMoney.sol#150)
Reentrancy in RewardTokenDividendTracker.processAccount(address,bool) (MoonMoney.sol#756-766):
External calls:
- amount = _withdrawDividendOfUser(account) (MoonMoney.sol#757)
- success = IERC20(XRP).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
Event emitted after the call(s):
- Claim(account,amount,automatic) (MoonMoney.sol#761)
Reentrancy in MoonMoney.processDividendTracker(uint256) (MoonMoney.sol#335-338):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (MoonMoney.sol#336)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (MoonMoney.sol#337)
Reentrancy in MoonMoney.swapAndLiquify(uint256) (MoonMoney.sol#454-476):
External calls:
- swapTokensForEth(half) (MoonMoney.sol#466)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#490-496)
- addLiquidity(otherHalf,newBalance) (MoonMoney.sol#472)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (MoonMoney.sol#472)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (MoonMoney.sol#472)
- SwapAndLiquify(half,newBalance,otherHalf) (MoonMoney.sol#475)
Reentrancy in MoonMoney.swapAndSendDividends(uint256) (MoonMoney.sol#534-544):
External calls:
- swapTokensForXRP(tokens) (MoonMoney.sol#536)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MoonMoney.sol#510-516)
- success = IERC20(XRP).transfer(address(dividendTracker),dividends) (MoonMoney.sol#538)
- dividendTracker.distributeXRPDividends(dividends) (MoonMoney.sol#541)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (MoonMoney.sol#542)
Reentrancy in MoonMoney.updateDividendTracker(address) (MoonMoney.sol#189-204):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (MoonMoney.sol#196)
- newDividendTracker.excludeFromDividends(address(this)) (MoonMoney.sol#197)
- newDividendTracker.excludeFromDividends(owner()) (MoonMoney.sol#198)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (MoonMoney.sol#199)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (MoonMoney.sol#201)
Apply the check-effects-interactions pattern.

Additional information: link

Different versions of Solidity is used:
- Version used: ['^0.6.12', '^0.6.2']
- ^0.6.12 (Context.sol#3)
- ^0.6.12 (DividendPayingToken.sol#3)
- ^0.6.12 (DividendPayingTokenInterface.sol#3)
- ^0.6.12 (DividendPayingTokenOptionalInterface.sol#3)
- ^0.6.12 (ERC20.sol#3)
- ^0.6.12 (IERC20.sol#3)
- ^0.6.12 (IERC20Metadata.sol#3)
- ^0.6.12 (IUniswapV2Factory.sol#3)
- ^0.6.12 (IUniswapV2Pair.sol#3)
- ^0.6.12 (IUniswapV2Router.sol#3)
- ^0.6.12 (IterableMapping.sol#2)
- ^0.6.12 (MoonMoney.sol#26)
- ^0.6.2 (Ownable.sol#1)
- ^0.6.12 (SafeMath.sol#3)
- ^0.6.12 (SafeMathInt.sol#3)
- ^0.6.12 (SafeMathUint.sol#3)
Use one Solidity version.

Additional information: link

Context._msgData() (Context.sol#10-13) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#121-127) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#57-60) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#28-34) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#16-23) is never used and should be removed
Remove unused functions.

Additional information: link

MoonMoney.totalFees (MoonMoney.sol#62) is set pre-construction with a non-constant function or state variable:
- XRPRewardsFee.add(liquidityFee).add(marketingFee)
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 version^0.6.2 (Ownable.sol#1) allows old versions
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

Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#87) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#94) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#101) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#111) is not in mixedCase
Variable DividendPayingToken.XRP (DividendPayingToken.sol#19) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#25) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Parameter MoonMoney.excludeFromWhale(address,bool).true_false (MoonMoney.sol#177) is not in mixedCase
Variable MoonMoney._totalSupply (MoonMoney.sol#53) is not in mixedCase
Variable MoonMoney.XRP (MoonMoney.sol#49) is not in mixedCase
Variable MoonMoney._isBlacklisted (MoonMoney.sol#51) is not in mixedCase
Variable MoonMoney._swapTokensAtAmount (MoonMoney.sol#54) is not in mixedCase
Variable MoonMoney._maxTxAmount (MoonMoney.sol#55) is not in mixedCase
Variable MoonMoney._maxLimit (MoonMoney.sol#56) is not in mixedCase
Variable MoonMoney.XRPRewardsFee (MoonMoney.sol#58) is not in mixedCase
Variable MoonMoney._marketingWalletAddress (MoonMoney.sol#64) is not in mixedCase
Parameter RewardTokenDividendTracker.getAccount(address)._account (MoonMoney.sol#617) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#11)" inContext (Context.sol#5-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in MoonMoney._transfer(address,address,uint256) (MoonMoney.sol#353-436):
External calls:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (MoonMoney.sol#394)
- recipient.transfer(amount) (MoonMoney.sol#160)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MoonMoney.sol#525-531)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (MoonMoney.sol#418)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (MoonMoney.sol#421)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (MoonMoney.sol#400)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MoonMoney.sol#430)
- SendDividends(tokens,dividends) (MoonMoney.sol#542)
- swapAndSendDividends(sellTokens) (MoonMoney.sol#399)
- SwapAndLiquify(half,newBalance,otherHalf) (MoonMoney.sol#475)
- swapAndLiquify(swapTokens) (MoonMoney.sol#397)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (MoonMoney.sol#421)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (MoonMoney.sol#418)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#66) is too similar to RewardTokenDividendTracker.getAccount(address).withdrawableDividends (MoonMoney.sol#622)
Prevent variables from having similar names.

Additional information: link

MoonMoney.updateGasForProcessing(uint256) (MoonMoney.sol#274-279) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,RewardToken: gasForProcessing must be between 200,000 and 500,000) (MoonMoney.sol#275)
MoonMoney.slitherConstructorVariables() (MoonMoney.sol#37-546) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (MoonMoney.sol#47)
MoonMoney.slitherConstructorVariables() (MoonMoney.sol#37-546) uses literals with too many digits:
- gasForProcessing = 300000 (MoonMoney.sol#69)
RewardTokenDividendTracker.constructor() (MoonMoney.sol#568-571) uses literals with too many digits:
- minimumTokenBalanceForDividends = 100000 * (10 ** 18) (MoonMoney.sol#570)
RewardTokenDividendTracker.getAccountAtIndex(uint256) (MoonMoney.sol#662-679) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (MoonMoney.sol#673)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

distributeXRPDividends(uint256) should be declared external:
- DividendPayingToken.distributeXRPDividends(uint256) (DividendPayingToken.sol#47-55)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#59-61)
- RewardTokenDividendTracker.withdrawDividend() (MoonMoney.sol#577-579)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#87-89)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#101-103)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
setMinimumTokenBalanceForDividends(uint256) should be declared external:
- MoonMoney.setMinimumTokenBalanceForDividends(uint256) (MoonMoney.sol#154-157)
setSwapTokensAtAmount(uint256) should be declared external:
- MoonMoney.setSwapTokensAtAmount(uint256) (MoonMoney.sol#166-169)
setMaxTxAmount(uint256) should be declared external:
- MoonMoney.setMaxTxAmount(uint256) (MoonMoney.sol#172-175)
excludeFromWhale(address,bool) should be declared external:
- MoonMoney.excludeFromWhale(address,bool) (MoonMoney.sol#177-180)
isExcludedFromWhale(address) should be declared external:
- MoonMoney.isExcludedFromWhale(address) (MoonMoney.sol#183-186)
updateDividendTracker(address) should be declared external:
- MoonMoney.updateDividendTracker(address) (MoonMoney.sol#189-204)
updateUniswapV2Router(address) should be declared external:
- MoonMoney.updateUniswapV2Router(address) (MoonMoney.sol#206-213)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- MoonMoney.excludeMultipleAccountsFromFees(address[],bool) (MoonMoney.sol#222-228)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- MoonMoney.setAutomatedMarketMakerPair(address,bool) (MoonMoney.sol#252-256)
updateGasForProcessing(uint256) should be declared external:
- MoonMoney.updateGasForProcessing(uint256) (MoonMoney.sol#274-279)
isExcludedFromFees(address) should be declared external:
- MoonMoney.isExcludedFromFees(address) (MoonMoney.sol#293-295)
withdrawableDividendOf(address) should be declared external:
- MoonMoney.withdrawableDividendOf(address) (MoonMoney.sol#297-299)
dividendTokenBalanceOf(address) should be declared external:
- MoonMoney.dividendTokenBalanceOf(address) (MoonMoney.sol#301-303)
setMaxLimit(uint256) should be declared external:
- MoonMoney.setMaxLimit(uint256) (MoonMoney.sol#439-442)
setMinimumTokenBalanceForDividends(uint256) should be declared external:
- RewardTokenDividendTracker.setMinimumTokenBalanceForDividends(uint256) (MoonMoney.sol#591-595)
getAccountAtIndex(uint256) should be declared external:
- RewardTokenDividendTracker.getAccountAtIndex(uint256) (MoonMoney.sol#662-679)
process(uint256) should be declared external:
- RewardTokenDividendTracker.process(uint256) (MoonMoney.sol#706-751)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Unable to find Telegram and Twitter accounts


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


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for MM