MLOKY Token Logo

MLOKY Token

ALERT: honeypot scam

About MLOKY

Listings

Token 2 years
white paper

A deflationary token with a revolutionary reward system and auto liquidity generating protocol launched on Binance Smart Chain. Earn an endless passive income by holding MLOKY in your wallet. Rewards will be paid in BUSD (Binance pegged USD) & LUCHOW token. This is the second token within the LunaChow ecosystem.

Social

Laser Scorebeta Last Audit: 19 May 2022

report
Token seems to be a scam (type: honeypot scam).

MLOKY.swapBack() (#584-630) sends eth to arbitrary user
Dangerous calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MLOKY._transferFrom(address,address,uint256) (#528-548):
External calls:
- swapBack() (#533)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#594-600)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
External calls sending eth:
- swapBack() (#533)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#535)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#539)
- amountReceived = takeFee(sender,amount) (#537)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#571)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#383-395) ignores return value by BUSD.transfer(shareholder,amount) (#389)
DividendDistributor.distributeDividend(address) (#383-395) ignores return value by LUCHOW.transfer(shareholder,amount) (#390)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Contract ownership is not renounced (belongs to a wallet)

Reentrancy in MLOKY.constructor() (#473-495):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#479)
State variables written after the call(s):
- WBNB = router.WETH() (#481)
Reentrancy in DividendDistributor.distributeDividend(address) (#383-395):
External calls:
- BUSD.transfer(shareholder,amount) (#389)
- LUCHOW.transfer(shareholder,amount) (#390)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#392)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#393)
Reentrancy in DividendDistributor.process(uint256) (#352-376):
External calls:
- distributeDividend(shareholders[currentIndex]) (#368)
- BUSD.transfer(shareholder,amount) (#389)
- LUCHOW.transfer(shareholder,amount) (#390)
State variables written after the call(s):
- currentIndex ++ (#373)
Reentrancy in DividendDistributor.setShare(address,uint256) (#296-310):
External calls:
- distributeDividend(shareholder) (#298)
- BUSD.transfer(shareholder,amount) (#389)
- LUCHOW.transfer(shareholder,amount) (#390)
State variables written after the call(s):
- shares[shareholder].amount = amount (#308)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#309)
Apply the check-effects-interactions pattern.

Additional information: link

MLOKY.swapBack() (#584-630) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#291-294) should emit an event for:
- minPeriod = _minPeriod (#292)
- minDistribution = _minDistribution (#293)
MLOKY.setTxLimit(uint256) (#632-634) should emit an event for:
- _maxTxAmount = amount (#633)
MLOKY.setFees(uint256,uint256,uint256,uint256) (#654-662) should emit an event for:
- liquidityFee = _liquidityFee (#655)
- charityFee = _charityFee (#656)
- reflectionFee = _reflectionFee (#657)
- marketingFee = _marketingFee (#658)
- totalFee = _liquidityFee.add(_charityFee).add(_reflectionFee).add(_marketingFee) (#659)
MLOKY.setSwapBackSettings(bool,uint256) (#670-673) should emit an event for:
- swapThreshold = _amount (#672)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#171) lacks a zero-check on :
- _owner = adr (#172)
MLOKY.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#664) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#665)
MLOKY.setFeeReceivers(address,address,address)._marketingFeeReceiver (#664) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#666)
MLOKY.setFeeReceivers(address,address,address)._charityFeeReceiver (#664) lacks a zero-check on :
- charityFeeReceiver = _charityFeeReceiver (#667)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#383-395) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#389)
DividendDistributor.distributeDividend(address) (#383-395) has external calls inside a loop: LUCHOW.transfer(shareholder,amount) (#390)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MLOKY.constructor() (#473-495):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#479)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#480)
- approve(_dexRouter,_totalSupply) (#491)
- _allowances[msg.sender][spender] = amount (#507)
- approve(address(pair),_totalSupply) (#492)
- _allowances[msg.sender][spender] = amount (#507)
- _balances[owner()] = _totalSupply (#493)
- distributor = new DividendDistributor(_dexRouter) (#482)
- distributorAddress = address(distributor) (#483)
- isDividendExempt[pair] = true (#487)
- isDividendExempt[address(this)] = true (#488)
- isFeeExempt[owner()] = true (#485)
- isTxLimitExempt[owner()] = true (#486)
Reentrancy in DividendDistributor.depositBUSD() (#312-330):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#319-324)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#329)
- totalDividends = totalDividends.add(amount) (#328)
Reentrancy in DividendDistributor.depositLUCHOW() (#332-350):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#339-344)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#349)
- totalDividends = totalDividends.add(amount) (#348)
Reentrancy in DividendDistributor.distributeDividend(address) (#383-395):
External calls:
- BUSD.transfer(shareholder,amount) (#389)
- LUCHOW.transfer(shareholder,amount) (#390)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#391)
Reentrancy in DividendDistributor.setShare(address,uint256) (#296-310):
External calls:
- distributeDividend(shareholder) (#298)
- BUSD.transfer(shareholder,amount) (#389)
- LUCHOW.transfer(shareholder,amount) (#390)
State variables written after the call(s):
- addShareholder(shareholder) (#302)
- shareholderIndexes[shareholder] = shareholders.length (#417)
- removeShareholder(shareholder) (#304)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#423)
- addShareholder(shareholder) (#302)
- shareholders.push(shareholder) (#418)
- removeShareholder(shareholder) (#304)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#422)
- shareholders.pop() (#424)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#307)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MLOKY._transferFrom(address,address,uint256) (#528-548):
External calls:
- swapBack() (#533)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#594-600)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
- distributor.setShare(sender,_balances[sender]) (#541)
- distributor.setShare(recipient,_balances[recipient]) (#542)
- distributor.process(distributorGas) (#544)
External calls sending eth:
- swapBack() (#533)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#546)
Reentrancy in MLOKY._transferFrom(address,address,uint256) (#528-548):
External calls:
- swapBack() (#533)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#594-600)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
External calls sending eth:
- swapBack() (#533)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#572)
- amountReceived = takeFee(sender,amount) (#537)
Reentrancy in MLOKY.constructor() (#473-495):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#479)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#508)
- approve(address(pair),_totalSupply) (#492)
- Approval(msg.sender,spender,amount) (#508)
- approve(_dexRouter,_totalSupply) (#491)
- Transfer(address(0),owner(),_totalSupply) (#494)
Reentrancy in MLOKY.swapBack() (#584-630):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#594-600)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
External calls sending eth:
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#628)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#378-381) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#379-380)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#352-376) has costly operations inside a loop:
- currentIndex = 0 (#364)
DividendDistributor.distributeDividend(address) (#383-395) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#388)
DividendDistributor.process(uint256) (#352-376) has costly operations inside a loop:
- currentIndex ++ (#373)
Use a local variable to hold the loop computation result.

Additional information: link

SafeMath.div(uint256,uint256,string) (#83-88) is never used and should be removed
SafeMath.mod(uint256,uint256) (#72-74) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#90-95) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#15-21) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#42-47) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#49-54) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#30-40) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#23-28) is never used and should be removed
Remove unused functions.

Additional information: link

MLOKY._maxTxAmount (#439) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(100)
MLOKY.swapThreshold (#469) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
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 (#6) 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

Variable Auth._owner (#113) is not in mixedCase
Function IDEXRouter.WETH() (#186) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#291) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#291) is not in mixedCase
Variable DividendDistributor._token (#243) is not in mixedCase
Variable DividendDistributor.BUSD (#251) is not in mixedCase
Variable DividendDistributor.LUCHOW (#252) is not in mixedCase
Variable DividendDistributor.WBNB (#253) is not in mixedCase
Parameter MLOKY.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#654) is not in mixedCase
Parameter MLOKY.setFees(uint256,uint256,uint256,uint256)._charityFee (#654) is not in mixedCase
Parameter MLOKY.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#654) is not in mixedCase
Parameter MLOKY.setFees(uint256,uint256,uint256,uint256)._marketingFee (#654) is not in mixedCase
Parameter MLOKY.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#664) is not in mixedCase
Parameter MLOKY.setFeeReceivers(address,address,address)._marketingFeeReceiver (#664) is not in mixedCase
Parameter MLOKY.setFeeReceivers(address,address,address)._charityFeeReceiver (#664) is not in mixedCase
Parameter MLOKY.setSwapBackSettings(bool,uint256)._enabled (#670) is not in mixedCase
Parameter MLOKY.setSwapBackSettings(bool,uint256)._amount (#670) is not in mixedCase
Parameter MLOKY.setDistributionCriteria(uint256,uint256)._minPeriod (#675) is not in mixedCase
Parameter MLOKY.setDistributionCriteria(uint256,uint256)._minDistribution (#675) is not in mixedCase
Variable MLOKY.WBNB (#431) is not in mixedCase
Constant MLOKY._name (#434) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MLOKY._symbol (#435) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MLOKY._decimals (#436) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MLOKY._totalSupply (#438) is not in mixedCase
Variable MLOKY._maxTxAmount (#439) is not in mixedCase
Variable MLOKY._balances (#441) is not in mixedCase
Variable MLOKY._allowances (#442) is not in mixedCase
Variable MLOKY._dexRouter (#464) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in MLOKY._transferFrom(address,address,uint256) (#528-548):
External calls:
- swapBack() (#533)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
External calls sending eth:
- swapBack() (#533)
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#535)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#539)
- amountReceived = takeFee(sender,amount) (#537)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#571)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#572)
- amountReceived = takeFee(sender,amount) (#537)
- Transfer(sender,recipient,amountReceived) (#546)
Reentrancy in MLOKY.swapBack() (#584-630):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
External calls sending eth:
- distributor.depositBUSD{value: amountBNBReflectionBUSD}() (#612)
- distributor.depositLUCHOW{value: amountBNBReflectionLUHCOW}() (#613)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#614)
- address(charityFeeReceiver).transfer(amountBNBCharity) (#615)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#620-627)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#628)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#191) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#192)
Prevent variables from having similar names.

Additional information: link

MLOKY.slitherConstructorVariables() (#428-692) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#438)
MLOKY.slitherConstructorVariables() (#428-692) uses literals with too many digits:
- distributorGas = 500000 (#466)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.WBNB (#253) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#266) should be constant
MLOKY._totalSupply (#438) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#143-145)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#150-152)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#171-175)
balanceOf(address) should be declared external:
- MLOKY.balanceOf(address) (#503)
getCirculatingSupply() should be declared external:
- MLOKY.getCirculatingSupply() (#684-686)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 95% buy tax and 95% sell tax.
Taxes are extremely high (over 30%)

Additional information: link


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Average 30d PancakeSwap liquidity is low.


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

No disclosed threats


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Unable to find whitepaper link on the website


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


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for MLOKY

News for MLOKY