The Mermaid Token is one of the few tokens with an actually team who know how to bring new investors onboard. Holders are rewarded with Bitcoin just for holding, with a unique smart contract that doesn't dump on sells.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MermaidToken.swapBack() (#580-624) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MermaidToken._transferFrom(address,address,uint256) (#480-528):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
External calls sending eth:
- swapBack() (#507)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#510)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#513)
- amountReceived = takeFee(sender,amount) (#512)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#548)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#315-326) ignores return value by BETH.transfer(shareholder,amount) (#321)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
MermaidToken.swapBack().tmpSuccess (#608) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
tmpSuccess = false (#611)
Fix or remove the writes.
Additional information: link
Combination 1: Reentrancy vulnerabilities + 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.
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.
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.
Reentrancy in DividendDistributor.setShare(address,uint256) (#248-262):
External calls:
- distributeDividend(shareholder) (#250)
- BETH.transfer(shareholder,amount) (#321)
State variables written after the call(s):
- shares[shareholder].amount = amount (#260)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#261)
Apply the check-effects-interactions pattern.
Additional information: link
MermaidToken.swapBack() (#580-624) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
Ensure that all the return values of the function calls are used.
Additional information: link
MermaidToken.setTargetLiquidity(uint256,uint256) (#672-675) should emit an event for:
- targetLiquidity = _target (#673)
- targetLiquidityDenominator = _denominator (#674)
Emit an event for critical parameter changes.
Additional information: link
MermaidToken.setFeeReceivers(address,address)._marketingFeeReceiver (#662) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#664)
Check that the address is not zero.
Additional information: link
MermaidToken.airdrop(address,address[],uint256[]) (#703-726) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#718)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#248-262):
External calls:
- distributeDividend(shareholder) (#250)
- BETH.transfer(shareholder,amount) (#321)
State variables written after the call(s):
- addShareholder(shareholder) (#254)
- shareholderIndexes[shareholder] = shareholders.length (#348)
- removeShareholder(shareholder) (#256)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#354)
- addShareholder(shareholder) (#254)
- shareholders.push(shareholder) (#349)
- removeShareholder(shareholder) (#256)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#353)
- shareholders.pop() (#355)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#259)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MermaidToken.swapBack() (#580-624):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#622)
Apply the check-effects-interactions pattern.
Additional information: link
MermaidToken._transferFrom(address,address,uint256) (#480-528) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#498)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#284-308) has costly operations inside a loop:
- currentIndex ++ (#305)
Use a local variable to hold the loop computation result.
Additional information: link
MermaidToken.swapThreshold (#412) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 10000
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
Low level call in MermaidToken.swapBack() (#580-624):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable MermaidToken._allowances (#378) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#146) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#147)
Prevent variables from having similar names.
Additional information: link
MermaidToken.slitherConstructorVariables() (#359-731) uses literals with too many digits:
- distributorGas = 500000 (#404)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MermaidToken.BETH (#362) is never used in MermaidToken (#359-731)
Remove unused state variables.
Additional information: link
MermaidToken.launchedAt (#400) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
cooldownEnabled(bool,uint8) should be declared external:
- MermaidToken.cooldownEnabled(bool,uint8) (#573-576)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
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 number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Discord account