OnlyGems Finance Token Logo

OGEM [OnlyGems Finance] Token

About OGEM

Listings

Token 2 years
CoinMarketCap 2 years
white paper

OnlyGems Finance is a BEP20 (BSC) decentralized project with real world utility.

OnlyGems Finance mission is to bring new cryptocurrency concepts to mainstream investors. We will introduce our holders to next-generation concepts such as Staking, NFTs with utility, BNB rewards, games, CoinLocator and real world utility with "The Mine" - our own graphic design services.

Our vision is to create an ecosystem where investors can have fun and also be a part of a serious project that will give back to investors in the form of buybacks, BNB rewards and staking rewards, which will be provided by generated revenue from our utilities.

A part of revenue that we earn in our ecosystem with "The Mine" and future utilities (CoinLocator, Project X, DEX) is going to be used to top up the treasury with BNB. The BNB is then used for buybacks of our native token OGEM, which consequently drives the price up and creates higher price floors. Tokens that are bought back are safely stored in the treasury.

Social

Laser Scorebeta Last Audit: 28 June 2022

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

OnlyGemsFinance._name (#519) shadows:
- ERC20._name (#322)
OnlyGemsFinance._symbol (#520) shadows:
- ERC20._symbol (#323)
Remove the state variable shadowing.

Additional information: link

Reentrancy in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- _swapTokensForBNB(amountToSwap) (#1017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- stakingSuccess = IERC20(address(this)).transfer(address(stakingAddress),amountBNBStaking) (#1038)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
State variables written after the call(s):
- _totalFee = totalFeePrior (#1047)
Reentrancy in OnlyGemsFinance._transfer(address,address,uint256) (#832-895):
External calls:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- stakingSuccess = IERC20(address(this)).transfer(address(stakingAddress),amountBNBStaking) (#1038)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
External calls sending eth:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
State variables written after the call(s):
- super._transfer(from,address(this),fee) (#880)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#392)
- _balances[recipient] = _balances[recipient].add(amount) (#393)
- super._transfer(from,to,amount) (#883)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#392)
- _balances[recipient] = _balances[recipient].add(amount) (#393)
- _swapping = false (#869)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#460-473):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#465)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#467)
Apply the check-effects-interactions pattern.

Additional information: link

OnlyGemsFinance._swapAndLiquify() (#1009-1048) sends eth to arbitrary user
Dangerous calls:
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
OnlyGemsFinance._addLiquidity(uint256,uint256) (#1062-1072) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

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.


Contract ownership is not renounced (belongs to a wallet)


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

OnlyGemsFinance._transfer(address,address,uint256).iterations (#890) is a local variable never initialized
OnlyGemsFinance._transfer(address,address,uint256).claims (#890) is a local variable never initialized
OnlyGemsFinance._transfer(address,address,uint256).lastProcessedIndex (#890) 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

OnlyGemsFinance.claim() (#800-802) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#801)
OnlyGemsFinance._transfer(address,address,uint256) (#832-895) ignores return value by dividendTracker.process(gas) (#890-893)
OnlyGemsFinance._addLiquidity(uint256,uint256) (#1062-1072) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#460-473) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#465)
Favor pull over push strategy for external calls.

Additional information: link

Pragma version0.8.13 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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

Redundant expression "this (#278)" inContext (#272-281)
Remove redundant statements if they congest code but offer no value.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#222-224)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#226-231)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#233-235)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#237-239)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#303-306)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#308-312)
name() should be declared external:
- ERC20.name() (#330-332)
symbol() should be declared external:
- ERC20.symbol() (#334-336)
decimals() should be declared external:
- ERC20.decimals() (#338-340)
- OnlyGemsFinance.decimals() (#659-661)
- OnlyGemsFinanceDividendTracker.decimals() (#1096-1098)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#350-353)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#355-357)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#359-362)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#364-372)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#374-377)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#379-382)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#457-459)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#474-476)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#480-482)
withdrawableDividendOf(address) should be declared external:
- OnlyGemsFinance.withdrawableDividendOf(address) (#815-817)
dividendTokenBalanceOf(address) should be declared external:
- OnlyGemsFinance.dividendTokenBalanceOf(address) (#818-820)
process(uint256) should be declared external:
- OnlyGemsFinanceDividendTracker.process(uint256) (#1136-1169)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in OnlyGemsFinance.updateDividendTracker(address) (#672-683):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#676)
- newDividendTracker.excludeFromDividends(address(this)) (#677)
- newDividendTracker.excludeFromDividends(owner()) (#678)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#679)
- newDividendTracker.excludeFromDividends(address(uniswapV2Pair)) (#680)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#682)
Apply the check-effects-interactions pattern.

Additional information: link

SafeMathInt.MAX_INT256 (#169) is never used in SafeMathInt (#167-204)
Remove unused state variables.

Additional information: link

Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#460-473):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#465)
Low level call in OnlyGemsFinance.claimBNBOverflow() (#803-809):
- (success) = address(owner()).call{value: amount}() (#805)
Low level call in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

DividendPayingToken.constructor(string,string)._name (#443) shadows:
- ERC20._name (#322) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#443) shadows:
- ERC20._symbol (#323) (state variable)
DividendPayingToken.dividendOf(address)._owner (#474) shadows:
- Ownable._owner (#284) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#477) shadows:
- Ownable._owner (#284) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#480) shadows:
- Ownable._owner (#284) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#483) shadows:
- Ownable._owner (#284) (state variable)
Rename the local variables that shadow another component.

Additional information: link

Variable 'OnlyGemsFinance._transfer(address,address,uint256).lastProcessedIndex (#890)' in OnlyGemsFinance._transfer(address,address,uint256) (#832-895) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#891)
Variable 'OnlyGemsFinance._transfer(address,address,uint256).iterations (#890)' in OnlyGemsFinance._transfer(address,address,uint256) (#832-895) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#891)
Variable 'OnlyGemsFinance._transfer(address,address,uint256).claims (#890)' in OnlyGemsFinance._transfer(address,address,uint256) (#832-895) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#891)
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 OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- _swapTokensForBNB(amountToSwap) (#1017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- _allowances[owner][spender] = amount (#420)
Reentrancy in OnlyGemsFinance.constructor() (#615-654):
External calls:
- _uniswapV2Pair = IFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#626-629)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#631)
- uniswapV2Router = _uniswapV2Router (#630)
Reentrancy in OnlyGemsFinance.constructor() (#615-654):
External calls:
- _uniswapV2Pair = IFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#626-629)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#632)
- dividendTracker.excludeFromDividends(pair) (#688)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#634)
- _isExcludedFromFee[address(this)] = true (#635)
- _isExcludedFromFee[address(dividendTracker)] = true (#636)
Reentrancy in OnlyGemsFinance.constructor() (#615-654):
External calls:
- _uniswapV2Pair = IFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#626-629)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#632)
- dividendTracker.excludeFromDividends(pair) (#688)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#638)
- dividendTracker.excludeFromDividends(address(this)) (#639)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#640)
- dividendTracker.excludeFromDividends(owner()) (#641)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#642)
State variables written after the call(s):
- _mint(owner(),initialSupply) (#653)
- _balances[account] = _balances[account].add(amount) (#401)
- _isAllowedToTradeWhenDisabled[owner()] = true (#644)
- _isAllowedToTradeWhenDisabled[address(this)] = true (#645)
- _isExcludedFromMaxWalletLimit[_uniswapV2Pair] = true (#647)
- _isExcludedFromMaxWalletLimit[address(dividendTracker)] = true (#648)
- _isExcludedFromMaxWalletLimit[address(uniswapV2Router)] = true (#649)
- _isExcludedFromMaxWalletLimit[address(this)] = true (#650)
- _isExcludedFromMaxWalletLimit[owner()] = true (#651)
- _mint(owner(),initialSupply) (#653)
- _totalSupply = _totalSupply.add(amount) (#400)
Reentrancy in OnlyGemsFinanceDividendTracker.processAccount(address,bool) (#1170-1178):
External calls:
- amount = _withdrawDividendOfUser(account) (#1171)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#465)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1173)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in OnlyGemsFinance._setAutomatedMarketMakerPair(address,bool) (#684-691):
External calls:
- dividendTracker.excludeFromDividends(pair) (#688)
Event emitted after the call(s):
- AutomatedMarketMakerPairChange(pair,value) (#690)
Reentrancy in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- _swapTokensForBNB(amountToSwap) (#1017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#421)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- SwapAndLiquify(amountToSwap,amountBNBLiquidity,amountToLiquify) (#1035)
Reentrancy in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- _swapTokensForBNB(amountToSwap) (#1017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- stakingSuccess = IERC20(address(this)).transfer(address(stakingAddress),amountBNBStaking) (#1038)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
Event emitted after the call(s):
- StakingTokensSent(amountBNBStaking) (#1040)
Reentrancy in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- _swapTokensForBNB(amountToSwap) (#1017)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- stakingSuccess = IERC20(address(this)).transfer(address(stakingAddress),amountBNBStaking) (#1038)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
Event emitted after the call(s):
- DividendsSent(amountBNBHolders) (#1045)
Reentrancy in OnlyGemsFinance._transfer(address,address,uint256) (#832-895):
External calls:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- stakingSuccess = IERC20(address(this)).transfer(address(stakingAddress),amountBNBStaking) (#1038)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
External calls sending eth:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#394)
- super._transfer(from,address(this),fee) (#880)
- Transfer(sender,recipient,amount) (#394)
- super._transfer(from,to,amount) (#883)
Reentrancy in OnlyGemsFinance._transfer(address,address,uint256) (#832-895):
External calls:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1054-1060)
- stakingSuccess = IERC20(address(this)).transfer(address(stakingAddress),amountBNBStaking) (#1038)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#885)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#886)
- dividendTracker.process(gas) (#890-893)
External calls sending eth:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#891)
Reentrancy in OnlyGemsFinance.claimBNBOverflow() (#803-809):
External calls:
- (success) = address(owner()).call{value: amount}() (#805)
Event emitted after the call(s):
- ClaimBNBOverflow(amount) (#807)
Reentrancy in OnlyGemsFinance.constructor() (#615-654):
External calls:
- _uniswapV2Pair = IFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#626-629)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#632)
- dividendTracker.excludeFromDividends(pair) (#688)
Event emitted after the call(s):
- AutomatedMarketMakerPairChange(pair,value) (#690)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#632)
Reentrancy in OnlyGemsFinance.constructor() (#615-654):
External calls:
- _uniswapV2Pair = IFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#626-629)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#632)
- dividendTracker.excludeFromDividends(pair) (#688)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#638)
- dividendTracker.excludeFromDividends(address(this)) (#639)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#640)
- dividendTracker.excludeFromDividends(owner()) (#641)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#642)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#402)
- _mint(owner(),initialSupply) (#653)
Reentrancy in OnlyGemsFinanceDividendTracker.processAccount(address,bool) (#1170-1178):
External calls:
- amount = _withdrawDividendOfUser(account) (#1171)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#465)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1174)
Reentrancy in OnlyGemsFinance.updateDividendTracker(address) (#672-683):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#676)
- newDividendTracker.excludeFromDividends(address(this)) (#677)
- newDividendTracker.excludeFromDividends(owner()) (#678)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#679)
- newDividendTracker.excludeFromDividends(address(uniswapV2Pair)) (#680)
Event emitted after the call(s):
- DividendTrackerChange(newAddress,address(dividendTracker)) (#681)
Apply the check-effects-interactions pattern.

Additional information: link

OnlyGemsFinance.activateTrading() (#662-668) uses timestamp for comparisons
Dangerous comparisons:
- _launchTimestamp == 0 (#664)
OnlyGemsFinance.blockAccount(address) (#709-714) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)((block.timestamp - _launchTimestamp) < _blockedTimeLimit,OnlyGemsFinance: Time to block accounts has expired) (#711)
OnlyGemsFinanceDividendTracker.canAutoClaim(uint256) (#1116-1121) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1117)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1120)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#277-280) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#487-492) is never used and should be removed
SafeMath.div(uint256,uint256) (#145-147) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#149-155) is never used and should be removed
SafeMath.mod(uint256,uint256) (#157-159) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#161-164) is never used and should be removed
SafeMathInt.abs(int256) (#196-199) is never used and should be removed
SafeMathInt.div(int256,int256) (#179-185) is never used and should be removed
SafeMathInt.mul(int256,int256) (#171-178) is never used and should be removed
Remove unused functions.

Additional information: link

Function IRouter.WETH() (#51) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#474) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#477) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#480) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#483) is not in mixedCase
Constant DividendPayingToken.magnitude (#436) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter OnlyGemsFinance.setBaseFeesOnBuy(uint8,uint8,uint8,uint8,uint8,uint8)._liquidityFeeOnBuy (#769) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnBuy(uint8,uint8,uint8,uint8,uint8,uint8)._marketingFeeOnBuy (#769) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnBuy(uint8,uint8,uint8,uint8,uint8,uint8)._salaryFeeOnBuy (#769) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnBuy(uint8,uint8,uint8,uint8,uint8,uint8)._buyBackFeeOnBuy (#769) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnBuy(uint8,uint8,uint8,uint8,uint8,uint8)._stakingFeeOnBuy (#769) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnBuy(uint8,uint8,uint8,uint8,uint8,uint8)._holdersFeeOnBuy (#769) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnSell(uint8,uint8,uint8,uint8,uint8,uint8)._liquidityFeeOnSell (#773) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnSell(uint8,uint8,uint8,uint8,uint8,uint8)._marketingFeeOnSell (#773) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnSell(uint8,uint8,uint8,uint8,uint8,uint8)._salaryFeeOnSell (#773) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnSell(uint8,uint8,uint8,uint8,uint8,uint8)._buyBackFeeOnSell (#773) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnSell(uint8,uint8,uint8,uint8,uint8,uint8)._stakingFeeOnSell (#773) is not in mixedCase
Parameter OnlyGemsFinance.setBaseFeesOnSell(uint8,uint8,uint8,uint8,uint8,uint8)._holdersFeeOnSell (#773) is not in mixedCase
Constant OnlyGemsFinance._name (#519) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OnlyGemsFinance._symbol (#520) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OnlyGemsFinance._decimals (#521) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OnlyGemsFinance.initialSupply (#528) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OnlyGemsFinance._blockedTimeLimit (#568) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Reentrancy in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- _allowances[owner][spender] = amount (#420)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#421)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- StakingTokensSent(amountBNBStaking) (#1040)
- SwapAndLiquify(amountToSwap,amountBNBLiquidity,amountToLiquify) (#1035)
Reentrancy in OnlyGemsFinance._swapAndLiquify() (#1009-1048):
External calls:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
External calls sending eth:
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1034)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
State variables written after the call(s):
- _totalFee = totalFeePrior (#1047)
Event emitted after the call(s):
- DividendsSent(amountBNBHolders) (#1045)
Reentrancy in OnlyGemsFinance._transfer(address,address,uint256) (#832-895):
External calls:
- _swapAndLiquify() (#868)
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
External calls sending eth:
- _swapAndLiquify() (#868)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1064-1071)
- address(marketingWallet).transfer(amountBNBMarketing) (#1029)
- address(salaryWallet).transfer(amountBNBSalary) (#1030)
- address(buyBackWallet).transfer(amountBNBBuyBack) (#1031)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1043)
State variables written after the call(s):
- super._transfer(from,address(this),fee) (#880)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#392)
- _balances[recipient] = _balances[recipient].add(amount) (#393)
- super._transfer(from,to,amount) (#883)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#392)
- _balances[recipient] = _balances[recipient].add(amount) (#393)
- _swapping = false (#869)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#891)
- Transfer(sender,recipient,amount) (#394)
- super._transfer(from,address(this),fee) (#880)
- Transfer(sender,recipient,amount) (#394)
- super._transfer(from,to,amount) (#883)
Apply the check-effects-interactions pattern.

Additional information: link

OnlyGemsFinance.constructor() (#615-654) uses literals with too many digits:
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#640)
OnlyGemsFinance.slitherConstructorVariables() (#515-1073) uses literals with too many digits:
- minimumTokensBeforeSwap = initialSupply * 25 / 100000 (#534)
OnlyGemsFinance.slitherConstructorVariables() (#515-1073) uses literals with too many digits:
- gasForProcessing = 300000 (#535)
OnlyGemsFinance.slitherConstructorConstantVariables() (#515-1073) uses literals with too many digits:
- initialSupply = 100000000000 * (10 ** 9) (#528)
OnlyGemsFinanceDividendTracker.constructor() (#1092-1095) uses literals with too many digits:
- minimumTokenBalanceForDividends = 30000000000 * (10 ** 9) (#1094)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Holders:

Contract has 10% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Blog account (Reddit or Medium)


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 on CoinGecko

Additional information: link


Token was delisted from CoinHunt

Additional information: link


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find code repository for the project


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


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


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


Token has no active CoinGecko listing / rank


Young tokens have high risks of price dump / death

Price for OGEM

News for OGEM