Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
AntiBotBABYTOKEN.addLiquidity(uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#509-522) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/tokens/AntiBotBabyToken.sol#527)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/tokens/AntiBotBabyToken.sol#530)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (contracts/tokens/AntiBotBabyToken.sol#414)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#221)
- super._transfer(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#417)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#221)
- swapping = false (contracts/tokens/AntiBotBabyToken.sol#397)
Apply the check-effects-interactions pattern.
Additional information: link
OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) shadows:
- ContextUpgradeable.__gap (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#31)
ERC20Upgradeable.__gap (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#312) shadows:
- ContextUpgradeable.__gap (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#31)
Remove the state variable shadowing.
Additional information: link
AntiBotBABYTOKEN.swapAndSendToFee(uint256) (contracts/tokens/AntiBotBabyToken.sol#442-448) ignores return value by IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (contracts/tokens/BabyTokenDividendTracker.sol#138-154):
External calls:
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/tokens/BabyTokenDividendTracker.sol#143)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (contracts/tokens/BabyTokenDividendTracker.sol#146)
Reentrancy in AntiBotBABYTOKEN.updateDividendTracker(address) (contracts/tokens/AntiBotBabyToken.sol#152-173):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/tokens/AntiBotBabyToken.sol#165)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/tokens/AntiBotBabyToken.sol#166)
- newDividendTracker.excludeFromDividends(owner()) (contracts/tokens/AntiBotBabyToken.sol#167)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/tokens/AntiBotBabyToken.sol#168)
State variables written after the call(s):
- dividendTracker = newDividendTracker (contracts/tokens/AntiBotBabyToken.sol#172)
Apply the check-effects-interactions pattern.
Additional information: link
AntiBotBABYTOKEN._transfer(address,address,uint256).iterations (contracts/tokens/AntiBotBabyToken.sol#426) is a local variable never initialized
AntiBotBABYTOKEN._transfer(address,address,uint256).claims (contracts/tokens/AntiBotBabyToken.sol#427) is a local variable never initialized
AntiBotBABYTOKEN._transfer(address,address,uint256).lastProcessedIndex (contracts/tokens/AntiBotBabyToken.sol#428) 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
AntiBotBABYTOKEN.claim() (contracts/tokens/AntiBotBabyToken.sol#345-347) ignores return value by dividendTracker.processAccount(msg.sender,false) (contracts/tokens/AntiBotBabyToken.sol#346)
AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440) ignores return value by dividendTracker.process(gas) (contracts/tokens/AntiBotBabyToken.sol#425-438)
AntiBotBABYTOKEN.addLiquidity(uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#509-522) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.__DividendPayingToken_init(address,string,string)._name (contracts/tokens/BabyTokenDividendTracker.sol#109) shadows:
- ERC20Upgradeable._name (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#43) (state variable)
DividendPayingToken.__DividendPayingToken_init(address,string,string)._symbol (contracts/tokens/BabyTokenDividendTracker.sol#110) shadows:
- ERC20Upgradeable._symbol (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#159) shadows:
- OwnableUpgradeable._owner (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#20) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#166) shadows:
- OwnableUpgradeable._owner (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#20) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#173) shadows:
- OwnableUpgradeable._owner (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#20) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#182) shadows:
- OwnableUpgradeable._owner (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#20) (state variable)
Rename the local variables that shadow another component.
Additional information: link
AntiBotBABYTOKEN.setSwapTokensAtAmount(uint256) (contracts/tokens/AntiBotBabyToken.sol#148-150) should emit an event for:
- swapTokensAtAmount = amount (contracts/tokens/AntiBotBabyToken.sol#149)
AntiBotBABYTOKEN.setTokenRewardsFee(uint256) (contracts/tokens/AntiBotBabyToken.sol#214-217) should emit an event for:
- tokenRewardsFee = value (contracts/tokens/AntiBotBabyToken.sol#215)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/tokens/AntiBotBabyToken.sol#216)
AntiBotBABYTOKEN.setLiquiditFee(uint256) (contracts/tokens/AntiBotBabyToken.sol#219-222) should emit an event for:
- liquidityFee = value (contracts/tokens/AntiBotBabyToken.sol#220)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/tokens/AntiBotBabyToken.sol#221)
AntiBotBABYTOKEN.setMarketingFee(uint256) (contracts/tokens/AntiBotBabyToken.sol#224-227) should emit an event for:
- marketingFee = value (contracts/tokens/AntiBotBabyToken.sol#225)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/tokens/AntiBotBabyToken.sol#226)
Emit an event for critical parameter changes.
Additional information: link
AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256)._uniswapV2Pair (contracts/tokens/AntiBotBabyToken.sol#115-118) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/tokens/AntiBotBabyToken.sol#120)
AntiBotBABYTOKEN.updateUniswapV2Router(address)._uniswapV2Pair (contracts/tokens/AntiBotBabyToken.sol#182-185) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (contracts/tokens/AntiBotBabyToken.sol#186)
AntiBotBABYTOKEN.setMarketingWallet(address).wallet (contracts/tokens/AntiBotBabyToken.sol#210) lacks a zero-check on :
- _marketingWalletAddress = wallet (contracts/tokens/AntiBotBabyToken.sol#211)
Check that the address is not zero.
Additional information: link
Variable 'AntiBotBABYTOKEN._transfer(address,address,uint256).claims (contracts/tokens/AntiBotBabyToken.sol#427)' in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/tokens/AntiBotBabyToken.sol#430-437)
Variable 'AntiBotBABYTOKEN._transfer(address,address,uint256).iterations (contracts/tokens/AntiBotBabyToken.sol#426)' in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/tokens/AntiBotBabyToken.sol#430-437)
Variable 'AntiBotBABYTOKEN._transfer(address,address,uint256).lastProcessedIndex (contracts/tokens/AntiBotBabyToken.sol#428)' in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/tokens/AntiBotBabyToken.sol#430-437)
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 AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
State variables written after the call(s):
- super._transfer(from,to,0) (contracts/tokens/AntiBotBabyToken.sol#371)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#221)
- swapping = true (contracts/tokens/AntiBotBabyToken.sol#386)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
State variables written after the call(s):
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- _allowances[owner][spender] = amount (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#282)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- _allowances[owner][spender] = amount (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#282)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/tokens/AntiBotBabyToken.sol#527)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/tokens/AntiBotBabyToken.sol#530)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- _allowances[owner][spender] = amount (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#282)
Reentrancy in AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140):
External calls:
- pinkAntiBot.setTokenOwner(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#95)
State variables written after the call(s):
- dividendTracker = BABYTOKENDividendTracker(address(Clones.clone(dividendTrackerImplementation))) (contracts/tokens/AntiBotBabyToken.sol#108-110)
- enableAntiBot = true (contracts/tokens/AntiBotBabyToken.sol#96)
- gasForProcessing = 300000 (contracts/tokens/AntiBotBabyToken.sol#106)
- liquidityFee = liquidityFee_ (contracts/tokens/AntiBotBabyToken.sol#99)
- marketingFee = marketingFee_ (contracts/tokens/AntiBotBabyToken.sol#100)
- rewardToken = addrs[1] (contracts/tokens/AntiBotBabyToken.sol#97)
- swapTokensAtAmount = totalSupply_.mul(2).div(10 ** 6) (contracts/tokens/AntiBotBabyToken.sol#103)
- tokenRewardsFee = tokenRewardsFee_ (contracts/tokens/AntiBotBabyToken.sol#98)
- totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee) (contracts/tokens/AntiBotBabyToken.sol#101)
Reentrancy in AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140):
External calls:
- pinkAntiBot.setTokenOwner(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#95)
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/tokens/AntiBotBabyToken.sol#111)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/AntiBotBabyToken.sol#115-118)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/tokens/AntiBotBabyToken.sol#120)
- uniswapV2Router = _uniswapV2Router (contracts/tokens/AntiBotBabyToken.sol#119)
Reentrancy in AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140):
External calls:
- pinkAntiBot.setTokenOwner(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#95)
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/tokens/AntiBotBabyToken.sol#111)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/AntiBotBabyToken.sol#115-118)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/tokens/AntiBotBabyToken.sol#121)
- dividendTracker.excludeFromDividends(pair) (contracts/tokens/AntiBotBabyToken.sol#250)
State variables written after the call(s):
- _marketingWalletAddress = addrs[3] (contracts/tokens/AntiBotBabyToken.sol#123)
Reentrancy in AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140):
External calls:
- pinkAntiBot.setTokenOwner(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#95)
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/tokens/AntiBotBabyToken.sol#111)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/AntiBotBabyToken.sol#115-118)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/tokens/AntiBotBabyToken.sol#121)
- dividendTracker.excludeFromDividends(pair) (contracts/tokens/AntiBotBabyToken.sol#250)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/tokens/AntiBotBabyToken.sol#125)
- dividendTracker.excludeFromDividends(address(this)) (contracts/tokens/AntiBotBabyToken.sol#126)
- dividendTracker.excludeFromDividends(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#127)
- dividendTracker.excludeFromDividends(address(0xdead)) (contracts/tokens/AntiBotBabyToken.sol#128)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/tokens/AntiBotBabyToken.sol#129)
State variables written after the call(s):
- _mint(addrs[0],totalSupply_) (contracts/tokens/AntiBotBabyToken.sol#138)
- _balances[account] = _balances[account].add(amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#240)
- excludeFromFees(addrs[0],true) (contracts/tokens/AntiBotBabyToken.sol#131)
- _isExcludedFromFees[account] = excluded (contracts/tokens/AntiBotBabyToken.sol#194)
- excludeFromFees(_marketingWalletAddress,true) (contracts/tokens/AntiBotBabyToken.sol#132)
- _isExcludedFromFees[account] = excluded (contracts/tokens/AntiBotBabyToken.sol#194)
- excludeFromFees(address(this),true) (contracts/tokens/AntiBotBabyToken.sol#133)
- _isExcludedFromFees[account] = excluded (contracts/tokens/AntiBotBabyToken.sol#194)
- transferOwnership(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#139)
- _owner = newOwner (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#72)
- _mint(addrs[0],totalSupply_) (contracts/tokens/AntiBotBabyToken.sol#138)
- _totalSupply = _totalSupply.add(amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#239)
Reentrancy in BABYTOKENDividendTracker.processAccount(address,bool) (contracts/tokens/BabyTokenDividendTracker.sol#467-481):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/tokens/BabyTokenDividendTracker.sol#472)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/tokens/BabyTokenDividendTracker.sol#143)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (contracts/tokens/BabyTokenDividendTracker.sol#475)
Reentrancy in AntiBotBABYTOKEN.swapAndLiquify(uint256) (contracts/tokens/AntiBotBabyToken.sol#450-471):
External calls:
- swapTokensForEth(half) (contracts/tokens/AntiBotBabyToken.sol#462)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/AntiBotBabyToken.sol#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/tokens/AntiBotBabyToken.sol#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/tokens/AntiBotBabyToken.sol#468)
- _allowances[owner][spender] = amount (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#282)
Reentrancy in AntiBotBABYTOKEN.updateUniswapV2Router(address) (contracts/tokens/AntiBotBabyToken.sol#175-187):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (contracts/tokens/AntiBotBabyToken.sol#182-185)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/tokens/AntiBotBabyToken.sol#186)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AntiBotBABYTOKEN._setAutomatedMarketMakerPair(address,bool) (contracts/tokens/AntiBotBabyToken.sol#242-254):
External calls:
- dividendTracker.excludeFromDividends(pair) (contracts/tokens/AntiBotBabyToken.sol#250)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/tokens/AntiBotBabyToken.sol#253)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#222)
- super._transfer(from,to,0) (contracts/tokens/AntiBotBabyToken.sol#371)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#283)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#283)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/tokens/AntiBotBabyToken.sol#470)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/tokens/AntiBotBabyToken.sol#527)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/tokens/AntiBotBabyToken.sol#530)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#283)
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- SendDividends(tokens,dividends) (contracts/tokens/AntiBotBabyToken.sol#531)
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- Transfer(sender,recipient,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#222)
- super._transfer(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#417)
- Transfer(sender,recipient,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#222)
- super._transfer(from,address(this),fees) (contracts/tokens/AntiBotBabyToken.sol#414)
Reentrancy in AntiBotBABYTOKEN._transfer(address,address,uint256) (contracts/tokens/AntiBotBabyToken.sol#357-440):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (contracts/tokens/AntiBotBabyToken.sol#367)
- swapAndSendToFee(marketingTokens) (contracts/tokens/AntiBotBabyToken.sol#389)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (contracts/tokens/AntiBotBabyToken.sol#447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
- swapAndSendDividends(sellTokens) (contracts/tokens/AntiBotBabyToken.sol#395)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/tokens/AntiBotBabyToken.sol#527)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/tokens/AntiBotBabyToken.sol#530)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- dividendTracker.setBalance(address(from),balanceOf(from)) (contracts/tokens/AntiBotBabyToken.sol#419)
- dividendTracker.setBalance(address(to),balanceOf(to)) (contracts/tokens/AntiBotBabyToken.sol#420)
- dividendTracker.process(gas) (contracts/tokens/AntiBotBabyToken.sol#425-438)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/tokens/AntiBotBabyToken.sol#392)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/tokens/AntiBotBabyToken.sol#430-437)
Reentrancy in AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140):
External calls:
- pinkAntiBot.setTokenOwner(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#95)
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/tokens/AntiBotBabyToken.sol#111)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/AntiBotBabyToken.sol#115-118)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/tokens/AntiBotBabyToken.sol#121)
- dividendTracker.excludeFromDividends(pair) (contracts/tokens/AntiBotBabyToken.sol#250)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/tokens/AntiBotBabyToken.sol#253)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/tokens/AntiBotBabyToken.sol#121)
Reentrancy in AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140):
External calls:
- pinkAntiBot.setTokenOwner(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#95)
- dividendTracker.initialize(rewardToken,minimumTokenBalanceForDividends_) (contracts/tokens/AntiBotBabyToken.sol#111)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/AntiBotBabyToken.sol#115-118)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/tokens/AntiBotBabyToken.sol#121)
- dividendTracker.excludeFromDividends(pair) (contracts/tokens/AntiBotBabyToken.sol#250)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/tokens/AntiBotBabyToken.sol#125)
- dividendTracker.excludeFromDividends(address(this)) (contracts/tokens/AntiBotBabyToken.sol#126)
- dividendTracker.excludeFromDividends(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#127)
- dividendTracker.excludeFromDividends(address(0xdead)) (contracts/tokens/AntiBotBabyToken.sol#128)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/tokens/AntiBotBabyToken.sol#129)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (contracts/tokens/AntiBotBabyToken.sol#196)
- excludeFromFees(address(this),true) (contracts/tokens/AntiBotBabyToken.sol#133)
- ExcludeFromFees(account,excluded) (contracts/tokens/AntiBotBabyToken.sol#196)
- excludeFromFees(_marketingWalletAddress,true) (contracts/tokens/AntiBotBabyToken.sol#132)
- ExcludeFromFees(account,excluded) (contracts/tokens/AntiBotBabyToken.sol#196)
- excludeFromFees(addrs[0],true) (contracts/tokens/AntiBotBabyToken.sol#131)
- OwnershipTransferred(_owner,newOwner) (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#71)
- transferOwnership(addrs[0]) (contracts/tokens/AntiBotBabyToken.sol#139)
- Transfer(address(0),account,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#241)
- _mint(addrs[0],totalSupply_) (contracts/tokens/AntiBotBabyToken.sol#138)
Reentrancy in BABYTOKENDividendTracker.processAccount(address,bool) (contracts/tokens/BabyTokenDividendTracker.sol#467-481):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/tokens/BabyTokenDividendTracker.sol#472)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/tokens/BabyTokenDividendTracker.sol#143)
Event emitted after the call(s):
- Claim(account,amount,automatic) (contracts/tokens/BabyTokenDividendTracker.sol#476)
Reentrancy in AntiBotBABYTOKEN.processDividendTracker(uint256) (contracts/tokens/AntiBotBabyToken.sol#331-343):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (contracts/tokens/AntiBotBabyToken.sol#332-334)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (contracts/tokens/AntiBotBabyToken.sol#335-342)
Reentrancy in AntiBotBABYTOKEN.swapAndLiquify(uint256) (contracts/tokens/AntiBotBabyToken.sol#450-471):
External calls:
- swapTokensForEth(half) (contracts/tokens/AntiBotBabyToken.sol#462)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#482-488)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/AntiBotBabyToken.sol#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/tokens/AntiBotBabyToken.sol#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#514-521)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#283)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/AntiBotBabyToken.sol#468)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/tokens/AntiBotBabyToken.sol#470)
Reentrancy in AntiBotBABYTOKEN.swapAndSendDividends(uint256) (contracts/tokens/AntiBotBabyToken.sol#524-533):
External calls:
- swapTokensForCake(tokens) (contracts/tokens/AntiBotBabyToken.sol#525)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/AntiBotBabyToken.sol#500-506)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/tokens/AntiBotBabyToken.sol#527)
- dividendTracker.distributeCAKEDividends(dividends) (contracts/tokens/AntiBotBabyToken.sol#530)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (contracts/tokens/AntiBotBabyToken.sol#531)
Reentrancy in AntiBotBABYTOKEN.updateDividendTracker(address) (contracts/tokens/AntiBotBabyToken.sol#152-173):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/tokens/AntiBotBabyToken.sol#165)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/tokens/AntiBotBabyToken.sol#166)
- newDividendTracker.excludeFromDividends(owner()) (contracts/tokens/AntiBotBabyToken.sol#167)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/tokens/AntiBotBabyToken.sol#168)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (contracts/tokens/AntiBotBabyToken.sol#170)
Apply the check-effects-interactions pattern.
Additional information: link
BABYTOKENDividendTracker.getAccount(address) (contracts/tokens/BabyTokenDividendTracker.sol#324-366) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (contracts/tokens/BabyTokenDividendTracker.sol#363-365)
BABYTOKENDividendTracker.canAutoClaim(uint256) (contracts/tokens/BabyTokenDividendTracker.sol#391-397) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (contracts/tokens/BabyTokenDividendTracker.sol#392)
- block.timestamp.sub(lastClaimTime) >= claimWait (contracts/tokens/BabyTokenDividendTracker.sol#396)
Avoid relying on block.timestamp.
Additional information: link
AddressUpgradeable.isContract(address) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#26-35) uses assembly
- INLINE ASM (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#33)
AddressUpgradeable._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#147-164) uses assembly
- INLINE ASM (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#156-159)
Clones.clone(address) (@openzeppelin/contracts/proxy/Clones.sol#24-34) uses assembly
- INLINE ASM (@openzeppelin/contracts/proxy/Clones.sol#26-32)
Clones.cloneDeterministic(address,bytes32) (@openzeppelin/contracts/proxy/Clones.sol#43-53) uses assembly
- INLINE ASM (@openzeppelin/contracts/proxy/Clones.sol#45-51)
Clones.predictDeterministicAddress(address,bytes32,address) (@openzeppelin/contracts/proxy/Clones.sol#58-70) uses assembly
- INLINE ASM (@openzeppelin/contracts/proxy/Clones.sol#60-69)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.4.24<0.8.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0', '^0.7.0', '^0.7.6']
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#3)
- >=0.4.24<0.8.0 (@openzeppelin/contracts-upgradeable/proxy/Initializable.sol#4)
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol#3)
- >=0.6.2<0.8.0 (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#3)
- ^0.7.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- ^0.7.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/proxy/Clones.sol#3)
- ^0.7.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3)
- ^0.7.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- >=0.5.0 (contracts/antibot/IPinkAntiBot.sol#2)
- >=0.5.0 (contracts/interfaces/IAntiBotBabyToken.sol#2)
- >=0.5.0 (contracts/interfaces/IUniswapV2Factory.sol#2)
- >=0.5.0 (contracts/interfaces/IUniswapV2Pair.sol#2)
- >=0.6.2 (contracts/interfaces/IUniswapV2Router02.sol#2)
- ^0.7.6 (contracts/libs/IterableMapping.sol#3)
- ^0.7.6 (contracts/libs/SafeMathInt.sol#2)
- ^0.7.6 (contracts/libs/SafeMathUint.sol#2)
- ^0.7.6 (contracts/tokens/AntiBotBabyToken.sol#3)
- ^0.7.6 (contracts/tokens/BabyTokenDividendTracker.sol#3)
Use one Solidity version.
Additional information: link
AddressUpgradeable._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#147-164) is never used and should be removed
AddressUpgradeable.functionCall(address,bytes) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#79-81) is never used and should be removed
AddressUpgradeable.functionCall(address,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#89-91) is never used and should be removed
AddressUpgradeable.functionCallWithValue(address,bytes,uint256) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#104-106) is never used and should be removed
AddressUpgradeable.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#114-121) is never used and should be removed
AddressUpgradeable.functionStaticCall(address,bytes) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#129-131) is never used and should be removed
AddressUpgradeable.functionStaticCall(address,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#139-145) is never used and should be removed
AddressUpgradeable.sendValue(address,uint256) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#53-59) is never used and should be removed
Clones.cloneDeterministic(address,bytes32) (@openzeppelin/contracts/proxy/Clones.sol#43-53) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32) (@openzeppelin/contracts/proxy/Clones.sol#75-77) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32,address) (@openzeppelin/contracts/proxy/Clones.sol#58-70) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#20-23) is never used and should be removed
ContextUpgradeable.__Context_init() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#17-19) is never used and should be removed
ContextUpgradeable._msgData() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#27-30) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (contracts/tokens/BabyTokenDividendTracker.sol#196-206) is never used and should be removed
ERC20._burn(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#249-257) is never used and should be removed
ERC20._mint(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#228-236) is never used and should be removed
ERC20._setupDecimals(uint8) (@openzeppelin/contracts/token/ERC20/ERC20.sol#287-289) is never used and should be removed
ERC20Upgradeable._setupDecimals(uint8) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#293-295) is never used and should be removed
SafeMath.div(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#135-138) is never used and should be removed
SafeMath.div(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#190-193) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#152-155) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#210-213) is never used and should be removed
SafeMath.mul(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#116-121) is never used and should be removed
SafeMath.sub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#101-104) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#24-28) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#60-63) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#70-73) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#45-53) is never used and should be removed
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#35-38) is never used and should be removed
SafeMathInt.abs(int256) (contracts/libs/SafeMathInt.sol#56-59) is never used and should be removed
SafeMathInt.div(int256,int256) (contracts/libs/SafeMathInt.sol#27-33) is never used and should be removed
SafeMathInt.mul(int256,int256) (contracts/libs/SafeMathInt.sol#15-22) is never used and should be removed
SafeMathUpgradeable.div(uint256,uint256,string) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#190-193) is never used and should be removed
SafeMathUpgradeable.mod(uint256,uint256) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#152-155) is never used and should be removed
SafeMathUpgradeable.mod(uint256,uint256,string) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#210-213) is never used and should be removed
SafeMathUpgradeable.tryAdd(uint256,uint256) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#24-28) is never used and should be removed
SafeMathUpgradeable.tryDiv(uint256,uint256) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#60-63) is never used and should be removed
SafeMathUpgradeable.tryMod(uint256,uint256) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#70-73) is never used and should be removed
SafeMathUpgradeable.tryMul(uint256,uint256) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#45-53) is never used and should be removed
SafeMathUpgradeable.trySub(uint256,uint256) (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#35-38) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#3) is too complex
Pragma version>=0.4.24<0.8.0 (@openzeppelin/contracts-upgradeable/proxy/Initializable.sol#4) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol#3) is too complex
Pragma version>=0.6.2<0.8.0 (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#3) is too complex
Pragma version^0.7.0 (@openzeppelin/contracts/access/Ownable.sol#3) allows old versions
Pragma version^0.7.0 (@openzeppelin/contracts/math/SafeMath.sol#3) allows old versions
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/proxy/Clones.sol#3) is too complex
Pragma version^0.7.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3) allows old versions
Pragma version^0.7.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3) allows old versions
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3) is too complex
Pragma version>=0.5.0 (contracts/antibot/IPinkAntiBot.sol#2) allows old versions
Pragma version>=0.5.0 (contracts/interfaces/IAntiBotBabyToken.sol#2) allows old versions
Pragma version>=0.5.0 (contracts/interfaces/IUniswapV2Factory.sol#2) allows old versions
Pragma version>=0.5.0 (contracts/interfaces/IUniswapV2Pair.sol#2) allows old versions
Pragma version>=0.6.2 (contracts/interfaces/IUniswapV2Router02.sol#2) 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
Low level call in AddressUpgradeable.sendValue(address,uint256) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#53-59):
- (success) = recipient.call{value: amount}() (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#57)
Low level call in AddressUpgradeable.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#114-121):
- (success,returndata) = target.call{value: value}(data) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#119)
Low level call in AddressUpgradeable.functionStaticCall(address,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#139-145):
- (success,returndata) = target.staticcall(data) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#143)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function OwnableUpgradeable.__Ownable_init() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#27-30) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init_unchained() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#32-36) is not in mixedCase
Variable OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init(string,string) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#56-59) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init_unchained(string,string) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#61-65) is not in mixedCase
Variable ERC20Upgradeable.__gap (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#312) is not in mixedCase
Function ContextUpgradeable.__Context_init() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#17-19) is not in mixedCase
Function ContextUpgradeable.__Context_init_unchained() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#21-22) is not in mixedCase
Variable ContextUpgradeable.__gap (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#31) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/interfaces/IUniswapV2Pair.sol#19) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/interfaces/IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/interfaces/IUniswapV2Pair.sol#37) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/interfaces/IUniswapV2Router02.sol#7) is not in mixedCase
Parameter AntiBotBABYTOKEN.setEnableAntiBot(bool)._enable (contracts/tokens/AntiBotBabyToken.sol#142) is not in mixedCase
Variable AntiBotBABYTOKEN._isBlacklisted (contracts/tokens/AntiBotBabyToken.sol#30) is not in mixedCase
Variable AntiBotBABYTOKEN._marketingWalletAddress (contracts/tokens/AntiBotBabyToken.sol#37) is not in mixedCase
Function DividendPayingToken.__DividendPayingToken_init(address,string,string) (contracts/tokens/BabyTokenDividendTracker.sol#107-115) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (contracts/tokens/BabyTokenDividendTracker.sol#108) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._name (contracts/tokens/BabyTokenDividendTracker.sol#109) is not in mixedCase
Parameter DividendPayingToken.__DividendPayingToken_init(address,string,string)._symbol (contracts/tokens/BabyTokenDividendTracker.sol#110) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#159) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#166) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#173) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/tokens/BabyTokenDividendTracker.sol#182) is not in mixedCase
Constant DividendPayingToken.magnitude (contracts/tokens/BabyTokenDividendTracker.sol#87) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BABYTOKENDividendTracker.getAccount(address)._account (contracts/tokens/BabyTokenDividendTracker.sol#324) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#28)" inContextUpgradeable (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#16-32)
Redundant expression "this (@openzeppelin/contracts/utils/Context.sol#21)" inContext (@openzeppelin/contracts/utils/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/IUniswapV2Router02.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/IUniswapV2Router02.sol#13)
Variable ERC20Upgradeable._totalSupply (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#41) is too similar to IAntiBotBabyToken.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256).totalSupply_ (contracts/interfaces/IAntiBotBabyToken.sol#10)
Variable ERC20Upgradeable._totalSupply (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#41) is too similar to AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256).totalSupply_ (contracts/tokens/AntiBotBabyToken.sol#85)
Variable DividendPayingToken.__DividendPayingToken_init(address,string,string)._rewardToken (contracts/tokens/BabyTokenDividendTracker.sol#108) is too similar to BABYTOKENDividendTracker.initialize(address,uint256).rewardToken_ (contracts/tokens/BabyTokenDividendTracker.sol#265)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (contracts/tokens/BabyTokenDividendTracker.sol#139) is too similar to BABYTOKENDividendTracker.getAccount(address).withdrawableDividends (contracts/tokens/BabyTokenDividendTracker.sol#331)
Prevent variables from having similar names.
Additional information: link
Clones.clone(address) (@openzeppelin/contracts/proxy/Clones.sol#24-34) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (@openzeppelin/contracts/proxy/Clones.sol#28)
Clones.clone(address) (@openzeppelin/contracts/proxy/Clones.sol#24-34) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (@openzeppelin/contracts/proxy/Clones.sol#30)
Clones.cloneDeterministic(address,bytes32) (@openzeppelin/contracts/proxy/Clones.sol#43-53) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (@openzeppelin/contracts/proxy/Clones.sol#47)
Clones.cloneDeterministic(address,bytes32) (@openzeppelin/contracts/proxy/Clones.sol#43-53) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (@openzeppelin/contracts/proxy/Clones.sol#49)
Clones.predictDeterministicAddress(address,bytes32,address) (@openzeppelin/contracts/proxy/Clones.sol#58-70) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (@openzeppelin/contracts/proxy/Clones.sol#62)
Clones.predictDeterministicAddress(address,bytes32,address) (@openzeppelin/contracts/proxy/Clones.sol#58-70) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) (@openzeppelin/contracts/proxy/Clones.sol#64)
AntiBotBABYTOKEN.initialize(address[5],address,string,string,uint256,uint256,uint256,uint256,uint256) (contracts/tokens/AntiBotBabyToken.sol#80-140) uses literals with too many digits:
- gasForProcessing = 300000 (contracts/tokens/AntiBotBabyToken.sol#106)
AntiBotBABYTOKEN.updateGasForProcessing(uint256) (contracts/tokens/AntiBotBabyToken.sol#256-267) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BABYTOKEN: gasForProcessing must be between 200,000 and 500,000) (contracts/tokens/AntiBotBabyToken.sol#257-260)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (contracts/libs/SafeMathInt.sol#10) is never used in SafeMathInt (contracts/libs/SafeMathInt.sol#8-67)
OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) is never used in AntiBotBABYTOKEN (contracts/tokens/AntiBotBabyToken.sol#16-534)
OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) is never used in BABYTOKENDividendTracker (contracts/tokens/BabyTokenDividendTracker.sol#245-482)
Remove unused state variables.
Additional information: link
renounceOwnership() should be declared external:
- OwnableUpgradeable.renounceOwnership() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#60-63)
name() should be declared external:
- ERC20Upgradeable.name() (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#70-72)
symbol() should be declared external:
- ERC20Upgradeable.symbol() (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#78-80)
decimals() should be declared external:
- ERC20Upgradeable.decimals() (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#95-97)
transfer(address,uint256) should be declared external:
- ERC20Upgradeable.transfer(address,uint256) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#121-124)
allowance(address,address) should be declared external:
- ERC20Upgradeable.allowance(address,address) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#129-131)
approve(address,uint256) should be declared external:
- ERC20Upgradeable.approve(address,uint256) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#140-143)
transferFrom(address,address,uint256) should be declared external:
- ERC20Upgradeable.transferFrom(address,address,uint256) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#158-162)
increaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.increaseAllowance(address,uint256) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#176-179)
decreaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.decreaseAllowance(address,uint256) (@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#195-198)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-57)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#63-67)
name() should be declared external:
- ERC20.name() (@openzeppelin/contracts/token/ERC20/ERC20.sol#64-66)
symbol() should be declared external:
- ERC20.symbol() (@openzeppelin/contracts/token/ERC20/ERC20.sol#72-74)
decimals() should be declared external:
- ERC20.decimals() (@openzeppelin/contracts/token/ERC20/ERC20.sol#89-91)
totalSupply() should be declared external:
- ERC20.totalSupply() (@openzeppelin/contracts/token/ERC20/ERC20.sol#96-98)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#103-105)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#115-118)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#123-125)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#134-137)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#152-156)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#170-173)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#189-192)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (contracts/libs/IterableMapping.sol#14-16)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (contracts/libs/IterableMapping.sol#18-23)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (contracts/libs/IterableMapping.sol#25-27)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (contracts/libs/IterableMapping.sol#31-33)
updateDividendTracker(address) should be declared external:
- AntiBotBABYTOKEN.updateDividendTracker(address) (contracts/tokens/AntiBotBabyToken.sol#152-173)
updateUniswapV2Router(address) should be declared external:
- AntiBotBABYTOKEN.updateUniswapV2Router(address) (contracts/tokens/AntiBotBabyToken.sol#175-187)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- AntiBotBABYTOKEN.excludeMultipleAccountsFromFees(address[],bool) (contracts/tokens/AntiBotBabyToken.sol#199-208)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- AntiBotBABYTOKEN.setAutomatedMarketMakerPair(address,bool) (contracts/tokens/AntiBotBabyToken.sol#229-236)
updateGasForProcessing(uint256) should be declared external:
- AntiBotBABYTOKEN.updateGasForProcessing(uint256) (contracts/tokens/AntiBotBabyToken.sol#256-267)
isExcludedFromFees(address) should be declared external:
- AntiBotBABYTOKEN.isExcludedFromFees(address) (contracts/tokens/AntiBotBabyToken.sol#281-283)
withdrawableDividendOf(address) should be declared external:
- AntiBotBABYTOKEN.withdrawableDividendOf(address) (contracts/tokens/AntiBotBabyToken.sol#285-287)
dividendTokenBalanceOf(address) should be declared external:
- AntiBotBABYTOKEN.dividendTokenBalanceOf(address) (contracts/tokens/AntiBotBabyToken.sol#289-291)
distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (contracts/tokens/BabyTokenDividendTracker.sol#117-128)
withdrawDividend() should be declared external:
- BABYTOKENDividendTracker.withdrawDividend() (contracts/tokens/BabyTokenDividendTracker.sol#286-291)
- DividendPayingToken.withdrawDividend() (contracts/tokens/BabyTokenDividendTracker.sol#132-134)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (contracts/tokens/BabyTokenDividendTracker.sol#159-161)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (contracts/tokens/BabyTokenDividendTracker.sol#173-175)
getAccountAtIndex(uint256) should be declared external:
- BABYTOKENDividendTracker.getAccountAtIndex(uint256) (contracts/tokens/BabyTokenDividendTracker.sol#368-389)
process(uint256) should be declared external:
- BABYTOKENDividendTracker.process(uint256) (contracts/tokens/BabyTokenDividendTracker.sol#413-465)
Use the external attribute for functions never called from the contract.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (contracts/tokens/BabyTokenDividendTracker.sol#138-154) has external calls inside a loop: success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/tokens/BabyTokenDividendTracker.sol#143)
Favor pull over push strategy for external calls.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts