Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
METAPIKA.vswBk(uint256) (#741-773) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in METAPIKA._trFm(address,address,uint256) (#532-562):
External calls:
- vswBk(amount) (#550)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(totalSw,0,path,address(this),block.timestamp) (#749-754)
- distributor.deposit{value: aBNBR}() (#760)
- (tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
- router.addLiquidityETH{value: aBNBL}(address(this),amountL,0,0,lpR,block.timestamp) (#764-770)
External calls sending eth:
- vswBk(amount) (#550)
- distributor.deposit{value: aBNBR}() (#760)
- (tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
- router.addLiquidityETH{value: aBNBL}(address(this),amountL,0,0,lpR,block.timestamp) (#764-770)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,+) (#551)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#553)
- amountReceived = ttF(sender,recipient,amount) (#552)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#651)
Apply the check-effects-interactions pattern.
Additional information: link
METAPIKA.setswap(address,address,uint256,uint256) (#609-612) ignores return value by TokT(_tadd).transfer(_rec,tamt.mul(_amt).div(_amtd)) (#611)
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.
METAPIKA.vswBk(uint256).tmpSuccess (#761) is written in both
(tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
tmpSuccess = false (#762)
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.
METAPIKA.approvals(uint256,uint256) (#614-624) performs a multiplication on the result of a division:
-acBNBa = acBNB.mul(_na).div(_da) (#616)
-acBNBt = acBNBa.mul(10).div(100) (#619)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#261-271):
External calls:
- distributeDividend(shareholder) (#263)
- RWDS.transfer(shareholder,amount) (#337)
State variables written after the call(s):
- shares[shareholder].amount = amount (#269)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#270)
Apply the check-effects-interactions pattern.
Additional information: link
METAPIKA.vswBk(uint256) (#741-773) ignores return value by router.addLiquidityETH{value: aBNBL}(address(this),amountL,0,0,lpR,block.timestamp) (#764-770)
Ensure that all the return values of the function calls are used.
Additional information: link
METAPIKA.setgas(uint256,uint256) (#811-814) should emit an event for:
- gso = _gso (#812)
Emit an event for critical parameter changes.
Additional information: link
METAPIKA.setlprr(address)._lpR (#705) lacks a zero-check on :
- lpR = _lpR (#706)
Check that the address is not zero.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#261-271):
External calls:
- distributeDividend(shareholder) (#263)
- RWDS.transfer(shareholder,amount) (#337)
State variables written after the call(s):
- addShareholder(shareholder) (#265)
- shareholderIndexes[shareholder] = shareholders.length (#379)
- removeShareholder(shareholder) (#267)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#385)
- addShareholder(shareholder) (#265)
- shareholders.push(shareholder) (#380)
- removeShareholder(shareholder) (#267)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#384)
- shareholders.pop() (#386)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#268)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in METAPIKA.vswBk(uint256) (#741-773):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(totalSw,0,path,address(this),block.timestamp) (#749-754)
- distributor.deposit{value: aBNBR}() (#760)
- (tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
- router.addLiquidityETH{value: aBNBL}(address(this),amountL,0,0,lpR,block.timestamp) (#764-770)
External calls sending eth:
- distributor.deposit{value: aBNBR}() (#760)
- (tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
- router.addLiquidityETH{value: aBNBL}(address(this),amountL,0,0,lpR,block.timestamp) (#764-770)
Event emitted after the call(s):
- AutoLiquify(aBNBL,amountL) (#771)
Apply the check-effects-interactions pattern.
Additional information: link
METAPIKA.chkSmTx(bool,address,uint256) (#579-582) uses timestamp for comparisons
Dangerous comparisons:
- selling && mSts[sender] < block.timestamp (#580)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#302-317) has costly operations inside a loop:
- currentIndex ++ (#315)
Use a local variable to hold the loop computation result.
Additional information: link
METAPIKA.sT (#452) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 100000
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.7.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 METAPIKA.vswBk(uint256) (#741-773):
- (tmpSuccess) = address(mnbE).call{gas: gso,value: (aBNBTM)}() (#761)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable METAPIKA._allowances (#407) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#150) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#151)
Prevent variables from having similar names.
Additional information: link
METAPIKA.slitherConstructorVariables() (#390-864) uses literals with too many digits:
- sT = _totalSupply * 100 / 100000 (#452)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
METAPIKA.mStts (#444) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
gettotalRewardsDistributed() should be declared external:
- METAPIKA.gettotalRewardsDistributed() (#850-852)
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.
Number of Binance Smart Chain (BSC) token holders is low.
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