The RMOG is based on a public blockchain that increases its value when apps and new members connect to our ecosystem to solve real sustainability, traceability and environmental governance (ESG) issues. The objective of Mahogany Reforestation is to revolutionize traditional economic processes and promote the development of digital entrepreneurship in isolated and degraded areas. WHAT WE DO ? african mahogany African Mahogany (khaya grandifoliola) is among the most cultivated noble woods in Brazil due to the high financial return and profitability of the wood. Each hectare of African mahogany presents an average annual increase of 21.89 cubic meters of round wood. Due to its easy adaptation to the Brazilian climate, which is similar to that of its continent of origin, African mahogany is one of the noble species with a fast growing time when compared to other species. Its maturation age is between 13 and 15 years, that is, it is at this age that the central part of the tree - also known as grain - forms. International market African mahogany wood is widely traded on the international market, mainly on the European market. Its commercial planting is considered a long-term investment for anyone wishing to expand their wealth or retire. However, before planting this species for the production of hardwood, some precautions are suggested to carry out quality management and thus obtain greater financial return. Is African mahogany a good investment for 2021? Today, African mahogany is considered a good long-term investment for those looking to diversify their investments. African mahogany (khaya grandifoliola) produces a noble wood that is highly appreciated in the European and North American market. This plant has conquered more and more Brazilian rural landscapes due to the high added value of its final product and the high productivity when the forest is well managed. Advantages of African Mahogany The biological characteristic of African mahogany is one of the main advantages. The straighter trunk (shaft) helps to make better use of the conversion of wood into logs for sawn wood, reducing the rate of wood loss. This plant still has a low incidence of branches and branches, which reduces the number of knots, that is, the wood produced is more homogeneous and resistant. Introduction of African Mahogany in Brazil African mahogany arrived on Brazilian soil in the 70s, but it was only disseminated in the 80s and 90s with experimental plantations promoted by Embrapa in various regions of Brazil. The largest plantations are concentrated in the state of Minas Gerais, and the Pompéu forestry pole is also located in the central region of the state, where RMOG manages large plantation areas. African mahogany financial return To get an idea of the financial return of African mahogany, the internal rate of return (IRR) can reach 15 to 25% per year, considering all the costs and revenues generated by the forestry business. The implementation cost varies according to soil conditions, relief, climate, proximity to suppliers and consumer markets, among other factors. For more details on planting cost and financial return.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RMOG.addLiquidity(uint256,uint256) (RMOG.SOL#433-448) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (RMOG.SOL#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (RMOG.SOL#453)
- dividendTracker.distributeCAKEDividends(dividends) (RMOG.SOL#456)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
External calls sending eth:
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (RMOG.SOL#340)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (RMOG.SOL#343)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (RMOG.SOL#322)
Apply the check-effects-interactions pattern.
Additional information: link
RMOG.swapAndSendToFee(uint256) (RMOG.SOL#360-367) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
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 DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92):
External calls:
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in RMOG.updateDividendTracker(address) (RMOG.SOL#123-138):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (RMOG.SOL#130)
- newDividendTracker.excludeFromDividends(address(this)) (RMOG.SOL#131)
- newDividendTracker.excludeFromDividends(owner()) (RMOG.SOL#132)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (RMOG.SOL#133)
State variables written after the call(s):
- dividendTracker = newDividendTracker (RMOG.SOL#137)
Apply the check-effects-interactions pattern.
Additional information: link
RMOG._transfer(address,address,uint256).iterations (RMOG.SOL#351) is a local variable never initialized
RMOG._transfer(address,address,uint256).claims (RMOG.SOL#351) is a local variable never initialized
RMOG._transfer(address,address,uint256).lastProcessedIndex (RMOG.SOL#351) 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
RMOG.claim() (RMOG.SOL#274-276) ignores return value by dividendTracker.processAccount(msg.sender,false) (RMOG.SOL#275)
RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358) ignores return value by dividendTracker.process(gas) (RMOG.SOL#351-356)
RMOG.addLiquidity(uint256,uint256) (RMOG.SOL#433-448) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
RMOG.setCAKERewardsFee(uint256) (RMOG.SOL#168-171) should emit an event for:
- CAKERewardsFee = value (RMOG.SOL#169)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (RMOG.SOL#170)
RMOG.setLiquiditFee(uint256) (RMOG.SOL#173-176) should emit an event for:
- liquidityFee = value (RMOG.SOL#174)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (RMOG.SOL#175)
RMOG.setMarketingFee(uint256) (RMOG.SOL#178-182) should emit an event for:
- marketingFee = value (RMOG.SOL#179)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (RMOG.SOL#180)
Emit an event for critical parameter changes.
Additional information: link
RMOG.updateUniswapV2Router(address)._uniswapV2Pair (RMOG.SOL#144-145) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (RMOG.SOL#146)
RMOG.setMarketingWallet(address).wallet (RMOG.SOL#164) lacks a zero-check on :
- _marketingWalletAddress = wallet (RMOG.SOL#165)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92) has external calls inside a loop: success = IERC20(CAKE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'RMOG._transfer(address,address,uint256).claims (RMOG.SOL#351)' in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (RMOG.SOL#352)
Variable 'RMOG._transfer(address,address,uint256).lastProcessedIndex (RMOG.SOL#351)' in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (RMOG.SOL#352)
Variable 'RMOG._transfer(address,address,uint256).iterations (RMOG.SOL#351)' in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (RMOG.SOL#352)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (RMOG.SOL#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
External calls sending eth:
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (RMOG.SOL#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (RMOG.SOL#453)
- dividendTracker.distributeCAKEDividends(dividends) (RMOG.SOL#456)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
External calls sending eth:
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in RMOG.constructor() (RMOG.SOL#84-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (RMOG.SOL#92-93)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (RMOG.SOL#96)
- uniswapV2Router = _uniswapV2Router (RMOG.SOL#95)
Reentrancy in RMOG.constructor() (RMOG.SOL#84-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (RMOG.SOL#92-93)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (RMOG.SOL#98)
- dividendTracker.excludeFromDividends(pair) (RMOG.SOL#201)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (RMOG.SOL#101)
- dividendTracker.excludeFromDividends(address(this)) (RMOG.SOL#102)
- dividendTracker.excludeFromDividends(owner()) (RMOG.SOL#103)
- dividendTracker.excludeFromDividends(deadWallet) (RMOG.SOL#104)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (RMOG.SOL#105)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (RMOG.SOL#116)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (RMOG.SOL#108)
- _isExcludedFromFees[account] = excluded (RMOG.SOL#151)
- excludeFromFees(_marketingWalletAddress,true) (RMOG.SOL#109)
- _isExcludedFromFees[account] = excluded (RMOG.SOL#151)
- excludeFromFees(address(this),true) (RMOG.SOL#110)
- _isExcludedFromFees[account] = excluded (RMOG.SOL#151)
- _mint(owner(),100000000000 * (10 ** 18)) (RMOG.SOL#116)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in RMOGDividendTracker.processAccount(address,bool) (RMOG.SOL#658-668):
External calls:
- amount = _withdrawDividendOfUser(account) (RMOG.SOL#659)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (RMOG.SOL#662)
Reentrancy in RMOG.swapAndLiquify(uint256) (RMOG.SOL#369-390):
External calls:
- swapTokensForEth(half) (RMOG.SOL#381)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
- addLiquidity(otherHalf,newBalance) (RMOG.SOL#387)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (RMOG.SOL#387)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (RMOG.SOL#387)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in RMOG.updateUniswapV2Router(address) (RMOG.SOL#140-147):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (RMOG.SOL#144-145)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (RMOG.SOL#146)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RMOG._setAutomatedMarketMakerPair(address,bool) (RMOG.SOL#196-205):
External calls:
- dividendTracker.excludeFromDividends(pair) (RMOG.SOL#201)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (RMOG.SOL#204)
Reentrancy in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (RMOG.SOL#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
External calls sending eth:
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- SwapAndLiquify(half,newBalance,otherHalf) (RMOG.SOL#389)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
Reentrancy in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (RMOG.SOL#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (RMOG.SOL#453)
- dividendTracker.distributeCAKEDividends(dividends) (RMOG.SOL#456)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
External calls sending eth:
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- SendDividends(tokens,dividends) (RMOG.SOL#457)
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (RMOG.SOL#343)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (RMOG.SOL#340)
Reentrancy in RMOG._transfer(address,address,uint256) (RMOG.SOL#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (RMOG.SOL#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (RMOG.SOL#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
- swapAndSendDividends(sellTokens) (RMOG.SOL#320)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (RMOG.SOL#453)
- dividendTracker.distributeCAKEDividends(dividends) (RMOG.SOL#456)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- dividendTracker.setBalance(address(from),balanceOf(from)) (RMOG.SOL#345)
- dividendTracker.setBalance(address(to),balanceOf(to)) (RMOG.SOL#346)
- dividendTracker.process(gas) (RMOG.SOL#351-356)
External calls sending eth:
- swapAndLiquify(swapTokens) (RMOG.SOL#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (RMOG.SOL#352)
Reentrancy in RMOG.constructor() (RMOG.SOL#84-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (RMOG.SOL#92-93)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (RMOG.SOL#98)
- dividendTracker.excludeFromDividends(pair) (RMOG.SOL#201)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (RMOG.SOL#204)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (RMOG.SOL#98)
Reentrancy in RMOG.constructor() (RMOG.SOL#84-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (RMOG.SOL#92-93)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (RMOG.SOL#98)
- dividendTracker.excludeFromDividends(pair) (RMOG.SOL#201)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (RMOG.SOL#101)
- dividendTracker.excludeFromDividends(address(this)) (RMOG.SOL#102)
- dividendTracker.excludeFromDividends(owner()) (RMOG.SOL#103)
- dividendTracker.excludeFromDividends(deadWallet) (RMOG.SOL#104)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (RMOG.SOL#105)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (RMOG.SOL#153)
- excludeFromFees(owner(),true) (RMOG.SOL#108)
- ExcludeFromFees(account,excluded) (RMOG.SOL#153)
- excludeFromFees(_marketingWalletAddress,true) (RMOG.SOL#109)
- ExcludeFromFees(account,excluded) (RMOG.SOL#153)
- excludeFromFees(address(this),true) (RMOG.SOL#110)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),100000000000 * (10 ** 18)) (RMOG.SOL#116)
Reentrancy in RMOGDividendTracker.processAccount(address,bool) (RMOG.SOL#658-668):
External calls:
- amount = _withdrawDividendOfUser(account) (RMOG.SOL#659)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (RMOG.SOL#663)
Reentrancy in RMOG.processDividendTracker(uint256) (RMOG.SOL#269-272):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (RMOG.SOL#270)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (RMOG.SOL#271)
Reentrancy in RMOG.swapAndLiquify(uint256) (RMOG.SOL#369-390):
External calls:
- swapTokensForEth(half) (RMOG.SOL#381)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#404-410)
- addLiquidity(otherHalf,newBalance) (RMOG.SOL#387)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (RMOG.SOL#387)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (RMOG.SOL#439-446)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (RMOG.SOL#387)
- SwapAndLiquify(half,newBalance,otherHalf) (RMOG.SOL#389)
Reentrancy in RMOG.swapAndSendDividends(uint256) (RMOG.SOL#450-459):
External calls:
- swapTokensForCAKE(tokens) (RMOG.SOL#451)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (RMOG.SOL#424-430)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (RMOG.SOL#453)
- dividendTracker.distributeCAKEDividends(dividends) (RMOG.SOL#456)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (RMOG.SOL#457)
Reentrancy in RMOG.updateDividendTracker(address) (RMOG.SOL#123-138):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (RMOG.SOL#130)
- newDividendTracker.excludeFromDividends(address(this)) (RMOG.SOL#131)
- newDividendTracker.excludeFromDividends(owner()) (RMOG.SOL#132)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (RMOG.SOL#133)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (RMOG.SOL#135)
Apply the check-effects-interactions pattern.
Additional information: link
RMOGDividendTracker.getAccount(address) (RMOG.SOL#522-565) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (RMOG.SOL#562-564)
RMOGDividendTracker.canAutoClaim(uint256) (RMOG.SOL#586-592) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (RMOG.SOL#587)
- block.timestamp.sub(lastClaimTime) >= claimWait (RMOG.SOL#591)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#132-138) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
RMOG.totalFees (RMOG.SOL#35) is set pre-construction with a non-constant function or state variable:
- CAKERewardsFee.add(liquidityFee).add(marketingFee)
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.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (RMOG.SOL#3) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) allows old versions
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
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.CAKE (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Variable RMOG.CAKE (RMOG.SOL#26) is not in mixedCase
Variable RMOG._isBlacklisted (RMOG.SOL#30) is not in mixedCase
Variable RMOG.CAKERewardsFee (RMOG.SOL#32) is not in mixedCase
Variable RMOG._marketingWalletAddress (RMOG.SOL#37) is not in mixedCase
Parameter RMOGDividendTracker.getAccount(address)._account (RMOG.SOL#522) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#77) is too similar to RMOGDividendTracker.getAccount(address).withdrawableDividends (RMOG.SOL#527)
Prevent variables from having similar names.
Additional information: link
RMOG.constructor() (RMOG.SOL#84-117) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (RMOG.SOL#116)
RMOG.updateGasForProcessing(uint256) (RMOG.SOL#208-213) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,RMOG: gasForProcessing must be between 200,000 and 500,000) (RMOG.SOL#209)
RMOG.slitherConstructorVariables() (RMOG.SOL#14-460) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (RMOG.SOL#24)
RMOG.slitherConstructorVariables() (RMOG.SOL#14-460) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (RMOG.SOL#28)
RMOG.slitherConstructorVariables() (RMOG.SOL#14-460) uses literals with too many digits:
- gasForProcessing = 300000 (RMOG.SOL#41)
RMOGDividendTracker.constructor() (RMOG.SOL#482-485) uses literals with too many digits:
- minimumTokenBalanceForDividends = 2000000 * (10 ** 18) (RMOG.SOL#484)
RMOGDividendTracker.getAccountAtIndex(uint256) (RMOG.SOL#567-584) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (RMOG.SOL#578)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-93)
Remove unused state variables.
Additional information: link
RMOG.deadWallet (RMOG.SOL#24) should be constant
RMOG.swapTokensAtAmount (RMOG.SOL#28) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (DividendPayingToken.sol#55-66)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
- RMOGDividendTracker.withdrawDividend() (RMOG.SOL#491-493)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
updateDividendTracker(address) should be declared external:
- RMOG.updateDividendTracker(address) (RMOG.SOL#123-138)
updateUniswapV2Router(address) should be declared external:
- RMOG.updateUniswapV2Router(address) (RMOG.SOL#140-147)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- RMOG.excludeMultipleAccountsFromFees(address[],bool) (RMOG.SOL#156-162)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- RMOG.setAutomatedMarketMakerPair(address,bool) (RMOG.SOL#185-189)
updateGasForProcessing(uint256) should be declared external:
- RMOG.updateGasForProcessing(uint256) (RMOG.SOL#208-213)
isExcludedFromFees(address) should be declared external:
- RMOG.isExcludedFromFees(address) (RMOG.SOL#227-229)
withdrawableDividendOf(address) should be declared external:
- RMOG.withdrawableDividendOf(address) (RMOG.SOL#231-233)
dividendTokenBalanceOf(address) should be declared external:
- RMOG.dividendTokenBalanceOf(address) (RMOG.SOL#235-237)
getAccountAtIndex(uint256) should be declared external:
- RMOGDividendTracker.getAccountAtIndex(uint256) (RMOG.SOL#567-584)
process(uint256) should be declared external:
- RMOGDividendTracker.process(uint256) (RMOG.SOL#611-656)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity 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.
Contract has 15% buy tax and 16% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
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
Twitter account has relatively few followers
Unable to find Youtube account
Unable to find Discord account