Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
StrayKittenz.transferEthOut(uint256,uint256) (#1011-1014) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(marketingBalance) (#1013)
StrayKittenz.swapETHForTokens(uint256) (#1016-1031) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
StrayKittenz.addLiquidity(uint256,uint256) (#1051-1064) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in StrayKittenz._transfer(address,address,uint256) (#914-965):
External calls:
- swapAndLiquify(contractTokenBalance) (#948)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#948)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _buyBackFee = _previousBuyBackFee (#1189)
- _buyBackFee = _ReverseBuyBackFee (#1206)
- _buyBackFee = 0 (#1181)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _devFee = _previousDevFee (#1191)
- _devFee = _ReverseDevFee (#1208)
- _devFee = 0 (#1183)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _liquidityFee = _previousLiquidityFee (#1188)
- _liquidityFee = _ReverseLiquidityFee (#1205)
- _liquidityFee = 0 (#1180)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _marketingFee = _previousMarketingFee (#1190)
- _marketingFee = _ReverseMarketingFee (#1207)
- _marketingFee = 0 (#1182)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1151)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1084)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1085)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _rTotal = _rTotal.sub(rFee) (#1144)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1153)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1088)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1090)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1092)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1093)
- buyBackTokens(buyBackAmount) (#954)
- inSwapAndLiquify = true (#670)
- inSwapAndLiquify = false (#672)
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.
StrayKittenz.swapAndLiquify(uint256) (#973-1009) performs a multiplication on the result of a division:
-half = toLiquify.div(2) (#983)
-liquidityBalance = fromSwap.mul(half).div(toSwapForEth) (#998)
StrayKittenz.swapAndLiquify(uint256) (#973-1009) performs a multiplication on the result of a division:
-toBuyBack = contractTokenBalance.mul(_buyBackFee).div(totalBNBFees) (#978)
-buyBackBalance = fromSwap.mul(toBuyBack).div(toSwapForEth) (#999)
StrayKittenz.swapAndLiquify(uint256) (#973-1009) performs a multiplication on the result of a division:
-toDev = contractTokenBalance.mul(_devFee).div(totalBNBFees) (#979)
-devBalance = fromSwap.mul(toDev).div(toSwapForEth) (#1000)
Consider ordering multiplication before division.
Additional information: link
StrayKittenz.addLiquidity(uint256,uint256) (#1051-1064) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
Ensure that all the return values of the function calls are used.
Additional information: link
StrayKittenz._approve(address,address,uint256).owner (#906) shadows:
- Ownable.owner() (#538-540) (function)
Rename the local variables that shadow another component.
Additional information: link
StrayKittenz.setTaxes(uint256,uint256,uint256,uint256,uint256) (#765-772) should emit an event for:
- _reflectFee = reflectFee (#767)
- _liquidityFee = liquidityFee (#768)
- _marketingFee = marketingFee (#769)
- _buyBackFee = buyBackFee (#770)
- _devFee = devFee (#771)
StrayKittenz.setReverseTaxes(uint256,uint256,uint256,uint256,uint256) (#774-781) should emit an event for:
- _ReverseReflectFee = reflectFee (#776)
- _ReverseLiquidityFee = liquidityFee (#777)
- _ReverseMarketingFee = marketingFee (#778)
- _ReverseBuyBackFee = buyBackFee (#779)
- _ReverseDevFee = devFee (#780)
StrayKittenz.setMaxTxPercent(uint256,uint256) (#783-787) should emit an event for:
- _maxTxAmount = _tTotal.mul(percent).div(divisor) (#785)
StrayKittenz.setMaxWallet(uint256,uint256) (#789-793) should emit an event for:
- _maxWalletAmount = _tTotal.mul(percent).div(divisor) (#791)
StrayKittenz.setPercentToSell(uint256) (#795-798) should emit an event for:
- percentToSell = percent (#796)
- numTokensSellToAddToLiquidity = (_tTotal * percentToSell) / 10000 (#797)
StrayKittenz.setBuyBackSellLimit(uint256) (#815-817) should emit an event for:
- buyBackSellLimit = limit * 10 ** _decimalsMul (#816)
StrayKittenz.setBuyBackAmount(uint256,uint256) (#819-821) should emit an event for:
- buyBackAmount = amount * 10 ** multiplier (#820)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in StrayKittenz._transfer(address,address,uint256) (#914-965):
External calls:
- swapAndLiquify(contractTokenBalance) (#948)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#948)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#964)
- Reverse = true (#1071)
- Reverse = false (#1194)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousBuyBackFee = _buyBackFee (#1200)
- _previousBuyBackFee = _buyBackFee (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousDevFee = _devFee (#1202)
- _previousDevFee = _devFee (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousLiquidityFee = _liquidityFee (#1199)
- _previousLiquidityFee = _liquidityFee (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousMarketingFee = _marketingFee (#1201)
- _previousMarketingFee = _marketingFee (#1176)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousReflectFee = _reflectFee (#1198)
- _previousReflectFee = _reflectFee (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _reflectFee = _previousReflectFee (#1187)
- _reflectFee = _ReverseReflectFee (#1204)
- _reflectFee = 0 (#1179)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1145)
Reentrancy in StrayKittenz.constructor() (#675-705):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#680-681)
State variables written after the call(s):
- _approve(_msgSender(),_routerAddress,_tTotal) (#702)
- _allowances[owner][spender] = amount (#910)
- _excluded.push(address(this)) (#689)
- _excluded.push(owner()) (#691)
- _excluded.push(burnAddress) (#693)
- _excluded.push(lpPair) (#695)
- _excluded.push(0x2D045410f002A95EFcEE67759A92518fA3FcE677) (#699)
- _isExcluded[address(this)] = true (#688)
- _isExcluded[owner()] = true (#690)
- _isExcluded[burnAddress] = true (#692)
- _isExcluded[lpPair] = true (#694)
- _isExcluded[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#698)
- _isExcludedFromFee[owner()] = true (#685)
- _isExcludedFromFee[address(this)] = true (#686)
- _isExcludedFromFee[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#697)
- _liquidityHolders[owner()] = true (#687)
- dexRouter = _dexRouter (#683)
Reentrancy in StrayKittenz.setNewRouter(address) (#745-755):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#749)
State variables written after the call(s):
- dexRouter = _newRouter (#754)
Reentrancy in StrayKittenz.swapAndLiquify(uint256) (#973-1009):
External calls:
- swapTokensForEth(toSwapForEth) (#994)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
- addLiquidity(otherHalf,liquidityBalance) (#1004)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#1004)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
State variables written after the call(s):
- addLiquidity(otherHalf,liquidityBalance) (#1004)
- _allowances[owner][spender] = amount (#910)
Reentrancy in StrayKittenz.transferFrom(address,address,uint256) (#729-733):
External calls:
- _transfer(sender,recipient,amount) (#730)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
External calls sending eth:
- _transfer(sender,recipient,amount) (#730)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#731)
- _allowances[owner][spender] = amount (#910)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in StrayKittenz._transfer(address,address,uint256) (#914-965):
External calls:
- swapAndLiquify(contractTokenBalance) (#948)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#948)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1030)
- buyBackTokens(buyBackAmount) (#954)
- Transfer(sender,address(this),tLiquidity) (#1154)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- Transfer(sender,recipient,tTransferAmount) (#1101)
- _tokenTransfer(from,to,amount,takeFee) (#964)
Reentrancy in StrayKittenz.constructor() (#675-705):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#680-681)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- _approve(_msgSender(),_routerAddress,_tTotal) (#702)
- Transfer(address(0),_msgSender(),_tTotal) (#704)
Reentrancy in StrayKittenz.swapAndLiquify(uint256) (#973-1009):
External calls:
- swapTokensForEth(toSwapForEth) (#994)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
- addLiquidity(otherHalf,liquidityBalance) (#1004)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#1004)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- addLiquidity(otherHalf,liquidityBalance) (#1004)
- SwapAndLiquify(half,liquidityBalance,otherHalf) (#1006)
Reentrancy in StrayKittenz.swapETHForTokens(uint256) (#1016-1031):
External calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1030)
Reentrancy in StrayKittenz.transferFrom(address,address,uint256) (#729-733):
External calls:
- _transfer(sender,recipient,amount) (#730)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1042-1048)
External calls sending eth:
- _transfer(sender,recipient,amount) (#730)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#731)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#276-285) uses assembly
- INLINE ASM (#283)
Address._functionCallWithValue(address,bytes,uint256,string) (#313-334) uses assembly
- INLINE ASM (#326-329)
Do not use evm assembly.
Additional information: link
StrayKittenz.restoreAllFee() (#1186-1195) compares to a boolean constant:
-Reverse == true (#1193)
Remove the equality to the boolean constant.
Additional information: link
StrayKittenz.includeInReward(address) (#890-901) has costly operations inside a loop:
- _excluded.pop() (#897)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#313-334) is never used and should be removed
Address.functionCall(address,bytes) (#295-297) is never used and should be removed
Address.functionCall(address,bytes,string) (#299-301) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#304-306) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#308-311) is never used and should be removed
Address.isContract(address) (#276-285) is never used and should be removed
Address.sendValue(address,uint256) (#287-293) is never used and should be removed
Context._msgData() (#20-24) is never used and should be removed
SafeMath.mod(uint256,uint256) (#253-255) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#269-272) is never used and should be removed
Remove unused functions.
Additional information: link
StrayKittenz._decimalsMul (#581) is set pre-construction with a non-constant function or state variable:
- _decimals
StrayKittenz._tTotal (#582) is set pre-construction with a non-constant function or state variable:
- startingSupply * 10 ** _decimalsMul
StrayKittenz._rTotal (#583) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
StrayKittenz._previousReflectFee (#590) is set pre-construction with a non-constant function or state variable:
- _reflectFee
StrayKittenz._previousLiquidityFee (#594) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
StrayKittenz._previousMarketingFee (#598) is set pre-construction with a non-constant function or state variable:
- _marketingFee
StrayKittenz._previousBuyBackFee (#602) is set pre-construction with a non-constant function or state variable:
- _buyBackFee
StrayKittenz._previousDevFee (#606) is set pre-construction with a non-constant function or state variable:
- _devFee
StrayKittenz.buyBackSellLimit (#626) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 2) / 100
StrayKittenz._maxTxAmount (#634) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTxPercent) / maxTxDivisor
StrayKittenz._previousMaxTxAmount (#635) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
StrayKittenz.maxTxAmountUI (#636) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxTxPercent) / maxTxDivisor
StrayKittenz._maxWalletAmount (#641) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWalletPercent) / maxWalletDivisor
StrayKittenz._previousMaxWalletAmount (#642) is set pre-construction with a non-constant function or state variable:
- _maxWalletAmount
StrayKittenz.maxWalletAmountUI (#643) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxWalletPercent) / maxWalletDivisor
StrayKittenz.numTokensSellToAddToLiquidity (#648) is set pre-construction with a non-constant function or state variable:
- (_tTotal * percentToSell) / 10000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version>=0.8.0<0.9.0 (#13) is too complex
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) (#287-293):
- (success) = recipient.call{value: amount}() (#291)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#313-334):
- (success,returndata) = target.call{value: weiValue}(data) (#317)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#362) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#363) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#377) is not in mixedCase
Function IUniswapV2Router01.WETH() (#395) is not in mixedCase
Parameter StrayKittenz.setSwapAndLiquifyEnabled(bool)._enabled (#805) is not in mixedCase
Parameter StrayKittenz.setBuyBackEnabled(bool)._enabled (#810) is not in mixedCase
Parameter StrayKittenz.calculateTaxFee(uint256)._amount (#1157) is not in mixedCase
Parameter StrayKittenz.calculateLiquidityFee(uint256)._amount (#1161) is not in mixedCase
Variable StrayKittenz._reflectFee (#589) is not in mixedCase
Variable StrayKittenz._ReverseReflectFee (#591) is not in mixedCase
Variable StrayKittenz._liquidityFee (#593) is not in mixedCase
Variable StrayKittenz._ReverseLiquidityFee (#595) is not in mixedCase
Variable StrayKittenz._marketingFee (#597) is not in mixedCase
Variable StrayKittenz._ReverseMarketingFee (#599) is not in mixedCase
Variable StrayKittenz._buyBackFee (#601) is not in mixedCase
Variable StrayKittenz._ReverseBuyBackFee (#603) is not in mixedCase
Variable StrayKittenz._devFee (#605) is not in mixedCase
Variable StrayKittenz._ReverseDevFee (#607) is not in mixedCase
Variable StrayKittenz.ReverseTaxes (#628) is not in mixedCase
Variable StrayKittenz.Reverse (#629) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in StrayKittenz._transfer(address,address,uint256) (#914-965):
External calls:
- swapAndLiquify(contractTokenBalance) (#948)
- _devWallet.transfer(devBalance) (#1012)
- _marketingWallet.transfer(marketingBalance) (#1013)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#948)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- buyBackTokens(buyBackAmount) (#954)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#964)
- Reverse = true (#1071)
- Reverse = false (#1194)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _buyBackFee = _previousBuyBackFee (#1189)
- _buyBackFee = _ReverseBuyBackFee (#1206)
- _buyBackFee = 0 (#1181)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _devFee = _previousDevFee (#1191)
- _devFee = _ReverseDevFee (#1208)
- _devFee = 0 (#1183)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _liquidityFee = _previousLiquidityFee (#1188)
- _liquidityFee = _ReverseLiquidityFee (#1205)
- _liquidityFee = 0 (#1180)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _marketingFee = _previousMarketingFee (#1190)
- _marketingFee = _ReverseMarketingFee (#1207)
- _marketingFee = 0 (#1182)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousBuyBackFee = _buyBackFee (#1200)
- _previousBuyBackFee = _buyBackFee (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousDevFee = _devFee (#1202)
- _previousDevFee = _devFee (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousLiquidityFee = _liquidityFee (#1199)
- _previousLiquidityFee = _liquidityFee (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousMarketingFee = _marketingFee (#1201)
- _previousMarketingFee = _marketingFee (#1176)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _previousReflectFee = _reflectFee (#1198)
- _previousReflectFee = _reflectFee (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1151)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1084)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1085)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _rTotal = _rTotal.sub(rFee) (#1144)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _reflectFee = _previousReflectFee (#1187)
- _reflectFee = _ReverseReflectFee (#1204)
- _reflectFee = 0 (#1179)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1145)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1153)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1088)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1090)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1092)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1093)
- buyBackTokens(buyBackAmount) (#954)
- inSwapAndLiquify = true (#670)
- inSwapAndLiquify = false (#672)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1030)
- buyBackTokens(buyBackAmount) (#954)
- Transfer(sender,address(this),tLiquidity) (#1154)
- _tokenTransfer(from,to,amount,takeFee) (#964)
- Transfer(sender,recipient,tTransferAmount) (#1101)
- _tokenTransfer(from,to,amount,takeFee) (#964)
Reentrancy in StrayKittenz.transferFrom(address,address,uint256) (#729-733):
External calls:
- _transfer(sender,recipient,amount) (#730)
- _devWallet.transfer(devBalance) (#1012)
- _marketingWallet.transfer(marketingBalance) (#1013)
External calls sending eth:
- _transfer(sender,recipient,amount) (#730)
- _devWallet.transfer(devBalance) (#1012)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1056-1063)
- _marketingWallet.transfer(marketingBalance) (#1013)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1023-1028)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#731)
- _allowances[owner][spender] = amount (#910)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#731)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#399) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#400)
Variable StrayKittenz.reflectionFromToken(uint256,bool).rTransferAmount (#869) is too similar to StrayKittenz._getTValues(uint256).tTransferAmount (#1113)
Variable StrayKittenz._getValues(uint256).rTransferAmount (#1106) is too similar to StrayKittenz._getTValues(uint256).tTransferAmount (#1113)
Variable StrayKittenz.reflectionFromToken(uint256,bool).rTransferAmount (#869) is too similar to StrayKittenz._finalizeTransfer(address,address,uint256).tTransferAmount (#1082)
Variable StrayKittenz._finalizeTransfer(address,address,uint256).rTransferAmount (#1082) is too similar to StrayKittenz._getTValues(uint256).tTransferAmount (#1113)
Variable StrayKittenz.reflectionFromToken(uint256,bool).rTransferAmount (#869) is too similar to StrayKittenz._getValues(uint256).tTransferAmount (#1105)
Variable StrayKittenz._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1121) is too similar to StrayKittenz._getTValues(uint256).tTransferAmount (#1113)
Variable StrayKittenz._finalizeTransfer(address,address,uint256).rTransferAmount (#1082) is too similar to StrayKittenz._finalizeTransfer(address,address,uint256).tTransferAmount (#1082)
Variable StrayKittenz._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1121) is too similar to StrayKittenz._getValues(uint256).tTransferAmount (#1105)
Variable StrayKittenz._getValues(uint256).rTransferAmount (#1106) is too similar to StrayKittenz._getValues(uint256).tTransferAmount (#1105)
Variable StrayKittenz._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1121) is too similar to StrayKittenz._finalizeTransfer(address,address,uint256).tTransferAmount (#1082)
Variable StrayKittenz._getValues(uint256).rTransferAmount (#1106) is too similar to StrayKittenz._finalizeTransfer(address,address,uint256).tTransferAmount (#1082)
Variable StrayKittenz._finalizeTransfer(address,address,uint256).rTransferAmount (#1082) is too similar to StrayKittenz._getValues(uint256).tTransferAmount (#1105)
Prevent variables from having similar names.
Additional information: link
StrayKittenz.slitherConstructorVariables() (#562-1211) uses literals with too many digits:
- startingSupply = 10000000_000_000 (#577)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
StrayKittenz._previousMaxTxAmount (#635) is never used in StrayKittenz (#562-1211)
StrayKittenz._previousMaxWalletAmount (#642) is never used in StrayKittenz (#562-1211)
Remove unused state variables.
Additional information: link
StrayKittenz._decimals (#580) should be constant
StrayKittenz._devWallet (#620) should be constant
StrayKittenz._name (#586) should be constant
StrayKittenz._routerAddress (#616) should be constant
StrayKittenz._symbol (#587) should be constant
StrayKittenz.burnAddress (#618) should be constant
StrayKittenz.masterTaxDivisor (#609) should be constant
StrayKittenz.maxTxDivisor (#633) should be constant
StrayKittenz.maxTxPercent (#632) should be constant
StrayKittenz.maxWalletDivisor (#640) should be constant
StrayKittenz.maxWalletPercent (#639) should be constant
StrayKittenz.maximumTaxesPercent (#610) should be constant
StrayKittenz.startingSupply (#577) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#547-550)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#552-557)
transfer(address,uint256) should be declared external:
- StrayKittenz.transfer(address,uint256) (#719-722)
approve(address,uint256) should be declared external:
- StrayKittenz.approve(address,uint256) (#724-727)
transferFrom(address,address,uint256) should be declared external:
- StrayKittenz.transferFrom(address,address,uint256) (#729-733)
increaseAllowance(address,uint256) should be declared external:
- StrayKittenz.increaseAllowance(address,uint256) (#735-738)
decreaseAllowance(address,uint256) should be declared external:
- StrayKittenz.decreaseAllowance(address,uint256) (#740-743)
setNewRouter(address) should be declared external:
- StrayKittenz.setNewRouter(address) (#745-755)
isExcludedFromReward(address) should be declared external:
- StrayKittenz.isExcludedFromReward(address) (#757-759)
isExcludedFromFee(address) should be declared external:
- StrayKittenz.isExcludedFromFee(address) (#761-763)
setSwapAndLiquifyEnabled(bool) should be declared external:
- StrayKittenz.setSwapAndLiquifyEnabled(bool) (#805-808)
setBuyBackEnabled(bool) should be declared external:
- StrayKittenz.setBuyBackEnabled(bool) (#810-813)
excludeFromFee(address) should be declared external:
- StrayKittenz.excludeFromFee(address) (#833-835)
totalFees() should be declared external:
- StrayKittenz.totalFees() (#841-843)
deliver(uint256) should be declared external:
- StrayKittenz.deliver(uint256) (#854-861)
reflectionFromToken(uint256,bool) should be declared external:
- StrayKittenz.reflectionFromToken(uint256,bool) (#863-872)
excludeFromReward(address) should be declared external:
- StrayKittenz.excludeFromReward(address) (#880-888)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Token is deployed only at one blockchain
Token has only one trading pair
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