Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BTBWTC.transferEthOut(uint256,uint256) (#1000-1003) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(marketingBalance) (#1002)
BTBWTC.swapETHForTokens(uint256) (#1005-1020) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
BTBWTC.addLiquidity(uint256,uint256) (#1040-1053) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BTBWTC._transfer(address,address,uint256) (#903-954):
External calls:
- swapAndLiquify(contractTokenBalance) (#937)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#937)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _buyBackFee = _previousBuyBackFee (#1178)
- _buyBackFee = _boostedBuyBackFee (#1195)
- _buyBackFee = 0 (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _devFee = _previousDevFee (#1180)
- _devFee = _boostedDevFee (#1197)
- _devFee = 0 (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _liquidityFee = _previousLiquidityFee (#1177)
- _liquidityFee = _boostedLiquidityFee (#1194)
- _liquidityFee = 0 (#1169)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _marketingFee = _previousMarketingFee (#1179)
- _marketingFee = _boostedMarketingFee (#1196)
- _marketingFee = 0 (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1140)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1073)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1074)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _rTotal = _rTotal.sub(rFee) (#1133)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1142)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1077)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1079)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1081)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1082)
- buyBackTokens(buyBackAmount) (#943)
- inSwapAndLiquify = true (#659)
- inSwapAndLiquify = false (#661)
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.
BTBWTC.swapAndLiquify(uint256) (#962-998) performs a multiplication on the result of a division:
-half = toLiquify.div(2) (#972)
-liquidityBalance = fromSwap.mul(half).div(toSwapForEth) (#987)
BTBWTC.swapAndLiquify(uint256) (#962-998) performs a multiplication on the result of a division:
-toBuyBack = contractTokenBalance.mul(_buyBackFee).div(totalBNBFees) (#967)
-buyBackBalance = fromSwap.mul(toBuyBack).div(toSwapForEth) (#988)
BTBWTC.swapAndLiquify(uint256) (#962-998) performs a multiplication on the result of a division:
-toDev = contractTokenBalance.mul(_devFee).div(totalBNBFees) (#968)
-devBalance = fromSwap.mul(toDev).div(toSwapForEth) (#989)
Consider ordering multiplication before division.
Additional information: link
BTBWTC.addLiquidity(uint256,uint256) (#1040-1053) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
Ensure that all the return values of the function calls are used.
Additional information: link
BTBWTC._approve(address,address,uint256).owner (#895) shadows:
- Ownable.owner() (#527-529) (function)
Rename the local variables that shadow another component.
Additional information: link
BTBWTC.setTaxes(uint256,uint256,uint256,uint256,uint256) (#754-761) should emit an event for:
- _reflectFee = reflectFee (#756)
- _liquidityFee = liquidityFee (#757)
- _marketingFee = marketingFee (#758)
- _buyBackFee = buyBackFee (#759)
- _devFee = devFee (#760)
BTBWTC.setBoostedTaxes(uint256,uint256,uint256,uint256,uint256) (#763-770) should emit an event for:
- _boostedReflectFee = reflectFee (#765)
- _boostedLiquidityFee = liquidityFee (#766)
- _boostedMarketingFee = marketingFee (#767)
- _boostedBuyBackFee = buyBackFee (#768)
- _boostedDevFee = devFee (#769)
BTBWTC.setMaxTxPercent(uint256,uint256) (#772-776) should emit an event for:
- _maxTxAmount = _tTotal.mul(percent).div(divisor) (#774)
BTBWTC.setMaxWallet(uint256,uint256) (#778-782) should emit an event for:
- _maxWalletAmount = _tTotal.mul(percent).div(divisor) (#780)
BTBWTC.setPercentToSell(uint256) (#784-787) should emit an event for:
- percentToSell = percent (#785)
- numTokensSellToAddToLiquidity = (_tTotal * percentToSell) / 10000 (#786)
BTBWTC.setBuyBackSellLimit(uint256) (#804-806) should emit an event for:
- buyBackSellLimit = limit * 10 ** _decimalsMul (#805)
BTBWTC.setBuyBackAmount(uint256,uint256) (#808-810) should emit an event for:
- buyBackAmount = amount * 10 ** multiplier (#809)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in BTBWTC._transfer(address,address,uint256) (#903-954):
External calls:
- swapAndLiquify(contractTokenBalance) (#937)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#937)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousBuyBackFee = _buyBackFee (#1189)
- _previousBuyBackFee = _buyBackFee (#1164)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousDevFee = _devFee (#1191)
- _previousDevFee = _devFee (#1166)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousLiquidityFee = _liquidityFee (#1188)
- _previousLiquidityFee = _liquidityFee (#1163)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousMarketingFee = _marketingFee (#1190)
- _previousMarketingFee = _marketingFee (#1165)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousReflectFee = _reflectFee (#1187)
- _previousReflectFee = _reflectFee (#1162)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _reflectFee = _previousReflectFee (#1176)
- _reflectFee = _boostedReflectFee (#1193)
- _reflectFee = 0 (#1168)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1134)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- boosted = true (#1060)
- boosted = false (#1183)
Reentrancy in BTBWTC.constructor() (#664-694):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#669-670)
State variables written after the call(s):
- _approve(_msgSender(),_routerAddress,_tTotal) (#691)
- _allowances[owner][spender] = amount (#899)
- _excluded.push(address(this)) (#678)
- _excluded.push(owner()) (#680)
- _excluded.push(burnAddress) (#682)
- _excluded.push(lpPair) (#684)
- _excluded.push(0x2D045410f002A95EFcEE67759A92518fA3FcE677) (#688)
- _isExcluded[address(this)] = true (#677)
- _isExcluded[owner()] = true (#679)
- _isExcluded[burnAddress] = true (#681)
- _isExcluded[lpPair] = true (#683)
- _isExcluded[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#687)
- _isExcludedFromFee[owner()] = true (#674)
- _isExcludedFromFee[address(this)] = true (#675)
- _isExcludedFromFee[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#686)
- _liquidityHolders[owner()] = true (#676)
- dexRouter = _dexRouter (#672)
Reentrancy in BTBWTC.setNewRouter(address) (#734-744):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#738)
State variables written after the call(s):
- dexRouter = _newRouter (#743)
Reentrancy in BTBWTC.swapAndLiquify(uint256) (#962-998):
External calls:
- swapTokensForEth(toSwapForEth) (#983)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
- addLiquidity(otherHalf,liquidityBalance) (#993)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#993)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
State variables written after the call(s):
- addLiquidity(otherHalf,liquidityBalance) (#993)
- _allowances[owner][spender] = amount (#899)
Reentrancy in BTBWTC.transferFrom(address,address,uint256) (#718-722):
External calls:
- _transfer(sender,recipient,amount) (#719)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
External calls sending eth:
- _transfer(sender,recipient,amount) (#719)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#720)
- _allowances[owner][spender] = amount (#899)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BTBWTC._transfer(address,address,uint256) (#903-954):
External calls:
- swapAndLiquify(contractTokenBalance) (#937)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#937)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1019)
- buyBackTokens(buyBackAmount) (#943)
- Transfer(sender,address(this),tLiquidity) (#1143)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- Transfer(sender,recipient,tTransferAmount) (#1090)
- _tokenTransfer(from,to,amount,takeFee) (#953)
Reentrancy in BTBWTC.constructor() (#664-694):
External calls:
- lpPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this),_dexRouter.WETH()) (#669-670)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#900)
- _approve(_msgSender(),_routerAddress,_tTotal) (#691)
- Transfer(address(0),_msgSender(),_tTotal) (#693)
Reentrancy in BTBWTC.swapAndLiquify(uint256) (#962-998):
External calls:
- swapTokensForEth(toSwapForEth) (#983)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
- addLiquidity(otherHalf,liquidityBalance) (#993)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
External calls sending eth:
- addLiquidity(otherHalf,liquidityBalance) (#993)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#900)
- addLiquidity(otherHalf,liquidityBalance) (#993)
- SwapAndLiquify(half,liquidityBalance,otherHalf) (#995)
Reentrancy in BTBWTC.swapETHForTokens(uint256) (#1005-1020):
External calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1019)
Reentrancy in BTBWTC.transferFrom(address,address,uint256) (#718-722):
External calls:
- _transfer(sender,recipient,amount) (#719)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1031-1037)
External calls sending eth:
- _transfer(sender,recipient,amount) (#719)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#900)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#720)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#265-274) uses assembly
- INLINE ASM (#272)
Address._functionCallWithValue(address,bytes,uint256,string) (#302-323) uses assembly
- INLINE ASM (#315-318)
Do not use evm assembly.
Additional information: link
BTBWTC.restoreAllFee() (#1175-1184) compares to a boolean constant:
-boosted == true (#1182)
Remove the equality to the boolean constant.
Additional information: link
BTBWTC.includeInReward(address) (#879-890) has costly operations inside a loop:
- _excluded.pop() (#886)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#302-323) is never used and should be removed
Address.functionCall(address,bytes) (#284-286) is never used and should be removed
Address.functionCall(address,bytes,string) (#288-290) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#293-295) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#297-300) is never used and should be removed
Address.isContract(address) (#265-274) is never used and should be removed
Address.sendValue(address,uint256) (#276-282) is never used and should be removed
Context._msgData() (#9-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#242-244) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#258-261) is never used and should be removed
Remove unused functions.
Additional information: link
BTBWTC._decimalsMul (#570) is set pre-construction with a non-constant function or state variable:
- _decimals
BTBWTC._tTotal (#571) is set pre-construction with a non-constant function or state variable:
- startingSupply * 10 ** _decimalsMul
BTBWTC._rTotal (#572) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
BTBWTC._previousReflectFee (#579) is set pre-construction with a non-constant function or state variable:
- _reflectFee
BTBWTC._previousLiquidityFee (#583) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
BTBWTC._previousMarketingFee (#587) is set pre-construction with a non-constant function or state variable:
- _marketingFee
BTBWTC._previousBuyBackFee (#591) is set pre-construction with a non-constant function or state variable:
- _buyBackFee
BTBWTC._previousDevFee (#595) is set pre-construction with a non-constant function or state variable:
- _devFee
BTBWTC.buyBackSellLimit (#615) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 2) / 100
BTBWTC._maxTxAmount (#623) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTxPercent) / maxTxDivisor
BTBWTC._previousMaxTxAmount (#624) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
BTBWTC.maxTxAmountUI (#625) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxTxPercent) / maxTxDivisor
BTBWTC._maxWalletAmount (#630) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWalletPercent) / maxWalletDivisor
BTBWTC._previousMaxWalletAmount (#631) is set pre-construction with a non-constant function or state variable:
- _maxWalletAmount
BTBWTC.maxWalletAmountUI (#632) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxWalletPercent) / maxWalletDivisor
BTBWTC.numTokensSellToAddToLiquidity (#637) is set pre-construction with a non-constant function or state variable:
- (_tTotal * percentToSell) / 10000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version>=0.8.0<0.9.0 (#2) is too complex
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#276-282):
- (success) = recipient.call{value: amount}() (#280)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#302-323):
- (success,returndata) = target.call{value: weiValue}(data) (#306)
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() (#351) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#352) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#366) is not in mixedCase
Function IUniswapV2Router01.WETH() (#384) is not in mixedCase
Parameter BTBWTC.setSwapAndLiquifyEnabled(bool)._enabled (#794) is not in mixedCase
Parameter BTBWTC.setBuyBackEnabled(bool)._enabled (#799) is not in mixedCase
Parameter BTBWTC.calculateTaxFee(uint256)._amount (#1146) is not in mixedCase
Parameter BTBWTC.calculateLiquidityFee(uint256)._amount (#1150) is not in mixedCase
Variable BTBWTC._reflectFee (#578) is not in mixedCase
Variable BTBWTC._boostedReflectFee (#580) is not in mixedCase
Variable BTBWTC._liquidityFee (#582) is not in mixedCase
Variable BTBWTC._boostedLiquidityFee (#584) is not in mixedCase
Variable BTBWTC._marketingFee (#586) is not in mixedCase
Variable BTBWTC._boostedMarketingFee (#588) is not in mixedCase
Variable BTBWTC._buyBackFee (#590) is not in mixedCase
Variable BTBWTC._boostedBuyBackFee (#592) is not in mixedCase
Variable BTBWTC._devFee (#594) is not in mixedCase
Variable BTBWTC._boostedDevFee (#596) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BTBWTC._transfer(address,address,uint256) (#903-954):
External calls:
- swapAndLiquify(contractTokenBalance) (#937)
- _devWallet.transfer(devBalance) (#1001)
- _marketingWallet.transfer(marketingBalance) (#1002)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#937)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- buyBackTokens(buyBackAmount) (#943)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _buyBackFee = _previousBuyBackFee (#1178)
- _buyBackFee = _boostedBuyBackFee (#1195)
- _buyBackFee = 0 (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _devFee = _previousDevFee (#1180)
- _devFee = _boostedDevFee (#1197)
- _devFee = 0 (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _liquidityFee = _previousLiquidityFee (#1177)
- _liquidityFee = _boostedLiquidityFee (#1194)
- _liquidityFee = 0 (#1169)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _marketingFee = _previousMarketingFee (#1179)
- _marketingFee = _boostedMarketingFee (#1196)
- _marketingFee = 0 (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousBuyBackFee = _buyBackFee (#1189)
- _previousBuyBackFee = _buyBackFee (#1164)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousDevFee = _devFee (#1191)
- _previousDevFee = _devFee (#1166)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousLiquidityFee = _liquidityFee (#1188)
- _previousLiquidityFee = _liquidityFee (#1163)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousMarketingFee = _marketingFee (#1190)
- _previousMarketingFee = _marketingFee (#1165)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _previousReflectFee = _reflectFee (#1187)
- _previousReflectFee = _reflectFee (#1162)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1140)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1073)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1074)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _rTotal = _rTotal.sub(rFee) (#1133)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _reflectFee = _previousReflectFee (#1176)
- _reflectFee = _boostedReflectFee (#1193)
- _reflectFee = 0 (#1168)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1134)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1142)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1077)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1079)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1081)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- boosted = true (#1060)
- boosted = false (#1183)
- buyBackTokens(buyBackAmount) (#943)
- inSwapAndLiquify = true (#659)
- inSwapAndLiquify = false (#661)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1019)
- buyBackTokens(buyBackAmount) (#943)
- Transfer(sender,address(this),tLiquidity) (#1143)
- _tokenTransfer(from,to,amount,takeFee) (#953)
- Transfer(sender,recipient,tTransferAmount) (#1090)
- _tokenTransfer(from,to,amount,takeFee) (#953)
Reentrancy in BTBWTC.transferFrom(address,address,uint256) (#718-722):
External calls:
- _transfer(sender,recipient,amount) (#719)
- _devWallet.transfer(devBalance) (#1001)
- _marketingWallet.transfer(marketingBalance) (#1002)
External calls sending eth:
- _transfer(sender,recipient,amount) (#719)
- _devWallet.transfer(devBalance) (#1001)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1045-1052)
- _marketingWallet.transfer(marketingBalance) (#1002)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,burnAddress,block.timestamp.add(300)) (#1012-1017)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#720)
- _allowances[owner][spender] = amount (#899)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#900)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#720)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#388) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#389)
Variable BTBWTC._finalizeTransfer(address,address,uint256).rTransferAmount (#1071) is too similar to BTBWTC._finalizeTransfer(address,address,uint256).tTransferAmount (#1071)
Variable BTBWTC._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1110) is too similar to BTBWTC._getTValues(uint256).tTransferAmount (#1102)
Variable BTBWTC._finalizeTransfer(address,address,uint256).rTransferAmount (#1071) is too similar to BTBWTC._getTValues(uint256).tTransferAmount (#1102)
Variable BTBWTC.reflectionFromToken(uint256,bool).rTransferAmount (#858) is too similar to BTBWTC._getValues(uint256).tTransferAmount (#1094)
Variable BTBWTC._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1110) is too similar to BTBWTC._getValues(uint256).tTransferAmount (#1094)
Variable BTBWTC._finalizeTransfer(address,address,uint256).rTransferAmount (#1071) is too similar to BTBWTC._getValues(uint256).tTransferAmount (#1094)
Variable BTBWTC._getValues(uint256).rTransferAmount (#1095) is too similar to BTBWTC._finalizeTransfer(address,address,uint256).tTransferAmount (#1071)
Variable BTBWTC.reflectionFromToken(uint256,bool).rTransferAmount (#858) is too similar to BTBWTC._finalizeTransfer(address,address,uint256).tTransferAmount (#1071)
Variable BTBWTC._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1110) is too similar to BTBWTC._finalizeTransfer(address,address,uint256).tTransferAmount (#1071)
Variable BTBWTC.reflectionFromToken(uint256,bool).rTransferAmount (#858) is too similar to BTBWTC._getTValues(uint256).tTransferAmount (#1102)
Variable BTBWTC._getValues(uint256).rTransferAmount (#1095) is too similar to BTBWTC._getTValues(uint256).tTransferAmount (#1102)
Variable BTBWTC._getValues(uint256).rTransferAmount (#1095) is too similar to BTBWTC._getValues(uint256).tTransferAmount (#1094)
Prevent variables from having similar names.
Additional information: link
BTBWTC.slitherConstructorVariables() (#551-1200) uses literals with too many digits:
- startingSupply = 100000000_000_000 (#566)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BTBWTC._previousMaxTxAmount (#624) is never used in BTBWTC (#551-1200)
BTBWTC._previousMaxWalletAmount (#631) is never used in BTBWTC (#551-1200)
Remove unused state variables.
Additional information: link
BTBWTC._decimals (#569) should be constant
BTBWTC._devWallet (#609) should be constant
BTBWTC._name (#575) should be constant
BTBWTC._routerAddress (#605) should be constant
BTBWTC._symbol (#576) should be constant
BTBWTC.burnAddress (#607) should be constant
BTBWTC.masterTaxDivisor (#598) should be constant
BTBWTC.maxTxDivisor (#622) should be constant
BTBWTC.maxTxPercent (#621) should be constant
BTBWTC.maxWalletDivisor (#629) should be constant
BTBWTC.maxWalletPercent (#628) should be constant
BTBWTC.maximumTaxesPercent (#599) should be constant
BTBWTC.startingSupply (#566) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#536-539)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#541-546)
transfer(address,uint256) should be declared external:
- BTBWTC.transfer(address,uint256) (#708-711)
approve(address,uint256) should be declared external:
- BTBWTC.approve(address,uint256) (#713-716)
transferFrom(address,address,uint256) should be declared external:
- BTBWTC.transferFrom(address,address,uint256) (#718-722)
increaseAllowance(address,uint256) should be declared external:
- BTBWTC.increaseAllowance(address,uint256) (#724-727)
decreaseAllowance(address,uint256) should be declared external:
- BTBWTC.decreaseAllowance(address,uint256) (#729-732)
setNewRouter(address) should be declared external:
- BTBWTC.setNewRouter(address) (#734-744)
isExcludedFromReward(address) should be declared external:
- BTBWTC.isExcludedFromReward(address) (#746-748)
isExcludedFromFee(address) should be declared external:
- BTBWTC.isExcludedFromFee(address) (#750-752)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BTBWTC.setSwapAndLiquifyEnabled(bool) (#794-797)
setBuyBackEnabled(bool) should be declared external:
- BTBWTC.setBuyBackEnabled(bool) (#799-802)
excludeFromFee(address) should be declared external:
- BTBWTC.excludeFromFee(address) (#822-824)
totalFees() should be declared external:
- BTBWTC.totalFees() (#830-832)
deliver(uint256) should be declared external:
- BTBWTC.deliver(uint256) (#843-850)
reflectionFromToken(uint256,bool) should be declared external:
- BTBWTC.reflectionFromToken(uint256,bool) (#852-861)
excludeFromReward(address) should be declared external:
- BTBWTC.excludeFromReward(address) (#869-877)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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
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