☮️ The wildest Play2Earn game is coming to the Binance Smart Chain! Collect & Evolve Hippies, Grow ☘️ Weed, Sell 🍄 Trips, Trade 🖼 NFTs, and earn $Hippie!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract creator or owner is blacklisted for past scams
CryptoHippies.swapAndSendToFee(address,uint256) (#1140-1147) ignores return value by IERC20(BUSD).transfer(recipient,newBalance) (#1146)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
CryptoHippies.addLiquidity(uint256,uint256) (#1213-1228) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1219-1226)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
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.
Reentrancy in CryptoHippies._transfer(address,address,uint256) (#1065-1138):
External calls:
- swapAndSendToFee(_marketingWalletAddress,marketingTokens) (#1111)
- IERC20(BUSD).transfer(recipient,newBalance) (#1146)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1204-1210)
- swapAndSendToFee(_developmentWalletAddress,developmentTokens) (#1114)
- IERC20(BUSD).transfer(recipient,newBalance) (#1146)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1204-1210)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1134)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#797)
- _balances[recipient] = _balances[recipient].add(amount) (#798)
- super._transfer(from,to,amount) (#1137)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#797)
- _balances[recipient] = _balances[recipient].add(amount) (#798)
- swapping = false (#1116)
Apply the check-effects-interactions pattern.
Additional information: link
CryptoHippies.addLiquidity(uint256,uint256) (#1213-1228) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1219-1226)
Ensure that all the return values of the function calls are used.
Additional information: link
CryptoHippies.setMaxWalletToken(uint256) (#1044-1046) should emit an event for:
- maxWalletTokens = maxToken (#1045)
Emit an event for critical parameter changes.
Additional information: link
CryptoHippies.whitelist(address,address)._presaleAddress (#1048) lacks a zero-check on :
- presaleAddress = _presaleAddress (#1049)
Check that the address is not zero.
Additional information: link
Reentrancy in CryptoHippies.updateUniswapV2Router(address) (#975-982):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#979-980)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#981)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CryptoHippies.swapAndLiquify(uint256) (#1149-1170):
External calls:
- swapTokensForEth(half) (#1161)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- addLiquidity(otherHalf,newBalance) (#1167)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1219-1226)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1167)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1219-1226)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#864)
- addLiquidity(otherHalf,newBalance) (#1167)
- SwapAndLiquify(half,newBalance,otherHalf) (#1169)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#576-579) is never used and should be removed
Remove unused functions.
Additional information: link
CryptoHippies.totalFees (#915) is set pre-construction with a non-constant function or state variable:
- developmentFee.add(marketingFee)
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.6.2 (#584) allows old versions
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
Variable CryptoHippies._ownerWallet (#919) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#128)" inContext (#122-131)
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 (#145) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#146)
Prevent variables from having similar names.
Additional information: link
CryptoHippies.slitherConstructorVariables() (#888-1230) uses literals with too many digits:
- maxWalletTokens = 1500000 (#903)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CryptoHippies.deadWallet (#896) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFees(address) should be declared external:
- CryptoHippies.isExcludedFromFees(address) (#1061-1063)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account