Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in MoonGirl.claimBTC(address) (#1129-1163):
External calls:
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1155-1159)
State variables written after the call(s):
- _isWithdrawing = false (#1162)
Apply the check-effects-interactions pattern.
Additional information: link
MoonGirl.TeamRelease() (#1443-1453) ignores return value by liquidityToken.transfer(Marketing,amount) (#1451)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
MoonGirl.claimBTC(address) (#1129-1163) uses a dangerous strict equality:
- amount == 0 (#1146)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
MoonGirl.TeamRemove(bool) (#1455-1484) ignores return value by _pancakeRouter.removeLiquidityETHSupportingFeeOnTransferTokens(address(this),amount,0,0,address(this),block.timestamp) (#1468-1475)
Ensure that all the return values of the function calls are used.
Additional information: link
MoonGirl._approve(address,address,uint256).owner (#1537) shadows:
- Ownable.owner() (#264-266) (function)
Rename the local variables that shadow another component.
Additional information: link
MoonGirl.TeamUpdateLimits(uint256,uint256) (#1396-1413) should emit an event for:
- balanceLimit = newBalanceLimit (#1411)
- sellLimit = newSellLimit (#1412)
Emit an event for critical parameter changes.
Additional information: link
MoonGirl.SetupLiquidityTokenAddress(address).liquidityTokenAddress (#1425) lacks a zero-check on :
- _liquidityTokenAddress = liquidityTokenAddress (#1426)
Check that the address is not zero.
Additional information: link
Reentrancy in MoonGirl.transferFrom(address,address,uint256) (#1545-1553):
External calls:
- _transfer(sender,recipient,amount) (#1546)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1229-1236)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#1217-1223)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1155-1159)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1546)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1229-1236)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1155-1159)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#1551)
- _allowances[owner][spender] = amount (#1541)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MoonGirl.transferFrom(address,address,uint256) (#1545-1553):
External calls:
- _transfer(sender,recipient,amount) (#1546)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1229-1236)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#1217-1223)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1155-1159)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1546)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1229-1236)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1155-1159)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1542)
- _approve(sender,msg.sender,currentAllowance - amount) (#1551)
Apply the check-effects-interactions pattern.
Additional information: link
MoonGirl.TeamDisibuteRemainingBNB() (#1486-1491) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Not yet unlocked) (#1487)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#465-482) uses assembly
- INLINE ASM (#474-477)
Do not use evm assembly.
Additional information: link
MoonGirl._isTeam(address) (#840-842) is never used and should be removed
Remove unused functions.
Additional information: link
MoonGirl.sellLimit (#822) is set pre-construction with a non-constant function or state variable:
- _circulatingSupply
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.4 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 MoonGirl.TeamDisibuteRemainingBNB() (#1486-1491):
- (sent) = Marketing.call{value: (address(this).balance)}() (#1489)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable MoonGirl.StakingShare (#1027) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#104) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#105)
Prevent variables from having similar names.
Additional information: link
MoonGirl.slitherConstructorConstantVariables() (#780-1571) uses literals with too many digits:
- InitialSupply = 1000000000 * 10 ** _decimals (#798)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TeamDisibuteRemainingBNB() should be declared external:
- MoonGirl.TeamDisibuteRemainingBNB() (#1486-1491)
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