Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Jessica.swapBack() (#1086-1119) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
Jessica.swapETHForTokens(uint256) (#1135-1150) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
Jessica.addLiquidity(uint256,uint256) (#1152-1162) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Jessica._transfer(address,address,uint256) (#994-1084):
External calls:
- swapBack() (#1047)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
External calls sending eth:
- swapBack() (#1047)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1365)
- _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee (#1369)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1367)
- _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee (#1371)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1198)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1218)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1199)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1240)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1261)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1220)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1241)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1263)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1375)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _rTotal = _rTotal.sub(rFee) (#1270)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1239)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1260)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1219)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1262)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1377)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _teamTokensToSwap += tLiquidity * _buyTeamFee / _liquidityFee (#1366)
- _teamTokensToSwap += tLiquidity * _sellTeamFee / _liquidityFee (#1370)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#213) is never initialized. It is used in:
- Ownable.getUnlockTime() (#249-251)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Jessica._transfer(address,address,uint256) (#994-1084) uses a dangerous strict equality:
- from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock (#1016)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Jessica.swapBack().success (#1109) is written in both
(success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
(success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
Fix or remove the writes.
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.
Jessica.swapBack() (#1086-1119) performs a multiplication on the result of a division:
-bnbForMarketing = bnbBalance.mul(3 * _marketingTokensToSwap / 4).div(totalTokensToSwap) (#1101)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Jessica.swapBack() (#1086-1119):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1097)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (#1105)
- _marketingTokensToSwap = 0 (#1106)
- _teamTokensToSwap = 0 (#1107)
Apply the check-effects-interactions pattern.
Additional information: link
Jessica.addLiquidity(uint256,uint256) (#1152-1162) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
Ensure that all the return values of the function calls are used.
Additional information: link
Jessica.allowance(address,address).owner (#795) shadows:
- Ownable.owner() (#226-228) (function)
Jessica._approve(address,address,uint256).owner (#983) shadows:
- Ownable.owner() (#226-228) (function)
Rename the local variables that shadow another component.
Additional information: link
Jessica.setminimumTokensBeforeSwapAmount(uint256) (#888-890) should emit an event for:
- minimumTokensBeforeSwap = _tTotal * ratio / 10000 (#889)
Jessica.setGasPriceLimit(uint256) (#910-913) should emit an event for:
- gasPriceLimit = gas * 1000000000 (#912)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Jessica._transfer(address,address,uint256) (#994-1084):
External calls:
- swapBack() (#1047)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
External calls sending eth:
- swapBack() (#1047)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
State variables written after the call(s):
- removeAllFee() (#1059)
- _liquidityFee = 0 (#1399)
- _liquidityFee = _buyLiquidityFee + _buyMarketingFee + _buyTeamFee (#1061)
- removeAllFee() (#1066)
- _liquidityFee = 0 (#1399)
- _liquidityFee = _sellLiquidityFee + _sellMarketingFee + _sellTeamFee (#1068)
- _liquidityFee = _liquidityFee * 3 (#1073)
- removeAllFee() (#1077)
- _liquidityFee = 0 (#1399)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _liquidityFee = _previousLiquidityFee (#1404)
- _liquidityFee = 0 (#1399)
- removeAllFee() (#1059)
- _previousLiquidityFee = _liquidityFee (#1396)
- removeAllFee() (#1066)
- _previousLiquidityFee = _liquidityFee (#1396)
- removeAllFee() (#1077)
- _previousLiquidityFee = _liquidityFee (#1396)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _previousLiquidityFee = _liquidityFee (#1396)
- removeAllFee() (#1059)
- _previousTaxFee = _taxFee (#1395)
- removeAllFee() (#1066)
- _previousTaxFee = _taxFee (#1395)
- removeAllFee() (#1077)
- _previousTaxFee = _taxFee (#1395)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _previousTaxFee = _taxFee (#1395)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1271)
- removeAllFee() (#1059)
- _taxFee = 0 (#1398)
- _taxFee = _buyTaxFee (#1060)
- removeAllFee() (#1066)
- _taxFee = 0 (#1398)
- _taxFee = _sellTaxFee (#1067)
- _taxFee = _taxFee * 3 (#1072)
- removeAllFee() (#1077)
- _taxFee = 0 (#1398)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- _taxFee = _previousTaxFee (#1403)
- _taxFee = 0 (#1398)
- buyOrSellSwitch = TRANSFER (#1055)
- buyOrSellSwitch = BUY (#1062)
- buyOrSellSwitch = SELL (#1069)
- buyOrSellSwitch = TRANSFER (#1078)
Reentrancy in Jessica.changeRouterVersion(address) (#1481-1505):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1495-1498)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1500)
- uniswapV2Router = _uniswapV2Router (#1503)
Reentrancy in Jessica.constructor() (#736-763):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#744-745)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#750)
- _excluded[i] = _excluded[_excluded.length - 1] (#969)
- _excluded.push(account) (#962)
- _excluded.pop() (#972)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#750)
- _isExcluded[account] = true (#961)
- _isExcluded[account] = false (#971)
- _isExcludedFromFee[owner()] = true (#752)
- _isExcludedFromFee[address(this)] = true (#753)
- _isExcludedFromFee[marketingAddress] = true (#754)
- _isExcludedFromFee[liquidityAddress] = true (#755)
- _isExcludedFromFee[teamAddress] = true (#756)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#750)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#979)
- excludeFromMaxTransaction(owner(),true) (#758)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#979)
- excludeFromMaxTransaction(address(this),true) (#759)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#979)
- excludeFromMaxTransaction(address(0xdead),true) (#760)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#979)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#750)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#959)
- _tOwned[account] = 0 (#970)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#750)
- automatedMarketMakerPairs[pair] = value (#899)
- uniswapV2Pair = _uniswapV2Pair (#748)
- uniswapV2Router = _uniswapV2Router (#747)
Reentrancy in Jessica.swapBack() (#1086-1119):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1097)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
External calls sending eth:
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- _allowances[owner][spender] = amount (#990)
Reentrancy in Jessica.transferFrom(address,address,uint256) (#813-828):
External calls:
- _transfer(sender,recipient,amount) (#818)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
External calls sending eth:
- _transfer(sender,recipient,amount) (#818)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#819-826)
- _allowances[owner][spender] = amount (#990)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Jessica._transfer(address,address,uint256) (#994-1084):
External calls:
- swapBack() (#1047)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
External calls sending eth:
- swapBack() (#1047)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1202)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- Transfer(sender,recipient,tTransferAmount) (#1223)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- Transfer(sender,recipient,tTransferAmount) (#1244)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
- Transfer(sender,recipient,tTransferAmount) (#1266)
- _tokenTransfer(from,to,amount,takeFee) (#1082)
Reentrancy in Jessica.changeRouterVersion(address) (#1481-1505):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1495-1498)
Event emitted after the call(s):
- UpdatedRouter(_router) (#1504)
Reentrancy in Jessica.constructor() (#736-763):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#744-745)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#903)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#750)
- Transfer(address(0),_msgSender(),_tTotal) (#762)
Reentrancy in Jessica.swapBack() (#1086-1119):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1097)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
External calls sending eth:
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#991)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- SwapAndLiquify(amountToSwapForBNB,bnbForLiquidity,tokensForLiquidity) (#1114)
Reentrancy in Jessica.swapBack() (#1086-1119):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1097)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- swapETHForTokens(address(this).balance) (#1118)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
External calls sending eth:
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- swapETHForTokens(address(this).balance) (#1118)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1149)
- swapETHForTokens(address(this).balance) (#1118)
Reentrancy in Jessica.swapETHForTokens(uint256) (#1135-1150):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1149)
Reentrancy in Jessica.transferForeignToken(address,address) (#1510-1519):
External calls:
- _sent = IERC20(_token).transfer(_to,_contractBalance) (#1517)
Event emitted after the call(s):
- TransferForeignToken(_token,_contractBalance) (#1518)
Reentrancy in Jessica.transferFrom(address,address,uint256) (#813-828):
External calls:
- _transfer(sender,recipient,amount) (#818)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1126-1132)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
External calls sending eth:
- _transfer(sender,recipient,amount) (#818)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1154-1161)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1142-1147)
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#991)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#819-826)
Apply the check-effects-interactions pattern.
Additional information: link
Jessica._transfer(address,address,uint256) (#994-1084) uses timestamp for comparisons
Dangerous comparisons:
- boughtEarly[from] && earlyBuyPenaltyEnd <= block.number (#1071)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#115-126) uses assembly
- INLINE ASM (#122-124)
Address._functionCallWithValue(address,bytes,uint256,string) (#184-207) uses assembly
- INLINE ASM (#199-202)
Do not use evm assembly.
Additional information: link
Jessica.includeInReward(address) (#965-976) has costly operations inside a loop:
- _excluded.pop() (#972)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#184-207) is never used and should be removed
Address.functionCall(address,bytes) (#142-147) is never used and should be removed
Address.functionCall(address,bytes,string) (#149-155) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#157-169) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#171-182) is never used and should be removed
Address.isContract(address) (#115-126) is never used and should be removed
Address.sendValue(address,uint256) (#128-140) is never used and should be removed
Context._msgData() (#14-17) is never used and should be removed
SafeMath.mod(uint256,uint256) (#100-102) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#104-111) is never used and should be removed
Remove unused functions.
Additional information: link
Jessica._previousTaxFee (#646) is set pre-construction with a non-constant function or state variable:
- _taxFee
Jessica._previousLiquidityFee (#649) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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 version0.8.9 (#7) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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) (#128-140):
- (success) = recipient.call{value: amount}() (#135)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#184-207):
- (success,returndata) = target.call{value: weiValue}(data) (#192-194)
Low level call in Jessica.swapBack() (#1086-1119):
- (success) = address(0xaEDcaBACC3cB188BFeC5f91aE72Ef4eB1230f86D).call{value: bnbForTeam}() (#1109)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1110)
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() (#323) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#325) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#355) is not in mixedCase
Function IUniswapV2Router01.WETH() (#399) is not in mixedCase
Parameter Jessica.calculateTaxFee(uint256)._amount (#1380) is not in mixedCase
Parameter Jessica.calculateLiquidityFee(uint256)._amount (#1384) is not in mixedCase
Parameter Jessica.setMarketingAddress(address)._marketingAddress (#1451) is not in mixedCase
Parameter Jessica.setTeamAddress(address)._teamAddress (#1458) is not in mixedCase
Parameter Jessica.setLiquidityAddress(address)._liquidityAddress (#1465) is not in mixedCase
Parameter Jessica.setSwapAndLiquifyEnabled(bool)._enabled (#1472) is not in mixedCase
Parameter Jessica.changeRouterVersion(address)._router (#1481) is not in mixedCase
Parameter Jessica.transferForeignToken(address,address)._token (#1510) is not in mixedCase
Parameter Jessica.transferForeignToken(address,address)._to (#1510) is not in mixedCase
Constant Jessica._tTotal (#628) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Jessica._name (#634) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Jessica._symbol (#635) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Jessica._decimals (#637) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Jessica._buyTaxFee (#651) is not in mixedCase
Variable Jessica._buyLiquidityFee (#652) is not in mixedCase
Variable Jessica._buyMarketingFee (#653) is not in mixedCase
Variable Jessica._buyTeamFee (#654) is not in mixedCase
Variable Jessica._sellTaxFee (#656) is not in mixedCase
Variable Jessica._sellLiquidityFee (#657) is not in mixedCase
Variable Jessica._sellMarketingFee (#658) is not in mixedCase
Variable Jessica._sellTeamFee (#659) is not in mixedCase
Variable Jessica._isExcludedMaxTransactionAmount (#674) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#15)" inContext (#9-18)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#404) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#405)
Variable Jessica._getValues(uint256).rTransferAmount (#1291) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica.reflectionFromToken(uint256,bool).rTransferAmount (#937) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Variable Jessica._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1339) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._transferStandard(address,address,uint256).rTransferAmount (#1192) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica.reflectionFromToken(uint256,bool).rTransferAmount (#937) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica.reflectionFromToken(uint256,bool).rTransferAmount (#937) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica._transferFromExcluded(address,address,uint256).rTransferAmount (#1233) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1339) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica._transferToExcluded(address,address,uint256).rTransferAmount (#1212) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._getValues(uint256).rTransferAmount (#1291) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._transferToExcluded(address,address,uint256).rTransferAmount (#1212) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica.reflectionFromToken(uint256,bool).rTransferAmount (#937) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._transferFromExcluded(address,address,uint256).rTransferAmount (#1233) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._transferBothExcluded(address,address,uint256).rTransferAmount (#1254) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica._transferStandard(address,address,uint256).rTransferAmount (#1192) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Variable Jessica._getValues(uint256).rTransferAmount (#1291) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica._transferStandard(address,address,uint256).rTransferAmount (#1192) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica.reflectionFromToken(uint256,bool).rTransferAmount (#937) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica._transferStandard(address,address,uint256).rTransferAmount (#1192) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica._transferFromExcluded(address,address,uint256).rTransferAmount (#1233) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1339) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1339) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica._transferToExcluded(address,address,uint256).rTransferAmount (#1212) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica._transferStandard(address,address,uint256).rTransferAmount (#1192) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica._transferBothExcluded(address,address,uint256).rTransferAmount (#1254) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._transferToExcluded(address,address,uint256).rTransferAmount (#1212) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Variable Jessica._transferStandard(address,address,uint256).rTransferAmount (#1192) is too similar to Jessica._transferBothExcluded(address,address,uint256).tTransferAmount (#1256)
Variable Jessica._transferToExcluded(address,address,uint256).rTransferAmount (#1212) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica._getValues(uint256).rTransferAmount (#1291) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Variable Jessica._transferBothExcluded(address,address,uint256).rTransferAmount (#1254) is too similar to Jessica._transferFromExcluded(address,address,uint256).tTransferAmount (#1235)
Variable Jessica._getValues(uint256).rTransferAmount (#1291) is too similar to Jessica._getValues(uint256).tTransferAmount (#1287)
Variable Jessica._transferBothExcluded(address,address,uint256).rTransferAmount (#1254) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica.reflectionFromToken(uint256,bool).rTransferAmount (#937) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1339) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica._transferBothExcluded(address,address,uint256).rTransferAmount (#1254) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica._transferFromExcluded(address,address,uint256).rTransferAmount (#1233) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica._transferFromExcluded(address,address,uint256).rTransferAmount (#1233) is too similar to Jessica._getTValues(uint256).tTransferAmount (#1318)
Variable Jessica._getValues(uint256).rTransferAmount (#1291) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica._transferBothExcluded(address,address,uint256).rTransferAmount (#1254) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Variable Jessica._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1339) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Variable Jessica._transferToExcluded(address,address,uint256).rTransferAmount (#1212) is too similar to Jessica._transferStandard(address,address,uint256).tTransferAmount (#1194)
Variable Jessica._transferFromExcluded(address,address,uint256).rTransferAmount (#1233) is too similar to Jessica._transferToExcluded(address,address,uint256).tTransferAmount (#1214)
Prevent variables from having similar names.
Additional information: link
Jessica.slitherConstructorVariables() (#602-1522) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#615-616)
Jessica.slitherConstructorVariables() (#602-1522) uses literals with too many digits:
- gasMaxLimit = 50000000 (#671)
Jessica.slitherConstructorConstantVariables() (#602-1522) uses literals with too many digits:
- _tTotal = 100000 * 1e9 * 1e18 (#628)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#212) is never used in Jessica (#602-1522)
Remove unused state variables.
Additional information: link
Jessica.maxTransactionAmount (#673) should be constant
Ownable._lockTime (#213) should be constant
Ownable._previousOwner (#212) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#249-251)
getTime() should be declared external:
- Ownable.getTime() (#253-255)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Jessica.setSwapAndLiquifyEnabled(bool) (#1472-1475)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 5% buy tax and 5% 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