MarioFloki Token Logo

MRFLOKI [MarioFloki] Token

About MRFLOKI

Listings

Token 2 years
CoinMarketCap 2 years

The one and only Multifunctional Token based on the legendary Mario + Floki. Go on a P2E journey of saving MushroomFloki Kingdom while earning automatically passive BUSD income every hour and donating to charities! Play as different characters in the form our own limited NFTs from our very own marketplace, earn to win Giveaways, Prized Contest, and many more! Lets-a go!

Social

Laser Scorebeta Last Audit: 4 February 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

MarioFloki._swapBack() (MarioFloki.sol#121-164) sends eth to arbitrary user
Dangerous calls:
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MarioFloki._transfer(address,address,uint256) (MarioFloki.sol#88-103):
External calls:
- _swapBack() (MarioFloki.sol#96)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
External calls sending eth:
- _swapBack() (MarioFloki.sol#96)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
State variables written after the call(s):
- super._transfer(sender,recipient,amountAfterTaxes) (MarioFloki.sol#98)
- _balances[sender] = senderBalance - amount (BEP20.sol#89)
- _balances[recipient] += amount (BEP20.sol#90)
- amountAfterTaxes = _takeTax(sender,recipient,amount) (MarioFloki.sol#97)
- _balances[sender] = senderBalance - amount (BEP20.sol#89)
- _balances[recipient] += amount (BEP20.sol#90)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (DividendDistributor.sol#142-156) ignores return value by BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
MarioFloki.recoverBEP20(IBEP20,address) (MarioFloki.sol#211-216) ignores return value by token.transfer(recipient,amount) (MarioFloki.sol#214)
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.

Reentrancy in MarioFloki.preparePresale(address) (MarioFloki.sol#195-202):
External calls:
- distributor.setShare(presale,0) (MarioFloki.sol#199)
State variables written after the call(s):
- presaleInitialized = true (MarioFloki.sol#200)
Reentrancy in DividendDistributor.process() (DividendDistributor.sol#93-117):
External calls:
- distributeDividend(shareHolders[currentIndex]) (DividendDistributor.sol#106)
- BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
State variables written after the call(s):
- currentIndex ++ (DividendDistributor.sol#111)
Reentrancy in DividendDistributor.setShare(address,uint256) (DividendDistributor.sol#75-91):
External calls:
- distributeDividend(shareholder) (DividendDistributor.sol#77)
- BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
State variables written after the call(s):
- shares[shareholder].amount = amount (DividendDistributor.sol#87)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (DividendDistributor.sol#88)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.process().gasUsed (DividendDistributor.sol#98) is a local variable never initialized
DividendDistributor.process().iterations (DividendDistributor.sol#100) is a local variable never initialized
DividendDistributor.process().avgGasCost (DividendDistributor.sol#99) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

DividendDistributor.deposit() (DividendDistributor.sol#53-73) ignores return value by ROUTER.swapExactETHForTokens{value: msg.value}(0,path,address(this),block.timestamp) (DividendDistributor.sol#60-65)
MarioFloki._swapBack() (MarioFloki.sol#121-164) ignores return value by ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
MarioFloki._swapBack() (MarioFloki.sol#121-164) ignores return value by ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
Ensure that all the return values of the function calls are used.

Additional information: link

BEP20.allowance(address,address).owner (BEP20.sol#51) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
BEP20._approve(address,address,uint256).owner (BEP20.sol#95) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
Rename the local variables that shadow another component.

Additional information: link

DividendDistributor.distributeDividend(address) (DividendDistributor.sol#142-156) has external calls inside a loop: BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MarioFloki.constructor() (MarioFloki.sol#69-76):
External calls:
- pair = IDEXFactory(ROUTER.factory()).createPair(ROUTER.WETH(),address(this)) (MarioFloki.sol#70)
State variables written after the call(s):
- _approve(address(this),address(ROUTER),type()(uint256).max) (MarioFloki.sol#71)
- _allowances[owner][spender] = amount (BEP20.sol#99)
- distributor = new DividendDistributor() (MarioFloki.sol#74)
- _excludeAccounts() (MarioFloki.sol#75)
- isDividendExempt[marketingWallet] = true (MarioFloki.sol#187)
- isDividendExempt[address(this)] = true (MarioFloki.sol#188)
- isDividendExempt[pair] = true (MarioFloki.sol#189)
- isDividendExempt[DEAD] = true (MarioFloki.sol#190)
- isMarketMaker[pair] = true (MarioFloki.sol#72)
- _excludeAccounts() (MarioFloki.sol#75)
- isWhitelisted[marketingWallet] = true (MarioFloki.sol#186)
Reentrancy in DividendDistributor.deposit() (DividendDistributor.sol#53-73):
External calls:
- ROUTER.swapExactETHForTokens{value: msg.value}(0,path,address(this),block.timestamp) (DividendDistributor.sol#60-65)
State variables written after the call(s):
- dividendsPerShare += dividendsPerShareAccuracyFactor * receivedAmount / totalShares (DividendDistributor.sol#69)
- totalDividends += receivedAmount (DividendDistributor.sol#68)
Reentrancy in DividendDistributor.setShare(address,uint256) (DividendDistributor.sol#75-91):
External calls:
- distributeDividend(shareholder) (DividendDistributor.sol#77)
- BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
State variables written after the call(s):
- addShareholder(shareholder) (DividendDistributor.sol#81)
- shareHolders.push(shareholder) (DividendDistributor.sol#164)
- removeShareholder(shareholder) (DividendDistributor.sol#83)
- shareHolders[shareholderIndexes[shareholder]] = shareHolders[shareHolders.length - 1] (DividendDistributor.sol#168)
- shareHolders.pop() (DividendDistributor.sol#170)
- addShareholder(shareholder) (DividendDistributor.sol#81)
- shareholderIndexes[shareholder] = shareHolders.length (DividendDistributor.sol#163)
- removeShareholder(shareholder) (DividendDistributor.sol#83)
- shareholderIndexes[shareHolders[shareHolders.length - 1]] = shareholderIndexes[shareholder] (DividendDistributor.sol#169)
- totalShares = totalShares - shares[shareholder].amount + amount (DividendDistributor.sol#86)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MarioFloki._swapBack() (MarioFloki.sol#121-164):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
External calls sending eth:
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
Event emitted after the call(s):
- DepositMarketing(marketingWallet,amountBNBMarketing) (MarioFloki.sol#148)
Reentrancy in MarioFloki._swapBack() (MarioFloki.sol#121-164):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
External calls sending eth:
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
Event emitted after the call(s):
- DepositCharity(charityWallet,amountBNBCharity) (MarioFloki.sol#150)
Reentrancy in MarioFloki._swapBack() (MarioFloki.sol#121-164):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
External calls sending eth:
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
Event emitted after the call(s):
- AutoLiquidity(amountBNBLiquidity,liquidityTokens) (MarioFloki.sol#162)
Reentrancy in MarioFloki._transfer(address,address,uint256) (MarioFloki.sol#88-103):
External calls:
- _swapBack() (MarioFloki.sol#96)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
External calls sending eth:
- _swapBack() (MarioFloki.sol#96)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (BEP20.sol#92)
- amountAfterTaxes = _takeTax(sender,recipient,amount) (MarioFloki.sol#97)
- Transfer(sender,recipient,amount) (BEP20.sol#92)
- super._transfer(sender,recipient,amountAfterTaxes) (MarioFloki.sol#98)
Reentrancy in MarioFloki.constructor() (MarioFloki.sol#69-76):
External calls:
- pair = IDEXFactory(ROUTER.factory()).createPair(ROUTER.WETH(),address(this)) (MarioFloki.sol#70)
Event emitted after the call(s):
- Approval(owner,spender,amount) (BEP20.sol#100)
- _approve(address(this),address(ROUTER),type()(uint256).max) (MarioFloki.sol#71)
Reentrancy in DividendDistributor.deposit() (DividendDistributor.sol#53-73):
External calls:
- ROUTER.swapExactETHForTokens{value: msg.value}(0,path,address(this),block.timestamp) (DividendDistributor.sol#60-65)
Event emitted after the call(s):
- Deposit(msg.value) (DividendDistributor.sol#71)
Reentrancy in DividendDistributor.distributeDividend(address) (DividendDistributor.sol#142-156):
External calls:
- BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
Event emitted after the call(s):
- DividendDistributed(shareholder,amount) (DividendDistributor.sol#154)
Reentrancy in MarioFloki.preparePresale(address) (MarioFloki.sol#195-202):
External calls:
- distributor.setShare(presale,0) (MarioFloki.sol#199)
Event emitted after the call(s):
- PreparePresale(presale) (MarioFloki.sol#201)
Reentrancy in MarioFloki.recoverBEP20(IBEP20,address) (MarioFloki.sol#211-216):
External calls:
- token.transfer(recipient,amount) (MarioFloki.sol#214)
Event emitted after the call(s):
- RecoverBEP20(address(token),amount) (MarioFloki.sol#215)
Reentrancy in MarioFloki.recoverBNB() (MarioFloki.sol#204-209):
External calls:
- (sent) = address(marketingWallet).call{gas: transferGas,value: amount}() (MarioFloki.sol#206)
Event emitted after the call(s):
- RecoverBNB(amount) (MarioFloki.sol#208)
Reentrancy in MarioFloki.setIsDividendExempt(address,bool) (MarioFloki.sol#262-273):
External calls:
- distributor.setShare(account,0) (MarioFloki.sol#267)
- distributor.setShare(account,balanceOf(account)) (MarioFloki.sol#269)
Event emitted after the call(s):
- SetDividendExempt(account,exempt) (MarioFloki.sol#272)
Reentrancy in DividendDistributor.setShare(address,uint256) (DividendDistributor.sol#75-91):
External calls:
- distributeDividend(shareholder) (DividendDistributor.sol#77)
- BUSD.transfer(shareholder,amount) (DividendDistributor.sol#152)
Event emitted after the call(s):
- SetShare(shareholder,amount) (DividendDistributor.sol#90)
Reentrancy in MarioFloki.triggerSwapBack() (MarioFloki.sol#289-292):
External calls:
- _swapBack() (MarioFloki.sol#290)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (MarioFloki.sol#130-136)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
External calls sending eth:
- _swapBack() (MarioFloki.sol#290)
- distributor.deposit{value: amountBNBRewards}() (MarioFloki.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (MarioFloki.sol#153-160)
Event emitted after the call(s):
- TriggerSwapBack() (MarioFloki.sol#291)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (DividendDistributor.sol#137-140) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (DividendDistributor.sol#138-139)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process() (DividendDistributor.sol#93-117) has costly operations inside a loop:
- currentIndex = 0 (DividendDistributor.sol#103)
DividendDistributor.distributeDividend(address) (DividendDistributor.sol#142-156) has costly operations inside a loop:
- totalDistributed += amount (DividendDistributor.sol#151)
DividendDistributor.process() (DividendDistributor.sol#93-117) has costly operations inside a loop:
- currentIndex ++ (DividendDistributor.sol#111)
Use a local variable to hold the loop computation result.

Additional information: link

Pragma version0.8.10 (BEP20.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.10 (DividendDistributor.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.10 (IBEP20.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.10 (IDEX.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.10 (MarioFloki.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.10 (Ownable.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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 MarioFloki._swapBack() (MarioFloki.sol#121-164):
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (MarioFloki.sol#147)
- (charitySuccess) = address(charityWallet).call{gas: transferGas,value: amountBNBCharity}() (MarioFloki.sol#149)
Low level call in MarioFloki.recoverBNB() (MarioFloki.sol#204-209):
- (sent) = address(marketingWallet).call{gas: transferGas,value: amount}() (MarioFloki.sol#206)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (IDEX.sol#11) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

DividendDistributor.setGasLimit(uint256) (DividendDistributor.sol#182-186) uses literals with too many digits:
- require(bool)(newGasLimit <= 500000 && newGasLimit >= 100000) (DividendDistributor.sol#183)
DividendDistributor.slitherConstructorVariables() (DividendDistributor.sol#8-187) uses literals with too many digits:
- gasLimit = 300000 (DividendDistributor.sol#31)
MarioFloki.setMinBalanceForDividends(uint256) (MarioFloki.sol#275-280) uses literals with too many digits:
- require(bool,string)(tokenAmount <= 100000000 * 10 ** decimals(),Invalid parameter) (MarioFloki.sol#277)
MarioFloki.slitherConstructorVariables() (MarioFloki.sol#8-323) uses literals with too many digits:
- swapThreshold = 100000000 * 10 ** 18 (MarioFloki.sol#17)
MarioFloki.slitherConstructorVariables() (MarioFloki.sol#8-323) uses literals with too many digits:
- minBalanceForDividends = 100000000 * 10 ** 18 (MarioFloki.sol#40)
MarioFloki.slitherConstructorConstantVariables() (MarioFloki.sol#8-323) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (MarioFloki.sol#9)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (DividendDistributor.sol#29) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getOwner() should be declared external:
- BEP20.getOwner() (BEP20.sol#22-24)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (BEP20.sol#70-73)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (BEP20.sol#75-81)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#20-24)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

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


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for MRFLOKI

News for MRFLOKI