Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Karen.transferEthOut(uint256,uint256) (#1008-1011) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(marketingBalance) (#1010)
Karen.swapETHForTokens(uint256) (#1013-1028) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
Karen.addLiquidity(uint256,uint256) (#1048-1061) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Karen._transfer(address,address,uint256) (#911-962):
External calls:
- swapAndLiquify(contractTokenBalance) (#945)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#945)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _buyBackFee = _previousBuyBackFee (#1186)
- _buyBackFee = _ReverseBuyBackFee (#1203)
- _buyBackFee = 0 (#1178)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _devFee = _previousDevFee (#1188)
- _devFee = _ReverseDevFee (#1205)
- _devFee = 0 (#1180)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _liquidityFee = _previousLiquidityFee (#1185)
- _liquidityFee = _ReverseLiquidityFee (#1202)
- _liquidityFee = 0 (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _marketingFee = _previousMarketingFee (#1187)
- _marketingFee = _ReverseMarketingFee (#1204)
- _marketingFee = 0 (#1179)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1148)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1081)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _rTotal = _rTotal.sub(rFee) (#1141)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1150)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1085)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1087)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1089)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1090)
- buyBackTokens(buyBackAmount) (#951)
- inSwapAndLiquify = true (#667)
- inSwapAndLiquify = false (#669)
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.
Pragma version>=0.8.0<0.9.0 (#10) 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) (#284-290):
- (success) = recipient.call{value: amount}() (#288)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#310-331):
- (success,returndata) = target.call{value: weiValue}(data) (#314)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Karen.swapAndLiquify(uint256) (#970-1006) performs a multiplication on the result of a division:
-half = toLiquify.div(2) (#980)
-liquidityBalance = fromSwap.mul(half).div(toSwapForEth) (#995)
Karen.swapAndLiquify(uint256) (#970-1006) performs a multiplication on the result of a division:
-toBuyBack = contractTokenBalance.mul(_buyBackFee).div(totalBNBFees) (#975)
-buyBackBalance = fromSwap.mul(toBuyBack).div(toSwapForEth) (#996)
Karen.swapAndLiquify(uint256) (#970-1006) performs a multiplication on the result of a division:
-toDev = contractTokenBalance.mul(_devFee).div(totalBNBFees) (#976)
-devBalance = fromSwap.mul(toDev).div(toSwapForEth) (#997)
Consider ordering multiplication before division.
Additional information: link
Karen.addLiquidity(uint256,uint256) (#1048-1061) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
Ensure that all the return values of the function calls are used.
Additional information: link
Karen._approve(address,address,uint256).owner (#903) shadows:
- Ownable.owner() (#535-537) (function)
Rename the local variables that shadow another component.
Additional information: link
Karen.setTaxes(uint256,uint256,uint256,uint256,uint256) (#762-769) should emit an event for:
- _reflectFee = reflectFee (#764)
- _liquidityFee = liquidityFee (#765)
- _marketingFee = marketingFee (#766)
- _buyBackFee = buyBackFee (#767)
- _devFee = devFee (#768)
Karen.setReverseTaxes(uint256,uint256,uint256,uint256,uint256) (#771-778) should emit an event for:
- _ReverseReflectFee = reflectFee (#773)
- _ReverseLiquidityFee = liquidityFee (#774)
- _ReverseMarketingFee = marketingFee (#775)
- _ReverseBuyBackFee = buyBackFee (#776)
- _ReverseDevFee = devFee (#777)
Karen.setMaxTxPercent(uint256,uint256) (#780-784) should emit an event for:
- _maxTxAmount = _tTotal.mul(percent).div(divisor) (#782)
Karen.setMaxWallet(uint256,uint256) (#786-790) should emit an event for:
- _maxWalletAmount = _tTotal.mul(percent).div(divisor) (#788)
Karen.setPercentToSell(uint256) (#792-795) should emit an event for:
- percentToSell = percent (#793)
- numTokensSellToAddToLiquidity = (_tTotal * percentToSell) / 10000 (#794)
Karen.setBuyBackSellLimit(uint256) (#812-814) should emit an event for:
- buyBackSellLimit = limit * 10 ** _decimalsMul (#813)
Karen.setBuyBackAmount(uint256,uint256) (#816-818) should emit an event for:
- buyBackAmount = amount * 10 ** multiplier (#817)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Karen._transfer(address,address,uint256) (#911-962):
External calls:
- swapAndLiquify(contractTokenBalance) (#945)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#945)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#961)
- Reverse = true (#1068)
- Reverse = false (#1191)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousBuyBackFee = _buyBackFee (#1197)
- _previousBuyBackFee = _buyBackFee (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousDevFee = _devFee (#1199)
- _previousDevFee = _devFee (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousLiquidityFee = _liquidityFee (#1196)
- _previousLiquidityFee = _liquidityFee (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousMarketingFee = _marketingFee (#1198)
- _previousMarketingFee = _marketingFee (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousReflectFee = _reflectFee (#1195)
- _previousReflectFee = _reflectFee (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _reflectFee = _previousReflectFee (#1184)
- _reflectFee = _ReverseReflectFee (#1201)
- _reflectFee = 0 (#1176)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1142)
Reentrancy in Karen.constructor() (#672-702):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#677-678)
State variables written after the call(s):
- _approve(_msgSender(),_routerAddress,_tTotal) (#699)
- _allowances[owner][spender] = amount (#907)
- _excluded.push(address(this)) (#686)
- _excluded.push(owner()) (#688)
- _excluded.push(burnAddress) (#690)
- _excluded.push(lpPair) (#692)
- _excluded.push(0x2D045410f002A95EFcEE67759A92518fA3FcE677) (#696)
- _isExcluded[address(this)] = true (#685)
- _isExcluded[owner()] = true (#687)
- _isExcluded[burnAddress] = true (#689)
- _isExcluded[lpPair] = true (#691)
- _isExcluded[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#695)
- _isExcludedFromFee[owner()] = true (#682)
- _isExcludedFromFee[address(this)] = true (#683)
- _isExcludedFromFee[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#694)
- _liquidityHolders[owner()] = true (#684)
- dexRouter = _dexRouter (#680)
Reentrancy in Karen.setNewRouter(address) (#742-752):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#746)
State variables written after the call(s):
- dexRouter = _newRouter (#751)
Reentrancy in Karen.swapAndLiquify(uint256) (#970-1006):
External calls:
- swapTokensForEth(toSwapForEth) (#991)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
- addLiquidity(otherHalf,liquidityBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
State variables written after the call(s):
- addLiquidity(otherHalf,liquidityBalance) (#1001)
- _allowances[owner][spender] = amount (#907)
Reentrancy in Karen.transferFrom(address,address,uint256) (#726-730):
External calls:
- _transfer(sender,recipient,amount) (#727)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
External calls sending eth:
- _transfer(sender,recipient,amount) (#727)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#728)
- _allowances[owner][spender] = amount (#907)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Karen._transfer(address,address,uint256) (#911-962):
External calls:
- swapAndLiquify(contractTokenBalance) (#945)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#945)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1027)
- buyBackTokens(buyBackAmount) (#951)
- Transfer(sender,address(this),tLiquidity) (#1151)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- Transfer(sender,recipient,tTransferAmount) (#1098)
- _tokenTransfer(from,to,amount,takeFee) (#961)
Reentrancy in Karen.constructor() (#672-702):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#677-678)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#908)
- _approve(_msgSender(),_routerAddress,_tTotal) (#699)
- Transfer(address(0),_msgSender(),_tTotal) (#701)
Reentrancy in Karen.swapAndLiquify(uint256) (#970-1006):
External calls:
- swapTokensForEth(toSwapForEth) (#991)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
- addLiquidity(otherHalf,liquidityBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#908)
- addLiquidity(otherHalf,liquidityBalance) (#1001)
- SwapAndLiquify(half,liquidityBalance,otherHalf) (#1003)
Reentrancy in Karen.swapETHForTokens(uint256) (#1013-1028):
External calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1027)
Reentrancy in Karen.transferFrom(address,address,uint256) (#726-730):
External calls:
- _transfer(sender,recipient,amount) (#727)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1039-1045)
External calls sending eth:
- _transfer(sender,recipient,amount) (#727)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#908)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#728)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#273-282) uses assembly
- INLINE ASM (#280)
Address._functionCallWithValue(address,bytes,uint256,string) (#310-331) uses assembly
- INLINE ASM (#323-326)
Do not use evm assembly.
Additional information: link
Karen.restoreAllFee() (#1183-1192) compares to a boolean constant:
-Reverse == true (#1190)
Remove the equality to the boolean constant.
Additional information: link
Karen.includeInReward(address) (#887-898) has costly operations inside a loop:
- _excluded.pop() (#894)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#310-331) is never used and should be removed
Address.functionCall(address,bytes) (#292-294) is never used and should be removed
Address.functionCall(address,bytes,string) (#296-298) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#301-303) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#305-308) is never used and should be removed
Address.isContract(address) (#273-282) is never used and should be removed
Address.sendValue(address,uint256) (#284-290) is never used and should be removed
Context._msgData() (#17-21) is never used and should be removed
SafeMath.mod(uint256,uint256) (#250-252) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#266-269) is never used and should be removed
Remove unused functions.
Additional information: link
Karen._decimalsMul (#578) is set pre-construction with a non-constant function or state variable:
- _decimals
Karen._tTotal (#579) is set pre-construction with a non-constant function or state variable:
- startingSupply * 10 ** _decimalsMul
Karen._rTotal (#580) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Karen._previousReflectFee (#587) is set pre-construction with a non-constant function or state variable:
- _reflectFee
Karen._previousLiquidityFee (#591) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Karen._previousMarketingFee (#595) is set pre-construction with a non-constant function or state variable:
- _marketingFee
Karen._previousBuyBackFee (#599) is set pre-construction with a non-constant function or state variable:
- _buyBackFee
Karen._previousDevFee (#603) is set pre-construction with a non-constant function or state variable:
- _devFee
Karen.buyBackSellLimit (#623) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 2) / 100
Karen._maxTxAmount (#631) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTxPercent) / maxTxDivisor
Karen._previousMaxTxAmount (#632) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
Karen.maxTxAmountUI (#633) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxTxPercent) / maxTxDivisor
Karen._maxWalletAmount (#638) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWalletPercent) / maxWalletDivisor
Karen._previousMaxWalletAmount (#639) is set pre-construction with a non-constant function or state variable:
- _maxWalletAmount
Karen.maxWalletAmountUI (#640) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxWalletPercent) / maxWalletDivisor
Karen.numTokensSellToAddToLiquidity (#645) 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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#359) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#360) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#374) is not in mixedCase
Function IUniswapV2Router01.WETH() (#392) is not in mixedCase
Parameter Karen.setSwapAndLiquifyEnabled(bool)._enabled (#802) is not in mixedCase
Parameter Karen.setBuyBackEnabled(bool)._enabled (#807) is not in mixedCase
Parameter Karen.calculateTaxFee(uint256)._amount (#1154) is not in mixedCase
Parameter Karen.calculateLiquidityFee(uint256)._amount (#1158) is not in mixedCase
Variable Karen._reflectFee (#586) is not in mixedCase
Variable Karen._ReverseReflectFee (#588) is not in mixedCase
Variable Karen._liquidityFee (#590) is not in mixedCase
Variable Karen._ReverseLiquidityFee (#592) is not in mixedCase
Variable Karen._marketingFee (#594) is not in mixedCase
Variable Karen._ReverseMarketingFee (#596) is not in mixedCase
Variable Karen._buyBackFee (#598) is not in mixedCase
Variable Karen._ReverseBuyBackFee (#600) is not in mixedCase
Variable Karen._devFee (#602) is not in mixedCase
Variable Karen._ReverseDevFee (#604) is not in mixedCase
Variable Karen.ReverseTaxes (#625) is not in mixedCase
Variable Karen.Reverse (#626) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#18)" inContext (#12-22)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Karen._transfer(address,address,uint256) (#911-962):
External calls:
- swapAndLiquify(contractTokenBalance) (#945)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#945)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- buyBackTokens(buyBackAmount) (#951)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#961)
- Reverse = true (#1068)
- Reverse = false (#1191)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _buyBackFee = _previousBuyBackFee (#1186)
- _buyBackFee = _ReverseBuyBackFee (#1203)
- _buyBackFee = 0 (#1178)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _devFee = _previousDevFee (#1188)
- _devFee = _ReverseDevFee (#1205)
- _devFee = 0 (#1180)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _liquidityFee = _previousLiquidityFee (#1185)
- _liquidityFee = _ReverseLiquidityFee (#1202)
- _liquidityFee = 0 (#1177)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _marketingFee = _previousMarketingFee (#1187)
- _marketingFee = _ReverseMarketingFee (#1204)
- _marketingFee = 0 (#1179)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousBuyBackFee = _buyBackFee (#1197)
- _previousBuyBackFee = _buyBackFee (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousDevFee = _devFee (#1199)
- _previousDevFee = _devFee (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousLiquidityFee = _liquidityFee (#1196)
- _previousLiquidityFee = _liquidityFee (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousMarketingFee = _marketingFee (#1198)
- _previousMarketingFee = _marketingFee (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _previousReflectFee = _reflectFee (#1195)
- _previousReflectFee = _reflectFee (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1148)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1081)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _rTotal = _rTotal.sub(rFee) (#1141)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _reflectFee = _previousReflectFee (#1184)
- _reflectFee = _ReverseReflectFee (#1201)
- _reflectFee = 0 (#1176)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1142)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1150)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1085)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1087)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1089)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1090)
- buyBackTokens(buyBackAmount) (#951)
- inSwapAndLiquify = true (#667)
- inSwapAndLiquify = false (#669)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1027)
- buyBackTokens(buyBackAmount) (#951)
- Transfer(sender,address(this),tLiquidity) (#1151)
- _tokenTransfer(from,to,amount,takeFee) (#961)
- Transfer(sender,recipient,tTransferAmount) (#1098)
- _tokenTransfer(from,to,amount,takeFee) (#961)
Reentrancy in Karen.transferFrom(address,address,uint256) (#726-730):
External calls:
- _transfer(sender,recipient,amount) (#727)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
External calls sending eth:
- _transfer(sender,recipient,amount) (#727)
- _devWallet.transfer(devBalance) (#1009)
- _marketingWallet.transfer(marketingBalance) (#1010)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1053-1060)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1020-1025)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#728)
- _allowances[owner][spender] = amount (#907)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#908)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#728)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#396) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#397)
Variable Karen.reflectionFromToken(uint256,bool).rTransferAmount (#866) is too similar to Karen._getValues(uint256).tTransferAmount (#1102)
Variable Karen._finalizeTransfer(address,address,uint256).rTransferAmount (#1079) is too similar to Karen._finalizeTransfer(address,address,uint256).tTransferAmount (#1079)
Variable Karen.reflectionFromToken(uint256,bool).rTransferAmount (#866) is too similar to Karen._finalizeTransfer(address,address,uint256).tTransferAmount (#1079)
Variable Karen._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1118) is too similar to Karen._finalizeTransfer(address,address,uint256).tTransferAmount (#1079)
Variable Karen.reflectionFromToken(uint256,bool).rTransferAmount (#866) is too similar to Karen._getTValues(uint256).tTransferAmount (#1110)
Variable Karen._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1118) is too similar to Karen._getValues(uint256).tTransferAmount (#1102)
Variable Karen._getValues(uint256).rTransferAmount (#1103) is too similar to Karen._finalizeTransfer(address,address,uint256).tTransferAmount (#1079)
Variable Karen._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1118) is too similar to Karen._getTValues(uint256).tTransferAmount (#1110)
Variable Karen._getValues(uint256).rTransferAmount (#1103) is too similar to Karen._getValues(uint256).tTransferAmount (#1102)
Variable Karen._getValues(uint256).rTransferAmount (#1103) is too similar to Karen._getTValues(uint256).tTransferAmount (#1110)
Variable Karen._finalizeTransfer(address,address,uint256).rTransferAmount (#1079) is too similar to Karen._getValues(uint256).tTransferAmount (#1102)
Variable Karen._finalizeTransfer(address,address,uint256).rTransferAmount (#1079) is too similar to Karen._getTValues(uint256).tTransferAmount (#1110)
Prevent variables from having similar names.
Additional information: link
Karen.slitherConstructorVariables() (#559-1208) uses literals with too many digits:
- startingSupply = 10000000_000_000 (#574)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Karen._previousMaxTxAmount (#632) is never used in Karen (#559-1208)
Karen._previousMaxWalletAmount (#639) is never used in Karen (#559-1208)
Remove unused state variables.
Additional information: link
Karen._decimals (#577) should be constant
Karen._devWallet (#617) should be constant
Karen._name (#583) should be constant
Karen._routerAddress (#613) should be constant
Karen._symbol (#584) should be constant
Karen.burnAddress (#615) should be constant
Karen.masterTaxDivisor (#606) should be constant
Karen.maxTxDivisor (#630) should be constant
Karen.maxTxPercent (#629) should be constant
Karen.maxWalletDivisor (#637) should be constant
Karen.maxWalletPercent (#636) should be constant
Karen.maximumTaxesPercent (#607) should be constant
Karen.startingSupply (#574) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#544-547)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#549-554)
transfer(address,uint256) should be declared external:
- Karen.transfer(address,uint256) (#716-719)
approve(address,uint256) should be declared external:
- Karen.approve(address,uint256) (#721-724)
transferFrom(address,address,uint256) should be declared external:
- Karen.transferFrom(address,address,uint256) (#726-730)
increaseAllowance(address,uint256) should be declared external:
- Karen.increaseAllowance(address,uint256) (#732-735)
decreaseAllowance(address,uint256) should be declared external:
- Karen.decreaseAllowance(address,uint256) (#737-740)
setNewRouter(address) should be declared external:
- Karen.setNewRouter(address) (#742-752)
isExcludedFromReward(address) should be declared external:
- Karen.isExcludedFromReward(address) (#754-756)
isExcludedFromFee(address) should be declared external:
- Karen.isExcludedFromFee(address) (#758-760)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Karen.setSwapAndLiquifyEnabled(bool) (#802-805)
setBuyBackEnabled(bool) should be declared external:
- Karen.setBuyBackEnabled(bool) (#807-810)
excludeFromFee(address) should be declared external:
- Karen.excludeFromFee(address) (#830-832)
totalFees() should be declared external:
- Karen.totalFees() (#838-840)
deliver(uint256) should be declared external:
- Karen.deliver(uint256) (#851-858)
reflectionFromToken(uint256,bool) should be declared external:
- Karen.reflectionFromToken(uint256,bool) (#860-869)
excludeFromReward(address) should be declared external:
- Karen.excludeFromReward(address) (#877-885)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 3% buy tax and 3% sell tax.
Taxes are low and contract ownership is renounced.
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