Reentrancy in BEARROCKET._transfer(address,address,uint256) (#799-835):
External calls:
- swapAndSendToFee(sellTokens) (#821)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#869-875)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#821)
- address(_marketingWallet).transfer(ethToSend) (#842)
State variables written after the call(s):
- _tOwned[from] -= amount (#825)
- transferAmount = _getValues(amount,from) (#830)
- _tOwned[address(this)] += marketingFee + liquidityFee (#781)
- _tOwned[to] += transferAmount (#833)
- swapping = false (#822)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BEARROCKET.allowance(address,address).owner (#740) shadows:
- Ownable.owner() (#419-421) (function)
BEARROCKET._approve(address,address,uint256).owner (#791) shadows:
- Ownable.owner() (#419-421) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in BEARROCKET.constructor() (#697-713):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#702)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#708)
- _isExcludedFromFee[address(this)] = true (#709)
- _isExcludedFromFee[_marketingWallet] = true (#710)
- uniswapV2Pair = _uniswapV2Pair (#705)
- uniswapV2Router = _uniswapV2Router (#704)
Reentrancy in BEARROCKET.swapAndLiquify() (#845-857):
External calls:
- newBalance = swapTokensForEth(half) (#850)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#869-875)
- addLiquidity(otherHalf,newBalance) (#854)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#884-891)
- (success) = recipient.call{value: amount}() (#304)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#894)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#854)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#884-891)
- (success) = recipient.call{value: amount}() (#304)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#854)
- _allowances[owner][spender] = amount (#795)
Reentrancy in BEARROCKET.transferFrom(address,address,uint256) (#749-753):
External calls:
- _transfer(sender,recipient,amount) (#750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#869-875)
External calls sending eth:
- _transfer(sender,recipient,amount) (#750)
- address(_marketingWallet).transfer(ethToSend) (#842)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#751)
- _allowances[owner][spender] = amount (#795)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BEARROCKET._transfer(address,address,uint256) (#799-835):
External calls:
- swapAndSendToFee(sellTokens) (#821)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#869-875)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#821)
- address(_marketingWallet).transfer(ethToSend) (#842)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#782)
- transferAmount = _getValues(amount,from) (#830)
- Transfer(from,to,transferAmount) (#834)
Reentrancy in BEARROCKET.constructor() (#697-713):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#702)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#712)
Reentrancy in BEARROCKET.swapAndLiquify() (#845-857):
External calls:
- newBalance = swapTokensForEth(half) (#850)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#869-875)
- addLiquidity(otherHalf,newBalance) (#854)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#884-891)
- (success) = recipient.call{value: amount}() (#304)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#894)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#854)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#884-891)
- (success) = recipient.call{value: amount}() (#304)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#796)
- addLiquidity(otherHalf,newBalance) (#854)
- SwapAndLiquify(half,newBalance,otherHalf) (#855)
Reentrancy in BEARROCKET.transferFrom(address,address,uint256) (#749-753):
External calls:
- _transfer(sender,recipient,amount) (#750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#869-875)
External calls sending eth:
- _transfer(sender,recipient,amount) (#750)
- address(_marketingWallet).transfer(ethToSend) (#842)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#796)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#751)
Apply the check-effects-interactions pattern.
Additional information: link
BEARROCKET._transfer(address,address,uint256) (#799-835) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#813)
BEARROCKET.addLiquidity(uint256,uint256) (#879-895) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#893)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#273-282) uses assembly
- INLINE ASM (#280)
Address._functionCallWithValue(address,bytes,uint256,string) (#366-387) uses assembly
- INLINE ASM (#379-382)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#366-387) is never used and should be removed
Address.functionCall(address,bytes) (#326-328) is never used and should be removed
Address.functionCall(address,bytes,string) (#336-338) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#351-353) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#361-364) is never used and should be removed
Address.isContract(address) (#273-282) is never used and should be removed
Address.sendValue(address,uint256) (#300-306) is never used and should be removed
BEARROCKET.addLiquidity(uint256,uint256) (#879-895) is never used and should be removed
BEARROCKET.swapAndLiquify() (#845-857) is never used and should be removed
Context._msgData() (#245-248) is never used and should be removed
SafeMath.add(uint256,uint256) (#108-113) is never used and should be removed
SafeMath.div(uint256,uint256) (#182-184) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#198-204) is never used and should be removed
SafeMath.mod(uint256,uint256) (#218-220) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#234-237) is never used and should be removed
SafeMath.mul(uint256,uint256) (#156-168) is never used and should be removed
SafeMath.sub(uint256,uint256) (#125-127) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#139-144) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.13 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#300-306):
- (success) = recipient.call{value: amount}() (#304)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#366-387):
- (success,returndata) = target.call{value: weiValue}(data) (#370)
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() (#490) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#491) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#508) is not in mixedCase
Function IUniswapV2Router01.WETH() (#530) is not in mixedCase
Variable BEARROCKET._maxTxAmount (#680) is not in mixedCase
Constant BEARROCKET._name (#682) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BEARROCKET._symbol (#683) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BEARROCKET._decimals (#684) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BEARROCKET._marketingFee (#686) is not in mixedCase
Variable BEARROCKET._liquidityFee (#687) is not in mixedCase
Variable BEARROCKET._marketingWallet (#688) is not in mixedCase
Variable BEARROCKET._buyCooldown (#690) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#246)" inContext (#240-249)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BEARROCKET._transfer(address,address,uint256) (#799-835):
External calls:
- swapAndSendToFee(sellTokens) (#821)
- address(_marketingWallet).transfer(ethToSend) (#842)
State variables written after the call(s):
- _tOwned[from] -= amount (#825)
- transferAmount = _getValues(amount,from) (#830)
- _tOwned[address(this)] += marketingFee + liquidityFee (#781)
- _tOwned[to] += transferAmount (#833)
- swapping = false (#822)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#782)
- transferAmount = _getValues(amount,from) (#830)
- Transfer(from,to,transferAmount) (#834)
Reentrancy in BEARROCKET.transferFrom(address,address,uint256) (#749-753):
External calls:
- _transfer(sender,recipient,amount) (#750)
- address(_marketingWallet).transfer(ethToSend) (#842)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#751)
- _allowances[owner][spender] = amount (#795)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#796)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#751)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#535) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#536)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#300-306) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#302)
BEARROCKET.slitherConstructorVariables() (#667-897) uses literals with too many digits:
- _tTotal = 1000000000000 * 10 ** 9 (#679)
BEARROCKET.slitherConstructorVariables() (#667-897) uses literals with too many digits:
- _maxTxAmount = 1000000000000 * 10 ** 9 (#680)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BEARROCKET._buyCooldown (#690) should be constant
BEARROCKET._liquidityFee (#687) should be constant
BEARROCKET._marketingFee (#686) should be constant
BEARROCKET._marketingWallet (#688) should be constant
BEARROCKET._maxTxAmount (#680) should be constant
BEARROCKET._tTotal (#679) 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)
name() should be declared external:
- BEARROCKET.name() (#715-717)
symbol() should be declared external:
- BEARROCKET.symbol() (#719-721)
decimals() should be declared external:
- BEARROCKET.decimals() (#723-725)
totalSupply() should be declared external:
- BEARROCKET.totalSupply() (#727-729)
transfer(address,uint256) should be declared external:
- BEARROCKET.transfer(address,uint256) (#735-738)
allowance(address,address) should be declared external:
- BEARROCKET.allowance(address,address) (#740-742)
approve(address,uint256) should be declared external:
- BEARROCKET.approve(address,uint256) (#744-747)
transferFrom(address,address,uint256) should be declared external:
- BEARROCKET.transferFrom(address,address,uint256) (#749-753)
increaseAllowance(address,uint256) should be declared external:
- BEARROCKET.increaseAllowance(address,uint256) (#755-758)
decreaseAllowance(address,uint256) should be declared external:
- BEARROCKET.decreaseAllowance(address,uint256) (#760-763)
excludeFromFee(address) should be declared external:
- BEARROCKET.excludeFromFee(address) (#765-767)
includeInFee(address) should be declared external:
- BEARROCKET.includeInFee(address) (#769-771)
isExcludedFromFee(address) should be declared external:
- BEARROCKET.isExcludedFromFee(address) (#787-789)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Contract has 8% buy tax and 13% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
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