Buff Floki Coin is the Buff version of Floki Inu.
Buff Floki Coin seeks to impress his brother by showing his new improved transaction speeds & adorableness. He is Hyper-deflationary with static reflection that rewards holders, so more buff floki coin coins are being automatically added to your wallet each transaction. Simply Love, pet, and hold as 2% from each transaction is automatically redistributed to buff floki holders.
BuffFlokiCoin.swapETHForTokens(uint256) (#830-845) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
BuffFlokiCoin.addLiquidity(uint256,uint256) (#847-860) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#852-859)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
BuffFlokiCoin._transfer(address,address,uint256) (#673-790) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#734)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in BuffFlokiCoin._transfer(address,address,uint256) (#673-790):
External calls:
- swapTokens(contractTokenBalance) (#702)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
External calls sending eth:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
State variables written after the call(s):
- _removeOldSellHistories() (#729)
- _sellHistories[i].time = _sellHistories[j].time (#1030)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1031)
- _sellHistories.pop() (#1041)
Reentrancy in BuffFlokiCoin._transfer(address,address,uint256) (#673-790):
External calls:
- swapTokens(contractTokenBalance) (#702)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
External calls sending eth:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#966)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#882)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#891)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#902)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#912)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#883)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#893)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#903)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#914)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _rTotal = _rTotal.sub(rFee) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#968)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#901)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#911)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#892)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#913)
- buyBackTokens(_bBSLimit) (#737)
- inSwapAndLiquify = true (#519)
- inSwapAndLiquify = false (#521)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
BuffFlokiCoin._transfer(address,address,uint256).sellHistory (#689) is a local variable never initialized
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
BuffFlokiCoin.addLiquidity(uint256,uint256) (#847-860) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#852-859)
Ensure that all the return values of the function calls are used.
Additional information: link
BuffFlokiCoin.allowance(address,address).owner (#574) shadows:
- Ownable.owner() (#164-166) (function)
BuffFlokiCoin._approve(address,address,uint256).owner (#665) shadows:
- Ownable.owner() (#164-166) (function)
Rename the local variables that shadow another component.
Additional information: link
BuffFlokiCoin.SetBuyBackMaxTimeForHistories(uint256) (#1046-1048) should emit an event for:
- _buyBackMaxTimeForHistories = newMinutes * 60 (#1047)
BuffFlokiCoin.SetBuyBackDivisor(uint256) (#1050-1052) should emit an event for:
- _buyBackDivisor = newDivisor (#1051)
BuffFlokiCoin.SetBuyBackTimeInterval(uint256) (#1058-1060) should emit an event for:
- _buyBackTimeInterval = newMinutes * 60 (#1059)
BuffFlokiCoin.SetBuyBackRangeRate(uint256) (#1062-1065) should emit an event for:
- _buyBackRangeRate = newPercent (#1064)
BuffFlokiCoin.SetSwapMinutes(uint256) (#1071-1073) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (#1072)
BuffFlokiCoin.setTaxFeePercent(uint256) (#1075-1077) should emit an event for:
- _taxFee = taxFee (#1076)
BuffFlokiCoin.setBuyFee(uint256,uint256) (#1079-1082) should emit an event for:
- _buyTaxFee = buyTaxFee (#1080)
- _buyLiquidityFee = buyLiquidityFee (#1081)
BuffFlokiCoin.setSellFee(uint256,uint256) (#1084-1087) should emit an event for:
- _sellTaxFee = sellTaxFee (#1085)
- _sellLiquidityFee = sellLiquidityFee (#1086)
BuffFlokiCoin.setLiquidityFeePercent(uint256) (#1089-1091) should emit an event for:
- _liquidityFee = liquidityFee (#1090)
BuffFlokiCoin.setBuyBackSellLimit(uint256) (#1093-1095) should emit an event for:
- buyBackSellLimit = buyBackSellSetLimit (#1094)
BuffFlokiCoin.setMaxTxAmount(uint256) (#1097-1099) should emit an event for:
- _maxTxAmount = maxTxAmount (#1098)
BuffFlokiCoin.setMarketingDivisor(uint256) (#1101-1103) should emit an event for:
- marketingDivisor = divisor (#1102)
BuffFlokiCoin.setNumTokensSellToAddToBuyBack(uint256) (#1105-1107) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#1106)
Emit an event for critical parameter changes.
Additional information: link
BuffFlokiCoin.setMarketingAddress(address)._marketingAddress (#1109) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1110)
Check that the address is not zero.
Additional information: link
Reentrancy in BuffFlokiCoin._transfer(address,address,uint256) (#673-790):
External calls:
- swapTokens(contractTokenBalance) (#702)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
External calls sending eth:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
State variables written after the call(s):
- removeAllFee() (#753)
- _liquidityFee = 0 (#990)
- _liquidityFee = _buyLiquidityFee (#755)
- removeAllFee() (#759)
- _liquidityFee = 0 (#990)
- _liquidityFee = _sellLiquidityFee (#761)
- removeAllFee() (#766)
- _liquidityFee = 0 (#990)
- _liquidityFee = _addressFees[from]._liquidityFee (#768)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#773)
- removeAllFee() (#780)
- _liquidityFee = 0 (#990)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#783)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _liquidityFee = _previousLiquidityFee (#995)
- _liquidityFee = 0 (#990)
- removeAllFee() (#753)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#759)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#766)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#780)
- _previousLiquidityFee = _liquidityFee (#987)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#753)
- _previousTaxFee = _taxFee (#986)
- removeAllFee() (#759)
- _previousTaxFee = _taxFee (#986)
- removeAllFee() (#766)
- _previousTaxFee = _taxFee (#986)
- removeAllFee() (#780)
- _previousTaxFee = _taxFee (#986)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _previousTaxFee = _taxFee (#986)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
- removeAllFee() (#753)
- _taxFee = 0 (#989)
- _taxFee = _buyTaxFee (#754)
- removeAllFee() (#759)
- _taxFee = 0 (#989)
- _taxFee = _sellTaxFee (#760)
- removeAllFee() (#766)
- _taxFee = 0 (#989)
- _taxFee = _addressFees[from]._taxFee (#767)
- _taxFee = _addressFees[from]._sellTaxFee (#772)
- removeAllFee() (#780)
- _taxFee = 0 (#989)
- _taxFee = _addressFees[to]._buyTaxFee (#782)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _taxFee = _previousTaxFee (#994)
- _taxFee = 0 (#989)
Reentrancy in BuffFlokiCoin.changeRouterVersion(address) (#1146-1159):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1152-1153)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1155)
- uniswapV2Router = _uniswapV2Router (#1158)
Reentrancy in BuffFlokiCoin.constructor() (#524-546):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#534-535)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#540)
- _isExcludedFromFee[address(this)] = true (#541)
- _startTimeForSwap = block.timestamp (#543)
- uniswapV2Router = _uniswapV2Router (#537)
Reentrancy in BuffFlokiCoin.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#1143)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
- _allowances[owner][spender] = amount (#669)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BuffFlokiCoin._transfer(address,address,uint256) (#673-790):
External calls:
- swapTokens(contractTokenBalance) (#702)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
External calls sending eth:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#844)
- buyBackTokens(_bBSLimit) (#737)
- Transfer(sender,recipient,tTransferAmount) (#886)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- Transfer(sender,recipient,tTransferAmount) (#906)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- Transfer(sender,recipient,tTransferAmount) (#896)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- Transfer(sender,recipient,tTransferAmount) (#917)
- _tokenTransfer(from,to,amount,takeFee) (#789)
Reentrancy in BuffFlokiCoin.constructor() (#524-546):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#534-535)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#545)
Reentrancy in BuffFlokiCoin.swapETHForTokens(uint256) (#830-845):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#844)
Reentrancy in BuffFlokiCoin.swapTokensForEth(uint256) (#810-828):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#827)
Reentrancy in BuffFlokiCoin.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#819-825)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#1143)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#670)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#199-204) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#201)
BuffFlokiCoin._transfer(address,address,uint256) (#673-790) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (#699)
- _sellHistories[i].time >= startTime (#719)
- balance > _bBSLimit (#736)
BuffFlokiCoin.buyBackTokens(uint256) (#804-808) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#805)
BuffFlokiCoin._removeOldSellHistories() (#1022-1044) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1028)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#94-103) uses assembly
- INLINE ASM (#101)
Address._functionCallWithValue(address,bytes,uint256,string) (#131-148) uses assembly
- INLINE ASM (#140-143)
Do not use evm assembly.
Additional information: link
BuffFlokiCoin.includeInReward(address) (#652-663) has costly operations inside a loop:
- _excluded.pop() (#659)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#131-148) is never used and should be removed
Address.functionCall(address,bytes) (#114-116) is never used and should be removed
Address.functionCall(address,bytes,string) (#118-120) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#122-124) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#126-129) is never used and should be removed
Address.isContract(address) (#94-103) is never used and should be removed
Address.sendValue(address,uint256) (#105-111) is never used and should be removed
BuffFlokiCoin.addLiquidity(uint256,uint256) (#847-860) is never used and should be removed
Context._msgData() (#17-20) is never used and should be removed
SafeMath.mod(uint256,uint256) (#82-84) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#86-89) is never used and should be removed
Remove unused functions.
Additional information: link
BuffFlokiCoin._rTotal (#434) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
BuffFlokiCoin._previousTaxFee (#457) is set pre-construction with a non-constant function or state variable:
- _taxFee
BuffFlokiCoin._previousLiquidityFee (#460) 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) (#105-111):
- (success) = recipient.call{value: amount}() (#109)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#131-148):
- (success,returndata) = target.call{value: weiValue}(data) (#134)
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() (#244) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#245) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#261) is not in mixedCase
Function IUniswapV2Router01.WETH() (#282) is not in mixedCase
Parameter BuffFlokiCoin.calculateTaxFee(uint256)._amount (#971) is not in mixedCase
Parameter BuffFlokiCoin.calculateLiquidityFee(uint256)._amount (#977) is not in mixedCase
Function BuffFlokiCoin.SetBuyBackMaxTimeForHistories(uint256) (#1046-1048) is not in mixedCase
Function BuffFlokiCoin.SetBuyBackDivisor(uint256) (#1050-1052) is not in mixedCase
Function BuffFlokiCoin.GetBuyBackTimeInterval() (#1054-1056) is not in mixedCase
Function BuffFlokiCoin.SetBuyBackTimeInterval(uint256) (#1058-1060) is not in mixedCase
Function BuffFlokiCoin.SetBuyBackRangeRate(uint256) (#1062-1065) is not in mixedCase
Function BuffFlokiCoin.GetSwapMinutes() (#1067-1069) is not in mixedCase
Function BuffFlokiCoin.SetSwapMinutes(uint256) (#1071-1073) is not in mixedCase
Parameter BuffFlokiCoin.setNumTokensSellToAddToBuyBack(uint256)._minimumTokensBeforeSwap (#1105) is not in mixedCase
Parameter BuffFlokiCoin.setMarketingAddress(address)._marketingAddress (#1109) is not in mixedCase
Parameter BuffFlokiCoin.setSwapAndLiquifyEnabled(bool)._enabled (#1113) is not in mixedCase
Parameter BuffFlokiCoin.setBuyBackEnabled(bool)._enabled (#1118) is not in mixedCase
Parameter BuffFlokiCoin.setAutoBuyBackEnabled(bool)._enabled (#1123) is not in mixedCase
Parameter BuffFlokiCoin.changeRouterVersion(address)._router (#1146) is not in mixedCase
Parameter BuffFlokiCoin.transferForeignToken(address,address)._token (#1165) is not in mixedCase
Parameter BuffFlokiCoin.transferForeignToken(address,address)._to (#1165) is not in mixedCase
Function BuffFlokiCoin.Sweep() (#1171-1174) is not in mixedCase
Parameter BuffFlokiCoin.setAddressFee(address,bool,uint256,uint256)._address (#1176) is not in mixedCase
Parameter BuffFlokiCoin.setAddressFee(address,bool,uint256,uint256)._enable (#1176) is not in mixedCase
Parameter BuffFlokiCoin.setAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1176) is not in mixedCase
Parameter BuffFlokiCoin.setAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1176) is not in mixedCase
Parameter BuffFlokiCoin.setBuyAddressFee(address,bool,uint256,uint256)._address (#1182) is not in mixedCase
Parameter BuffFlokiCoin.setBuyAddressFee(address,bool,uint256,uint256)._enable (#1182) is not in mixedCase
Parameter BuffFlokiCoin.setBuyAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1182) is not in mixedCase
Parameter BuffFlokiCoin.setBuyAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1182) is not in mixedCase
Parameter BuffFlokiCoin.setSellAddressFee(address,bool,uint256,uint256)._address (#1188) is not in mixedCase
Parameter BuffFlokiCoin.setSellAddressFee(address,bool,uint256,uint256)._enable (#1188) is not in mixedCase
Parameter BuffFlokiCoin.setSellAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1188) is not in mixedCase
Parameter BuffFlokiCoin.setSellAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1188) is not in mixedCase
Variable BuffFlokiCoin._taxFee (#456) is not in mixedCase
Variable BuffFlokiCoin._liquidityFee (#459) is not in mixedCase
Variable BuffFlokiCoin._buyTaxFee (#462) is not in mixedCase
Variable BuffFlokiCoin._buyLiquidityFee (#463) is not in mixedCase
Variable BuffFlokiCoin._sellTaxFee (#465) is not in mixedCase
Variable BuffFlokiCoin._sellLiquidityFee (#466) is not in mixedCase
Variable BuffFlokiCoin._startTimeForSwap (#468) is not in mixedCase
Variable BuffFlokiCoin._intervalMinutesForSwap (#469) is not in mixedCase
Variable BuffFlokiCoin._buyBackRangeRate (#471) is not in mixedCase
Variable BuffFlokiCoin._addressFees (#474) is not in mixedCase
Variable BuffFlokiCoin._maxTxAmount (#478) is not in mixedCase
Variable BuffFlokiCoin._sellHistories (#483) is not in mixedCase
Variable BuffFlokiCoin._isAutoBuyBack (#484) is not in mixedCase
Variable BuffFlokiCoin._buyBackDivisor (#485) is not in mixedCase
Variable BuffFlokiCoin._buyBackTimeInterval (#486) is not in mixedCase
Variable BuffFlokiCoin._buyBackMaxTimeForHistories (#487) is not in mixedCase
Variable BuffFlokiCoin._isEnabledBuyBackAndBurn (#496) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#18)" inContext (#12-21)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BuffFlokiCoin._transfer(address,address,uint256) (#673-790):
External calls:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
State variables written after the call(s):
- _removeOldSellHistories() (#729)
- _sellHistories[i].time = _sellHistories[j].time (#1030)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1031)
- _sellHistories.pop() (#1041)
Reentrancy in BuffFlokiCoin._transfer(address,address,uint256) (#673-790):
External calls:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
External calls sending eth:
- swapTokens(contractTokenBalance) (#702)
- recipient.transfer(amount) (#1143)
- buyBackTokens(_bBSLimit) (#737)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
State variables written after the call(s):
- removeAllFee() (#753)
- _liquidityFee = 0 (#990)
- _liquidityFee = _buyLiquidityFee (#755)
- removeAllFee() (#759)
- _liquidityFee = 0 (#990)
- _liquidityFee = _sellLiquidityFee (#761)
- removeAllFee() (#766)
- _liquidityFee = 0 (#990)
- _liquidityFee = _addressFees[from]._liquidityFee (#768)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#773)
- removeAllFee() (#780)
- _liquidityFee = 0 (#990)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#783)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _liquidityFee = _previousLiquidityFee (#995)
- _liquidityFee = 0 (#990)
- removeAllFee() (#753)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#759)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#766)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#780)
- _previousLiquidityFee = _liquidityFee (#987)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _previousLiquidityFee = _liquidityFee (#987)
- removeAllFee() (#753)
- _previousTaxFee = _taxFee (#986)
- removeAllFee() (#759)
- _previousTaxFee = _taxFee (#986)
- removeAllFee() (#766)
- _previousTaxFee = _taxFee (#986)
- removeAllFee() (#780)
- _previousTaxFee = _taxFee (#986)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _previousTaxFee = _taxFee (#986)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#966)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#882)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#891)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#902)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#912)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#883)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#893)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#903)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#914)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _rTotal = _rTotal.sub(rFee) (#921)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _tFeeTotal = _tFeeTotal.add(tFee) (#922)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#968)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#901)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#911)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#892)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#913)
- removeAllFee() (#753)
- _taxFee = 0 (#989)
- _taxFee = _buyTaxFee (#754)
- removeAllFee() (#759)
- _taxFee = 0 (#989)
- _taxFee = _sellTaxFee (#760)
- removeAllFee() (#766)
- _taxFee = 0 (#989)
- _taxFee = _addressFees[from]._taxFee (#767)
- _taxFee = _addressFees[from]._sellTaxFee (#772)
- removeAllFee() (#780)
- _taxFee = 0 (#989)
- _taxFee = _addressFees[to]._buyTaxFee (#782)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- _taxFee = _previousTaxFee (#994)
- _taxFee = 0 (#989)
- buyBackTokens(_bBSLimit) (#737)
- inSwapAndLiquify = true (#519)
- inSwapAndLiquify = false (#521)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#844)
- buyBackTokens(_bBSLimit) (#737)
- Transfer(sender,recipient,tTransferAmount) (#886)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- Transfer(sender,recipient,tTransferAmount) (#906)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- Transfer(sender,recipient,tTransferAmount) (#896)
- _tokenTransfer(from,to,amount,takeFee) (#789)
- Transfer(sender,recipient,tTransferAmount) (#917)
- _tokenTransfer(from,to,amount,takeFee) (#789)
Reentrancy in BuffFlokiCoin.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#1143)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#1143)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#837-842)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
- _allowances[owner][spender] = amount (#669)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#670)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#287) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#288)
Variable BuffFlokiCoin._transferStandard(address,address,uint256).rTransferAmount (#881) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#942) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin._getValues(uint256).rTransferAmount (#927) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin._transferStandard(address,address,uint256).rTransferAmount (#881) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#942) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin._transferStandard(address,address,uint256).rTransferAmount (#881) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin.reflectionFromToken(uint256,bool).rTransferAmount (#631) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin._transferStandard(address,address,uint256).rTransferAmount (#881) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin.reflectionFromToken(uint256,bool).rTransferAmount (#631) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin.reflectionFromToken(uint256,bool).rTransferAmount (#631) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin._transferStandard(address,address,uint256).rTransferAmount (#881) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#942) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin.reflectionFromToken(uint256,bool).rTransferAmount (#631) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable BuffFlokiCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#942) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin._transferStandard(address,address,uint256).rTransferAmount (#881) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable BuffFlokiCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#942) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable BuffFlokiCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#910) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable BuffFlokiCoin._getValues(uint256).rTransferAmount (#927) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#942) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._getValues(uint256).rTransferAmount (#927) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#910) is too similar to BuffFlokiCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable BuffFlokiCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable BuffFlokiCoin._getValues(uint256).rTransferAmount (#927) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin.reflectionFromToken(uint256,bool).rTransferAmount (#631) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable BuffFlokiCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#910) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#910) is too similar to BuffFlokiCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#910)
Variable BuffFlokiCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#910) is too similar to BuffFlokiCoin._getTValues(uint256).tTransferAmount (#934)
Variable BuffFlokiCoin._getValues(uint256).rTransferAmount (#927) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin.reflectionFromToken(uint256,bool).rTransferAmount (#631) is too similar to BuffFlokiCoin._transferStandard(address,address,uint256).tTransferAmount (#881)
Variable BuffFlokiCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#910) is too similar to BuffFlokiCoin._getValues(uint256).tTransferAmount (#926)
Variable BuffFlokiCoin._getValues(uint256).rTransferAmount (#927) is too similar to BuffFlokiCoin._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Prevent variables from having similar names.
Additional information: link
BuffFlokiCoin.prepareForPreSale() (#1128-1133) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#1132)
BuffFlokiCoin.afterPreSale() (#1135-1140) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#1139)
BuffFlokiCoin.slitherConstructorVariables() (#417-1195) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#422)
BuffFlokiCoin.slitherConstructorVariables() (#417-1195) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 6 * 10 ** 9 (#433)
BuffFlokiCoin.slitherConstructorVariables() (#417-1195) uses literals with too many digits:
- _maxTxAmount = 600000000 * 10 ** 6 * 10 ** 9 (#478)
BuffFlokiCoin.slitherConstructorVariables() (#417-1195) uses literals with too many digits:
- minimumTokensBeforeSwap = 40000000 * 10 ** 6 * 10 ** 9 (#479)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BuffFlokiCoin._decimals (#439) should be constant
BuffFlokiCoin._isEnabledBuyBackAndBurn (#496) should be constant
BuffFlokiCoin._name (#437) should be constant
BuffFlokiCoin._symbol (#438) should be constant
BuffFlokiCoin._tTotal (#433) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#173-176)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#178-182)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#184-186)
getTime() should be declared external:
- Ownable.getTime() (#188-190)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#192-197)
unlock() should be declared external:
- Ownable.unlock() (#199-204)
name() should be declared external:
- BuffFlokiCoin.name() (#548-550)
symbol() should be declared external:
- BuffFlokiCoin.symbol() (#552-554)
decimals() should be declared external:
- BuffFlokiCoin.decimals() (#556-558)
totalSupply() should be declared external:
- BuffFlokiCoin.totalSupply() (#560-562)
transfer(address,uint256) should be declared external:
- BuffFlokiCoin.transfer(address,uint256) (#569-572)
allowance(address,address) should be declared external:
- BuffFlokiCoin.allowance(address,address) (#574-576)
approve(address,uint256) should be declared external:
- BuffFlokiCoin.approve(address,uint256) (#578-581)
transferFrom(address,address,uint256) should be declared external:
- BuffFlokiCoin.transferFrom(address,address,uint256) (#583-587)
increaseAllowance(address,uint256) should be declared external:
- BuffFlokiCoin.increaseAllowance(address,uint256) (#589-592)
decreaseAllowance(address,uint256) should be declared external:
- BuffFlokiCoin.decreaseAllowance(address,uint256) (#594-597)
isExcludedFromReward(address) should be declared external:
- BuffFlokiCoin.isExcludedFromReward(address) (#599-601)
totalFees() should be declared external:
- BuffFlokiCoin.totalFees() (#603-605)
minimumTokensBeforeSwapAmount() should be declared external:
- BuffFlokiCoin.minimumTokensBeforeSwapAmount() (#607-609)
buyBackSellLimitAmount() should be declared external:
- BuffFlokiCoin.buyBackSellLimitAmount() (#611-613)
deliver(uint256) should be declared external:
- BuffFlokiCoin.deliver(uint256) (#615-622)
reflectionFromToken(uint256,bool) should be declared external:
- BuffFlokiCoin.reflectionFromToken(uint256,bool) (#625-634)
excludeFromReward(address) should be declared external:
- BuffFlokiCoin.excludeFromReward(address) (#642-650)
isExcludedFromFee(address) should be declared external:
- BuffFlokiCoin.isExcludedFromFee(address) (#998-1000)
excludeFromFee(address) should be declared external:
- BuffFlokiCoin.excludeFromFee(address) (#1002-1004)
includeInFee(address) should be declared external:
- BuffFlokiCoin.includeInFee(address) (#1006-1008)
GetBuyBackTimeInterval() should be declared external:
- BuffFlokiCoin.GetBuyBackTimeInterval() (#1054-1056)
GetSwapMinutes() should be declared external:
- BuffFlokiCoin.GetSwapMinutes() (#1067-1069)
setBuyBackEnabled(bool) should be declared external:
- BuffFlokiCoin.setBuyBackEnabled(bool) (#1118-1121)
setAutoBuyBackEnabled(bool) should be declared external:
- BuffFlokiCoin.setAutoBuyBackEnabled(bool) (#1123-1126)
changeRouterVersion(address) should be declared external:
- BuffFlokiCoin.changeRouterVersion(address) (#1146-1159)
transferForeignToken(address,address) should be declared external:
- BuffFlokiCoin.transferForeignToken(address,address) (#1165-1169)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
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 number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find whitepaper link on the website
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account