Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BlueCat.swapAndSendDividends(uint256) (#1490-1493) sends eth to arbitrary user
Dangerous calls:
- address(address(dividendTracker)).transfer(amount) (#1491)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BlueCat._transfer(address,address,uint256) (#1306-1387):
External calls:
- swapAndLiquify(AmountLiquidityFee) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1479-1486)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1465-1471)
- swapAndDistribution(AmountOtherFee) (#1331)
- dividendTracker.distributeCAKEDividends(amount) (#1492)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1465-1471)
- buyBackTokens(buyBackBalance) (#1336)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (#1409-1414)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1479-1486)
- swapAndDistribution(AmountOtherFee) (#1331)
- address(address(dividendTracker)).transfer(amount) (#1491)
- address(_marketingWalletAddress).transfer(MarketingAmount) (#1425)
- buyBackTokens(buyBackBalance) (#1336)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (#1409-1414)
State variables written after the call(s):
- AmountLiquidityFee += LFee (#1354)
- AmountLiquidityFee += LFee (#1362)
- AmountOtherFee += OFee (#1356)
- AmountOtherFee += OFee (#1364)
- super._transfer(from,address(this),fees) (#1369)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#706)
- _balances[recipient] = _balances[recipient].add(amount) (#707)
- super._transfer(from,to,amount) (#1372)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#706)
- _balances[recipient] = _balances[recipient].add(amount) (#707)
- swapping = false (#1338)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in BlueCat.updateDividendTracker(address) (#1101-1114):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1107)
- newDividendTracker.excludeFromDividends(address(this)) (#1108)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1109)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1113)
Apply the check-effects-interactions pattern.
Additional information: link
BlueCat._transfer(address,address,uint256).fees (#1348) 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
BlueCat.addLiquidity(uint256,uint256) (#1475-1488) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1479-1486)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (#941) shadows:
- Ownable._owner (#342) (state variable)
Rename the local variables that shadow another component.
Additional information: link
BlueCat.setBuyBackMinBNBAmount(uint256) (#1285-1287) should emit an event for:
- buyBackMinBNBAmount = amount * (10 ** 18) (#1286)
Emit an event for critical parameter changes.
Additional information: link
BlueCat.setDeadWallet(address).addr (#1253) lacks a zero-check on :
- deadWallet = addr (#1254)
Check that the address is not zero.
Additional information: link
Variable 'BlueCat._transfer(address,address,uint256).lastProcessedIndex (#1380)' in BlueCat._transfer(address,address,uint256) (#1306-1387) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1381)
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 BlueCat.updateUniswapV2Router(address) (#1119-1126):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1123-1124)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1125)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BlueCat.updateDividendTracker(address) (#1101-1114):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1107)
- newDividendTracker.excludeFromDividends(address(this)) (#1108)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1109)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1111)
Apply the check-effects-interactions pattern.
Additional information: link
BlueCatDividendTracker.canAutoClaim(uint256) (#1632-1638) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1633)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1637)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#457-464) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 is not recommended for deployment
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 BlueCatDividendTracker.MAPRemove(address) (#1744-1761) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#101)" inContext (#95-104)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BlueCatDividendTracker.processAccount(address,bool) (#1704-1714):
External calls:
- amount = _withdrawDividendOfUser(account) (#1705)
- user.transfer(_withdrawableDividend) (#906)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1708)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1709)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#902) is too similar to BlueCatDividendTracker.getAccount(address).withdrawableDividends (#1573)
Prevent variables from having similar names.
Additional information: link
BlueCatDividendTracker.getAccountAtIndex(uint256) (#1613-1630) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1624)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#452) is never used in SafeMathInt (#450-508)
Remove unused state variables.
Additional information: link
MAPGet(address) should be declared external:
- BlueCatDividendTracker.MAPGet(address) (#1716-1718)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts