Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HouseKeepToken.rescueBEP20Tokens(address) (#709-711) ignores return value by IERC20(tokenAddress).transfer(msg.sender,IERC20(tokenAddress).balanceOf(address(this))) (#710)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
HouseKeepToken.includeInReward(address) (#506-518) has costly operations inside a loop:
- _excluded.pop() (#514)
Use a local variable to hold the loop computation result.
Additional information: link
Reentrancy in HouseKeepToken.setRouterAddress(address) (#714-725):
External calls:
- pair = IFactory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#719)
State variables written after the call(s):
- router = _newRouter (#724)
Apply the check-effects-interactions pattern.
Additional information: link
HouseKeepToken.allowance(address,address).owner (#421) shadows:
- Ownable.owner() (#281-283) (function)
HouseKeepToken._approve(address,address,uint256).owner (#619) shadows:
- Ownable.owner() (#281-283) (function)
Rename the local variables that shadow another component.
Additional information: link
HouseKeepToken.setMaxBuyAndSellAmount(uint256,uint256) (#680-683) should emit an event for:
- maxBuyAmount = _maxBuyamount * 10 ** 18 (#681)
- maxSellAmount = _maxSellAmount * 10 ** 18 (#682)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in HouseKeepToken.constructor() (#376-391):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#379-380)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#387)
- _isExcludedFromFee[devWallet] = true (#388)
- pair = _pair (#383)
- rBalance[owner()] = _rTotal (#385)
- router = _router (#382)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HouseKeepToken.constructor() (#376-391):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#379-380)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#390)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#140-147) uses assembly
- INLINE ASM (#143-145)
Address._verifyCallResult(bool,bytes,string) (#219-237) uses assembly
- INLINE ASM (#229-232)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#219-237) is never used and should be removed
Address.functionCall(address,bytes) (#156-158) is never used and should be removed
Address.functionCall(address,bytes,string) (#160-166) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#168-174) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#176-187) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#204-206) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#208-217) is never used and should be removed
Address.functionStaticCall(address,bytes) (#189-191) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#193-202) is never used and should be removed
Address.isContract(address) (#140-147) is never used and should be removed
Address.sendValue(address,uint256) (#149-154) is never used and should be removed
Context._msgData() (#133-136) is never used and should be removed
SafeMath.add(uint256,uint256) (#74-76) is never used and should be removed
SafeMath.div(uint256,uint256) (#86-88) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#105-114) is never used and should be removed
SafeMath.mod(uint256,uint256) (#90-92) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#116-125) is never used and should be removed
SafeMath.mul(uint256,uint256) (#82-84) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#36-42) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#60-65) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#67-72) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#51-58) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#44-49) is never used and should be removed
Remove unused functions.
Additional information: link
HouseKeepToken._rTotal (#333) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
HouseKeepToken.maxBuyAmount (#336) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(100)
HouseKeepToken.maxSellAmount (#337) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(100)
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.0 (#9) 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
Low level call in Address.sendValue(address,uint256) (#149-154):
- (success) = recipient.call{value: amount}() (#152)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#176-187):
- (success,returndata) = target.call{value: value}(data) (#185)
Low level call in Address.functionStaticCall(address,bytes,string) (#193-202):
- (success,returndata) = target.staticcall(data) (#200)
Low level call in Address.functionDelegateCall(address,bytes,string) (#208-217):
- (success,returndata) = target.delegatecall(data) (#215)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IRouter.WETH() (#247) is not in mixedCase
Struct HouseKeepToken.valuesFromGetValues (#360-368) is not in CapWords
Parameter HouseKeepToken.setMaxBuyAndSellAmount(uint256,uint256)._maxBuyamount (#680) is not in mixedCase
Parameter HouseKeepToken.setMaxBuyAndSellAmount(uint256,uint256)._maxSellAmount (#680) is not in mixedCase
Parameter HouseKeepToken.updateSwapEnabled(bool)._enabled (#686) is not in mixedCase
Parameter HouseKeepToken.updateBuybackEnabled(bool)._enabled (#690) is not in mixedCase
Parameter HouseKeepToken.setAntibot(address,bool)._bot (#694) is not in mixedCase
Constant HouseKeepToken._decimals (#328) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HouseKeepToken.deadAddress (#339) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HouseKeepToken._name (#342) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HouseKeepToken._symbol (#343) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#134)" inContext (#128-137)
Remove redundant statements if they congest code but offer no value.
Additional information: link
HouseKeepToken.slitherConstructorVariables() (#307-730) uses literals with too many digits:
- _tTotal = 400000000000 * 10 ** _decimals (#332)
HouseKeepToken.slitherConstructorConstantVariables() (#307-730) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#339)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HouseKeepToken._tTotal (#332) should be constant
HouseKeepToken.tax (#347) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#290-292)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#294-297)
name() should be declared external:
- HouseKeepToken.name() (#394-396)
symbol() should be declared external:
- HouseKeepToken.symbol() (#398-400)
decimals() should be declared external:
- HouseKeepToken.decimals() (#402-404)
totalSupply() should be declared external:
- HouseKeepToken.totalSupply() (#407-409)
transfer(address,uint256) should be declared external:
- HouseKeepToken.transfer(address,uint256) (#416-419)
allowance(address,address) should be declared external:
- HouseKeepToken.allowance(address,address) (#421-423)
approve(address,uint256) should be declared external:
- HouseKeepToken.approve(address,uint256) (#425-428)
transferFrom(address,address,uint256) should be declared external:
- HouseKeepToken.transferFrom(address,address,uint256) (#430-434)
increaseAllowance(address,uint256) should be declared external:
- HouseKeepToken.increaseAllowance(address,uint256) (#436-439)
decreaseAllowance(address,uint256) should be declared external:
- HouseKeepToken.decreaseAllowance(address,uint256) (#441-444)
isExcludedFromReward(address) should be declared external:
- HouseKeepToken.isExcludedFromReward(address) (#446-448)
deliver(uint256) should be declared external:
- HouseKeepToken.deliver(uint256) (#456-465)
reflectionFromToken(uint256,bool) should be declared external:
- HouseKeepToken.reflectionFromToken(uint256,bool) (#467-480)
excludeFromReward(address) should be declared external:
- HouseKeepToken.excludeFromReward(address) (#495-504)
excludeFromFee(address) should be declared external:
- HouseKeepToken.excludeFromFee(address) (#520-522)
includeInFee(address) should be declared external:
- HouseKeepToken.includeInFee(address) (#524-526)
isExcludedFromFee(address) should be declared external:
- HouseKeepToken.isExcludedFromFee(address) (#528-530)
isBot(address) should be declared external:
- HouseKeepToken.isBot(address) (#699-701)
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 price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts