Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
KATZ.swapETHForTokens(uint256) (#1551-1565) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
KATZ.addLiquidity(uint256,uint256) (#1567-1580) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
State variables written after the call(s):
- swapAndSendFee(forMarketing) (#1481)
- inSwapAndLiquify = true (#883)
- inSwapAndLiquify = false (#885)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapTokensForEth(forBuyBack) (#1484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
State variables written after the call(s):
- swapTokensForEth(forBuyBack) (#1484)
- inSwapAndLiquify = true (#883)
- inSwapAndLiquify = false (#885)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapTokensForEth(forBuyBack) (#1484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1341)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing).add(rBuyBack) (#1353)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1641)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1665)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1691)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1642)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1716)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1692)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1667)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1718)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _rTotal = _rTotal.sub(rFee) (#1228)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1343)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing).add(tBuyBack) (#1354)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1715)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1690)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1666)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1717)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- inSwapAndLiquify = true (#883)
- inSwapAndLiquify = false (#885)
Apply the check-effects-interactions pattern.
Additional information: link
KATZ.claimStuckTokens(address) (#1211-1222) ignores return value by erc20token.transfer(owner(),balance) (#1221)
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.
KATZ.addLiquidity(uint256,uint256) (#1567-1580) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
Ensure that all the return values of the function calls are used.
Additional information: link
KATZ.allowance(address,address).owner (#969) shadows:
- Ownable.owner() (#232-234) (function)
KATZ._approve(address,address,uint256).owner (#1411) shadows:
- Ownable.owner() (#232-234) (function)
Rename the local variables that shadow another component.
Additional information: link
KATZ.controlBuyBack(bool,uint256) (#1149-1152) should emit an event for:
- buybackLimit = amount (#1151)
KATZ.setNumTokensSellToAddToLiquidity(uint256) (#1168-1173) should emit an event for:
- numTokensSellToAddToLiquidity = numTokens * 10 ** _decimals (#1172)
KATZ.setMaxBuyAmount(uint256) (#1186-1188) should emit an event for:
- maxBuyAmount = value * 10 ** _decimals (#1187)
KATZ.setMaxSellAmount(uint256) (#1190-1192) should emit an event for:
- maxSellAmount = value * 10 ** _decimals (#1191)
KATZ.setMaxWallet(uint256) (#1194-1196) should emit an event for:
- maxWalletAmount = value * 10 ** _decimals (#1195)
Emit an event for critical parameter changes.
Additional information: link
KATZ.constructor(uint16,uint16,uint16,uint16,address,uint256,uint256,uint256,uint256,uint256)._marketing (#893) lacks a zero-check on :
- _marketingWallet = _marketing (#930)
KATZ.updateRouter(address)._uniswapV2Pair (#1181-1182) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1183)
Check that the address is not zero.
Additional information: link
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
State variables written after the call(s):
- swapAndSendFee(forMarketing) (#1481)
- _allowances[owner][spender] = amount (#1418)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapTokensForEth(forBuyBack) (#1484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
State variables written after the call(s):
- swapTokensForEth(forBuyBack) (#1484)
- _allowances[owner][spender] = amount (#1418)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapTokensForEth(forBuyBack) (#1484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
State variables written after the call(s):
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- _allowances[owner][spender] = amount (#1418)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _buybackFee = sellFee.buybackFee (#1402)
- _buybackFee = 0 (#1388)
- _buybackFee = buyFee.buybackFee (#1395)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _liquidityFee = 0 (#1387)
- _liquidityFee = buyFee.liquidityFee (#1394)
- _liquidityFee = sellFee.liquidityFee (#1401)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _marketingFee = sellFee.marketingFee (#1403)
- _marketingFee = buyFee.marketingFee (#1396)
- _marketingFee = 0 (#1389)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1229)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _taxFee = buyFee.taxFee (#1393)
- _taxFee = sellFee.taxFee (#1400)
- _taxFee = 0 (#1386)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- antiSniperMode = true (#1610)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- sniperList.push(address(recipient)) (#1611)
Reentrancy in KATZ.constructor(uint16,uint16,uint16,uint16,address,uint256,uint256,uint256,uint256,uint256) (#888-937):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#924-925)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#933)
- _isExcludedFromFee[address(this)] = true (#934)
- _marketingWallet = _marketing (#930)
- uniswapV2Router = _uniswapV2Router (#928)
Reentrancy in KATZ.swapAndLiquify(uint256) (#1502-1523):
External calls:
- swapTokensForEth(half) (#1514)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- addLiquidity(otherHalf,newBalance) (#1520)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1520)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1520)
- _allowances[owner][spender] = amount (#1418)
- addLiquidity(otherHalf,newBalance) (#1520)
- inSwapAndLiquify = true (#883)
- inSwapAndLiquify = false (#885)
Reentrancy in KATZ.transferFrom(address,address,uint256) (#987-1002):
External calls:
- _transfer(sender,recipient,amount) (#992)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- _transfer(sender,recipient,amount) (#992)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- address(_marketingWallet).transfer(newBalance) (#1530)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#993-1000)
- _allowances[owner][spender] = amount (#1418)
Reentrancy in KATZ.updateRouter(address) (#1175-1184):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1181-1182)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1183)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- swapAndSendFee(forMarketing) (#1481)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapTokensForEth(forBuyBack) (#1484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- swapTokensForEth(forBuyBack) (#1484)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapTokensForEth(forBuyBack) (#1484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- SwapAndLiquify(half,newBalance,otherHalf) (#1522)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- Transfer(sender,recipient,tTransferAmount) (#1649)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- Transfer(sender,recipient,tTransferAmount) (#1674)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- Transfer(sender,recipient,tTransferAmount) (#1699)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- Transfer(sender,recipient,tTransferAmount) (#1725)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
Reentrancy in KATZ.constructor(uint16,uint16,uint16,uint16,address,uint256,uint256,uint256,uint256,uint256) (#888-937):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#924-925)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#936)
Reentrancy in KATZ.swapAndLiquify(uint256) (#1502-1523):
External calls:
- swapTokensForEth(half) (#1514)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
- addLiquidity(otherHalf,newBalance) (#1520)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1520)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- addLiquidity(otherHalf,newBalance) (#1520)
- SwapAndLiquify(half,newBalance,otherHalf) (#1522)
Reentrancy in KATZ.transferFrom(address,address,uint256) (#987-1002):
External calls:
- _transfer(sender,recipient,amount) (#992)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1542-1548)
External calls sending eth:
- _transfer(sender,recipient,amount) (#992)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- address(_marketingWallet).transfer(newBalance) (#1530)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#993-1000)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#299-309) uses assembly
- INLINE ASM (#305-307)
Address.verifyCallResult(bool,bytes,string) (#468-488) uses assembly
- INLINE ASM (#480-483)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.10']
- >=0.6.2 (#10)
- >=0.6.2 (#108)
- >=0.5.0 (#154)
- ^0.8.0 (#176)
- ^0.8.0 (#202)
- ^0.8.0 (#276)
- ^0.8.0 (#495)
- ^0.8.0 (#724)
- ^0.8.10 (#805)
Use one Solidity version.
Additional information: link
KATZ.includeInReward(address) (#1091-1102) has costly operations inside a loop:
- _excluded.pop() (#1098)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#352-354) is never used and should be removed
Address.functionCall(address,bytes,string) (#362-368) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#381-387) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#395-406) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#441-443) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#451-460) is never used and should be removed
Address.functionStaticCall(address,bytes) (#414-416) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#424-433) is never used and should be removed
Address.isContract(address) (#299-309) is never used and should be removed
Address.sendValue(address,uint256) (#327-332) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#468-488) is never used and should be removed
Context._msgData() (#193-195) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#682-691) is never used and should be removed
SafeMath.mod(uint256,uint256) (#642-644) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#708-717) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#513-519) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#555-560) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#567-572) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#538-548) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#526-531) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.2 (#10) allows old versions
Pragma version>=0.6.2 (#108) allows old versions
Pragma version>=0.5.0 (#154) allows old versions
Pragma version^0.8.0 (#176) allows old versions
Pragma version^0.8.0 (#202) allows old versions
Pragma version^0.8.0 (#276) allows old versions
Pragma version^0.8.0 (#495) allows old versions
Pragma version^0.8.0 (#724) allows old versions
Pragma version^0.8.10 (#805) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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
Low level call in Address.sendValue(address,uint256) (#327-332):
- (success) = recipient.call{value: amount}() (#330)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#395-406):
- (success,returndata) = target.call{value: value}(data) (#404)
Low level call in Address.functionStaticCall(address,bytes,string) (#424-433):
- (success,returndata) = target.staticcall(data) (#431)
Low level call in Address.functionDelegateCall(address,bytes,string) (#451-460):
- (success,returndata) = target.delegatecall(data) (#458)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#14) is not in mixedCase
Parameter KATZ.setSwapAndLiquifyEnabled(bool)._enabled (#1202) is not in mixedCase
Parameter KATZ.claimStuckTokens(address)._token (#1211) is not in mixedCase
Parameter KATZ.calculateTaxFee(uint256)._amount (#1357) is not in mixedCase
Parameter KATZ.calculateLiquidityFee(uint256)._amount (#1361) is not in mixedCase
Parameter KATZ.calculatebuybackFee(uint256)._amount (#1369) is not in mixedCase
Parameter KATZ.calculateMarketingFee(uint256)._amount (#1377) is not in mixedCase
Variable KATZ._isBlackListed (#819) is not in mixedCase
Variable KATZ._marketingWallet (#858) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
State variables written after the call(s):
- swapTokensForEth(forBuyBack) (#1484)
- _allowances[owner][spender] = amount (#1418)
- swapTokensForEth(forBuyBack) (#1484)
- inSwapAndLiquify = true (#883)
- inSwapAndLiquify = false (#885)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- swapTokensForEth(forBuyBack) (#1484)
Reentrancy in KATZ._transfer(address,address,uint256) (#1422-1500):
External calls:
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
External calls sending eth:
- swapETHForTokens(buybackLimit.div(10)) (#1448)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
- swapAndSendFee(forMarketing) (#1481)
- address(_marketingWallet).transfer(newBalance) (#1530)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
State variables written after the call(s):
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- _allowances[owner][spender] = amount (#1418)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _buybackFee = sellFee.buybackFee (#1402)
- _buybackFee = 0 (#1388)
- _buybackFee = buyFee.buybackFee (#1395)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _liquidityFee = 0 (#1387)
- _liquidityFee = buyFee.liquidityFee (#1394)
- _liquidityFee = sellFee.liquidityFee (#1401)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _marketingFee = sellFee.marketingFee (#1403)
- _marketingFee = buyFee.marketingFee (#1396)
- _marketingFee = 0 (#1389)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1341)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing).add(rBuyBack) (#1353)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1641)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1665)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1691)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1642)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1716)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1692)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1667)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1718)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _rTotal = _rTotal.sub(rFee) (#1228)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1229)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1343)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing).add(tBuyBack) (#1354)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1715)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1690)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1666)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1717)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- _taxFee = buyFee.taxFee (#1393)
- _taxFee = sellFee.taxFee (#1400)
- _taxFee = 0 (#1386)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- antiSniperMode = true (#1610)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- inSwapAndLiquify = true (#883)
- inSwapAndLiquify = false (#885)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- sniperList.push(address(recipient)) (#1611)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- SwapAndLiquify(half,newBalance,otherHalf) (#1522)
- swapAndLiquify(contractTokenBalance - forMarketing - forBuyBack) (#1487)
- Transfer(sender,recipient,tTransferAmount) (#1649)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- Transfer(sender,recipient,tTransferAmount) (#1699)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- Transfer(sender,recipient,tTransferAmount) (#1674)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
- Transfer(sender,recipient,tTransferAmount) (#1725)
- _tokenTransfer(from,to,amount,takeFee) (#1499)
Reentrancy in KATZ.transferFrom(address,address,uint256) (#987-1002):
External calls:
- _transfer(sender,recipient,amount) (#992)
- address(_marketingWallet).transfer(newBalance) (#1530)
External calls sending eth:
- _transfer(sender,recipient,amount) (#992)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1572-1579)
- address(_marketingWallet).transfer(newBalance) (#1530)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(0xdead),block.timestamp.add(300)) (#1558-1563)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#993-1000)
- _allowances[owner][spender] = amount (#1418)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1419)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#993-1000)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#19) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#20)
Variable KATZ.reflectionFromToken(uint256,bool).rTransferAmount (#1063) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ._transferToExcluded(address,address,uint256).rTransferAmount (#1659) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ._transferFromExcluded(address,address,uint256).rTransferAmount (#1684) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ._transferFromExcluded(address,address,uint256).rTransferAmount (#1684) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._transferToExcluded(address,address,uint256).rTransferAmount (#1659) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._getValues(uint256).rTransferAmount (#1251) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ.reflectionFromToken(uint256,bool).rTransferAmount (#1063) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ._transferBothExcluded(address,address,uint256).rTransferAmount (#1709) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ._getValues(uint256).rTransferAmount (#1251) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ.reflectionFromToken(uint256,bool).rTransferAmount (#1063) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._transferStandard(address,address,uint256).rTransferAmount (#1635) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ._transferFromExcluded(address,address,uint256).rTransferAmount (#1684) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ._transferToExcluded(address,address,uint256).rTransferAmount (#1659) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ._transferBothExcluded(address,address,uint256).rTransferAmount (#1709) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ._getValues(uint256).rTransferAmount (#1251) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ.reflectionFromToken(uint256,bool).rTransferAmount (#1063) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ._transferBothExcluded(address,address,uint256).rTransferAmount (#1709) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ._getValues(uint256).rTransferAmount (#1251) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ._transferBothExcluded(address,address,uint256).rTransferAmount (#1709) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._getValues(uint256).rTransferAmount (#1251) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1310-1314) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ._transferToExcluded(address,address,uint256).rTransferAmount (#1659) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ._transferStandard(address,address,uint256).rTransferAmount (#1635) is too similar to KATZ._transferStandard(address,address,uint256).tTransferAmount (#1637)
Variable KATZ._transferFromExcluded(address,address,uint256).rTransferAmount (#1684) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1310-1314) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ._transferBothExcluded(address,address,uint256).rTransferAmount (#1709) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Variable KATZ._transferStandard(address,address,uint256).rTransferAmount (#1635) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ.reflectionFromToken(uint256,bool).rTransferAmount (#1063) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Variable KATZ._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1310-1314) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._transferBothExcluded(address,address,uint256).rTransferAmount (#1709) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1310-1314) is too similar to KATZ._transferFromExcluded(address,address,uint256).tTransferAmount (#1686)
Variable KATZ.reflectionFromToken(uint256,bool).rTransferAmount (#1063) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ._getValues(uint256).rTransferAmount (#1251) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Variable KATZ._transferStandard(address,address,uint256).rTransferAmount (#1635) is too similar to KATZ._getValues(uint256).tTransferAmount (#1245)
Variable KATZ._transferFromExcluded(address,address,uint256).rTransferAmount (#1684) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Variable KATZ._transferToExcluded(address,address,uint256).rTransferAmount (#1659) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Variable KATZ._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1310-1314) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Variable KATZ._transferStandard(address,address,uint256).rTransferAmount (#1635) is too similar to KATZ._transferToExcluded(address,address,uint256).tTransferAmount (#1661)
Variable KATZ._transferFromExcluded(address,address,uint256).rTransferAmount (#1684) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1310-1314) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ._transferToExcluded(address,address,uint256).rTransferAmount (#1659) is too similar to KATZ._getTValues(uint256).tTransferAmount (#1284)
Variable KATZ._transferStandard(address,address,uint256).rTransferAmount (#1635) is too similar to KATZ._transferBothExcluded(address,address,uint256).tTransferAmount (#1711)
Prevent variables from having similar names.
Additional information: link
KATZ._decimals (#829) should be constant
KATZ._name (#827) should be constant
KATZ._symbol (#828) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#251-253)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#259-262)
name() should be declared external:
- KATZ.name() (#939-941)
symbol() should be declared external:
- KATZ.symbol() (#943-945)
decimals() should be declared external:
- KATZ.decimals() (#947-949)
totalSupply() should be declared external:
- KATZ.totalSupply() (#951-953)
transfer(address,uint256) should be declared external:
- KATZ.transfer(address,uint256) (#960-967)
allowance(address,address) should be declared external:
- KATZ.allowance(address,address) (#969-976)
approve(address,uint256) should be declared external:
- KATZ.approve(address,uint256) (#978-985)
transferFrom(address,address,uint256) should be declared external:
- KATZ.transferFrom(address,address,uint256) (#987-1002)
increaseAllowance(address,uint256) should be declared external:
- KATZ.increaseAllowance(address,uint256) (#1004-1015)
decreaseAllowance(address,uint256) should be declared external:
- KATZ.decreaseAllowance(address,uint256) (#1017-1031)
isExcludedFromReward(address) should be declared external:
- KATZ.isExcludedFromReward(address) (#1033-1035)
totalFees() should be declared external:
- KATZ.totalFees() (#1037-1039)
deliver(uint256) should be declared external:
- KATZ.deliver(uint256) (#1041-1051)
reflectionFromToken(uint256,bool) should be declared external:
- KATZ.reflectionFromToken(uint256,bool) (#1053-1066)
excludeFromReward(address) should be declared external:
- KATZ.excludeFromReward(address) (#1081-1089)
showSniperList() should be declared external:
- KATZ.showSniperList() (#1117-1119)
showSniperListLength() should be declared external:
- KATZ.showSniperListLength() (#1121-1123)
setSwapAndLiquifyEnabled(bool) should be declared external:
- KATZ.setSwapAndLiquifyEnabled(bool) (#1202-1205)
isExcludedFromFee(address) should be declared external:
- KATZ.isExcludedFromFee(address) (#1406-1408)
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