Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MITO.addLiquidity(uint256,uint256) (MITO.sol#445-460) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MITO._transfer(address,address,uint256) (MITO.sol#299-370):
External calls:
- swapAndSendToFee(marketingTokens) (MITO.sol#326)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (MITO.sol#465)
- dividendTracker.distributeBUSDDividends(dividends) (MITO.sol#468)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
External calls sending eth:
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (MITO.sol#352)
- _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) (MITO.sol#355)
- _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 (MITO.sol#334)
Apply the check-effects-interactions pattern.
Additional information: link
MITO.swapAndSendToFee(uint256) (MITO.sol#372-379) ignores return value by IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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#76-92):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in MITO.updateDividendTracker(address) (MITO.sol#135-150):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (MITO.sol#142)
- newDividendTracker.excludeFromDividends(address(this)) (MITO.sol#143)
- newDividendTracker.excludeFromDividends(owner()) (MITO.sol#144)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (MITO.sol#145)
State variables written after the call(s):
- dividendTracker = newDividendTracker (MITO.sol#149)
Apply the check-effects-interactions pattern.
Additional information: link
MITO._transfer(address,address,uint256).iterations (MITO.sol#363) is a local variable never initialized
MITO._transfer(address,address,uint256).claims (MITO.sol#363) is a local variable never initialized
MITO._transfer(address,address,uint256).lastProcessedIndex (MITO.sol#363) 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
MITO.claim() (MITO.sol#286-288) ignores return value by dividendTracker.processAccount(msg.sender,false) (MITO.sol#287)
MITO._transfer(address,address,uint256) (MITO.sol#299-370) ignores return value by dividendTracker.process(gas) (MITO.sol#363-368)
MITO.addLiquidity(uint256,uint256) (MITO.sol#445-460) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
MITO.setBUSDRewardsFee(uint256) (MITO.sol#180-183) should emit an event for:
- BUSDRewardsFee = value (MITO.sol#181)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (MITO.sol#182)
MITO.setLiquiditFee(uint256) (MITO.sol#185-188) should emit an event for:
- liquidityFee = value (MITO.sol#186)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (MITO.sol#187)
MITO.setMarketingFee(uint256) (MITO.sol#190-194) should emit an event for:
- marketingFee = value (MITO.sol#191)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (MITO.sol#192)
Emit an event for critical parameter changes.
Additional information: link
MITO.updateUniswapV2Router(address)._uniswapV2Pair (MITO.sol#156-157) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (MITO.sol#158)
MITO.setMarketingWallet(address).wallet (MITO.sol#176) lacks a zero-check on :
- _marketingWalletAddress = wallet (MITO.sol#177)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'MITO._transfer(address,address,uint256).claims (MITO.sol#363)' in MITO._transfer(address,address,uint256) (MITO.sol#299-370) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MITO.sol#364)
Variable 'MITO._transfer(address,address,uint256).iterations (MITO.sol#363)' in MITO._transfer(address,address,uint256) (MITO.sol#299-370) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MITO.sol#364)
Variable 'MITO._transfer(address,address,uint256).lastProcessedIndex (MITO.sol#363)' in MITO._transfer(address,address,uint256) (MITO.sol#299-370) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MITO.sol#364)
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 MITO._transfer(address,address,uint256) (MITO.sol#299-370):
External calls:
- swapAndSendToFee(marketingTokens) (MITO.sol#326)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
External calls sending eth:
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (MITO.sol#329)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MITO._transfer(address,address,uint256) (MITO.sol#299-370):
External calls:
- swapAndSendToFee(marketingTokens) (MITO.sol#326)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (MITO.sol#465)
- dividendTracker.distributeBUSDDividends(dividends) (MITO.sol#468)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
External calls sending eth:
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MITO.constructor() (MITO.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MITO.sol#104-105)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (MITO.sol#108)
- uniswapV2Router = _uniswapV2Router (MITO.sol#107)
Reentrancy in MITO.constructor() (MITO.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MITO.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MITO.sol#110)
- dividendTracker.excludeFromDividends(pair) (MITO.sol#213)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (MITO.sol#113)
- dividendTracker.excludeFromDividends(address(this)) (MITO.sol#114)
- dividendTracker.excludeFromDividends(owner()) (MITO.sol#115)
- dividendTracker.excludeFromDividends(deadWallet) (MITO.sol#116)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (MITO.sol#117)
State variables written after the call(s):
- _mint(owner(),22000000 * (10 ** 18)) (MITO.sol#128)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (MITO.sol#120)
- _isExcludedFromFees[account] = excluded (MITO.sol#163)
- excludeFromFees(_marketingWalletAddress,true) (MITO.sol#121)
- _isExcludedFromFees[account] = excluded (MITO.sol#163)
- excludeFromFees(address(this),true) (MITO.sol#122)
- _isExcludedFromFees[account] = excluded (MITO.sol#163)
- _mint(owner(),22000000 * (10 ** 18)) (MITO.sol#128)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in MITODividendTracker.processAccount(address,bool) (MITO.sol#670-680):
External calls:
- amount = _withdrawDividendOfUser(account) (MITO.sol#671)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (MITO.sol#674)
Reentrancy in MITO.swapAndLiquify(uint256) (MITO.sol#381-402):
External calls:
- swapTokensForEth(half) (MITO.sol#393)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
- addLiquidity(otherHalf,newBalance) (MITO.sol#399)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (MITO.sol#399)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (MITO.sol#399)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in MITO.updateUniswapV2Router(address) (MITO.sol#152-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (MITO.sol#156-157)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (MITO.sol#158)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MITO._setAutomatedMarketMakerPair(address,bool) (MITO.sol#208-217):
External calls:
- dividendTracker.excludeFromDividends(pair) (MITO.sol#213)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (MITO.sol#216)
Reentrancy in MITO._transfer(address,address,uint256) (MITO.sol#299-370):
External calls:
- swapAndSendToFee(marketingTokens) (MITO.sol#326)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
External calls sending eth:
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- SwapAndLiquify(half,newBalance,otherHalf) (MITO.sol#401)
- swapAndLiquify(swapTokens) (MITO.sol#329)
Reentrancy in MITO._transfer(address,address,uint256) (MITO.sol#299-370):
External calls:
- swapAndSendToFee(marketingTokens) (MITO.sol#326)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (MITO.sol#465)
- dividendTracker.distributeBUSDDividends(dividends) (MITO.sol#468)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
External calls sending eth:
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- SendDividends(tokens,dividends) (MITO.sol#469)
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (MITO.sol#355)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (MITO.sol#352)
Reentrancy in MITO._transfer(address,address,uint256) (MITO.sol#299-370):
External calls:
- swapAndSendToFee(marketingTokens) (MITO.sol#326)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (MITO.sol#378)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
- swapAndSendDividends(sellTokens) (MITO.sol#332)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (MITO.sol#465)
- dividendTracker.distributeBUSDDividends(dividends) (MITO.sol#468)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- dividendTracker.setBalance(address(from),balanceOf(from)) (MITO.sol#357)
- dividendTracker.setBalance(address(to),balanceOf(to)) (MITO.sol#358)
- dividendTracker.process(gas) (MITO.sol#363-368)
External calls sending eth:
- swapAndLiquify(swapTokens) (MITO.sol#329)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (MITO.sol#364)
Reentrancy in MITO.constructor() (MITO.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MITO.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MITO.sol#110)
- dividendTracker.excludeFromDividends(pair) (MITO.sol#213)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (MITO.sol#216)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MITO.sol#110)
Reentrancy in MITO.constructor() (MITO.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (MITO.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (MITO.sol#110)
- dividendTracker.excludeFromDividends(pair) (MITO.sol#213)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (MITO.sol#113)
- dividendTracker.excludeFromDividends(address(this)) (MITO.sol#114)
- dividendTracker.excludeFromDividends(owner()) (MITO.sol#115)
- dividendTracker.excludeFromDividends(deadWallet) (MITO.sol#116)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (MITO.sol#117)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (MITO.sol#165)
- excludeFromFees(address(this),true) (MITO.sol#122)
- ExcludeFromFees(account,excluded) (MITO.sol#165)
- excludeFromFees(_marketingWalletAddress,true) (MITO.sol#121)
- ExcludeFromFees(account,excluded) (MITO.sol#165)
- excludeFromFees(owner(),true) (MITO.sol#120)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),22000000 * (10 ** 18)) (MITO.sol#128)
Reentrancy in MITODividendTracker.processAccount(address,bool) (MITO.sol#670-680):
External calls:
- amount = _withdrawDividendOfUser(account) (MITO.sol#671)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (MITO.sol#675)
Reentrancy in MITO.processDividendTracker(uint256) (MITO.sol#281-284):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (MITO.sol#282)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (MITO.sol#283)
Reentrancy in MITO.swapAndLiquify(uint256) (MITO.sol#381-402):
External calls:
- swapTokensForEth(half) (MITO.sol#393)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#416-422)
- addLiquidity(otherHalf,newBalance) (MITO.sol#399)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (MITO.sol#399)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (MITO.sol#451-458)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (MITO.sol#399)
- SwapAndLiquify(half,newBalance,otherHalf) (MITO.sol#401)
Reentrancy in MITO.swapAndSendDividends(uint256) (MITO.sol#462-471):
External calls:
- swapTokensForBusd(tokens) (MITO.sol#463)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (MITO.sol#436-442)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (MITO.sol#465)
- dividendTracker.distributeBUSDDividends(dividends) (MITO.sol#468)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (MITO.sol#469)
Reentrancy in MITO.updateDividendTracker(address) (MITO.sol#135-150):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (MITO.sol#142)
- newDividendTracker.excludeFromDividends(address(this)) (MITO.sol#143)
- newDividendTracker.excludeFromDividends(owner()) (MITO.sol#144)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (MITO.sol#145)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (MITO.sol#147)
Apply the check-effects-interactions pattern.
Additional information: link
MITODividendTracker.getAccount(address) (MITO.sol#534-577) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (MITO.sol#574-576)
MITODividendTracker.canAutoClaim(uint256) (MITO.sol#598-604) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (MITO.sol#599)
- block.timestamp.sub(lastClaimTime) >= claimWait (MITO.sol#603)
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#132-138) 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
MITO.totalFees (MITO.sol#48) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.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 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) 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 (MITO.sol#16) 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
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.BUSD (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) 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
Variable MITO.BUSD (MITO.sol#39) is not in mixedCase
Variable MITO._isBlacklisted (MITO.sol#43) is not in mixedCase
Variable MITO.BUSDRewardsFee (MITO.sol#45) is not in mixedCase
Variable MITO._marketingWalletAddress (MITO.sol#50) is not in mixedCase
Parameter MITODividendTracker.getAccount(address)._account (MITO.sol#534) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
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#77) is too similar to MITODividendTracker.getAccount(address).withdrawableDividends (MITO.sol#539)
Prevent variables from having similar names.
Additional information: link
MITO.constructor() (MITO.sol#97-129) uses literals with too many digits:
- _mint(owner(),22000000 * (10 ** 18)) (MITO.sol#128)
MITO.updateGasForProcessing(uint256) (MITO.sol#220-225) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,MITO: gasForProcessing must be between 200,000 and 500,000) (MITO.sol#221)
MITO.slitherConstructorVariables() (MITO.sol#27-472) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (MITO.sol#37)
MITO.slitherConstructorVariables() (MITO.sol#27-472) uses literals with too many digits:
- gasForProcessing = 300000 (MITO.sol#54)
MITODividendTracker.getAccountAtIndex(uint256) (MITO.sol#579-596) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (MITO.sol#590)
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
MITO.deadWallet (MITO.sol#37) should be constant
MITO.swapTokensAtAmount (MITO.sol#41) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (DividendPayingToken.sol#55-66)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
- MITODividendTracker.withdrawDividend() (MITO.sol#503-505)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
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)
updateDividendTracker(address) should be declared external:
- MITO.updateDividendTracker(address) (MITO.sol#135-150)
updateUniswapV2Router(address) should be declared external:
- MITO.updateUniswapV2Router(address) (MITO.sol#152-159)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- MITO.excludeMultipleAccountsFromFees(address[],bool) (MITO.sol#168-174)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- MITO.setAutomatedMarketMakerPair(address,bool) (MITO.sol#197-201)
updateGasForProcessing(uint256) should be declared external:
- MITO.updateGasForProcessing(uint256) (MITO.sol#220-225)
isExcludedFromFees(address) should be declared external:
- MITO.isExcludedFromFees(address) (MITO.sol#239-241)
withdrawableDividendOf(address) should be declared external:
- MITO.withdrawableDividendOf(address) (MITO.sol#243-245)
dividendTokenBalanceOf(address) should be declared external:
- MITO.dividendTokenBalanceOf(address) (MITO.sol#247-249)
getAccountAtIndex(uint256) should be declared external:
- MITODividendTracker.getAccountAtIndex(uint256) (MITO.sol#579-596)
process(uint256) should be declared external:
- MITODividendTracker.process(uint256) (MITO.sol#623-668)
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
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts