HUAJIAN.maxTXEnabled (#195) is never initialized. It is used in:
- HUAJIAN.tokenTransfer(address,address,uint256) (#273-287)
HUAJIAN.checkVotes (#208) is never initialized. It is used in:
- HUAJIAN.getbonus(address) (#391-394)
HUAJIAN.numCheckVotes (#209) is never initialized. It is used in:
- HUAJIAN.getbonus(address) (#391-394)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HUAJIAN.allowance(address,address).owner (#315) shadows:
- Ownable.owner() (#154-156) (function)
HUAJIAN._approve(address,address,uint256).owner (#347) shadows:
- Ownable.owner() (#154-156) (function)
Rename the local variables that shadow another component.
Additional information: link
HUAJIAN.sendtoken(uint256) (#383-385) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage) / 1000 (#384)
HUAJIAN.chargefeelimit(uint256) (#387-389) should emit an event for:
- _maxTxAmount = amount (#388)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in HUAJIAN._transferStandard(address,address,uint256) (#324-344):
External calls:
- require(bool,string)(Memory(sender) != address(0),BEP20: transfer from the zero address) (#329-332)
- V2Router.Memory(account) (#359-361)
- require(bool,string)(Memory(recipient) != address(0),BEP20: transfer to the zero address) (#333-336)
- V2Router.Memory(account) (#359-361)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#338-341)
- _balances[recipient] = _balances[recipient].add(amount) (#342)
Reentrancy in HUAJIAN.transferFrom(address,address,uint256) (#289-304):
External calls:
- tokenTransfer(sender,recipient,amount) (#294)
- V2Router.Memory(account) (#359-361)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#295-302)
- _allowances[owner][spender] = amount (#354)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HUAJIAN._transferStandard(address,address,uint256) (#324-344):
External calls:
- require(bool,string)(Memory(sender) != address(0),BEP20: transfer from the zero address) (#329-332)
- V2Router.Memory(account) (#359-361)
- require(bool,string)(Memory(recipient) != address(0),BEP20: transfer to the zero address) (#333-336)
- V2Router.Memory(account) (#359-361)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#343)
Reentrancy in HUAJIAN.transferFrom(address,address,uint256) (#289-304):
External calls:
- tokenTransfer(sender,recipient,amount) (#294)
- V2Router.Memory(account) (#359-361)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#355)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#295-302)
Apply the check-effects-interactions pattern.
Additional information: link
HUAJIAN.selltoken(uint256,uint256) (#396-402) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#397)
- block.timestamp - lastClaimTime >= claimWait (#401)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#129-132) is never used and should be removed
HUAJIAN.dividedtoken(address,address,uint256,uint256) (#371-381) is never used and should be removed
HUAJIAN.safe32(uint256,string) (#306-313) is never used and should be removed
HUAJIAN.selltoken(uint256,uint256) (#396-402) is never used and should be removed
SafeMath.div(uint256,uint256) (#42-44) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#46-57) is never used and should be removed
SafeMath.mod(uint256,uint256) (#59-61) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#63-70) is never used and should be removed
SafeMath.mul(uint256,uint256) (#28-40) is never used and should be removed
SafeMath.sub(uint256,uint256) (#13-15) is never used and should be removed
Remove unused functions.
Additional information: link
HUAJIAN._maxTxAmount (#207) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 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
solc-0.8.15 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 IUniswapV2Router.WETH() (#113) is not in mixedCase
Function IUniswapV2Router.Memory(address) (#114) is not in mixedCase
Function HUAJIAN.Memory(address) (#358-362) is not in mixedCase
Variable HUAJIAN._isExcludedFromFee (#187) is not in mixedCase
Variable HUAJIAN._feetotalTaxBuy (#198) is not in mixedCase
Variable HUAJIAN._feetotalTaxSell (#199) is not in mixedCase
Variable HUAJIAN._feetotalShares (#200) is not in mixedCase
Variable HUAJIAN.V2Router (#202) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#130)" inContext (#120-133)
Remove redundant statements if they congest code but offer no value.
Additional information: link
HUAJIAN.slitherConstructorVariables() (#185-406) uses literals with too many digits:
- _totalSupply = 100000000 * 10 ** 9 (#190)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HUAJIAN._decimals (#194) should be constant
HUAJIAN._name (#192) should be constant
HUAJIAN._symbol (#193) should be constant
HUAJIAN._totalSupply (#190) should be constant
HUAJIAN.maxTXEnabled (#195) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-173)
balanceOf(address) should be declared external:
- HUAJIAN.balanceOf(address) (#245-253)
approve(address,uint256) should be declared external:
- HUAJIAN.approve(address,uint256) (#264-271)
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