Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MetaUnderworld.swapAndSendToFee(uint256) (AMetaUnderworld.sol#386-393) ignores return value by IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
MetaUnderworld.addLiquidity(uint256,uint256) (AMetaUnderworld.sol#458-473) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384):
External calls:
- swapAndSendToFee(marketingTokens) (AMetaUnderworld.sol#340)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (AMetaUnderworld.sol#478)
- dividendTracker.distributeETHDividends(dividends) (AMetaUnderworld.sol#481)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
External calls sending eth:
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (AMetaUnderworld.sol#366)
- _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) (AMetaUnderworld.sol#369)
- _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 (AMetaUnderworld.sol#348)
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#77-93):
External calls:
- success = IERC20(ETH).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#82)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#85)
Reentrancy in MetaUnderworld.updateDividendTracker(address) (AMetaUnderworld.sol#137-152):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (AMetaUnderworld.sol#144)
- newDividendTracker.excludeFromDividends(address(this)) (AMetaUnderworld.sol#145)
- newDividendTracker.excludeFromDividends(owner()) (AMetaUnderworld.sol#146)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (AMetaUnderworld.sol#147)
State variables written after the call(s):
- dividendTracker = newDividendTracker (AMetaUnderworld.sol#151)
Apply the check-effects-interactions pattern.
Additional information: link
MetaUnderworld._transfer(address,address,uint256).claims (AMetaUnderworld.sol#377) is a local variable never initialized
MetaUnderworld._transfer(address,address,uint256).lastProcessedIndex (AMetaUnderworld.sol#377) is a local variable never initialized
MetaUnderworld._transfer(address,address,uint256).iterations (AMetaUnderworld.sol#377) 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
MetaUnderworld.claim() (AMetaUnderworld.sol#291-293) ignores return value by dividendTracker.processAccount(msg.sender,false) (AMetaUnderworld.sol#292)
MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384) ignores return value by dividendTracker.process(gas) (AMetaUnderworld.sol#377-382)
MetaUnderworld.addLiquidity(uint256,uint256) (AMetaUnderworld.sol#458-473) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#51) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#51) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#99) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#106) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#113) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#123) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
MetaUnderworld.setETHRewardsFee(uint256) (AMetaUnderworld.sol#182-185) should emit an event for:
- ETHRewardsFee = value (AMetaUnderworld.sol#183)
- totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee) (AMetaUnderworld.sol#184)
MetaUnderworld.setLiquiditFee(uint256) (AMetaUnderworld.sol#187-190) should emit an event for:
- liquidityFee = value (AMetaUnderworld.sol#188)
- totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee) (AMetaUnderworld.sol#189)
MetaUnderworld.setMarketingFee(uint256) (AMetaUnderworld.sol#192-196) should emit an event for:
- marketingFee = value (AMetaUnderworld.sol#193)
- totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee) (AMetaUnderworld.sol#194)
MetaUnderworld.setMaxWalletLimit(uint256) (AMetaUnderworld.sol#198-201) should emit an event for:
- _maxWalletLimit = value (AMetaUnderworld.sol#200)
Emit an event for critical parameter changes.
Additional information: link
MetaUnderworld.updateUniswapV2Router(address)._uniswapV2Pair (AMetaUnderworld.sol#158-159) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (AMetaUnderworld.sol#160)
MetaUnderworld.setMarketingWallet(address).wallet (AMetaUnderworld.sol#178) lacks a zero-check on :
- _marketingWalletAddress = wallet (AMetaUnderworld.sol#179)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#77-93) has external calls inside a loop: success = IERC20(ETH).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#82)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'MetaUnderworld._transfer(address,address,uint256).claims (AMetaUnderworld.sol#377)' in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AMetaUnderworld.sol#378)
Variable 'MetaUnderworld._transfer(address,address,uint256).iterations (AMetaUnderworld.sol#377)' in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AMetaUnderworld.sol#378)
Variable 'MetaUnderworld._transfer(address,address,uint256).lastProcessedIndex (AMetaUnderworld.sol#377)' in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AMetaUnderworld.sol#378)
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 MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384):
External calls:
- swapAndSendToFee(marketingTokens) (AMetaUnderworld.sol#340)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
External calls sending eth:
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384):
External calls:
- swapAndSendToFee(marketingTokens) (AMetaUnderworld.sol#340)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (AMetaUnderworld.sol#478)
- dividendTracker.distributeETHDividends(dividends) (AMetaUnderworld.sol#481)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
External calls sending eth:
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MetaUnderworld.constructor() (AMetaUnderworld.sol#99-131):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AMetaUnderworld.sol#106-107)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (AMetaUnderworld.sol#110)
- uniswapV2Router = _uniswapV2Router (AMetaUnderworld.sol#109)
Reentrancy in MetaUnderworld.constructor() (AMetaUnderworld.sol#99-131):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AMetaUnderworld.sol#106-107)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AMetaUnderworld.sol#112)
- dividendTracker.excludeFromDividends(pair) (AMetaUnderworld.sol#218)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (AMetaUnderworld.sol#115)
- dividendTracker.excludeFromDividends(address(this)) (AMetaUnderworld.sol#116)
- dividendTracker.excludeFromDividends(owner()) (AMetaUnderworld.sol#117)
- dividendTracker.excludeFromDividends(deadWallet) (AMetaUnderworld.sol#118)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (AMetaUnderworld.sol#119)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (AMetaUnderworld.sol#130)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (AMetaUnderworld.sol#122)
- _isExcludedFromFees[account] = excluded (AMetaUnderworld.sol#165)
- excludeFromFees(_marketingWalletAddress,true) (AMetaUnderworld.sol#123)
- _isExcludedFromFees[account] = excluded (AMetaUnderworld.sol#165)
- excludeFromFees(address(this),true) (AMetaUnderworld.sol#124)
- _isExcludedFromFees[account] = excluded (AMetaUnderworld.sol#165)
- _mint(owner(),100000000000 * (10 ** 18)) (AMetaUnderworld.sol#130)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in MetaUnderworldDividendTracker.processAccount(address,bool) (AMetaUnderworld.sol#683-693):
External calls:
- amount = _withdrawDividendOfUser(account) (AMetaUnderworld.sol#684)
- success = IERC20(ETH).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#82)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (AMetaUnderworld.sol#687)
Reentrancy in MetaUnderworld.swapAndLiquify(uint256) (AMetaUnderworld.sol#395-416):
External calls:
- swapTokensForEth(half) (AMetaUnderworld.sol#407)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
- addLiquidity(otherHalf,newBalance) (AMetaUnderworld.sol#413)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (AMetaUnderworld.sol#413)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (AMetaUnderworld.sol#413)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MetaUnderworld.updateUniswapV2Router(address) (AMetaUnderworld.sol#154-161):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (AMetaUnderworld.sol#158-159)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (AMetaUnderworld.sol#160)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaUnderworld._setAutomatedMarketMakerPair(address,bool) (AMetaUnderworld.sol#213-222):
External calls:
- dividendTracker.excludeFromDividends(pair) (AMetaUnderworld.sol#218)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (AMetaUnderworld.sol#221)
Reentrancy in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384):
External calls:
- swapAndSendToFee(marketingTokens) (AMetaUnderworld.sol#340)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
External calls sending eth:
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- SwapAndLiquify(half,newBalance,otherHalf) (AMetaUnderworld.sol#415)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
Reentrancy in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384):
External calls:
- swapAndSendToFee(marketingTokens) (AMetaUnderworld.sol#340)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (AMetaUnderworld.sol#478)
- dividendTracker.distributeETHDividends(dividends) (AMetaUnderworld.sol#481)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
External calls sending eth:
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- SendDividends(tokens,dividends) (AMetaUnderworld.sol#482)
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (AMetaUnderworld.sol#366)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (AMetaUnderworld.sol#369)
Reentrancy in MetaUnderworld._transfer(address,address,uint256) (AMetaUnderworld.sol#304-384):
External calls:
- swapAndSendToFee(marketingTokens) (AMetaUnderworld.sol#340)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (AMetaUnderworld.sol#392)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
- swapAndSendDividends(sellTokens) (AMetaUnderworld.sol#346)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (AMetaUnderworld.sol#478)
- dividendTracker.distributeETHDividends(dividends) (AMetaUnderworld.sol#481)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- dividendTracker.setBalance(address(from),balanceOf(from)) (AMetaUnderworld.sol#371)
- dividendTracker.setBalance(address(to),balanceOf(to)) (AMetaUnderworld.sol#372)
- dividendTracker.process(gas) (AMetaUnderworld.sol#377-382)
External calls sending eth:
- swapAndLiquify(swapTokens) (AMetaUnderworld.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AMetaUnderworld.sol#378)
Reentrancy in MetaUnderworld.constructor() (AMetaUnderworld.sol#99-131):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AMetaUnderworld.sol#106-107)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AMetaUnderworld.sol#112)
- dividendTracker.excludeFromDividends(pair) (AMetaUnderworld.sol#218)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (AMetaUnderworld.sol#221)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AMetaUnderworld.sol#112)
Reentrancy in MetaUnderworld.constructor() (AMetaUnderworld.sol#99-131):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AMetaUnderworld.sol#106-107)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AMetaUnderworld.sol#112)
- dividendTracker.excludeFromDividends(pair) (AMetaUnderworld.sol#218)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (AMetaUnderworld.sol#115)
- dividendTracker.excludeFromDividends(address(this)) (AMetaUnderworld.sol#116)
- dividendTracker.excludeFromDividends(owner()) (AMetaUnderworld.sol#117)
- dividendTracker.excludeFromDividends(deadWallet) (AMetaUnderworld.sol#118)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (AMetaUnderworld.sol#119)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (AMetaUnderworld.sol#167)
- excludeFromFees(address(this),true) (AMetaUnderworld.sol#124)
- ExcludeFromFees(account,excluded) (AMetaUnderworld.sol#167)
- excludeFromFees(_marketingWalletAddress,true) (AMetaUnderworld.sol#123)
- ExcludeFromFees(account,excluded) (AMetaUnderworld.sol#167)
- excludeFromFees(owner(),true) (AMetaUnderworld.sol#122)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),100000000000 * (10 ** 18)) (AMetaUnderworld.sol#130)
Reentrancy in MetaUnderworldDividendTracker.processAccount(address,bool) (AMetaUnderworld.sol#683-693):
External calls:
- amount = _withdrawDividendOfUser(account) (AMetaUnderworld.sol#684)
- success = IERC20(ETH).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#82)
Event emitted after the call(s):
- Claim(account,amount,automatic) (AMetaUnderworld.sol#688)
Reentrancy in MetaUnderworld.processDividendTracker(uint256) (AMetaUnderworld.sol#286-289):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (AMetaUnderworld.sol#287)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (AMetaUnderworld.sol#288)
Reentrancy in MetaUnderworld.swapAndLiquify(uint256) (AMetaUnderworld.sol#395-416):
External calls:
- swapTokensForEth(half) (AMetaUnderworld.sol#407)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#430-436)
- addLiquidity(otherHalf,newBalance) (AMetaUnderworld.sol#413)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (AMetaUnderworld.sol#413)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AMetaUnderworld.sol#464-471)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (AMetaUnderworld.sol#413)
- SwapAndLiquify(half,newBalance,otherHalf) (AMetaUnderworld.sol#415)
Reentrancy in MetaUnderworld.swapAndSendDividends(uint256) (AMetaUnderworld.sol#475-484):
External calls:
- swapTokensForETH(tokens) (AMetaUnderworld.sol#476)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AMetaUnderworld.sol#449-455)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (AMetaUnderworld.sol#478)
- dividendTracker.distributeETHDividends(dividends) (AMetaUnderworld.sol#481)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (AMetaUnderworld.sol#482)
Reentrancy in MetaUnderworld.updateDividendTracker(address) (AMetaUnderworld.sol#137-152):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (AMetaUnderworld.sol#144)
- newDividendTracker.excludeFromDividends(address(this)) (AMetaUnderworld.sol#145)
- newDividendTracker.excludeFromDividends(owner()) (AMetaUnderworld.sol#146)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (AMetaUnderworld.sol#147)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (AMetaUnderworld.sol#149)
Apply the check-effects-interactions pattern.
Additional information: link
MetaUnderworldDividendTracker.getAccount(address) (AMetaUnderworld.sol#547-590) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (AMetaUnderworld.sol#587-589)
MetaUnderworldDividendTracker.canAutoClaim(uint256) (AMetaUnderworld.sol#611-617) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (AMetaUnderworld.sol#612)
- block.timestamp.sub(lastClaimTime) >= claimWait (AMetaUnderworld.sol#616)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#133-139) 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#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
MetaUnderworld.totalFees (AMetaUnderworld.sol#50) is set pre-construction with a non-constant function or state variable:
- ETHRewardsFee.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 (AMetaUnderworld.sol#19) allows old versions
Pragma version^0.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#4) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) 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
Variable MetaUnderworld.ETH (AMetaUnderworld.sol#41) is not in mixedCase
Variable MetaUnderworld._isBlacklisted (AMetaUnderworld.sol#45) is not in mixedCase
Variable MetaUnderworld.ETHRewardsFee (AMetaUnderworld.sol#47) is not in mixedCase
Variable MetaUnderworld._maxWalletLimit (AMetaUnderworld.sol#51) is not in mixedCase
Variable MetaUnderworld._marketingWalletAddress (AMetaUnderworld.sol#53) is not in mixedCase
Variable MetaUnderworld._teamWalletAddress (AMetaUnderworld.sol#54) is not in mixedCase
Parameter MetaUnderworldDividendTracker.getAccount(address)._account (AMetaUnderworld.sol#547) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#99) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#106) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#113) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#123) is not in mixedCase
Variable DividendPayingToken.ETH (DividendPayingToken.sol#25) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#31) 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
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#78) is too similar to MetaUnderworldDividendTracker.getAccount(address).withdrawableDividends (AMetaUnderworld.sol#552)
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)
Prevent variables from having similar names.
Additional information: link
MetaUnderworld.constructor() (AMetaUnderworld.sol#99-131) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (AMetaUnderworld.sol#130)
MetaUnderworld.setMaxWalletLimit(uint256) (AMetaUnderworld.sol#198-201) uses literals with too many digits:
- require(bool,string)(value >= 2000000000 * (10 ** 18),MetaUnderworld: Minimum max wallet limit is 2 percent) (AMetaUnderworld.sol#199)
MetaUnderworld.updateGasForProcessing(uint256) (AMetaUnderworld.sol#225-230) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,MetaUnderworld: gasForProcessing must be between 200,000 and 500,000) (AMetaUnderworld.sol#226)
MetaUnderworld.slitherConstructorVariables() (AMetaUnderworld.sol#30-485) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (AMetaUnderworld.sol#39)
MetaUnderworld.slitherConstructorVariables() (AMetaUnderworld.sol#30-485) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (AMetaUnderworld.sol#43)
MetaUnderworld.slitherConstructorVariables() (AMetaUnderworld.sol#30-485) uses literals with too many digits:
- _maxWalletLimit = 3000000000 * (10 ** 18) (AMetaUnderworld.sol#51)
MetaUnderworld.slitherConstructorVariables() (AMetaUnderworld.sol#30-485) uses literals with too many digits:
- gasForProcessing = 300000 (AMetaUnderworld.sol#57)
MetaUnderworldDividendTracker.constructor() (AMetaUnderworld.sol#507-510) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (AMetaUnderworld.sol#509)
MetaUnderworldDividendTracker.getAccountAtIndex(uint256) (AMetaUnderworld.sol#592-609) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (AMetaUnderworld.sol#603)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
MetaUnderworld._teamWalletAddress (AMetaUnderworld.sol#54) should be constant
MetaUnderworld.deadWallet (AMetaUnderworld.sol#39) should be constant
MetaUnderworld.swapTokensAtAmount (AMetaUnderworld.sol#43) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
updateDividendTracker(address) should be declared external:
- MetaUnderworld.updateDividendTracker(address) (AMetaUnderworld.sol#137-152)
updateUniswapV2Router(address) should be declared external:
- MetaUnderworld.updateUniswapV2Router(address) (AMetaUnderworld.sol#154-161)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- MetaUnderworld.excludeMultipleAccountsFromFees(address[],bool) (AMetaUnderworld.sol#170-176)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- MetaUnderworld.setAutomatedMarketMakerPair(address,bool) (AMetaUnderworld.sol#203-207)
updateGasForProcessing(uint256) should be declared external:
- MetaUnderworld.updateGasForProcessing(uint256) (AMetaUnderworld.sol#225-230)
isExcludedFromFees(address) should be declared external:
- MetaUnderworld.isExcludedFromFees(address) (AMetaUnderworld.sol#244-246)
withdrawableDividendOf(address) should be declared external:
- MetaUnderworld.withdrawableDividendOf(address) (AMetaUnderworld.sol#248-250)
dividendTokenBalanceOf(address) should be declared external:
- MetaUnderworld.dividendTokenBalanceOf(address) (AMetaUnderworld.sol#252-254)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#71-73)
- MetaUnderworldDividendTracker.withdrawDividend() (AMetaUnderworld.sol#516-518)
getAccountAtIndex(uint256) should be declared external:
- MetaUnderworldDividendTracker.getAccountAtIndex(uint256) (AMetaUnderworld.sol#592-609)
process(uint256) should be declared external:
- MetaUnderworldDividendTracker.process(uint256) (AMetaUnderworld.sol#636-681)
distributeETHDividends(uint256) should be declared external:
- DividendPayingToken.distributeETHDividends(uint256) (DividendPayingToken.sol#56-67)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#99-101)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#113-115)
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)
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
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has relatively few followers
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts