Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BABYTOKEN.addLiquidity(uint256,uint256) (contracts/BABYTOKEN.sol#3125-3138) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
BABYTOKENV2.addLiquidity(uint256,uint256) (contracts/BABYTOKENV2.sol#982-995) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKEN.sol#2997)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKEN.sol#3143-3146)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKEN.sol#3149)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (contracts/BABYTOKEN.sol#3024)
- _balances[sender] = senderBalance - amount (contracts/BABYTOKEN.sol#379)
- _balances[recipient] += amount (contracts/BABYTOKEN.sol#381)
- super._transfer(from,to,amount) (contracts/BABYTOKEN.sol#3027)
- _balances[sender] = senderBalance - amount (contracts/BABYTOKEN.sol#379)
- _balances[recipient] += amount (contracts/BABYTOKEN.sol#381)
- swapping = false (contracts/BABYTOKEN.sol#3007)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success2 = IERC20(rewardToken2).transfer(address(dividendTracker2),dividends2) (contracts/BABYTOKENV2.sol#1014-1017)
- dividendTracker2.distributeCAKEDividends(dividends2) (contracts/BABYTOKENV2.sol#1020)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (contracts/BABYTOKENV2.sol#829)
- _balances[sender] = senderBalance - amount (contracts/BABYTOKEN.sol#379)
- _balances[recipient] += amount (contracts/BABYTOKEN.sol#381)
- super._transfer(from,to,amount) (contracts/BABYTOKENV2.sol#832)
- _balances[sender] = senderBalance - amount (contracts/BABYTOKEN.sol#379)
- _balances[recipient] += amount (contracts/BABYTOKEN.sol#381)
- swapping = false (contracts/BABYTOKENV2.sol#812)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20Upgradeable.__gap (contracts/BABYTOKEN.sol#1697) shadows:
- ContextUpgradeable.__gap (contracts/BABYTOKEN.sol#1332)
OwnableUpgradeable.__gap (contracts/BABYTOKEN.sol#1778) shadows:
- ContextUpgradeable.__gap (contracts/BABYTOKEN.sol#1332)
Remove the state variable shadowing.
Additional information: link
BABYTOKEN.swapAndSendToFee(uint256) (contracts/BABYTOKEN.sol#3054-3064) ignores return value by IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
BABYTOKENV2.swapAndSendToFee(uint256) (contracts/BABYTOKENV2.sol#893-903) ignores return value by IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
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 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.
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.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (contracts/BABYTOKEN.sol#2141-2167):
External calls:
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/BABYTOKEN.sol#2151-2154)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (contracts/BABYTOKEN.sol#2157-2159)
Reentrancy in BABYTOKENV2.transferOwnership(address) (contracts/BABYTOKENV2.sol#433-438):
External calls:
- dividendTracker.excludeFromDividends(newOwner) (contracts/BABYTOKENV2.sol#435)
- dividendTracker2.excludeFromDividends(newOwner) (contracts/BABYTOKENV2.sol#436)
State variables written after the call(s):
- super.transferOwnership(newOwner) (contracts/BABYTOKENV2.sol#437)
- _owner = newOwner (contracts/BABYTOKEN.sol#572)
Reentrancy in BABYTOKEN.updateDividendTracker(address) (contracts/BABYTOKEN.sol#2728-2751):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BABYTOKEN.sol#2743)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKEN.sol#2744)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKEN.sol#2745)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BABYTOKEN.sol#2746)
State variables written after the call(s):
- dividendTracker = newDividendTracker (contracts/BABYTOKEN.sol#2750)
Reentrancy in BABYTOKENV2.updateDividendTracker(address) (contracts/BABYTOKENV2.sol#446-470):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BABYTOKENV2.sol#461)
- newDividendTracker.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#462)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#463)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#464)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BABYTOKENV2.sol#465)
State variables written after the call(s):
- dividendTracker = newDividendTracker (contracts/BABYTOKENV2.sol#469)
Reentrancy in BABYTOKENV2.updateDividendTracker2(address) (contracts/BABYTOKENV2.sol#472-496):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BABYTOKENV2.sol#487)
- newDividendTracker.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#488)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#489)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#490)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BABYTOKENV2.sol#491)
State variables written after the call(s):
- dividendTracker2 = newDividendTracker (contracts/BABYTOKENV2.sol#495)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKEN.sol#2997)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKEN.sol#2997)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKEN.sol#3143-3146)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKEN.sol#3149)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success2 = IERC20(rewardToken2).transfer(address(dividendTracker2),dividends2) (contracts/BABYTOKENV2.sol#1014-1017)
- dividendTracker2.distributeCAKEDividends(dividends2) (contracts/BABYTOKENV2.sol#1020)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (contracts/BABYTOKEN.sol#2658-2720):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKEN.sol#2688-2691)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKEN.sol#2695-2696)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKEN.sol#2698)
- uniswapV2Router = _uniswapV2Router (contracts/BABYTOKEN.sol#2697)
Reentrancy in BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (contracts/BABYTOKEN.sol#2658-2720):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKEN.sol#2688-2691)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKEN.sol#2695-2696)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKEN.sol#2699)
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKEN.sol#2828)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/BABYTOKEN.sol#2702)
- dividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKEN.sol#2703)
- dividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKEN.sol#2704)
- dividendTracker.excludeFromDividends(address(0xdead)) (contracts/BABYTOKEN.sol#2705)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/BABYTOKEN.sol#2706)
State variables written after the call(s):
- _mint(owner(),totalSupply_) (contracts/BABYTOKEN.sol#2715)
- _balances[account] += amount (contracts/BABYTOKEN.sol#403)
- excludeFromFees(owner(),true) (contracts/BABYTOKEN.sol#2708)
- _isExcludedFromFees[account] = excluded (contracts/BABYTOKEN.sol#2770)
- excludeFromFees(_marketingWalletAddress,true) (contracts/BABYTOKEN.sol#2709)
- _isExcludedFromFees[account] = excluded (contracts/BABYTOKEN.sol#2770)
- excludeFromFees(address(this),true) (contracts/BABYTOKEN.sol#2710)
- _isExcludedFromFees[account] = excluded (contracts/BABYTOKEN.sol#2770)
- _mint(owner(),totalSupply_) (contracts/BABYTOKEN.sol#2715)
- _totalSupply += amount (contracts/BABYTOKEN.sol#402)
Reentrancy in BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256) (contracts/BABYTOKENV2.sol#359-431):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#384-387)
State variables written after the call(s):
- dividendTracker2 = BABYTOKENDividendTrackerV2(address(Clones.clone(addrs[3]))) (contracts/BABYTOKENV2.sol#388-390)
Reentrancy in BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256) (contracts/BABYTOKENV2.sol#359-431):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#384-387)
- dividendTracker2.initialize(rewardToken2,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#391-394)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKENV2.sol#398-399)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKENV2.sol#401)
- uniswapV2Router = _uniswapV2Router (contracts/BABYTOKENV2.sol#400)
Reentrancy in BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256) (contracts/BABYTOKENV2.sol#359-431):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#384-387)
- dividendTracker2.initialize(rewardToken2,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#391-394)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKENV2.sol#398-399)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKENV2.sol#402)
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#573)
- dividendTracker2.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#574)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/BABYTOKENV2.sol#405)
- dividendTracker.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#406)
- dividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#407)
- dividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#408)
- dividendTracker.excludeFromDividends(address(0xdead)) (contracts/BABYTOKENV2.sol#409)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/BABYTOKENV2.sol#410)
- dividendTracker2.excludeFromDividends(address(dividendTracker)) (contracts/BABYTOKENV2.sol#412)
- dividendTracker2.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#413)
- dividendTracker2.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#414)
- dividendTracker2.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#415)
- dividendTracker2.excludeFromDividends(address(0xdead)) (contracts/BABYTOKENV2.sol#416)
- dividendTracker2.excludeFromDividends(address(_uniswapV2Router)) (contracts/BABYTOKENV2.sol#417)
State variables written after the call(s):
- _mint(owner(),totalSupply_) (contracts/BABYTOKENV2.sol#428)
- _balances[account] += amount (contracts/BABYTOKEN.sol#403)
- excludeFromFees(owner(),true) (contracts/BABYTOKENV2.sol#419)
- _isExcludedFromFees[account] = excluded (contracts/BABYTOKENV2.sol#515)
- excludeFromFees(_marketingWalletAddress,true) (contracts/BABYTOKENV2.sol#421)
- _isExcludedFromFees[account] = excluded (contracts/BABYTOKENV2.sol#515)
- excludeFromFees(address(this),true) (contracts/BABYTOKENV2.sol#423)
- _isExcludedFromFees[account] = excluded (contracts/BABYTOKENV2.sol#515)
- _mint(owner(),totalSupply_) (contracts/BABYTOKENV2.sol#428)
- _totalSupply += amount (contracts/BABYTOKEN.sol#402)
Reentrancy in BABYTOKENDividendTracker.processAccount(address,bool) (contracts/BABYTOKEN.sol#2527-2541):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/BABYTOKEN.sol#2532)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/BABYTOKEN.sol#2151-2154)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (contracts/BABYTOKEN.sol#2535)
Reentrancy in BABYTOKENDividendTrackerV2.processAccount(address,bool) (contracts/BABYTOKENV2.sol#256-270):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/BABYTOKENV2.sol#261)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/BABYTOKEN.sol#2151-2154)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (contracts/BABYTOKENV2.sol#264)
Reentrancy in BABYTOKEN.swapAndLiquify(uint256) (contracts/BABYTOKEN.sol#3066-3087):
External calls:
- swapTokensForEth(half) (contracts/BABYTOKEN.sol#3078)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKEN.sol#3084)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKEN.sol#3084)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKEN.sol#3084)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKENV2.swapAndLiquify(uint256) (contracts/BABYTOKENV2.sol#905-926):
External calls:
- swapTokensForEth(half) (contracts/BABYTOKENV2.sol#917)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKENV2.sol#923)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKENV2.sol#923)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKENV2.sol#923)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKENV2.swapAndSendDividends(uint256) (contracts/BABYTOKENV2.sol#997-1023):
External calls:
- swapTokensForCake(half) (contracts/BABYTOKENV2.sol#999)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- swapTokensForCake2(otherHalf) (contracts/BABYTOKENV2.sol#1012)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
State variables written after the call(s):
- swapTokensForCake2(otherHalf) (contracts/BABYTOKENV2.sol#1012)
- _allowances[owner][spender] = amount (contracts/BABYTOKEN.sol#458)
Reentrancy in BABYTOKEN.updateUniswapV2Router(address) (contracts/BABYTOKEN.sol#2753-2763):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (contracts/BABYTOKEN.sol#2760-2761)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKEN.sol#2762)
Reentrancy in BABYTOKENV2.updateUniswapV2Router(address) (contracts/BABYTOKENV2.sol#498-508):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (contracts/BABYTOKENV2.sol#505-506)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKENV2.sol#507)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BABYTOKEN._setAutomatedMarketMakerPair(address,bool) (contracts/BABYTOKEN.sol#2820-2832):
External calls:
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKEN.sol#2828)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/BABYTOKEN.sol#2831)
Reentrancy in BABYTOKENV2._setAutomatedMarketMakerPair(address,bool) (contracts/BABYTOKENV2.sol#565-578):
External calls:
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#573)
- dividendTracker2.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#574)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/BABYTOKENV2.sol#577)
Reentrancy in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKEN.sol#2997)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/BABYTOKEN.sol#3086)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
Reentrancy in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKEN.sol#2997)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKEN.sol#3143-3146)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKEN.sol#3149)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- SendDividends(tokens,dividends) (contracts/BABYTOKEN.sol#3150)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- Transfer(sender,recipient,amount) (contracts/BABYTOKEN.sol#383)
- super._transfer(from,address(this),fees) (contracts/BABYTOKEN.sol#3024)
- Transfer(sender,recipient,amount) (contracts/BABYTOKEN.sol#383)
- super._transfer(from,to,amount) (contracts/BABYTOKEN.sol#3027)
Reentrancy in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKEN.sol#2997)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKEN.sol#3063)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKEN.sol#3005)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKEN.sol#3143-3146)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKEN.sol#3149)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- dividendTracker.setBalance(address(from),balanceOf(from)) (contracts/BABYTOKEN.sol#3029-3031)
- dividendTracker.setBalance(address(to),balanceOf(to)) (contracts/BABYTOKEN.sol#3032)
- dividendTracker.process(gas) (contracts/BABYTOKEN.sol#3037-3050)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKEN.sol#3002)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKEN.sol#3042-3049)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/BABYTOKENV2.sol#925)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success2 = IERC20(rewardToken2).transfer(address(dividendTracker2),dividends2) (contracts/BABYTOKENV2.sol#1014-1017)
- dividendTracker2.distributeCAKEDividends(dividends2) (contracts/BABYTOKENV2.sol#1020)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- SendDividends(rewardToken,half,dividends) (contracts/BABYTOKENV2.sol#1008)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- SendDividends(rewardToken2,otherHalf,dividends2) (contracts/BABYTOKENV2.sol#1021)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- Transfer(sender,recipient,amount) (contracts/BABYTOKEN.sol#383)
- super._transfer(from,to,amount) (contracts/BABYTOKENV2.sol#832)
- Transfer(sender,recipient,amount) (contracts/BABYTOKEN.sol#383)
- super._transfer(from,address(this),fees) (contracts/BABYTOKENV2.sol#829)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success2 = IERC20(rewardToken2).transfer(address(dividendTracker2),dividends2) (contracts/BABYTOKENV2.sol#1014-1017)
- dividendTracker2.distributeCAKEDividends(dividends2) (contracts/BABYTOKENV2.sol#1020)
- dividendTracker.setBalance(address(from),balanceOf(from),false) (contracts/BABYTOKENV2.sol#835-837)
- dividendTracker.setBalance(address(to),balanceOf(to),false) (contracts/BABYTOKENV2.sol#838)
- dividendTracker2.setBalance(address(from),balanceOf(from),true) (contracts/BABYTOKENV2.sol#840-842)
- dividendTracker2.setBalance(address(to),balanceOf(to),true) (contracts/BABYTOKENV2.sol#843)
- dividendTracker.setBalance(address(from),balanceOf(from),true) (contracts/BABYTOKENV2.sol#845-847)
- dividendTracker.setBalance(address(to),balanceOf(to),true) (contracts/BABYTOKENV2.sol#848)
- dividendTracker2.setBalance(address(from),balanceOf(from),false) (contracts/BABYTOKENV2.sol#850-852)
- dividendTracker2.setBalance(address(to),balanceOf(to),false) (contracts/BABYTOKENV2.sol#853)
- dividendTracker2.process(gas) (contracts/BABYTOKENV2.sol#859-872)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Event emitted after the call(s):
- ProcessedDividendTracker2(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#864-871)
Reentrancy in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891):
External calls:
- swapAndSendToFee(marketingTokens) (contracts/BABYTOKENV2.sol#802)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/BABYTOKENV2.sol#902)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- swapAndSendDividends(sellTokens) (contracts/BABYTOKENV2.sol#810)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success2 = IERC20(rewardToken2).transfer(address(dividendTracker2),dividends2) (contracts/BABYTOKENV2.sol#1014-1017)
- dividendTracker2.distributeCAKEDividends(dividends2) (contracts/BABYTOKENV2.sol#1020)
- dividendTracker.setBalance(address(from),balanceOf(from),false) (contracts/BABYTOKENV2.sol#835-837)
- dividendTracker.setBalance(address(to),balanceOf(to),false) (contracts/BABYTOKENV2.sol#838)
- dividendTracker2.setBalance(address(from),balanceOf(from),true) (contracts/BABYTOKENV2.sol#840-842)
- dividendTracker2.setBalance(address(to),balanceOf(to),true) (contracts/BABYTOKENV2.sol#843)
- dividendTracker.setBalance(address(from),balanceOf(from),true) (contracts/BABYTOKENV2.sol#845-847)
- dividendTracker.setBalance(address(to),balanceOf(to),true) (contracts/BABYTOKENV2.sol#848)
- dividendTracker2.setBalance(address(from),balanceOf(from),false) (contracts/BABYTOKENV2.sol#850-852)
- dividendTracker2.setBalance(address(to),balanceOf(to),false) (contracts/BABYTOKENV2.sol#853)
- dividendTracker.process(gas) (contracts/BABYTOKENV2.sol#874-887)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BABYTOKENV2.sol#807)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#879-886)
Reentrancy in BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (contracts/BABYTOKEN.sol#2658-2720):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKEN.sol#2688-2691)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKEN.sol#2695-2696)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKEN.sol#2699)
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKEN.sol#2828)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/BABYTOKEN.sol#2831)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKEN.sol#2699)
Reentrancy in BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (contracts/BABYTOKEN.sol#2658-2720):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKEN.sol#2688-2691)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKEN.sol#2695-2696)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKEN.sol#2699)
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKEN.sol#2828)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/BABYTOKEN.sol#2702)
- dividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKEN.sol#2703)
- dividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKEN.sol#2704)
- dividendTracker.excludeFromDividends(address(0xdead)) (contracts/BABYTOKEN.sol#2705)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/BABYTOKEN.sol#2706)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (contracts/BABYTOKEN.sol#2772)
- excludeFromFees(_marketingWalletAddress,true) (contracts/BABYTOKEN.sol#2709)
- ExcludeFromFees(account,excluded) (contracts/BABYTOKEN.sol#2772)
- excludeFromFees(owner(),true) (contracts/BABYTOKEN.sol#2708)
- ExcludeFromFees(account,excluded) (contracts/BABYTOKEN.sol#2772)
- excludeFromFees(address(this),true) (contracts/BABYTOKEN.sol#2710)
- TokenCreated(owner(),address(this),TokenType.baby,VERSION) (contracts/BABYTOKEN.sol#2717)
- Transfer(address(0),account,amount) (contracts/BABYTOKEN.sol#404)
- _mint(owner(),totalSupply_) (contracts/BABYTOKEN.sol#2715)
Reentrancy in BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256) (contracts/BABYTOKENV2.sol#359-431):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#384-387)
- dividendTracker2.initialize(rewardToken2,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#391-394)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKENV2.sol#398-399)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKENV2.sol#402)
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#573)
- dividendTracker2.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#574)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/BABYTOKENV2.sol#577)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKENV2.sol#402)
Reentrancy in BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256) (contracts/BABYTOKENV2.sol#359-431):
External calls:
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#384-387)
- dividendTracker2.initialize(rewardToken2,minimumTokenBalanceForDividends_) (contracts/BABYTOKENV2.sol#391-394)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/BABYTOKENV2.sol#398-399)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/BABYTOKENV2.sol#402)
- dividendTracker.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#573)
- dividendTracker2.excludeFromDividends(pair) (contracts/BABYTOKENV2.sol#574)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/BABYTOKENV2.sol#405)
- dividendTracker.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#406)
- dividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#407)
- dividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#408)
- dividendTracker.excludeFromDividends(address(0xdead)) (contracts/BABYTOKENV2.sol#409)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/BABYTOKENV2.sol#410)
- dividendTracker2.excludeFromDividends(address(dividendTracker)) (contracts/BABYTOKENV2.sol#412)
- dividendTracker2.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#413)
- dividendTracker2.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#414)
- dividendTracker2.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#415)
- dividendTracker2.excludeFromDividends(address(0xdead)) (contracts/BABYTOKENV2.sol#416)
- dividendTracker2.excludeFromDividends(address(_uniswapV2Router)) (contracts/BABYTOKENV2.sol#417)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (contracts/BABYTOKENV2.sol#517)
- excludeFromFees(owner(),true) (contracts/BABYTOKENV2.sol#419)
- ExcludeFromFees(account,excluded) (contracts/BABYTOKENV2.sol#517)
- excludeFromFees(address(this),true) (contracts/BABYTOKENV2.sol#423)
- ExcludeFromFees(account,excluded) (contracts/BABYTOKENV2.sol#517)
- excludeFromFees(_marketingWalletAddress,true) (contracts/BABYTOKENV2.sol#421)
- TokenCreated(owner(),address(this),TokenType.baby,VERSION) (contracts/BABYTOKENV2.sol#430)
- Transfer(address(0),account,amount) (contracts/BABYTOKEN.sol#404)
- _mint(owner(),totalSupply_) (contracts/BABYTOKENV2.sol#428)
Reentrancy in BABYTOKENDividendTracker.processAccount(address,bool) (contracts/BABYTOKEN.sol#2527-2541):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/BABYTOKEN.sol#2532)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/BABYTOKEN.sol#2151-2154)
Event emitted after the call(s):
- Claim(account,amount,automatic) (contracts/BABYTOKEN.sol#2536)
Reentrancy in BABYTOKENDividendTrackerV2.processAccount(address,bool) (contracts/BABYTOKENV2.sol#256-270):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/BABYTOKENV2.sol#261)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/BABYTOKEN.sol#2151-2154)
Event emitted after the call(s):
- Claim(account,amount,automatic) (contracts/BABYTOKENV2.sol#265)
Reentrancy in BABYTOKEN.processDividendTracker(uint256) (contracts/BABYTOKEN.sol#2940-2954):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (contracts/BABYTOKEN.sol#2941-2945)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (contracts/BABYTOKEN.sol#2946-2953)
Reentrancy in BABYTOKENV2.processDividendTracker(uint256) (contracts/BABYTOKENV2.sol#728-742):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (contracts/BABYTOKENV2.sol#729-733)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (contracts/BABYTOKENV2.sol#734-741)
Reentrancy in BABYTOKENV2.processDividendTracker2(uint256) (contracts/BABYTOKENV2.sol#744-758):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker2.process(gas) (contracts/BABYTOKENV2.sol#745-749)
Event emitted after the call(s):
- ProcessedDividendTracker2(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (contracts/BABYTOKENV2.sol#750-757)
Reentrancy in BABYTOKEN.swapAndLiquify(uint256) (contracts/BABYTOKEN.sol#3066-3087):
External calls:
- swapTokensForEth(half) (contracts/BABYTOKEN.sol#3078)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3098-3104)
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKEN.sol#3084)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKEN.sol#3084)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKEN.sol#3084)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/BABYTOKEN.sol#3086)
Reentrancy in BABYTOKENV2.swapAndLiquify(uint256) (contracts/BABYTOKENV2.sol#905-926):
External calls:
- swapTokensForEth(half) (contracts/BABYTOKENV2.sol#917)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#937-943)
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKENV2.sol#923)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKENV2.sol#923)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- addLiquidity(otherHalf,newBalance) (contracts/BABYTOKENV2.sol#923)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/BABYTOKENV2.sol#925)
Reentrancy in BABYTOKEN.swapAndSendDividends(uint256) (contracts/BABYTOKEN.sol#3140-3152):
External calls:
- swapTokensForCake(tokens) (contracts/BABYTOKEN.sol#3141)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKEN.sol#3116-3122)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKEN.sol#3143-3146)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKEN.sol#3149)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (contracts/BABYTOKEN.sol#3150)
Reentrancy in BABYTOKENV2.swapAndSendDividends(uint256) (contracts/BABYTOKENV2.sol#997-1023):
External calls:
- swapTokensForCake(half) (contracts/BABYTOKENV2.sol#999)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
Event emitted after the call(s):
- SendDividends(rewardToken,half,dividends) (contracts/BABYTOKENV2.sol#1008)
Reentrancy in BABYTOKENV2.swapAndSendDividends(uint256) (contracts/BABYTOKENV2.sol#997-1023):
External calls:
- swapTokensForCake(half) (contracts/BABYTOKENV2.sol#999)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- swapTokensForCake2(otherHalf) (contracts/BABYTOKENV2.sol#1012)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BABYTOKEN.sol#459)
- swapTokensForCake2(otherHalf) (contracts/BABYTOKENV2.sol#1012)
Reentrancy in BABYTOKENV2.swapAndSendDividends(uint256) (contracts/BABYTOKENV2.sol#997-1023):
External calls:
- swapTokensForCake(half) (contracts/BABYTOKENV2.sol#999)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#955-961)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/BABYTOKENV2.sol#1001-1004)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/BABYTOKENV2.sol#1007)
- swapTokensForCake2(otherHalf) (contracts/BABYTOKENV2.sol#1012)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BABYTOKENV2.sol#973-979)
- success2 = IERC20(rewardToken2).transfer(address(dividendTracker2),dividends2) (contracts/BABYTOKENV2.sol#1014-1017)
- dividendTracker2.distributeCAKEDividends(dividends2) (contracts/BABYTOKENV2.sol#1020)
Event emitted after the call(s):
- SendDividends(rewardToken2,otherHalf,dividends2) (contracts/BABYTOKENV2.sol#1021)
Reentrancy in BABYTOKENV2.transferOwnership(address) (contracts/BABYTOKENV2.sol#433-438):
External calls:
- dividendTracker.excludeFromDividends(newOwner) (contracts/BABYTOKENV2.sol#435)
- dividendTracker2.excludeFromDividends(newOwner) (contracts/BABYTOKENV2.sol#436)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (contracts/BABYTOKEN.sol#573)
- super.transferOwnership(newOwner) (contracts/BABYTOKENV2.sol#437)
Reentrancy in BABYTOKEN.updateDividendTracker(address) (contracts/BABYTOKEN.sol#2728-2751):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BABYTOKEN.sol#2743)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKEN.sol#2744)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKEN.sol#2745)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BABYTOKEN.sol#2746)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (contracts/BABYTOKEN.sol#2748)
Reentrancy in BABYTOKENV2.updateDividendTracker(address) (contracts/BABYTOKENV2.sol#446-470):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BABYTOKENV2.sol#461)
- newDividendTracker.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#462)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#463)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#464)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BABYTOKENV2.sol#465)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (contracts/BABYTOKENV2.sol#467)
Reentrancy in BABYTOKENV2.updateDividendTracker2(address) (contracts/BABYTOKENV2.sol#472-496):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BABYTOKENV2.sol#487)
- newDividendTracker.excludeFromDividends(address(dividendTracker2)) (contracts/BABYTOKENV2.sol#488)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BABYTOKENV2.sol#489)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BABYTOKENV2.sol#490)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BABYTOKENV2.sol#491)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker2)) (contracts/BABYTOKENV2.sol#493)
Apply the check-effects-interactions pattern.
Additional information: link
BABYTOKENV2._transfer(address,address,uint256).lastProcessedIndex_scope_2 (contracts/BABYTOKENV2.sol#877) is a local variable never initialized
BABYTOKENV2._transfer(address,address,uint256).claims (contracts/BABYTOKENV2.sol#861) is a local variable never initialized
BABYTOKENV2._transfer(address,address,uint256).iterations_scope_0 (contracts/BABYTOKENV2.sol#875) is a local variable never initialized
BABYTOKENV2._transfer(address,address,uint256).lastProcessedIndex (contracts/BABYTOKENV2.sol#862) is a local variable never initialized
BABYTOKENV2._transfer(address,address,uint256).claims_scope_1 (contracts/BABYTOKENV2.sol#876) is a local variable never initialized
BABYTOKEN._transfer(address,address,uint256).lastProcessedIndex (contracts/BABYTOKEN.sol#3040) is a local variable never initialized
BABYTOKEN._transfer(address,address,uint256).iterations (contracts/BABYTOKEN.sol#3038) is a local variable never initialized
BABYTOKENV2._transfer(address,address,uint256).iterations (contracts/BABYTOKENV2.sol#860) is a local variable never initialized
BABYTOKEN._transfer(address,address,uint256).claims (contracts/BABYTOKEN.sol#3039) 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
BABYTOKEN.claim() (contracts/BABYTOKEN.sol#2956-2958) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (contracts/BABYTOKEN.sol#2957)
BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052) ignores return value by dividendTracker.process(gas) (contracts/BABYTOKEN.sol#3037-3050)
BABYTOKEN.addLiquidity(uint256,uint256) (contracts/BABYTOKEN.sol#3125-3138) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/BABYTOKEN.sol#3130-3137)
BABYTOKENV2.claim() (contracts/BABYTOKENV2.sol#760-763) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (contracts/BABYTOKENV2.sol#761)
BABYTOKENV2.claim() (contracts/BABYTOKENV2.sol#760-763) ignores return value by dividendTracker2.processAccount(address(msg.sender),false) (contracts/BABYTOKENV2.sol#762)
BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) ignores return value by dividendTracker2.process(gas) (contracts/BABYTOKENV2.sol#859-872)
BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) ignores return value by dividendTracker.process(gas) (contracts/BABYTOKENV2.sol#874-887)
BABYTOKENV2.addLiquidity(uint256,uint256) (contracts/BABYTOKENV2.sol#982-995) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_marketingWalletAddress,block.timestamp) (contracts/BABYTOKENV2.sol#987-994)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.__DividendPayingToken_init(address,string,string)._name (contracts/BABYTOKEN.sol#2112) shadows:
- ERC20Upgradeable._name (contracts/BABYTOKEN.sol#1378) (state variable)
DividendPayingToken.__DividendPayingToken_init(address,string,string)._symbol (contracts/BABYTOKEN.sol#2113) shadows:
- ERC20Upgradeable._symbol (contracts/BABYTOKEN.sol#1379) (state variable)
DividendPayingToken.dividendOf(address)._owner (contracts/BABYTOKEN.sol#2172) shadows:
- OwnableUpgradeable._owner (contracts/BABYTOKEN.sol#1722) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/BABYTOKEN.sol#2179) shadows:
- OwnableUpgradeable._owner (contracts/BABYTOKEN.sol#1722) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/BABYTOKEN.sol#2191) shadows:
- OwnableUpgradeable._owner (contracts/BABYTOKEN.sol#1722) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/BABYTOKEN.sol#2205) shadows:
- OwnableUpgradeable._owner (contracts/BABYTOKEN.sol#1722) (state variable)
Rename the local variables that shadow another component.
Additional information: link
BABYTOKEN.setSwapTokensAtAmount(uint256) (contracts/BABYTOKEN.sol#2724-2726) should emit an event for:
- swapTokensAtAmount = amount (contracts/BABYTOKEN.sol#2725)
BABYTOKEN.setTokenRewardsFee(uint256) (contracts/BABYTOKEN.sol#2790-2794) should emit an event for:
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/BABYTOKEN.sol#2792)
BABYTOKEN.setLiquiditFee(uint256) (contracts/BABYTOKEN.sol#2796-2800) should emit an event for:
- liquidityFee = value (contracts/BABYTOKEN.sol#2797)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/BABYTOKEN.sol#2798)
BABYTOKEN.setMarketingFee(uint256) (contracts/BABYTOKEN.sol#2802-2806) should emit an event for:
- marketingFee = value (contracts/BABYTOKEN.sol#2803)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/BABYTOKEN.sol#2804)
BABYTOKENV2.setSwapTokensAtAmount(uint256) (contracts/BABYTOKENV2.sol#442-444) should emit an event for:
- swapTokensAtAmount = amount (contracts/BABYTOKENV2.sol#443)
BABYTOKENV2.setTokenRewardsFee(uint256) (contracts/BABYTOKENV2.sol#535-539) should emit an event for:
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/BABYTOKENV2.sol#537)
BABYTOKENV2.setLiquiditFee(uint256) (contracts/BABYTOKENV2.sol#541-545) should emit an event for:
- liquidityFee = value (contracts/BABYTOKENV2.sol#542)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/BABYTOKENV2.sol#543)
BABYTOKENV2.setMarketingFee(uint256) (contracts/BABYTOKENV2.sol#547-551) should emit an event for:
- marketingFee = value (contracts/BABYTOKENV2.sol#548)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/BABYTOKENV2.sol#549)
Emit an event for critical parameter changes.
Additional information: link
BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256)._uniswapV2Pair (contracts/BABYTOKEN.sol#2695-2696) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKEN.sol#2698)
BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256).serviceFeeReceiver_ (contracts/BABYTOKEN.sol#2665) lacks a zero-check on :
- address(serviceFeeReceiver_).transfer(serviceFee_) (contracts/BABYTOKEN.sol#2719)
BABYTOKEN.updateUniswapV2Router(address)._uniswapV2Pair (contracts/BABYTOKEN.sol#2760-2761) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKEN.sol#2762)
BABYTOKEN.setMarketingWallet(address).wallet (contracts/BABYTOKEN.sol#2786) lacks a zero-check on :
- _marketingWalletAddress = wallet (contracts/BABYTOKEN.sol#2787)
BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256)._uniswapV2Pair (contracts/BABYTOKENV2.sol#398-399) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKENV2.sol#401)
BABYTOKENV2.updateUniswapV2Router(address)._uniswapV2Pair (contracts/BABYTOKENV2.sol#505-506) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/BABYTOKENV2.sol#507)
BABYTOKENV2.setMarketingWallet(address).wallet (contracts/BABYTOKENV2.sol#531) lacks a zero-check on :
- _marketingWalletAddress = wallet (contracts/BABYTOKENV2.sol#532)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (contracts/BABYTOKEN.sol#2141-2167) has external calls inside a loop: success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/BABYTOKEN.sol#2151-2154)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'BABYTOKEN._transfer(address,address,uint256).iterations (contracts/BABYTOKEN.sol#3038)' in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKEN.sol#3042-3049)
Variable 'BABYTOKEN._transfer(address,address,uint256).lastProcessedIndex (contracts/BABYTOKEN.sol#3040)' in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKEN.sol#3042-3049)
Variable 'BABYTOKEN._transfer(address,address,uint256).claims (contracts/BABYTOKEN.sol#3039)' in BABYTOKEN._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2968-3052) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKEN.sol#3042-3049)
Variable 'BABYTOKENV2._transfer(address,address,uint256).claims (contracts/BABYTOKENV2.sol#861)' in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) potentially used before declaration: ProcessedDividendTracker2(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#864-871)
Variable 'BABYTOKENV2._transfer(address,address,uint256).iterations (contracts/BABYTOKENV2.sol#860)' in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) potentially used before declaration: ProcessedDividendTracker2(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#864-871)
Variable 'BABYTOKENV2._transfer(address,address,uint256).lastProcessedIndex (contracts/BABYTOKENV2.sol#862)' in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) potentially used before declaration: ProcessedDividendTracker2(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#864-871)
Variable 'BABYTOKENV2._transfer(address,address,uint256).iterations_scope_0 (contracts/BABYTOKENV2.sol#875)' in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) potentially used before declaration: ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#879-886)
Variable 'BABYTOKENV2._transfer(address,address,uint256).claims_scope_1 (contracts/BABYTOKENV2.sol#876)' in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) potentially used before declaration: ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#879-886)
Variable 'BABYTOKENV2._transfer(address,address,uint256).lastProcessedIndex_scope_2 (contracts/BABYTOKENV2.sol#877)' in BABYTOKENV2._transfer(address,address,uint256) (contracts/BABYTOKENV2.sol#773-891) potentially used before declaration: ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin) (contracts/BABYTOKENV2.sol#879-886)
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
BABYTOKENDividendTracker.getAccount(address) (contracts/BABYTOKEN.sol#2376-2423) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (contracts/BABYTOKEN.sol#2420-2422)
BABYTOKENDividendTracker.canAutoClaim(uint256) (contracts/BABYTOKEN.sol#2448-2454) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (contracts/BABYTOKEN.sol#2449)
- block.timestamp.sub(lastClaimTime) >= claimWait (contracts/BABYTOKEN.sol#2453)
BABYTOKENDividendTrackerV2.getAccount(address) (contracts/BABYTOKENV2.sol#103-150) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (contracts/BABYTOKENV2.sol#147-149)
BABYTOKENDividendTrackerV2.canAutoClaim(uint256) (contracts/BABYTOKENV2.sol#175-181) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (contracts/BABYTOKENV2.sol#176)
- block.timestamp.sub(lastClaimTime) >= claimWait (contracts/BABYTOKENV2.sol#180)
Avoid relying on block.timestamp.
Additional information: link
Clones.clone(address) (contracts/BABYTOKEN.sol#831-840) uses assembly
- INLINE ASM (contracts/BABYTOKEN.sol#832-838)
Clones.cloneDeterministic(address,bytes32) (contracts/BABYTOKEN.sol#849-858) uses assembly
- INLINE ASM (contracts/BABYTOKEN.sol#850-856)
Clones.predictDeterministicAddress(address,bytes32,address) (contracts/BABYTOKEN.sol#863-878) uses assembly
- INLINE ASM (contracts/BABYTOKEN.sol#868-877)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['=0.8.4', '^0.8.0']
- =0.8.4 (contracts/BABYTOKEN.sol#2572)
- ^0.8.0 (contracts/BABYTOKENV2.sol#3)
Use one Solidity version.
Additional information: link
Clones.cloneDeterministic(address,bytes32) (contracts/BABYTOKEN.sol#849-858) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32) (contracts/BABYTOKEN.sol#883-889) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32,address) (contracts/BABYTOKEN.sol#863-878) is never used and should be removed
Context._msgData() (contracts/BABYTOKEN.sol#140-142) is never used and should be removed
ContextUpgradeable.__Context_init() (contracts/BABYTOKEN.sol#1319-1321) is never used and should be removed
ContextUpgradeable._msgData() (contracts/BABYTOKEN.sol#1329-1331) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#2224-2239) is never used and should be removed
ERC20._burn(address,uint256) (contracts/BABYTOKEN.sol#420-435) is never used and should be removed
ERC20Upgradeable._transfer(address,address,uint256) (contracts/BABYTOKEN.sol#1562-1582) is never used and should be removed
SafeMath.div(uint256,uint256,string) (contracts/BABYTOKEN.sol#768-777) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/BABYTOKEN.sol#728-730) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/BABYTOKEN.sol#794-803) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (contracts/BABYTOKEN.sol#745-754) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (contracts/BABYTOKEN.sol#599-605) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (contracts/BABYTOKEN.sol#641-646) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (contracts/BABYTOKEN.sol#653-658) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (contracts/BABYTOKEN.sol#624-634) is never used and should be removed
SafeMath.trySub(uint256,uint256) (contracts/BABYTOKEN.sol#612-617) is never used and should be removed
SafeMathInt.abs(int256) (contracts/BABYTOKEN.sol#1893-1896) is never used and should be removed
SafeMathInt.div(int256,int256) (contracts/BABYTOKEN.sol#1864-1870) is never used and should be removed
SafeMathInt.mul(int256,int256) (contracts/BABYTOKEN.sol#1852-1859) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (contracts/BABYTOKENV2.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
Function IUniswapV2Router01.WETH() (contracts/BABYTOKEN.sol#935) is not in mixedCase
Function ContextUpgradeable.__Context_init() (contracts/BABYTOKEN.sol#1319-1321) is not in mixedCase
Function ContextUpgradeable.__Context_init_unchained() (contracts/BABYTOKEN.sol#1323-1324) is not in mixedCase
Variable ContextUpgradeable.__gap (contracts/BABYTOKEN.sol#1332) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init(string,string) (contracts/BABYTOKEN.sol#1390-1393) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init_unchained(string,string) (contracts/BABYTOKEN.sol#1395-1398) is not in mixedCase
Variable ERC20Upgradeable.__gap (contracts/BABYTOKEN.sol#1697) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init() (contracts/BABYTOKEN.sol#1729-1732) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init_unchained() (contracts/BABYTOKEN.sol#1734-1736) is not in mixedCase
Variable OwnableUpgradeable.__gap (contracts/BABYTOKEN.sol#1778) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/BABYTOKEN.sol#1801) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/BABYTOKEN.sol#1802) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/BABYTOKEN.sol#1819) is not in mixedCase
Function DividendPayingToken.__DividendPayingToken_init(address,string,string) (contracts/BABYTOKEN.sol#2110-2118) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (contracts/BABYTOKEN.sol#2111) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._name (contracts/BABYTOKEN.sol#2112) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._symbol (contracts/BABYTOKEN.sol#2113) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (contracts/BABYTOKEN.sol#2172) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/BABYTOKEN.sol#2179) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/BABYTOKEN.sol#2191) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/BABYTOKEN.sol#2205) is not in mixedCase
Constant DividendPayingToken.magnitude (contracts/BABYTOKEN.sol#2090) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BABYTOKENDividendTracker.getAccount(address)._account (contracts/BABYTOKEN.sol#2376) is not in mixedCase
Variable BABYTOKEN._marketingWalletAddress (contracts/BABYTOKEN.sol#2605) is not in mixedCase
Parameter BABYTOKENDividendTrackerV2.getAccount(address)._account (contracts/BABYTOKENV2.sol#103) is not in mixedCase
Variable BABYTOKENV2._marketingWalletAddress (contracts/BABYTOKENV2.sol#297) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/BABYTOKEN.sol#940) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/BABYTOKEN.sol#941)
Variable DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (contracts/BABYTOKEN.sol#2111) is too similar to BABYTOKENDividendTracker.initialize(address,uint256).rewardToken_ (contracts/BABYTOKEN.sol#2303)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (contracts/BABYTOKEN.sol#2145) is too similar to BABYTOKENDividendTracker.getAccount(address).withdrawableDividends (contracts/BABYTOKEN.sol#2383)
Variable ERC20._totalSupply (contracts/BABYTOKEN.sol#185) is too similar to BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256).totalSupply_ (contracts/BABYTOKEN.sol#2661)
Variable DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (contracts/BABYTOKEN.sol#2111) is too similar to BABYTOKENDividendTrackerV2.initialize(address,uint256).rewardToken_ (contracts/BABYTOKENV2.sol#30)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (contracts/BABYTOKEN.sol#2145) is too similar to BABYTOKENDividendTrackerV2.getAccount(address).withdrawableDividends (contracts/BABYTOKENV2.sol#110)
Variable ERC20._totalSupply (contracts/BABYTOKEN.sol#185) is too similar to BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256).totalSupply_ (contracts/BABYTOKENV2.sol#362)
Prevent variables from having similar names.
Additional information: link
Clones.clone(address) (contracts/BABYTOKEN.sol#831-840) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (contracts/BABYTOKEN.sol#834)
Clones.clone(address) (contracts/BABYTOKEN.sol#831-840) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (contracts/BABYTOKEN.sol#836)
Clones.cloneDeterministic(address,bytes32) (contracts/BABYTOKEN.sol#849-858) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (contracts/BABYTOKEN.sol#852)
Clones.cloneDeterministic(address,bytes32) (contracts/BABYTOKEN.sol#849-858) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (contracts/BABYTOKEN.sol#854)
Clones.predictDeterministicAddress(address,bytes32,address) (contracts/BABYTOKEN.sol#863-878) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (contracts/BABYTOKEN.sol#870)
Clones.predictDeterministicAddress(address,bytes32,address) (contracts/BABYTOKEN.sol#863-878) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) (contracts/BABYTOKEN.sol#872)
BABYTOKEN.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (contracts/BABYTOKEN.sol#2658-2720) uses literals with too many digits:
- gasForProcessing = 300000 (contracts/BABYTOKEN.sol#2683)
BABYTOKEN.updateGasForProcessing(uint256) (contracts/BABYTOKEN.sol#2834-2845) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BABYTOKEN: gasForProcessing must be between 200,000 and 500,000) (contracts/BABYTOKEN.sol#2835-2838)
BABYTOKENV2.constructor(string,string,uint256,address[5],uint256[3],uint256) (contracts/BABYTOKENV2.sol#359-431) uses literals with too many digits:
- gasForProcessing = 300000 (contracts/BABYTOKENV2.sol#379)
BABYTOKENV2.updateGasForProcessing(uint256) (contracts/BABYTOKENV2.sol#580-591) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BABYTOKEN: gasForProcessing must be between 200,000 and 500,000) (contracts/BABYTOKENV2.sol#581-584)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (contracts/BABYTOKEN.sol#1847) is never used in SafeMathInt (contracts/BABYTOKEN.sol#1845-1902)
OwnableUpgradeable.__gap (contracts/BABYTOKEN.sol#1778) is never used in BABYTOKENDividendTracker (contracts/BABYTOKEN.sol#2278-2542)
OwnableUpgradeable.__gap (contracts/BABYTOKEN.sol#1778) is never used in BABYTOKENDividendTrackerV2 (contracts/BABYTOKENV2.sol#5-271)
Remove unused state variables.
Additional information: link
name() should be declared external:
- ERC20.name() (contracts/BABYTOKEN.sol#207-209)
symbol() should be declared external:
- ERC20.symbol() (contracts/BABYTOKEN.sol#215-217)
decimals() should be declared external:
- ERC20.decimals() (contracts/BABYTOKEN.sol#232-234)
totalSupply() should be declared external:
- ERC20.totalSupply() (contracts/BABYTOKEN.sol#239-241)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (contracts/BABYTOKEN.sol#258-261)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (contracts/BABYTOKEN.sol#266-268)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (contracts/BABYTOKEN.sol#277-280)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (contracts/BABYTOKEN.sol#295-309)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (contracts/BABYTOKEN.sol#323-326)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (contracts/BABYTOKEN.sol#342-350)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/BABYTOKEN.sol#557-559)
name() should be declared external:
- ERC20Upgradeable.name() (contracts/BABYTOKEN.sol#1403-1405)
symbol() should be declared external:
- ERC20Upgradeable.symbol() (contracts/BABYTOKEN.sol#1411-1413)
decimals() should be declared external:
- ERC20Upgradeable.decimals() (contracts/BABYTOKEN.sol#1428-1430)
transfer(address,uint256) should be declared external:
- ERC20Upgradeable.transfer(address,uint256) (contracts/BABYTOKEN.sol#1454-1457)
allowance(address,address) should be declared external:
- ERC20Upgradeable.allowance(address,address) (contracts/BABYTOKEN.sol#1462-1464)
approve(address,uint256) should be declared external:
- ERC20Upgradeable.approve(address,uint256) (contracts/BABYTOKEN.sol#1473-1476)
transferFrom(address,address,uint256) should be declared external:
- ERC20Upgradeable.transferFrom(address,address,uint256) (contracts/BABYTOKEN.sol#1491-1505)
increaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.increaseAllowance(address,uint256) (contracts/BABYTOKEN.sol#1519-1522)
decreaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.decreaseAllowance(address,uint256) (contracts/BABYTOKEN.sol#1538-1546)
renounceOwnership() should be declared external:
- OwnableUpgradeable.renounceOwnership() (contracts/BABYTOKEN.sol#1760-1762)
transferOwnership(address) should be declared external:
- OwnableUpgradeable.transferOwnership(address) (contracts/BABYTOKEN.sol#1768-1771)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (contracts/BABYTOKEN.sol#1935-1937)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (contracts/BABYTOKEN.sol#1939-1948)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (contracts/BABYTOKEN.sol#1950-1956)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (contracts/BABYTOKEN.sol#1958-1960)
distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (contracts/BABYTOKEN.sol#2120-2131)
withdrawDividend() should be declared external:
- BABYTOKENDividendTracker.withdrawDividend() (contracts/BABYTOKEN.sol#2323-2328)
- BABYTOKENDividendTrackerV2.withdrawDividend() (contracts/BABYTOKENV2.sol#50-55)
- DividendPayingToken.withdrawDividend() (contracts/BABYTOKEN.sol#2135-2137)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (contracts/BABYTOKEN.sol#2172-2174)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (contracts/BABYTOKEN.sol#2191-2198)
isExcludedFromDividends(address) should be declared external:
- BABYTOKENDividendTracker.isExcludedFromDividends(address) (contracts/BABYTOKEN.sol#2340-2346)
getAccountAtIndex(uint256) should be declared external:
- BABYTOKENDividendTracker.getAccountAtIndex(uint256) (contracts/BABYTOKEN.sol#2425-2446)
process(uint256) should be declared external:
- BABYTOKENDividendTracker.process(uint256) (contracts/BABYTOKEN.sol#2473-2525)
updateDividendTracker(address) should be declared external:
- BABYTOKEN.updateDividendTracker(address) (contracts/BABYTOKEN.sol#2728-2751)
updateUniswapV2Router(address) should be declared external:
- BABYTOKEN.updateUniswapV2Router(address) (contracts/BABYTOKEN.sol#2753-2763)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BABYTOKEN.excludeMultipleAccountsFromFees(address[],bool) (contracts/BABYTOKEN.sol#2775-2784)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BABYTOKEN.setAutomatedMarketMakerPair(address,bool) (contracts/BABYTOKEN.sol#2808-2818)
updateGasForProcessing(uint256) should be declared external:
- BABYTOKEN.updateGasForProcessing(uint256) (contracts/BABYTOKEN.sol#2834-2845)
isExcludedFromFees(address) should be declared external:
- BABYTOKEN.isExcludedFromFees(address) (contracts/BABYTOKEN.sol#2874-2876)
withdrawableDividendOf(address) should be declared external:
- BABYTOKEN.withdrawableDividendOf(address) (contracts/BABYTOKEN.sol#2878-2884)
dividendTokenBalanceOf(address) should be declared external:
- BABYTOKEN.dividendTokenBalanceOf(address) (contracts/BABYTOKEN.sol#2886-2892)
isExcludedFromDividends(address) should be declared external:
- BABYTOKEN.isExcludedFromDividends(address) (contracts/BABYTOKEN.sol#2898-2904)
isExcludedFromDividends(address) should be declared external:
- BABYTOKENDividendTrackerV2.isExcludedFromDividends(address) (contracts/BABYTOKENV2.sol#67-73)
getAccountAtIndex(uint256) should be declared external:
- BABYTOKENDividendTrackerV2.getAccountAtIndex(uint256) (contracts/BABYTOKENV2.sol#152-173)
process(uint256) should be declared external:
- BABYTOKENDividendTrackerV2.process(uint256) (contracts/BABYTOKENV2.sol#202-254)
updateDividendTracker(address) should be declared external:
- BABYTOKENV2.updateDividendTracker(address) (contracts/BABYTOKENV2.sol#446-470)
updateDividendTracker2(address) should be declared external:
- BABYTOKENV2.updateDividendTracker2(address) (contracts/BABYTOKENV2.sol#472-496)
updateUniswapV2Router(address) should be declared external:
- BABYTOKENV2.updateUniswapV2Router(address) (contracts/BABYTOKENV2.sol#498-508)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BABYTOKENV2.excludeMultipleAccountsFromFees(address[],bool) (contracts/BABYTOKENV2.sol#520-529)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BABYTOKENV2.setAutomatedMarketMakerPair(address,bool) (contracts/BABYTOKENV2.sol#553-563)
updateGasForProcessing(uint256) should be declared external:
- BABYTOKENV2.updateGasForProcessing(uint256) (contracts/BABYTOKENV2.sol#580-591)
isExcludedFromFees(address) should be declared external:
- BABYTOKENV2.isExcludedFromFees(address) (contracts/BABYTOKENV2.sol#624-626)
withdrawableDividendOf(address) should be declared external:
- BABYTOKENV2.withdrawableDividendOf(address) (contracts/BABYTOKENV2.sol#628-635)
dividendTokenBalanceOf(address) should be declared external:
- BABYTOKENV2.dividendTokenBalanceOf(address) (contracts/BABYTOKENV2.sol#637-644)
isExcludedFromDividends(address) should be declared external:
- BABYTOKENV2.isExcludedFromDividends(address) (contracts/BABYTOKENV2.sol#651-658)
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