Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Flokirobinhood.transferBNBToMarketing(uint256) (#928-930) sends eth to arbitrary user
Dangerous calls:
- marketingAddress.transfer(amount) (#929)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Flokirobinhood._transfer(address,address,uint256) (#1034-1074):
External calls:
- swapAndLiquify(contractTokenBalance) (#1061)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousLiquidityFee = _liquidityFee (#1011)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rTotal = _rTotal.sub(rFee) (#933)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
Reentrancy in Flokirobinhood.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
State variables written after the call(s):
- _burnTokens(allocationForBurn) (#1111)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Flokirobinhood.calculateTokenAllocationForMarketing(uint256) (#992-994) performs a multiplication on the result of a division:
-tokenBalance.div(_liquidityFee).mul(_marketingFee) (#993)
Flokirobinhood.calculateBNBAllocationForMarketing(uint256) (#997-1000) performs a multiplication on the result of a division:
-bnbBalance.div(_liquidityFeeLessBurnFee).mul(_marketingFee) (#999)
Flokirobinhood.calculateTokenAllocationForBurn(uint256) (#1003-1005) performs a multiplication on the result of a division:
-tokenBalance.div(_liquidityFee).mul(_burnFee) (#1004)
Consider ordering multiplication before division.
Additional information: link
Flokirobinhood.addLiquidity(uint256,uint256) (#1132-1145) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Ensure that all the return values of the function calls are used.
Additional information: link
Flokirobinhood.allowance(address,address).owner (#778) shadows:
- Ownable.owner() (#419-421) (function)
Flokirobinhood._approve(address,address,uint256).owner (#1026) shadows:
- Ownable.owner() (#419-421) (function)
Rename the local variables that shadow another component.
Additional information: link
Flokirobinhood.setTaxFeePercent(uint256) (#892-894) should emit an event for:
- _taxFee = taxFee (#893)
Flokirobinhood.setLiquidityFeePercent(uint256) (#896-898) should emit an event for:
- _liquidityFee = liquidityFee (#897)
Flokirobinhood.setMaxTxPercent(uint256) (#900-904) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#901-903)
Flokirobinhood.setTokensToSellIntoLiq(uint256) (#911-913) should emit an event for:
- numTokensSellToAddToLiquidity = _amount * 10 ** 9 (#912)
Emit an event for critical parameter changes.
Additional information: link
Flokirobinhood.setMarketingAddress(address)._marketingAddress (#915) lacks a zero-check on :
- marketingAddress = _marketingAddress (#916)
Flokirobinhood.withdrawBNB(address).recipient (#923) lacks a zero-check on :
- recipient.transfer(address(this).balance) (#924)
Check that the address is not zero.
Additional information: link
Reentrancy in Flokirobinhood.constructor() (#734-750):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#740)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#746)
- _isExcludedFromFee[address(this)] = true (#747)
- pancakeRouter = _pancakeRouter (#743)
Reentrancy in Flokirobinhood.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- _allowances[owner][spender] = amount (#1030)
Reentrancy in Flokirobinhood.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
State variables written after the call(s):
- _burnTokens(allocationForBurn) (#1111)
- _previousLiquidityFee = _liquidityFee (#1011)
- _burnTokens(allocationForBurn) (#1111)
- _previousTaxFee = _taxFee (#1010)
- _burnTokens(allocationForBurn) (#1111)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _burnTokens(allocationForBurn) (#1111)
- _rTotal = _rTotal.sub(rFee) (#933)
- _burnTokens(allocationForBurn) (#1111)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _burnTokens(allocationForBurn) (#1111)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _burnTokens(allocationForBurn) (#1111)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
- _burnTokens(allocationForBurn) (#1111)
- _totalBurn = _totalBurn.add(tokensToBurn) (#1151)
Reentrancy in Flokirobinhood.transferFrom(address,address,uint256) (#787-791):
External calls:
- _transfer(sender,recipient,amount) (#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
- _allowances[owner][spender] = amount (#1030)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Flokirobinhood._transfer(address,address,uint256) (#1034-1074):
External calls:
- swapAndLiquify(contractTokenBalance) (#1061)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
Reentrancy in Flokirobinhood.constructor() (#734-750):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#740)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#749)
Reentrancy in Flokirobinhood.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1031)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
Reentrancy in Flokirobinhood.swapAndLiquify(uint256) (#1076-1112):
External calls:
- swapTokensForEth(tokensToBeSwappedIntoBNB) (#1095)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
Event emitted after the call(s):
- SwapAndLiquify(half,swappedBNBForLiquidity,otherHalf) (#1110)
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _burnTokens(allocationForBurn) (#1111)
Reentrancy in Flokirobinhood.transferFrom(address,address,uint256) (#787-791):
External calls:
- _transfer(sender,recipient,amount) (#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
External calls sending eth:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1031)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#466-471) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#468)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#271-280) uses assembly
- INLINE ASM (#278)
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) uses assembly
- INLINE ASM (#377-380)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) is never used and should be removed
Address.functionCall(address,bytes) (#324-326) is never used and should be removed
Address.functionCall(address,bytes,string) (#334-336) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#349-351) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#359-362) is never used and should be removed
Address.isContract(address) (#271-280) is never used and should be removed
Address.sendValue(address,uint256) (#298-304) is never used and should be removed
Context._msgData() (#244-247) is never used and should be removed
SafeMath.mod(uint256,uint256) (#217-219) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#233-236) is never used and should be removed
Remove unused functions.
Additional information: link
Flokirobinhood._rTotal (#691) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Flokirobinhood._previousTaxFee (#699) is set pre-construction with a non-constant function or state variable:
- _taxFee
Flokirobinhood._previousLiquidityFee (#702) 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
Low level call in Address.sendValue(address,uint256) (#298-304):
- (success) = recipient.call{value: amount}() (#302)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#364-385):
- (success,returndata) = target.call{value: weiValue}(data) (#368)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakePair.DOMAIN_SEPARATOR() (#505) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#506) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#523) is not in mixedCase
Function IPancakeRouter01.WETH() (#543) is not in mixedCase
Parameter Flokirobinhood.setSwapAndLiquifyEnabled(bool)._enabled (#906) is not in mixedCase
Parameter Flokirobinhood.setTokensToSellIntoLiq(uint256)._amount (#911) is not in mixedCase
Parameter Flokirobinhood.setMarketingAddress(address)._marketingAddress (#915) is not in mixedCase
Parameter Flokirobinhood.calculateTaxFee(uint256)._amount (#983) is not in mixedCase
Parameter Flokirobinhood.calculateLiquidityFee(uint256)._amount (#987) is not in mixedCase
Variable Flokirobinhood._taxFee (#698) is not in mixedCase
Variable Flokirobinhood._liquidityFee (#701) is not in mixedCase
Variable Flokirobinhood._burnFee (#704) is not in mixedCase
Variable Flokirobinhood._marketingFee (#705) is not in mixedCase
Variable Flokirobinhood._maxTxAmount (#715) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#245)" inContext (#239-248)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Flokirobinhood._transfer(address,address,uint256) (#1034-1074):
External calls:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1061)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousLiquidityFee = _liquidityFee (#1011)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _rTotal = _rTotal.sub(rFee) (#933)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _tokenTransfer(from,to,amount,takeFee) (#1073)
Reentrancy in Flokirobinhood.swapAndLiquify(uint256) (#1076-1112):
External calls:
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
External calls sending eth:
- addLiquidity(otherHalf,swappedBNBForLiquidity) (#1105)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
- transferBNBToMarketing(swappedBNBForMarketing) (#1108)
- marketingAddress.transfer(amount) (#929)
State variables written after the call(s):
- _burnTokens(allocationForBurn) (#1111)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- _burnTokens(allocationForBurn) (#1111)
- _previousLiquidityFee = _liquidityFee (#1011)
- _burnTokens(allocationForBurn) (#1111)
- _previousTaxFee = _taxFee (#1010)
- _burnTokens(allocationForBurn) (#1111)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1179)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1180)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1190)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1200)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _burnTokens(allocationForBurn) (#1111)
- _rTotal = _rTotal.sub(rFee) (#933)
- _burnTokens(allocationForBurn) (#1111)
- _tFeeTotal = _tFeeTotal.add(tFee) (#934)
- _burnTokens(allocationForBurn) (#1111)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1198)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1189)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _burnTokens(allocationForBurn) (#1111)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
- _burnTokens(allocationForBurn) (#1111)
- _totalBurn = _totalBurn.add(tokensToBurn) (#1151)
Event emitted after the call(s):
- SwapAndLiquify(half,swappedBNBForLiquidity,otherHalf) (#1110)
- Transfer(sender,recipient,tTransferAmount) (#1183)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1203)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#1193)
- _burnTokens(allocationForBurn) (#1111)
- Transfer(sender,recipient,tTransferAmount) (#881)
- _burnTokens(allocationForBurn) (#1111)
Reentrancy in Flokirobinhood.transferFrom(address,address,uint256) (#787-791):
External calls:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
External calls sending eth:
- _transfer(sender,recipient,amount) (#788)
- marketingAddress.transfer(amount) (#929)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1137-1144)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
- _allowances[owner][spender] = amount (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1031)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#789)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#548) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#549)
Variable Flokirobinhood._getValues(uint256).rTransferAmount (#939) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Variable Flokirobinhood._getValues(uint256).rTransferAmount (#939) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._getValues(uint256).rTransferAmount (#939) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Variable Flokirobinhood._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Variable Flokirobinhood._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Variable Flokirobinhood._getValues(uint256).rTransferAmount (#939) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Variable Flokirobinhood.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Flokirobinhood._transferFromExcluded(address,address,uint256).tTransferAmount (#1197)
Variable Flokirobinhood._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._getValues(uint256).rTransferAmount (#939) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood._getValues(uint256).rTransferAmount (#939) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Variable Flokirobinhood._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Flokirobinhood._transferBothExcluded(address,address,uint256).tTransferAmount (#874)
Variable Flokirobinhood._transferBothExcluded(address,address,uint256).rTransferAmount (#874) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood._transferStandard(address,address,uint256).rTransferAmount (#1178) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Flokirobinhood._getValues(uint256).tTransferAmount (#938)
Variable Flokirobinhood._transferToExcluded(address,address,uint256).rTransferAmount (#1187) is too similar to Flokirobinhood._transferToExcluded(address,address,uint256).tTransferAmount (#1187)
Variable Flokirobinhood.reflectionFromToken(uint256,bool).rTransferAmount (#839) is too similar to Flokirobinhood._transferStandard(address,address,uint256).tTransferAmount (#1178)
Variable Flokirobinhood._transferFromExcluded(address,address,uint256).rTransferAmount (#1197) is too similar to Flokirobinhood._getTValues(uint256).tTransferAmount (#946)
Prevent variables from having similar names.
Additional information: link
Flokirobinhood._burnTokens(uint256) (#1147-1154) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#1148)
Flokirobinhood.slitherConstructorVariables() (#676-1206) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 9 (#690)
Flokirobinhood.slitherConstructorVariables() (#676-1206) uses literals with too many digits:
- _maxTxAmount = 300000000000000 * 10 ** 9 (#715)
Flokirobinhood.slitherConstructorVariables() (#676-1206) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 300000000000 * 10 ** 9 (#716)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Flokirobinhood._burnFee (#704) should be constant
Flokirobinhood._decimals (#696) should be constant
Flokirobinhood._marketingFee (#705) should be constant
Flokirobinhood._name (#694) should be constant
Flokirobinhood._symbol (#695) should be constant
Flokirobinhood._tTotal (#690) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#438-441)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#447-451)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#453-455)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#458-463)
unlock() should be declared external:
- Ownable.unlock() (#466-471)
name() should be declared external:
- Flokirobinhood.name() (#752-754)
symbol() should be declared external:
- Flokirobinhood.symbol() (#756-758)
decimals() should be declared external:
- Flokirobinhood.decimals() (#760-762)
totalSupply() should be declared external:
- Flokirobinhood.totalSupply() (#764-766)
transfer(address,uint256) should be declared external:
- Flokirobinhood.transfer(address,uint256) (#773-776)
allowance(address,address) should be declared external:
- Flokirobinhood.allowance(address,address) (#778-780)
approve(address,uint256) should be declared external:
- Flokirobinhood.approve(address,uint256) (#782-785)
transferFrom(address,address,uint256) should be declared external:
- Flokirobinhood.transferFrom(address,address,uint256) (#787-791)
increaseAllowance(address,uint256) should be declared external:
- Flokirobinhood.increaseAllowance(address,uint256) (#793-796)
decreaseAllowance(address,uint256) should be declared external:
- Flokirobinhood.decreaseAllowance(address,uint256) (#798-801)
isExcludedFromReward(address) should be declared external:
- Flokirobinhood.isExcludedFromReward(address) (#803-805)
totalFees() should be declared external:
- Flokirobinhood.totalFees() (#807-809)
numOfTokensToSellToAddToLiquidityAmount() should be declared external:
- Flokirobinhood.numOfTokensToSellToAddToLiquidityAmount() (#812-814)
getContractTokenBalance() should be declared external:
- Flokirobinhood.getContractTokenBalance() (#816-818)
totalTokensBurnt() should be declared external:
- Flokirobinhood.totalTokensBurnt() (#820-822)
deliver(uint256) should be declared external:
- Flokirobinhood.deliver(uint256) (#824-831)
reflectionFromToken(uint256,bool) should be declared external:
- Flokirobinhood.reflectionFromToken(uint256,bool) (#833-842)
excludeFromReward(address) should be declared external:
- Flokirobinhood.excludeFromReward(address) (#850-858)
excludeFromFee(address) should be declared external:
- Flokirobinhood.excludeFromFee(address) (#884-886)
includeInFee(address) should be declared external:
- Flokirobinhood.includeInFee(address) (#888-890)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Flokirobinhood.setSwapAndLiquifyEnabled(bool) (#906-909)
setTokensToSellIntoLiq(uint256) should be declared external:
- Flokirobinhood.setTokensToSellIntoLiq(uint256) (#911-913)
isExcludedFromFee(address) should be declared external:
- Flokirobinhood.isExcludedFromFee(address) (#1022-1024)
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts