Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BABYTOKEN.Setmarketing(address).NewMarketing (#437) lacks a zero-check on :
- _Marketing = NewMarketing (#438)
Check that the address is not zero.
Additional information: link
BABYTOKEN._transfer(address,address,uint256) (#543-556) performs a multiplication on the result of a division:
-_balances[recipient] = _balances[recipient].sub(amount / 100 * _burntFee) (#552)
BABYTOKEN._transfer(address,address,uint256) (#543-556) performs a multiplication on the result of a division:
-_balances[_Marketing] = _balances[_Marketing].add(amount / 100 * _MarketingFee) (#553)
Consider ordering multiplication before division.
Additional information: link
BABYTOKEN.allowance(address,address).owner (#501) shadows:
- Ownable.owner() (#329-331) (function)
BABYTOKEN._approve(address,address,uint256).owner (#573) shadows:
- Ownable.owner() (#329-331) (function)
Rename the local variables that shadow another component.
Additional information: link
BABYTOKEN.setMarketingFee(uint256) (#527-530) should emit an event for:
- _MarketingFee = Taxfee (#529)
BABYTOKEN.SetBurnFee(uint256) (#532-535) should emit an event for:
- _burntFee = BurnFee (#534)
BABYTOKEN.SetMaxAmount(uint256) (#537-540) should emit an event for:
- MaxAmount = _maxAmount (#539)
Emit an event for critical parameter changes.
Additional information: link
BABYTOKEN._burn(address,uint256) (#558-564) is never used and should be removed
Context._msgData() (#144-147) is never used and should be removed
SafeMath.div(uint256,uint256) (#243-245) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#258-265) is never used and should be removed
SafeMath.mod(uint256,uint256) (#278-280) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#293-296) is never used and should be removed
SafeMath.mul(uint256,uint256) (#218-230) is never used and should be removed
Remove unused functions.
Additional information: link
BABYTOKEN._PreMarketingFee (#429) is set pre-construction with a non-constant function or state variable:
- _MarketingFee * 1 * 10 ** 6
BABYTOKEN._previousliqFee (#432) is set pre-construction with a non-constant function or state variable:
- _burntFee
BABYTOKEN._previousMaxAmounts (#435) is set pre-construction with a non-constant function or state variable:
- MaxAmount
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 version0.8.0 (#36) allows old versions
solc-0.8.0 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 BABYTOKEN.Setmarketing(address) (#437-439) is not in mixedCase
Parameter BABYTOKEN.Setmarketing(address).NewMarketing (#437) is not in mixedCase
Parameter BABYTOKEN.setEnableAntiBot(bool)._enable (#441) is not in mixedCase
Parameter BABYTOKEN.setMarketingFee(uint256).Taxfee (#527) is not in mixedCase
Function BABYTOKEN.SetBurnFee(uint256) (#532-535) is not in mixedCase
Parameter BABYTOKEN.SetBurnFee(uint256).BurnFee (#532) is not in mixedCase
Function BABYTOKEN.SetMaxAmount(uint256) (#537-540) is not in mixedCase
Parameter BABYTOKEN.SetMaxAmount(uint256)._maxAmount (#537) is not in mixedCase
Variable BABYTOKEN._decimals (#395) is not in mixedCase
Variable BABYTOKEN._symbol (#396) is not in mixedCase
Variable BABYTOKEN._name (#397) is not in mixedCase
Variable BABYTOKEN._Marketing (#402) is not in mixedCase
Variable BABYTOKEN._MarketingFee (#428) is not in mixedCase
Variable BABYTOKEN._PreMarketingFee (#429) is not in mixedCase
Variable BABYTOKEN._burntFee (#431) is not in mixedCase
Variable BABYTOKEN.MaxAmount (#434) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#145)" inContext (#139-148)
Remove redundant statements if they congest code but offer no value.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#342-346)
Setmarketing(address) should be declared external:
- BABYTOKEN.Setmarketing(address) (#437-439)
increaseAllowance(address,uint256) should be declared external:
- BABYTOKEN.increaseAllowance(address,uint256) (#516-519)
decreaseAllowance(address,uint256) should be declared external:
- BABYTOKEN.decreaseAllowance(address,uint256) (#522-525)
setMarketingFee(uint256) should be declared external:
- BABYTOKEN.setMarketingFee(uint256) (#527-530)
SetBurnFee(uint256) should be declared external:
- BABYTOKEN.SetBurnFee(uint256) (#532-535)
SetMaxAmount(uint256) should be declared external:
- BABYTOKEN.SetMaxAmount(uint256) (#537-540)
removeAllFee() should be declared external:
- BABYTOKEN.removeAllFee() (#566-571)
Use the external attribute for functions never called from the contract.
Additional information: link
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