MetaDress is a Project to Provide Costumes for Avatars and Mind Blowing Avatars in the MetaVerse Universe
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MyTeamFinance.addLiquidity(uint256,uint256) (#3017-3030) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MyTeamFinance._transfer(address,address,uint256) (#2856-2944):
External calls:
- swapAndSendToFee(marketingTokens) (#2889)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
- swapAndSendDividends(sellTokens) (#2897)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#3035-3038)
- dividendTracker.distributeCAKEDividends(dividends) (#3041)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
External calls sending eth:
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2916)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#1413)
- _balances[recipient] = _balances[recipient].add(amount) (#1414)
- super._transfer(from,to,amount) (#2919)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#1413)
- _balances[recipient] = _balances[recipient].add(amount) (#1414)
- swapping = false (#2899)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20Upgradeable.__gap (#1505) shadows:
- ContextUpgradeable.__gap (#892)
OwnableUpgradeable.__gap (#1654) shadows:
- ContextUpgradeable.__gap (#892)
Remove the state variable shadowing.
Additional information: link
MyTeamFinance.swapAndSendToFee(uint256) (#2946-2956) ignores return value by IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
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) (#2354-2380):
External calls:
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#2364-2367)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#2370-2372)
Reentrancy in MyTeamFinance.updateDividendTracker(address) (#2638-2661):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#2653)
- newDividendTracker.excludeFromDividends(address(this)) (#2654)
- newDividendTracker.excludeFromDividends(owner()) (#2655)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#2656)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#2660)
Apply the check-effects-interactions pattern.
Additional information: link
MyTeamFinance._transfer(address,address,uint256).iterations (#2930) is a local variable never initialized
MyTeamFinance._transfer(address,address,uint256).lastProcessedIndex (#2932) is a local variable never initialized
MyTeamFinance._transfer(address,address,uint256).claims (#2931) 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
MyTeamFinance.claim() (#2844-2846) ignores return value by dividendTracker.processAccount(msg.sender,false) (#2845)
MyTeamFinance._transfer(address,address,uint256) (#2856-2944) ignores return value by dividendTracker.process(gas) (#2929-2942)
MyTeamFinance.addLiquidity(uint256,uint256) (#3017-3030) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.__DividendPayingToken_init(address,string,string)._name (#2325) shadows:
- ERC20Upgradeable._name (#1236) (state variable)
DividendPayingToken.__DividendPayingToken_init(address,string,string)._symbol (#2326) shadows:
- ERC20Upgradeable._symbol (#1237) (state variable)
DividendPayingToken.dividendOf(address)._owner (#2385) shadows:
- OwnableUpgradeable._owner (#1600) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#2392) shadows:
- OwnableUpgradeable._owner (#1600) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#2404) shadows:
- OwnableUpgradeable._owner (#1600) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#2418) shadows:
- OwnableUpgradeable._owner (#1600) (state variable)
Rename the local variables that shadow another component.
Additional information: link
MyTeamFinance.setSwapTokensAtAmount(uint256) (#2634-2636) should emit an event for:
- swapTokensAtAmount = amount (#2635)
MyTeamFinance.setTokenRewardsFee(uint256) (#2700-2703) should emit an event for:
- tokenRewardsFee = value (#2701)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (#2702)
MyTeamFinance.setLiquiditFee(uint256) (#2705-2708) should emit an event for:
- liquidityFee = value (#2706)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (#2707)
MyTeamFinance.setMarketingFee(uint256) (#2710-2713) should emit an event for:
- marketingFee = value (#2711)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (#2712)
Emit an event for critical parameter changes.
Additional information: link
MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256)._uniswapV2Pair (#2607-2608) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#2610)
MyTeamFinance.updateUniswapV2Router(address)._uniswapV2Pair (#2670-2671) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#2672)
MyTeamFinance.setMarketingWallet(address).wallet (#2696) lacks a zero-check on :
- _marketingWalletAddress = wallet (#2697)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#2354-2380) has external calls inside a loop: success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#2364-2367)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'MyTeamFinance._transfer(address,address,uint256).lastProcessedIndex (#2932)' in MyTeamFinance._transfer(address,address,uint256) (#2856-2944) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2934-2941)
Variable 'MyTeamFinance._transfer(address,address,uint256).iterations (#2930)' in MyTeamFinance._transfer(address,address,uint256) (#2856-2944) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2934-2941)
Variable 'MyTeamFinance._transfer(address,address,uint256).claims (#2931)' in MyTeamFinance._transfer(address,address,uint256) (#2856-2944) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2934-2941)
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 MyTeamFinance._transfer(address,address,uint256) (#2856-2944):
External calls:
- swapAndSendToFee(marketingTokens) (#2889)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
External calls sending eth:
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#2894)
- _allowances[owner][spender] = amount (#1475)
Reentrancy in MyTeamFinance._transfer(address,address,uint256) (#2856-2944):
External calls:
- swapAndSendToFee(marketingTokens) (#2889)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
- swapAndSendDividends(sellTokens) (#2897)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#3035-3038)
- dividendTracker.distributeCAKEDividends(dividends) (#3041)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
External calls sending eth:
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#2897)
- _allowances[owner][spender] = amount (#1475)
Reentrancy in MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256) (#2573-2630):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (#2600-2603)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#2607-2608)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#2610)
- uniswapV2Router = _uniswapV2Router (#2609)
Reentrancy in MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256) (#2573-2630):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (#2600-2603)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#2607-2608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#2611)
- dividendTracker.excludeFromDividends(pair) (#2739)
State variables written after the call(s):
- _marketingWalletAddress = addrs[3] (#2613)
Reentrancy in MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256) (#2573-2630):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (#2600-2603)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#2607-2608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#2611)
- dividendTracker.excludeFromDividends(pair) (#2739)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#2615)
- dividendTracker.excludeFromDividends(address(this)) (#2616)
- dividendTracker.excludeFromDividends(addrs[0]) (#2617)
- dividendTracker.excludeFromDividends(address(0xdead)) (#2618)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#2619)
State variables written after the call(s):
- _mint(addrs[0],totalSupply_) (#2628)
- _balances[account] = _balances[account].add(amount) (#1433)
- excludeFromFees(addrs[0],true) (#2621)
- _isExcludedFromFees[account] = excluded (#2680)
- excludeFromFees(_marketingWalletAddress,true) (#2622)
- _isExcludedFromFees[account] = excluded (#2680)
- excludeFromFees(address(this),true) (#2623)
- _isExcludedFromFees[account] = excluded (#2680)
- transferOwnership(addrs[0]) (#2629)
- _owner = newOwner (#1652)
- _mint(addrs[0],totalSupply_) (#2628)
- _totalSupply = _totalSupply.add(amount) (#1432)
Reentrancy in BABYTOKENDividendTracker.processAccount(address,bool) (#3281-3295):
External calls:
- amount = _withdrawDividendOfUser(account) (#3286)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#2364-2367)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#3289)
Reentrancy in MyTeamFinance.swapAndLiquify(uint256) (#2958-2979):
External calls:
- swapTokensForEth(half) (#2970)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
- addLiquidity(otherHalf,newBalance) (#2976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2976)
- _allowances[owner][spender] = amount (#1475)
Reentrancy in MyTeamFinance.updateUniswapV2Router(address) (#2663-2673):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#2670-2671)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#2672)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MyTeamFinance._setAutomatedMarketMakerPair(address,bool) (#2731-2743):
External calls:
- dividendTracker.excludeFromDividends(pair) (#2739)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#2742)
Reentrancy in MyTeamFinance._transfer(address,address,uint256) (#2856-2944):
External calls:
- swapAndSendToFee(marketingTokens) (#2889)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
External calls sending eth:
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1476)
- swapAndLiquify(swapTokens) (#2894)
- SwapAndLiquify(half,newBalance,otherHalf) (#2978)
- swapAndLiquify(swapTokens) (#2894)
Reentrancy in MyTeamFinance._transfer(address,address,uint256) (#2856-2944):
External calls:
- swapAndSendToFee(marketingTokens) (#2889)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
- swapAndSendDividends(sellTokens) (#2897)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#3035-3038)
- dividendTracker.distributeCAKEDividends(dividends) (#3041)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
External calls sending eth:
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1476)
- swapAndSendDividends(sellTokens) (#2897)
- SendDividends(tokens,dividends) (#3042)
- swapAndSendDividends(sellTokens) (#2897)
- Transfer(sender,recipient,amount) (#1415)
- super._transfer(from,to,amount) (#2919)
- Transfer(sender,recipient,amount) (#1415)
- super._transfer(from,address(this),fees) (#2916)
Reentrancy in MyTeamFinance._transfer(address,address,uint256) (#2856-2944):
External calls:
- swapAndSendToFee(marketingTokens) (#2889)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#2955)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
- swapAndSendDividends(sellTokens) (#2897)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#3035-3038)
- dividendTracker.distributeCAKEDividends(dividends) (#3041)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2921-2923)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2924)
- dividendTracker.process(gas) (#2929-2942)
External calls sending eth:
- swapAndLiquify(swapTokens) (#2894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2934-2941)
Reentrancy in MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256) (#2573-2630):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (#2600-2603)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#2607-2608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#2611)
- dividendTracker.excludeFromDividends(pair) (#2739)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#2742)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#2611)
Reentrancy in MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256) (#2573-2630):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (#2600-2603)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#2607-2608)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#2611)
- dividendTracker.excludeFromDividends(pair) (#2739)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#2615)
- dividendTracker.excludeFromDividends(address(this)) (#2616)
- dividendTracker.excludeFromDividends(addrs[0]) (#2617)
- dividendTracker.excludeFromDividends(address(0xdead)) (#2618)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#2619)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#2682)
- excludeFromFees(address(this),true) (#2623)
- ExcludeFromFees(account,excluded) (#2682)
- excludeFromFees(_marketingWalletAddress,true) (#2622)
- ExcludeFromFees(account,excluded) (#2682)
- excludeFromFees(addrs[0],true) (#2621)
- OwnershipTransferred(_owner,newOwner) (#1651)
- transferOwnership(addrs[0]) (#2629)
- Transfer(address(0),account,amount) (#1434)
- _mint(addrs[0],totalSupply_) (#2628)
Reentrancy in BABYTOKENDividendTracker.processAccount(address,bool) (#3281-3295):
External calls:
- amount = _withdrawDividendOfUser(account) (#3286)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#2364-2367)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#3290)
Reentrancy in MyTeamFinance.processDividendTracker(uint256) (#2828-2842):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#2829-2833)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#2834-2841)
Reentrancy in MyTeamFinance.swapAndLiquify(uint256) (#2958-2979):
External calls:
- swapTokensForEth(half) (#2970)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2990-2996)
- addLiquidity(otherHalf,newBalance) (#2976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#3022-3029)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1476)
- addLiquidity(otherHalf,newBalance) (#2976)
- SwapAndLiquify(half,newBalance,otherHalf) (#2978)
Reentrancy in MyTeamFinance.swapAndSendDividends(uint256) (#3032-3044):
External calls:
- swapTokensForCake(tokens) (#3033)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#3008-3014)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#3035-3038)
- dividendTracker.distributeCAKEDividends(dividends) (#3041)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#3042)
Reentrancy in MyTeamFinance.updateDividendTracker(address) (#2638-2661):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#2653)
- newDividendTracker.excludeFromDividends(address(this)) (#2654)
- newDividendTracker.excludeFromDividends(owner()) (#2655)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#2656)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#2658)
Apply the check-effects-interactions pattern.
Additional information: link
BABYTOKENDividendTracker.getAccount(address) (#3130-3177) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#3174-3176)
BABYTOKENDividendTracker.canAutoClaim(uint256) (#3202-3208) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#3203)
- block.timestamp.sub(lastClaimTime) >= claimWait (#3207)
Avoid relying on block.timestamp.
Additional information: link
AddressUpgradeable.isContract(address) (#661-670) uses assembly
- INLINE ASM (#668)
AddressUpgradeable._verifyCallResult(bool,bytes,string) (#782-799) uses assembly
- INLINE ASM (#791-794)
Clones.clone(address) (#1682-1692) uses assembly
- INLINE ASM (#1684-1690)
Clones.cloneDeterministic(address,bytes32) (#1701-1711) uses assembly
- INLINE ASM (#1703-1709)
Clones.predictDeterministicAddress(address,bytes32,address) (#1716-1728) uses assembly
- INLINE ASM (#1718-1727)
Do not use evm assembly.
Additional information: link
AddressUpgradeable._verifyCallResult(bool,bytes,string) (#782-799) is never used and should be removed
AddressUpgradeable.functionCall(address,bytes) (#714-716) is never used and should be removed
AddressUpgradeable.functionCall(address,bytes,string) (#724-726) is never used and should be removed
AddressUpgradeable.functionCallWithValue(address,bytes,uint256) (#739-741) is never used and should be removed
AddressUpgradeable.functionCallWithValue(address,bytes,uint256,string) (#749-756) is never used and should be removed
AddressUpgradeable.functionStaticCall(address,bytes) (#764-766) is never used and should be removed
AddressUpgradeable.functionStaticCall(address,bytes,string) (#774-780) is never used and should be removed
AddressUpgradeable.sendValue(address,uint256) (#688-694) is never used and should be removed
Clones.cloneDeterministic(address,bytes32) (#1701-1711) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32) (#1733-1735) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32,address) (#1716-1728) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
ContextUpgradeable.__Context_init() (#878-880) is never used and should be removed
ContextUpgradeable._msgData() (#888-891) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#2437-2452) is never used and should be removed
ERC20._burn(address,uint256) (#575-583) is never used and should be removed
ERC20._mint(address,uint256) (#554-562) is never used and should be removed
ERC20._setupDecimals(uint8) (#613-615) is never used and should be removed
ERC20Upgradeable._setupDecimals(uint8) (#1486-1488) is never used and should be removed
SafeMath.div(uint256,uint256) (#244-247) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#299-302) is never used and should be removed
SafeMath.mod(uint256,uint256) (#261-264) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#319-322) is never used and should be removed
SafeMath.mul(uint256,uint256) (#225-230) is never used and should be removed
SafeMath.sub(uint256,uint256) (#210-213) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#133-137) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#169-172) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#179-182) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#154-162) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#144-147) is never used and should be removed
SafeMathInt.abs(int256) (#2096-2099) is never used and should be removed
SafeMathInt.div(int256,int256) (#2067-2073) is never used and should be removed
SafeMathInt.mul(int256,int256) (#2055-2062) is never used and should be removed
SafeMathUpgradeable.div(uint256,uint256,string) (#1166-1169) is never used and should be removed
SafeMathUpgradeable.mod(uint256,uint256) (#1128-1131) is never used and should be removed
SafeMathUpgradeable.mod(uint256,uint256,string) (#1186-1189) is never used and should be removed
SafeMathUpgradeable.tryAdd(uint256,uint256) (#1000-1004) is never used and should be removed
SafeMathUpgradeable.tryDiv(uint256,uint256) (#1036-1039) is never used and should be removed
SafeMathUpgradeable.tryMod(uint256,uint256) (#1046-1049) is never used and should be removed
SafeMathUpgradeable.tryMul(uint256,uint256) (#1021-1029) is never used and should be removed
SafeMathUpgradeable.trySub(uint256,uint256) (#1011-1014) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in AddressUpgradeable.sendValue(address,uint256) (#688-694):
- (success) = recipient.call{value: amount}() (#692)
Low level call in AddressUpgradeable.functionCallWithValue(address,bytes,uint256,string) (#749-756):
- (success,returndata) = target.call{value: value}(data) (#754)
Low level call in AddressUpgradeable.functionStaticCall(address,bytes,string) (#774-780):
- (success,returndata) = target.staticcall(data) (#778)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function ContextUpgradeable.__Context_init() (#878-880) is not in mixedCase
Function ContextUpgradeable.__Context_init_unchained() (#882-883) is not in mixedCase
Variable ContextUpgradeable.__gap (#892) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init(string,string) (#1249-1252) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init_unchained(string,string) (#1254-1258) is not in mixedCase
Variable ERC20Upgradeable.__gap (#1505) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init() (#1607-1610) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init_unchained() (#1612-1616) is not in mixedCase
Variable OwnableUpgradeable.__gap (#1654) is not in mixedCase
Function IUniswapV2Router01.WETH() (#1781) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#2004) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#2005) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#2022) is not in mixedCase
Function DividendPayingToken.__DividendPayingToken_init(address,string,string) (#2323-2331) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (#2324) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._name (#2325) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._symbol (#2326) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#2385) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#2392) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#2404) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#2418) is not in mixedCase
Constant DividendPayingToken.magnitude (#2303) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MyTeamFinance._isBlacklisted (#2508) is not in mixedCase
Variable MyTeamFinance._marketingWalletAddress (#2515) is not in mixedCase
Parameter BABYTOKENDividendTracker.getAccount(address)._account (#3130) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Redundant expression "this (#889)" inContextUpgradeable (#877-893)
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 (#1786) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1787)
Variable ERC20Upgradeable._totalSupply (#1234) is too similar to MyTeamFinance.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256).totalSupply_ (#2577)
Variable ERC20Upgradeable._totalSupply (#1234) is too similar to IBabyToken.initialize(address[4],string,string,uint256,uint256,uint256,uint256,uint256).totalSupply_ (#2199)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#2358) is too similar to BABYTOKENDividendTracker.getAccount(address).withdrawableDividends (#3137)
Variable DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (#2324) is too similar to BABYTOKENDividendTracker.initialize(address,uint256).rewardToken_ (#3072)
Prevent variables from having similar names.
Additional information: link
Clones.clone(address) (#1682-1692) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (#1686)
Clones.clone(address) (#1682-1692) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (#1688)
Clones.cloneDeterministic(address,bytes32) (#1701-1711) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (#1705)
Clones.cloneDeterministic(address,bytes32) (#1701-1711) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (#1707)
Clones.predictDeterministicAddress(address,bytes32,address) (#1716-1728) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (#1720)
Clones.predictDeterministicAddress(address,bytes32,address) (#1716-1728) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) (#1722)
MyTeamFinance.updateGasForProcessing(uint256) (#2745-2756) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,MyTeamFinance: gasForProcessing must be between 200,000 and 500,000) (#2746-2749)
MyTeamFinance.slitherConstructorVariables() (#2493-3045) uses literals with too many digits:
- gasForProcessing = 300000 (#2518)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#2050) is never used in SafeMathInt (#2048-2106)
OwnableUpgradeable.__gap (#1654) is never used in MyTeamFinance (#2493-3045)
OwnableUpgradeable.__gap (#1654) is never used in BABYTOKENDividendTracker (#3047-3297)
Remove unused state variables.
Additional information: link
name() should be declared external:
- ERC20.name() (#390-392)
symbol() should be declared external:
- ERC20.symbol() (#398-400)
decimals() should be declared external:
- ERC20.decimals() (#415-417)
totalSupply() should be declared external:
- ERC20.totalSupply() (#422-424)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#429-431)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#441-444)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#449-451)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#460-463)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#478-482)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#496-499)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#515-518)
name() should be declared external:
- ERC20Upgradeable.name() (#1263-1265)
symbol() should be declared external:
- ERC20Upgradeable.symbol() (#1271-1273)
decimals() should be declared external:
- ERC20Upgradeable.decimals() (#1288-1290)
transfer(address,uint256) should be declared external:
- ERC20Upgradeable.transfer(address,uint256) (#1314-1317)
allowance(address,address) should be declared external:
- ERC20Upgradeable.allowance(address,address) (#1322-1324)
approve(address,uint256) should be declared external:
- ERC20Upgradeable.approve(address,uint256) (#1333-1336)
transferFrom(address,address,uint256) should be declared external:
- ERC20Upgradeable.transferFrom(address,address,uint256) (#1351-1355)
increaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.increaseAllowance(address,uint256) (#1369-1372)
decreaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.decreaseAllowance(address,uint256) (#1388-1391)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1563-1566)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1572-1576)
renounceOwnership() should be declared external:
- OwnableUpgradeable.renounceOwnership() (#1640-1643)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#2138-2140)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#2142-2147)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#2149-2151)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#2155-2157)
distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (#2333-2344)
withdrawDividend() should be declared external:
- BABYTOKENDividendTracker.withdrawDividend() (#3092-3097)
- DividendPayingToken.withdrawDividend() (#2348-2350)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#2385-2387)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#2404-2411)
updateDividendTracker(address) should be declared external:
- MyTeamFinance.updateDividendTracker(address) (#2638-2661)
updateUniswapV2Router(address) should be declared external:
- MyTeamFinance.updateUniswapV2Router(address) (#2663-2673)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- MyTeamFinance.excludeMultipleAccountsFromFees(address[],bool) (#2685-2694)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- MyTeamFinance.setAutomatedMarketMakerPair(address,bool) (#2715-2725)
updateGasForProcessing(uint256) should be declared external:
- MyTeamFinance.updateGasForProcessing(uint256) (#2745-2756)
isExcludedFromFees(address) should be declared external:
- MyTeamFinance.isExcludedFromFees(address) (#2770-2772)
withdrawableDividendOf(address) should be declared external:
- MyTeamFinance.withdrawableDividendOf(address) (#2774-2780)
dividendTokenBalanceOf(address) should be declared external:
- MyTeamFinance.dividendTokenBalanceOf(address) (#2782-2788)
getAccountAtIndex(uint256) should be declared external:
- BABYTOKENDividendTracker.getAccountAtIndex(uint256) (#3179-3200)
process(uint256) should be declared external:
- BABYTOKENDividendTracker.process(uint256) (#3227-3279)
Use the external attribute for functions never called from the contract.
Additional information: link
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 crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account