Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TheCatWorld.addLiquidity(uint256,uint256) (TheCatWorld.sol#616-629) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553):
External calls:
- swapAndLiquify(swapTokensAtAmount,swapTax) (TheCatWorld.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (TheCatWorld.sol#607-613)
- address(marketingWallet).sendValue(marketingWalletAmt) (TheCatWorld.sol#577)
- address(gamefeeWallet).sendValue(gamefeeWalletAmt) (TheCatWorld.sol#583)
- address(devWallet).sendValue(devAmt) (TheCatWorld.sol#589)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,swapTax) (TheCatWorld.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
State variables written after the call(s):
- super._transfer(from,address(this),swapAmt) (TheCatWorld.sol#528)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,to,amount) (TheCatWorld.sol#530)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- swapping = false (TheCatWorld.sol#499)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94):
External calls:
- success = swapBnbForCustomToken(user,_withdrawableDividend) (DividendPayingToken.sol#75)
- router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#79)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#87)
Apply the check-effects-interactions pattern.
Additional information: link
TheCatWorld.rescueBEP20Tokens(address) (TheCatWorld.sol#162-167) ignores return value by IERC20(tokenAddress).transfer(msg.sender,IERC20(tokenAddress).balanceOf(address(this))) (TheCatWorld.sol#163-166)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#70) is too similar to TheCatWorldDividendTracker.getAccount(address).withdrawableDividends (TheCatWorld.sol#716)
Prevent variables from having similar names.
Additional information: link
SafeMathInt.MAX_INT256 (SafeMath.sol#154) is never used in SafeMathInt (SafeMath.sol#152-210)
TheCatWorld.currentRewardToken (TheCatWorld.sol#42) is never used in TheCatWorld (TheCatWorld.sol#19-630)
Remove unused state variables.
Additional information: link
TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (TheCatWorld.sol#566)
-bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity (TheCatWorld.sol#567)
TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (TheCatWorld.sol#566)
-marketingWalletAmt = unitBalance * 2 * sellTaxes.marketing (TheCatWorld.sol#575)
TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (TheCatWorld.sol#566)
-gamefeeWalletAmt = unitBalance * 2 * sellTaxes.gamefee (TheCatWorld.sol#581)
TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (TheCatWorld.sol#566)
-devAmt = unitBalance * 2 * sellTaxes.dev (TheCatWorld.sol#587)
TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (TheCatWorld.sol#566)
-dividends = unitBalance * 2 * sellTaxes.rewards (TheCatWorld.sol#592)
Consider ordering multiplication before division.
Additional information: link
TheCatWorld._transfer(address,address,uint256).iterations (TheCatWorld.sol#539) is a local variable never initialized
TheCatWorld._transfer(address,address,uint256).lastProcessedIndex (TheCatWorld.sol#541) is a local variable never initialized
TheCatWorld.airdropTokens(address[],uint256[]).i (TheCatWorld.sol#438) is a local variable never initialized
TheCatWorld._transfer(address,address,uint256).swapAmt (TheCatWorld.sol#511) is a local variable never initialized
TheCatWorld._transfer(address,address,uint256).claims (TheCatWorld.sol#540) is a local variable never initialized
DividendPayingToken._withdrawDividendOfUser(address).success_scope_0 (DividendPayingToken.sol#85) is a local variable never initialized
TheCatWorld.setBulkBot(address[],bool).i (TheCatWorld.sol#306) 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
DividendPayingToken.swapBnbForCustomToken(address,uint256) (DividendPayingToken.sol#100-110) ignores return value by router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
TheCatWorld.claim() (TheCatWorld.sol#156-158) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (TheCatWorld.sol#157)
TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553) ignores return value by dividendTracker.process(gas) (TheCatWorld.sol#538-551)
TheCatWorld.addLiquidity(uint256,uint256) (TheCatWorld.sol#616-629) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#43) shadows:
- ERC20._name (ERC20.sol#42) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#43) shadows:
- ERC20._symbol (ERC20.sol#43) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#115) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#129) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#139) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
TheCatWorld.setMaxWallet(uint256) (TheCatWorld.sol#225-227) should emit an event for:
- maxWalletBalance = amount * 10 ** 9 (TheCatWorld.sol#226)
TheCatWorld.setSwapTokensAtAmount(uint256) (TheCatWorld.sol#231-233) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (TheCatWorld.sol#232)
TheCatWorld.setMaxBuyAndSellLimits(uint256,uint256) (TheCatWorld.sol#271-274) should emit an event for:
- maxBuyAmount = maxBuy * 10 ** decimals() (TheCatWorld.sol#272)
- maxSellAmount = maxSell * 10 ** decimals() (TheCatWorld.sol#273)
TheCatWorld.setCooldownTime(uint256,uint256) (TheCatWorld.sol#282-285) should emit an event for:
- coolDownTime = timeInSeconds (TheCatWorld.sol#283)
- coolDownBalance = balance * 10 ** decimals() (TheCatWorld.sol#284)
TheCatWorld.setTradingEnabled(bool,uint256,uint256) (TheCatWorld.sol#287-296) should emit an event for:
- antiBotBlocks = _deadline (TheCatWorld.sol#293)
- launchtax = _launchtax (TheCatWorld.sol#294)
TheCatWorld.setAntiBotBlocks(uint256) (TheCatWorld.sol#311-313) should emit an event for:
- antiBotBlocks = numberOfBlocks (TheCatWorld.sol#312)
Emit an event for critical parameter changes.
Additional information: link
TheCatWorld.setMarketingWallet(address).newWallet (TheCatWorld.sol#213) lacks a zero-check on :
- marketingWallet = newWallet (TheCatWorld.sol#214)
TheCatWorld.setGamefeeWallet(address).newWallet (TheCatWorld.sol#217) lacks a zero-check on :
- gamefeeWallet = newWallet (TheCatWorld.sol#218)
TheCatWorld.setDevWallet(address).newWallet (TheCatWorld.sol#221) lacks a zero-check on :
- devWallet = newWallet (TheCatWorld.sol#222)
DividendPayingToken.setRewardToken(address).newToken (DividendPayingToken.sol#96) lacks a zero-check on :
- rewardToken = newToken (DividendPayingToken.sol#97)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) has external calls inside a loop: rewardToken != router.WETH() (DividendPayingToken.sol#74)
DividendPayingToken.swapBnbForCustomToken(address,uint256) (DividendPayingToken.sol#100-110) has external calls inside a loop: path[0] = router.WETH() (DividendPayingToken.sol#102)
DividendPayingToken.swapBnbForCustomToken(address,uint256) (DividendPayingToken.sol#100-110) has external calls inside a loop: router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) has external calls inside a loop: (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Favor pull over push strategy for external calls.
Additional information: link
TheCatWorld.setGasForProcessing(uint256) (TheCatWorld.sol#341-352) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,TheCatWorld: gasForProcessing must be between 200,000 and 500,000) (TheCatWorld.sol#342-345)
TheCatWorld.slitherConstructorVariables() (TheCatWorld.sol#19-630) uses literals with too many digits:
- gasForProcessing = 300000 (TheCatWorld.sol#60)
TheCatWorld.slitherConstructorConstantVariables() (TheCatWorld.sol#19-630) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (TheCatWorld.sol#32)
TheCatWorldDividendTracker.getAccountAtIndex(uint256) (TheCatWorld.sol#754-775) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (TheCatWorld.sol#769)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Variable 'DividendPayingToken._withdrawDividendOfUser(address).success (DividendPayingToken.sol#75)' in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94) potentially used before declaration: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Variable 'TheCatWorld._transfer(address,address,uint256).claims (TheCatWorld.sol#540)' in TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (TheCatWorld.sol#543-550)
Variable 'TheCatWorld._transfer(address,address,uint256).lastProcessedIndex (TheCatWorld.sol#541)' in TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (TheCatWorld.sol#543-550)
Variable 'TheCatWorld._transfer(address,address,uint256).iterations (TheCatWorld.sol#539)' in TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (TheCatWorld.sol#543-550)
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 TheCatWorld.constructor() (TheCatWorld.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (TheCatWorld.sol#99)
State variables written after the call(s):
- pair = _pair (TheCatWorld.sol#102)
- router = _router (TheCatWorld.sol#101)
Reentrancy in TheCatWorld.constructor() (TheCatWorld.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (TheCatWorld.sol#99)
- _setAutomatedMarketMakerPair(_pair,true) (TheCatWorld.sol#104)
- dividendTracker.excludeFromDividends(newPair,true) (TheCatWorld.sol#332)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (TheCatWorld.sol#107)
- dividendTracker.excludeFromDividends(address(this),true) (TheCatWorld.sol#108)
- dividendTracker.excludeFromDividends(owner(),true) (TheCatWorld.sol#109)
- dividendTracker.excludeFromDividends(deadWallet,true) (TheCatWorld.sol#110)
- dividendTracker.excludeFromDividends(address(_router),true) (TheCatWorld.sol#111)
State variables written after the call(s):
- _mint(owner(),1e8 * (10 ** 9)) (TheCatWorld.sol#124)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#240)
- excludeFromFees(owner(),true) (TheCatWorld.sol#114)
- _isExcludedFromFees[account] = excluded (TheCatWorld.sol#189)
- excludeFromFees(address(this),true) (TheCatWorld.sol#115)
- _isExcludedFromFees[account] = excluded (TheCatWorld.sol#189)
- excludeFromFees(marketingWallet,true) (TheCatWorld.sol#116)
- _isExcludedFromFees[account] = excluded (TheCatWorld.sol#189)
- excludeFromFees(gamefeeWallet,true) (TheCatWorld.sol#117)
- _isExcludedFromFees[account] = excluded (TheCatWorld.sol#189)
- excludeFromFees(devWallet,true) (TheCatWorld.sol#118)
- _isExcludedFromFees[account] = excluded (TheCatWorld.sol#189)
- _mint(owner(),1e8 * (10 ** 9)) (TheCatWorld.sol#124)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#239)
Reentrancy in TheCatWorldDividendTracker.processAccount(address,bool) (TheCatWorld.sol#855-869):
External calls:
- amount = _withdrawDividendOfUser(account) (TheCatWorld.sol#860)
- router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (TheCatWorld.sol#863)
Reentrancy in TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597):
External calls:
- swapTokensForBNB(toSwap) (TheCatWorld.sol#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (TheCatWorld.sol#607-613)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in TheCatWorld.updateDividendTracker(address) (TheCatWorld.sol#129-139):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker),true) (TheCatWorld.sol#134)
- newDividendTracker.excludeFromDividends(address(this),true) (TheCatWorld.sol#135)
- newDividendTracker.excludeFromDividends(owner(),true) (TheCatWorld.sol#136)
- newDividendTracker.excludeFromDividends(address(router),true) (TheCatWorld.sol#137)
State variables written after the call(s):
- dividendTracker = newDividendTracker (TheCatWorld.sol#138)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TheCatWorld._setAutomatedMarketMakerPair(address,bool) (TheCatWorld.sol#324-336):
External calls:
- dividendTracker.excludeFromDividends(newPair,true) (TheCatWorld.sol#332)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (TheCatWorld.sol#335)
Reentrancy in TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553):
External calls:
- swapAndLiquify(swapTokensAtAmount,swapTax) (TheCatWorld.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (TheCatWorld.sol#607-613)
- address(marketingWallet).sendValue(marketingWalletAmt) (TheCatWorld.sol#577)
- address(gamefeeWallet).sendValue(gamefeeWalletAmt) (TheCatWorld.sol#583)
- address(devWallet).sendValue(devAmt) (TheCatWorld.sol#589)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,swapTax) (TheCatWorld.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (TheCatWorld.sol#530)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,address(this),swapAmt) (TheCatWorld.sol#528)
Reentrancy in TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553):
External calls:
- swapAndLiquify(swapTokensAtAmount,swapTax) (TheCatWorld.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (TheCatWorld.sol#607-613)
- address(marketingWallet).sendValue(marketingWalletAmt) (TheCatWorld.sol#577)
- address(gamefeeWallet).sendValue(gamefeeWalletAmt) (TheCatWorld.sol#583)
- address(devWallet).sendValue(devAmt) (TheCatWorld.sol#589)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
- dividendTracker.setBalance(from,balanceOf(from)) (TheCatWorld.sol#532)
- dividendTracker.setBalance(to,balanceOf(to)) (TheCatWorld.sol#533)
- dividendTracker.process(gas) (TheCatWorld.sol#538-551)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,swapTax) (TheCatWorld.sol#496)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (TheCatWorld.sol#543-550)
Reentrancy in TheCatWorld.constructor() (TheCatWorld.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (TheCatWorld.sol#99)
- _setAutomatedMarketMakerPair(_pair,true) (TheCatWorld.sol#104)
- dividendTracker.excludeFromDividends(newPair,true) (TheCatWorld.sol#332)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (TheCatWorld.sol#335)
- _setAutomatedMarketMakerPair(_pair,true) (TheCatWorld.sol#104)
Reentrancy in TheCatWorld.constructor() (TheCatWorld.sol#94-125):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (TheCatWorld.sol#99)
- _setAutomatedMarketMakerPair(_pair,true) (TheCatWorld.sol#104)
- dividendTracker.excludeFromDividends(newPair,true) (TheCatWorld.sol#332)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (TheCatWorld.sol#107)
- dividendTracker.excludeFromDividends(address(this),true) (TheCatWorld.sol#108)
- dividendTracker.excludeFromDividends(owner(),true) (TheCatWorld.sol#109)
- dividendTracker.excludeFromDividends(deadWallet,true) (TheCatWorld.sol#110)
- dividendTracker.excludeFromDividends(address(_router),true) (TheCatWorld.sol#111)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (TheCatWorld.sol#191)
- excludeFromFees(address(this),true) (TheCatWorld.sol#115)
- ExcludeFromFees(account,excluded) (TheCatWorld.sol#191)
- excludeFromFees(owner(),true) (TheCatWorld.sol#114)
- ExcludeFromFees(account,excluded) (TheCatWorld.sol#191)
- excludeFromFees(devWallet,true) (TheCatWorld.sol#118)
- ExcludeFromFees(account,excluded) (TheCatWorld.sol#191)
- excludeFromFees(gamefeeWallet,true) (TheCatWorld.sol#117)
- ExcludeFromFees(account,excluded) (TheCatWorld.sol#191)
- excludeFromFees(marketingWallet,true) (TheCatWorld.sol#116)
- Transfer(address(0),account,amount) (ERC20.sol#241)
- _mint(owner(),1e8 * (10 ** 9)) (TheCatWorld.sol#124)
Reentrancy in TheCatWorldDividendTracker.processAccount(address,bool) (TheCatWorld.sol#855-869):
External calls:
- amount = _withdrawDividendOfUser(account) (TheCatWorld.sol#860)
- router.swapExactETHForTokens{value: amt}(0,path,user,block.timestamp + 2) (DividendPayingToken.sol#105-109)
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Event emitted after the call(s):
- Claim(account,amount,automatic) (TheCatWorld.sol#864)
Reentrancy in TheCatWorld.processDividendTracker(uint256) (TheCatWorld.sol#141-152):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (TheCatWorld.sol#142-143)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (TheCatWorld.sol#144-151)
Reentrancy in TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597):
External calls:
- swapTokensForBNB(toSwap) (TheCatWorld.sol#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (TheCatWorld.sol#607-613)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
Reentrancy in TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597):
External calls:
- swapTokensForBNB(toSwap) (TheCatWorld.sol#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (TheCatWorld.sol#607-613)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- address(marketingWallet).sendValue(marketingWalletAmt) (TheCatWorld.sol#577)
- address(gamefeeWallet).sendValue(gamefeeWalletAmt) (TheCatWorld.sol#583)
- address(devWallet).sendValue(devAmt) (TheCatWorld.sol#589)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (TheCatWorld.sol#571)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (TheCatWorld.sol#621-628)
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (TheCatWorld.sol#595)
Apply the check-effects-interactions pattern.
Additional information: link
TheCatWorld._transfer(address,address,uint256) (TheCatWorld.sol#443-553) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed > coolDownTime,Cooldown is active. Please wait) (TheCatWorld.sol#461)
TheCatWorldDividendTracker.getAccount(address) (TheCatWorld.sol#709-752) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (TheCatWorld.sol#749-751)
TheCatWorldDividendTracker.canAutoClaim(uint256) (TheCatWorld.sol#777-783) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (TheCatWorld.sol#778)
- block.timestamp.sub(lastClaimTime) >= claimWait (TheCatWorld.sol#782)
Avoid relying on block.timestamp.
Additional information: link
TheCatWorld.setTradingEnabled(bool,uint256,uint256) (TheCatWorld.sol#287-296) compares to a boolean constant:
-_enabled == true (TheCatWorld.sol#295)
TheCatWorldDividendTracker.excludeFromDividends(address,bool) (TheCatWorld.sol#671-682) compares to a boolean constant:
-value == true (TheCatWorld.sol#674)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#149-155) is never used and should be removed
SafeMath.div(uint256,uint256) (SafeMath.sol#90-92) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#106-112) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMath.sol#200-203) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMath.sol#171-177) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMath.sol#159-166) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#69-94):
- (secondSuccess) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#77)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#85)
Low level call in Address.sendValue(address,uint256) (TheCatWorld.sol#11-16):
- (success) = recipient.call{value: amount}() (TheCatWorld.sol#14)
Low level call in TheCatWorld.swapAndLiquify(uint256,uint256) (TheCatWorld.sol#555-597):
- (success) = address(dividendTracker).call{value: dividends}() (TheCatWorld.sol#594)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#115) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#129) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#139) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#20) is not in UPPER_CASE_WITH_UNDERSCORES
Function IRouter.WETH() (IDex.sol#16) is not in mixedCase
Parameter TheCatWorld.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._rewards (TheCatWorld.sol#236) is not in mixedCase
Parameter TheCatWorld.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._marketing (TheCatWorld.sol#237) is not in mixedCase
Parameter TheCatWorld.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._gamefee (TheCatWorld.sol#238) is not in mixedCase
Parameter TheCatWorld.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._liquidity (TheCatWorld.sol#239) is not in mixedCase
Parameter TheCatWorld.setBuyTaxes(uint256,uint256,uint256,uint256,uint256)._dev (TheCatWorld.sol#240) is not in mixedCase
Parameter TheCatWorld.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._rewards (TheCatWorld.sol#252) is not in mixedCase
Parameter TheCatWorld.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._marketing (TheCatWorld.sol#253) is not in mixedCase
Parameter TheCatWorld.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._gamefee (TheCatWorld.sol#254) is not in mixedCase
Parameter TheCatWorld.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._liquidity (TheCatWorld.sol#255) is not in mixedCase
Parameter TheCatWorld.setSellTaxes(uint256,uint256,uint256,uint256,uint256)._dev (TheCatWorld.sol#256) is not in mixedCase
Parameter TheCatWorld.setSwapEnabled(bool)._enabled (TheCatWorld.sol#278) is not in mixedCase
Parameter TheCatWorld.setTradingEnabled(bool,uint256,uint256)._enabled (TheCatWorld.sol#288) is not in mixedCase
Parameter TheCatWorld.setTradingEnabled(bool,uint256,uint256)._deadline (TheCatWorld.sol#289) is not in mixedCase
Parameter TheCatWorld.setTradingEnabled(bool,uint256,uint256)._launchtax (TheCatWorld.sol#290) is not in mixedCase
Constant TheCatWorld.deadWallet (TheCatWorld.sol#32) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TheCatWorld._isBot (TheCatWorld.sol#66) is not in mixedCase
Parameter TheCatWorldDividendTracker.getAccount(address)._account (TheCatWorld.sol#709) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
TheCatWorld.currentRewardToken (TheCatWorld.sol#42) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#115-117)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#129-131)
name() should be declared external:
- ERC20.name() (ERC20.sol#62-64)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#70-72)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#113-116)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#121-123)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#132-135)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#150-158)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#172-175)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#191-194)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
updateDividendTracker(address) should be declared external:
- TheCatWorld.updateDividendTracker(address) (TheCatWorld.sol#129-139)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- TheCatWorld.excludeMultipleAccountsFromFees(address[],bool) (TheCatWorld.sol#194-202)
isExcludedFromFees(address) should be declared external:
- TheCatWorld.isExcludedFromFees(address) (TheCatWorld.sol#371-373)
withdrawableDividendOf(address) should be declared external:
- TheCatWorld.withdrawableDividendOf(address) (TheCatWorld.sol#375-377)
dividendTokenBalanceOf(address) should be declared external:
- TheCatWorld.dividendTokenBalanceOf(address) (TheCatWorld.sol#383-385)
getAccountAtIndex(uint256) should be declared external:
- TheCatWorldDividendTracker.getAccountAtIndex(uint256) (TheCatWorld.sol#754-775)
setBalance(address,uint256) should be declared external:
- TheCatWorldDividendTracker.setBalance(address,uint256) (TheCatWorld.sol#785-799)
process(uint256) should be declared external:
- TheCatWorldDividendTracker.process(uint256) (TheCatWorld.sol#801-853)
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