Real Life Money Glitch 2022 Token Logo

RLMG2022 [Real Life Money Glitch 2022] Token

ALERT: honeypot scam

About RLMG2022

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 13 February 2022

report
Code:


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

RealLifeMoneyGlitch.swapBack() (#618-667) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in RealLifeMoneyGlitch._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#571)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#579)
- finalAmount = takeFee(sender,recipient,amount) (#578)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#608)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#239-251) ignores return value by RewardToken.transfer(shareholder,amount) (#245)
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.

RealLifeMoneyGlitch.swapBack().tmpSuccess (#649) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
tmpSuccess = false (#653)
RealLifeMoneyGlitch.swapBack().tmpSuccess1 (#650) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
tmpSuccess1 = false (#654)
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.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

DividendDistributor.process(uint256) (#210-232) has costly operations inside a loop:
- currentIndex = 0 (#221)
DividendDistributor.distributeDividend(address) (#239-251) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#244)
DividendDistributor.process(uint256) (#210-232) has costly operations inside a loop:
- currentIndex ++ (#229)
Use a local variable to hold the loop computation result.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#239-251):
External calls:
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#247)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#248)
Reentrancy in DividendDistributor.process(uint256) (#210-232):
External calls:
- distributeDividend(shareholders[currentIndex]) (#224)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- currentIndex ++ (#229)
Reentrancy in DividendDistributor.setShare(address,uint256) (#173-188):
External calls:
- distributeDividend(shareholder) (#176)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shares[shareholder].amount = amount (#186)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#187)
Apply the check-effects-interactions pattern.

Additional information: link

RealLifeMoneyGlitch.swapBack() (#618-667) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#168-171) should emit an event for:
- minPeriod = newMinPeriod (#169)
- minDistribution = newMinDistribution (#170)
RealLifeMoneyGlitch.changeFees(uint256,uint256,uint256,uint256) (#510-518) should emit an event for:
- liquidityFee = newLiqFee (#511)
- rewardsFee = newRewardFee (#512)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#516)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#517)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#338) lacks a zero-check on :
- owner = adr (#339)
RealLifeMoneyGlitch.changeFeeReceivers(address,address,address).newLiquidityReceiver (#520) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#521)
RealLifeMoneyGlitch.changeFeeReceivers(address,address,address).newMarketingWallet (#520) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#522)
RealLifeMoneyGlitch.changeFeeReceivers(address,address,address).newanothermarketingWallet (#520) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#523)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#239-251) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#245)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in RealLifeMoneyGlitch._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
State variables written after the call(s):
- launch() (#567)
- launchedAt = block.number (#476)
Reentrancy in RealLifeMoneyGlitch.constructor() (#406-438):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#409)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#410)
- _balances[msg.sender] = _totalSupply (#436)
- anothermarketingWallet = 0x3dEAB820d607E6e4C89a453F6B3B88F44c0239cd (#431)
- autoLiquidityReceiver = msg.sender (#429)
- dividendDistributor = new DividendDistributor(address(router)) (#412)
- isDividendExempt[pair] = true (#422)
- isDividendExempt[address(this)] = true (#424)
- isDividendExempt[DEAD] = true (#425)
- isDividendExempt[ZERO] = true (#426)
- isFeeExempt[msg.sender] = true (#414)
- isFeeExempt[address(this)] = true (#415)
- isFeeExempt[anothermarketingWallet] = true (#416)
- isTxLimitExempt[msg.sender] = true (#418)
- isTxLimitExempt[pair] = true (#419)
- isTxLimitExempt[DEAD] = true (#420)
- marketingWallet = msg.sender (#430)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#433)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#434)
Reentrancy in DividendDistributor.deposit() (#190-208):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#198-203)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#207)
- totalDividends = totalDividends.add(amount) (#206)
Reentrancy in DividendDistributor.distributeDividend(address) (#239-251):
External calls:
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#246)
Reentrancy in DividendDistributor.setShare(address,uint256) (#173-188):
External calls:
- distributeDividend(shareholder) (#176)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- addShareholder(shareholder) (#180)
- shareholderIndexes[shareholder] = shareholders.length (#269)
- removeShareholder(shareholder) (#182)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#275)
- addShareholder(shareholder) (#180)
- shareholders.push(shareholder) (#270)
- removeShareholder(shareholder) (#182)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#274)
- shareholders.pop() (#276)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#185)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RealLifeMoneyGlitch._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
- dividendDistributor.setShare(sender,_balances[sender]) (#583)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#587)
- dividendDistributor.process(distributorGas) (#590)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#592)
Reentrancy in RealLifeMoneyGlitch._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#609)
- finalAmount = takeFee(sender,recipient,amount) (#578)
Reentrancy in RealLifeMoneyGlitch.constructor() (#406-438):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#409)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#437)
Reentrancy in RealLifeMoneyGlitch.swapBack() (#618-667):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#665)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#234-237) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#235-236)
Avoid relying on block.timestamp.

Additional information: link

RealLifeMoneyGlitch._maxTxAmount (#361) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 1 / 100
RealLifeMoneyGlitch._walletMax (#362) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 2 / 100
RealLifeMoneyGlitch.swapThreshold (#398) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 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.7.4 (#8) allows old versions
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 RealLifeMoneyGlitch.swapBack() (#618-667):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
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() (#67) is not in mixedCase
Variable DividendDistributor._token (#124) is not in mixedCase
Variable DividendDistributor.RewardToken (#134) is not in mixedCase
Constant RealLifeMoneyGlitch._name (#351) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RealLifeMoneyGlitch._symbol (#352) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RealLifeMoneyGlitch._decimals (#353) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RealLifeMoneyGlitch.DEAD (#355) is not in mixedCase
Variable RealLifeMoneyGlitch.ZERO (#356) is not in mixedCase
Variable RealLifeMoneyGlitch.RewardToken (#358) is not in mixedCase
Variable RealLifeMoneyGlitch._totalSupply (#360) is not in mixedCase
Variable RealLifeMoneyGlitch._maxTxAmount (#361) is not in mixedCase
Variable RealLifeMoneyGlitch._walletMax (#362) is not in mixedCase
Variable RealLifeMoneyGlitch._balances (#366) is not in mixedCase
Variable RealLifeMoneyGlitch._allowances (#367) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

RealLifeMoneyGlitch.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#355)
RealLifeMoneyGlitch.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#356)
RealLifeMoneyGlitch.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- _totalSupply = 1000000 * (10 ** _decimals) (#360)
RealLifeMoneyGlitch.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- distributorGas = 300000 (#392)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

RealLifeMoneyGlitch.RewardToken (#358) is never used in RealLifeMoneyGlitch (#347-672)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#145) should be constant
DividendDistributor.routerAddress (#133) should be constant
RealLifeMoneyGlitch.DEAD (#355) should be constant
RealLifeMoneyGlitch.RewardToken (#358) should be constant
RealLifeMoneyGlitch.ZERO (#356) should be constant
RealLifeMoneyGlitch._totalSupply (#360) should be constant
RealLifeMoneyGlitch.routerAddress (#357) 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) (#310-312)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#317-319)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#338-342)
getCirculatingSupply() should be declared external:
- RealLifeMoneyGlitch.getCirculatingSupply() (#448-450)
claim() should be declared external:
- RealLifeMoneyGlitch.claim() (#466-469)
tradingStatus(bool) should be declared external:
- RealLifeMoneyGlitch.tradingStatus(bool) (#614-616)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

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

Additional information: link


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


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


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive.


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 Telegram and Twitter accounts

Search:


Unable to find website, listings and other project-related information


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for RLMG2022