Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MetaHasbulla.swapBack() (#459-485) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MetaHasbulla._transferFrom(address,address,uint256) (#354-398):
External calls:
- swapBack() (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapThreshold,0,path,address(this),block.timestamp) (#464-470)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
External calls sending eth:
- swapBack() (#377)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
State variables written after the call(s):
- _basicTransfer(address(this),DEAD,taxBurnAmount) (#381)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#405-408)
- _balances[recipient] = _balances[recipient].add(amount) (#409)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#386-389)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#394)
- amountReceived = takeFee(sender,amount,recipient) (#391-393)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#438)
Apply the check-effects-interactions pattern.
Additional information: link
MetaHasbulla.swapBack().tmpSuccess2 (#479) is written in both
(tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
tmpSuccess2 = false (#483)
MetaHasbulla.swapBack().tmpSuccess (#476) is written in both
(tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
tmpSuccess = false (#484)
Fix or remove the writes.
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.
MetaHasbulla.setSwapBackSettings(bool,uint256,uint256) (#517-529) should emit an event for:
- swapThreshold = _amount * 10 ** 9 (#527)
MetaHasbulla.setFees(uint256,uint256,uint256) (#545-556) should emit an event for:
- totalFee = _totalFee (#553)
- totalSellFee = _totalSellFee (#554)
- totalTransferFee = _totalTransferFee (#555)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#160) lacks a zero-check on :
- owner = adr (#161)
MetaHasbulla.setFeeReceivers(address,address)._marketingAmountReceiver (#506) lacks a zero-check on :
- marketingAmountReceiver = _marketingAmountReceiver (#509)
MetaHasbulla.setFeeReceivers(address,address)._projectMaintenanceReceiver (#507) lacks a zero-check on :
- projectMaintenanceReceiver = _projectMaintenanceReceiver (#510)
Check that the address is not zero.
Additional information: link
Reentrancy in MetaHasbulla.constructor() (#255-287):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#264)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#265)
- _balances[msg.sender] = _totalSupply (#285)
- isFeeExempt[msg.sender] = true (#268)
- isFeeExempt[marketingAmountReceiver] = true (#269)
- isFeeExempt[projectMaintenanceReceiver] = true (#270)
- isFeeExempt[DEAD] = true (#271)
- isFeeExempt[address(this)] = true (#272)
- isMaxWalletExempt[msg.sender] = true (#275)
- isMaxWalletExempt[marketingAmountReceiver] = true (#276)
- isMaxWalletExempt[projectMaintenanceReceiver] = true (#277)
- isMaxWalletExempt[DEAD] = true (#278)
- isMaxWalletExempt[address(this)] = true (#279)
- isMaxWalletExempt[pair] = true (#280)
- pairs[pair] = true (#283)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaHasbulla._transferFrom(address,address,uint256) (#354-398):
External calls:
- swapBack() (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapThreshold,0,path,address(this),block.timestamp) (#464-470)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
External calls sending eth:
- swapBack() (#377)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#410)
- _basicTransfer(address(this),DEAD,taxBurnAmount) (#381)
- Transfer(sender,address(this),feeAmount) (#439)
- amountReceived = takeFee(sender,amount,recipient) (#391-393)
- Transfer(sender,recipient,amountReceived) (#396)
Reentrancy in MetaHasbulla.constructor() (#255-287):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#264)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#286)
Apply the check-effects-interactions pattern.
Additional information: link
MetaHasbulla._maxWalletToken (#209) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
MetaHasbulla.swapThreshold (#244) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 1000
MetaHasbulla.taxBurnAmount (#246) is set pre-construction with a non-constant function or state variable:
- swapThreshold.div(10)
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.10 (#6) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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 MetaHasbulla.swapBack() (#459-485):
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#476-478)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#479-481)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter MetaHasbulla.setFeeReceivers(address,address)._marketingAmountReceiver (#506) is not in mixedCase
Parameter MetaHasbulla.setFeeReceivers(address,address)._projectMaintenanceReceiver (#507) is not in mixedCase
Parameter MetaHasbulla.setSwapBackSettings(bool,uint256,uint256)._enabled (#518) is not in mixedCase
Parameter MetaHasbulla.setSwapBackSettings(bool,uint256,uint256)._amount (#519) is not in mixedCase
Parameter MetaHasbulla.setSwapBackSettings(bool,uint256,uint256)._taxBurnAmount (#520) is not in mixedCase
Parameter MetaHasbulla.setFeesOn(bool)._feesOn (#541) is not in mixedCase
Parameter MetaHasbulla.setFees(uint256,uint256,uint256)._totalFee (#546) is not in mixedCase
Parameter MetaHasbulla.setFees(uint256,uint256,uint256)._totalSellFee (#547) is not in mixedCase
Parameter MetaHasbulla.setFees(uint256,uint256,uint256)._totalTransferFee (#548) is not in mixedCase
Variable MetaHasbulla.WBNB (#197) is not in mixedCase
Variable MetaHasbulla.DEAD (#198) is not in mixedCase
Variable MetaHasbulla.ZERO (#199) is not in mixedCase
Variable MetaHasbulla.BUSD (#200) is not in mixedCase
Constant MetaHasbulla._name (#202) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaHasbulla._symbol (#203) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaHasbulla._decimals (#204) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MetaHasbulla._totalSupply (#206) is not in mixedCase
Variable MetaHasbulla._maxWalletToken (#209) is not in mixedCase
Variable MetaHasbulla._balances (#211) is not in mixedCase
Variable MetaHasbulla._allowances (#212) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
MetaHasbulla.slitherConstructorVariables() (#194-566) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#198)
MetaHasbulla.slitherConstructorVariables() (#194-566) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#199)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MetaHasbulla.BUSD (#200) is never used in MetaHasbulla (#194-566)
Remove unused state variables.
Additional information: link
MetaHasbulla.BUSD (#200) should be constant
MetaHasbulla.DEAD (#198) should be constant
MetaHasbulla.WBNB (#197) should be constant
MetaHasbulla.ZERO (#199) should be constant
MetaHasbulla._totalSupply (#206) should be constant
MetaHasbulla.devAmount (#222) should be constant
MetaHasbulla.feeDenominator (#233) should be constant
MetaHasbulla.marketingAmount (#221) should be constant
MetaHasbulla.totalAmountDivider (#223) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#132-134)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#139-141)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#160-164)
approve(address,uint256) should be declared external:
- MetaHasbulla.approve(address,uint256) (#324-332)
getCirculatingSupply() should be declared external:
- MetaHasbulla.getCirculatingSupply() (#531-533)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of 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