+ What is Web3:
Web3 is an abbreviation of Website - a collection of information (images, articles, social networks, ...) and users can access through the Internet. Web3 (or Web 3.0) is a more advanced version of the Web.
+What is BallyHoo
✅BallyHoo is a WEB3 support shilling platform to get rewards on their website in a lot of ways
✅You can get passive income by your fan, the more views and reactions you have, the more passive income you get.
✅Low tax with 1%
✅SAFU & KYC & AUDIT
✅CG - CMC on the way
BallyHoo.swapAndLiquify(uint256) (#590-619) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BallyHoo._transfer(address,address,uint256) (#537-587):
External calls:
- swapAndLiquify(contractTokenBalance) (#562)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(half,0,path,address(this),block.timestamp) (#600-605)
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#562)
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#582)
- _balances[sender] = senderBalance - amount (#165)
- _balances[recipient] += amount (#167)
- super._transfer(from,to,amount) (#585)
- _balances[sender] = senderBalance - amount (#165)
- _balances[recipient] += amount (#167)
- swapping = false (#564)
Apply the check-effects-interactions pattern.
Additional information: link
BallyHoo.claimStuckTokens(address) (#490-499) ignores return value by ERC20token.transfer(msg.sender,balance) (#498)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
BallyHoo.swapAndLiquify(uint256) (#590-619) ignores return value by uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
Ensure that all the return values of the function calls are used.
Additional information: link
BallyHoo.setSwapTokensAtAmount(uint256) (#629-632) should emit an event for:
- swapTokensAtAmount = newAmount (#631)
Emit an event for critical parameter changes.
Additional information: link
BallyHoo.changeSafuOperator(address)._newOperator (#486) lacks a zero-check on :
- safuOperator = _newOperator (#487)
BallyHoo.updateUniswapV2Router(address)._uniswapV2Pair (#505-506) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#507)
Check that the address is not zero.
Additional information: link
Reentrancy in BallyHoo.constructor() (#453-475):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#459-460)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),type()(uint256).max) (#465)
- _allowances[owner][spender] = amount (#211)
- _mint(owner(),1e8 * (10 ** 18)) (#473)
- _balances[account] += amount (#180)
- _isExcludedFromFees[owner()] = true (#469)
- _isExcludedFromFees[DEAD] = true (#470)
- _isExcludedFromFees[address(this)] = true (#471)
- _mint(owner(),1e8 * (10 ** 18)) (#473)
- _totalSupply += amount (#179)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#467)
- automatedMarketMakerPairs[pair] = value (#512)
- swapTokensAtAmount = totalSupply() / 5000 (#474)
- uniswapV2Pair = _uniswapV2Pair (#463)
- uniswapV2Router = _uniswapV2Router (#462)
Reentrancy in BallyHoo.updateUniswapV2Router(address) (#501-508):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#505-506)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#507)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BallyHoo._transfer(address,address,uint256) (#537-587):
External calls:
- swapAndLiquify(contractTokenBalance) (#562)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(half,0,path,address(this),block.timestamp) (#600-605)
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#562)
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#169)
- super._transfer(from,address(this),fees) (#582)
- Transfer(sender,recipient,amount) (#169)
- super._transfer(from,to,amount) (#585)
Reentrancy in BallyHoo.constructor() (#453-475):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#459-460)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#212)
- _approve(address(this),address(uniswapV2Router),type()(uint256).max) (#465)
- SetAutomatedMarketMakerPair(pair,value) (#514)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#467)
- Transfer(address(0),account,amount) (#181)
- _mint(owner(),1e8 * (10 ** 18)) (#473)
Reentrancy in BallyHoo.swapAndLiquify(uint256) (#590-619):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(half,0,path,address(this),block.timestamp) (#600-605)
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
External calls sending eth:
- uniswapV2Router.addLiquidityETH{value: newBalance}(address(this),otherHalf,0,0,DEAD,block.timestamp) (#609-616)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#618)
Apply the check-effects-interactions pattern.
Additional information: link
BallyHoo.excludeFromFees(address) (#518-523) compares to a boolean constant:
-require(bool,string)(_isExcludedFromFees[account] != true,Account is already the value of 'excluded') (#519)
BallyHoo.includeInFee(address) (#525-530) compares to a boolean constant:
-require(bool,string)(_isExcludedFromFees[account] != false,Account is already the value of 'excluded') (#526)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#32-35) is never used and should be removed
ERC20._burn(address,uint256) (#186-201) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.16 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.16 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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#256) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#257) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#274) is not in mixedCase
Function IUniswapV2Router01.WETH() (#294) is not in mixedCase
Parameter BallyHoo.changeSafuOperator(address)._newOperator (#486) is not in mixedCase
Parameter BallyHoo.changeSwapStatus(bool)._enabled (#625) is not in mixedCase
Variable BallyHoo.DEAD (#431) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#33)" inContext (#27-36)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#299) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#300)
Prevent variables from having similar names.
Additional information: link
BallyHoo.setSwapTokensAtAmount(uint256) (#629-632) uses literals with too many digits:
- require(bool,string)(newAmount > totalSupply() / 1000000,SwapTokensAtAmount must be greater than 0.0001% of total supply) (#630)
BallyHoo.slitherConstructorVariables() (#427-634) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#431)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BallyHoo.DEAD (#431) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#58-61)
name() should be declared external:
- ERC20.name() (#85-87)
symbol() should be declared external:
- ERC20.symbol() (#89-91)
decimals() should be declared external:
- ERC20.decimals() (#93-95)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#105-108)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#110-112)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#114-117)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#119-135)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#137-140)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#142-150)
isExcludedFromFees(address) should be declared external:
- BallyHoo.isExcludedFromFees(address) (#532-534)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker ($BHL) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / 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
Token has no active CoinMarketCap listing / rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts