RXC Games is a gaming platform that is using RXC Games (RXCG) token built on Binance Smart Chain, native token of RXC Games platform. What started as a friendly bet on a games night, continued to be an idea and at the end turned out to be online casino up to date with the latest games including live games, with the number of over 5000 games. We are fully licensed with around 70 top providers including Playtech, Microgaming, Playson, Konami and others. Our team is currently made of CEO, two CFOs, CTO with additional 3 developers, and a CM.
RXCGames.contractSwap(uint256) (#581-621) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RXCGames._transfer(address,address,uint256) (#550-579):
External calls:
- contractSwap(contractTokenBalance) (#574)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#597-603)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- antiSnipe.checkUser(from,to,amount) (#661-665)
External calls sending eth:
- contractSwap(contractTokenBalance) (#574)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
State variables written after the call(s):
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- _liquidityHolders[from] = true (#626)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- _tOwned[address(this)] += feeAmount (#692)
- _tOwned[from] -= amount (#672)
- _tOwned[to] += amountReceived (#674)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- contractSwapEnabled = true (#631)
Reentrancy in RXCGames.transferOwner(address) (#343-356):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#350)
- antiSnipe.checkUser(from,to,amount) (#661-665)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#597-603)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#350)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
State variables written after the call(s):
- _owner = newOwner (#353)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
RXCGames.setLpPair(address,bool) (#432-444) compares to a boolean constant:
-enabled == false (#433)
Remove the equality to the boolean constant.
Additional information: link
Function IUniswapV2Router01.WETH() (#126) is not in mixedCase
Parameter RXCGames.setProtectionSettings(bool,bool,bool,bool)._antiSnipe (#485) is not in mixedCase
Parameter RXCGames.setProtectionSettings(bool,bool,bool,bool)._antiGas (#485) is not in mixedCase
Parameter RXCGames.setProtectionSettings(bool,bool,bool,bool)._antiBlock (#485) is not in mixedCase
Parameter RXCGames.setProtectionSettings(bool,bool,bool,bool)._algo (#485) is not in mixedCase
Parameter RXCGames.setContractSwapEnabled(bool)._enabled (#519) is not in mixedCase
Constant RXCGames._name (#224) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RXCGames._symbol (#225) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RXCGames._taxRates (#247-251) is not in mixedCase
Variable RXCGames._ratios (#253-257) is not in mixedCase
Variable RXCGames._hasLiqBeenAdded (#287) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in RXCGames.enableTrading() (#636-644):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#642)
State variables written after the call(s):
- tradingEnabled = true (#643)
Apply the check-effects-interactions pattern.
Additional information: link
RXCGames._finalizeTransfer(address,address,uint256,bool).checked (#660) is a local variable never initialized
RXCGames._finalizeTransfer(address,address,uint256,bool).check (#661) 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
RXCGames.contractSwap(uint256) (#581-621) ignores return value by dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
RXCGames._finalizeTransfer(address,address,uint256,bool) (#651-678) ignores return value by antiSnipe.checkUser(from,to,amount) (#661-665)
Ensure that all the return values of the function calls are used.
Additional information: link
RXCGames.setSwapSettings(uint256,uint256,uint256,uint256) (#510-513) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#511)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#512)
Emit an event for critical parameter changes.
Additional information: link
RXCGames.changeRouterContingency(address).router (#446) lacks a zero-check on :
- _routerAddress = router (#448)
RXCGames.setWallets(address).marketingWallet (#515) lacks a zero-check on :
- _marketingWallet = address(marketingWallet) (#516)
Check that the address is not zero.
Additional information: link
Variable 'RXCGames._finalizeTransfer(address,address,uint256,bool).check (#661)' in RXCGames._finalizeTransfer(address,address,uint256,bool) (#651-678) potentially used before declaration: checked = check (#662)
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 RXCGames._finalizeTransfer(address,address,uint256,bool) (#651-678):
External calls:
- antiSnipe.checkUser(from,to,amount) (#661-665)
State variables written after the call(s):
- _tOwned[from] -= amount (#672)
- _tOwned[to] += amountReceived (#674)
- amountReceived = takeTaxes(from,to,amount) (#673)
- _tOwned[address(this)] += feeAmount (#692)
Reentrancy in RXCGames.constructor() (#311-330):
External calls:
- lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#318)
State variables written after the call(s):
- _approve(msg.sender,_routerAddress,type()(uint256).max) (#321)
- _allowances[sender][spender] = amount (#392)
- _approve(address(this),_routerAddress,type()(uint256).max) (#322)
- _allowances[sender][spender] = amount (#392)
- _isExcludedFromFees[owner()] = true (#324)
- _isExcludedFromFees[address(this)] = true (#325)
- _isExcludedFromFees[DEAD] = true (#326)
- _liquidityHolders[owner()] = true (#327)
- lpPairs[lpPair] = true (#319)
Reentrancy in RXCGames.setNewRouter(address) (#419-430):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#423)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#429)
- _allowances[sender][spender] = amount (#392)
- dexRouter = _newRouter (#428)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RXCGames._finalizeTransfer(address,address,uint256,bool) (#651-678):
External calls:
- antiSnipe.checkUser(from,to,amount) (#661-665)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#693)
- amountReceived = takeTaxes(from,to,amount) (#673)
- Transfer(from,to,amountReceived) (#676)
Reentrancy in RXCGames._transfer(address,address,uint256) (#550-579):
External calls:
- contractSwap(contractTokenBalance) (#574)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#597-603)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- antiSnipe.checkUser(from,to,amount) (#661-665)
External calls sending eth:
- contractSwap(contractTokenBalance) (#574)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#632)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- Transfer(from,address(this),feeAmount) (#693)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- Transfer(from,to,amountReceived) (#676)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
Reentrancy in RXCGames.constructor() (#311-330):
External calls:
- lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#318)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#393)
- _approve(msg.sender,_routerAddress,type()(uint256).max) (#321)
- Approval(sender,spender,amount) (#393)
- _approve(address(this),_routerAddress,type()(uint256).max) (#322)
- Transfer(address(0),_msgSender(),_tTotal) (#329)
Reentrancy in RXCGames.contractSwap(uint256) (#581-621):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#597-603)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
External calls sending eth:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
Event emitted after the call(s):
- SwapAndLiquify(toLiquify,liquidityBalance,toLiquify) (#616)
Reentrancy in RXCGames.setNewRouter(address) (#419-430):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#423)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#393)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#429)
Reentrancy in RXCGames.transferOwner(address) (#343-356):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#350)
- antiSnipe.checkUser(from,to,amount) (#661-665)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#597-603)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#350)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#354)
Apply the check-effects-interactions pattern.
Additional information: link
RXCGames.setLpPair(address,bool) (#432-444) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#437)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,3 Day cooldown.!) (#438)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
Remove unused functions.
Additional information: link
RXCGames._tTotal (#268) is set pre-construction with a non-constant function or state variable:
- startingSupply * 10 ** _decimals
RXCGames._rTotal (#269) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
RXCGames.swapThreshold (#283) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 10000
RXCGames.swapAmount (#284) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 1000
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.0<0.9.0 (#2) is too complex
solc-0.8.10 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Reentrancy in RXCGames._transfer(address,address,uint256) (#550-579):
External calls:
- contractSwap(contractTokenBalance) (#574)
- _marketingWallet.transfer(address(this).balance) (#619)
External calls sending eth:
- contractSwap(contractTokenBalance) (#574)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
State variables written after the call(s):
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- _hasLiqBeenAdded = true (#627)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- _liquidityHolders[from] = true (#626)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- _tOwned[address(this)] += feeAmount (#692)
- _tOwned[from] -= amount (#672)
- _tOwned[to] += amountReceived (#674)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- antiSnipe = AntiSnipe(address(this)) (#629)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- contractSwapEnabled = true (#631)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#632)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- Transfer(from,address(this),feeAmount) (#693)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
- Transfer(from,to,amountReceived) (#676)
- _finalizeTransfer(from,to,amount,takeFee) (#578)
Reentrancy in RXCGames.transferOwner(address) (#343-356):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#350)
- _marketingWallet.transfer(address(this).balance) (#619)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#350)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#608-615)
- _marketingWallet.transfer(address(this).balance) (#619)
State variables written after the call(s):
- _owner = newOwner (#353)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#354)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#130) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#131)
Prevent variables from having similar names.
Additional information: link
RXCGames.slitherConstructorConstantVariables() (#204-698) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#277)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RXCGames._rOwned (#208) is never used in RXCGames (#204-698)
RXCGames._isExcluded (#215) is never used in RXCGames (#204-698)
RXCGames._excluded (#216) is never used in RXCGames (#204-698)
RXCGames._rTotal (#269) is never used in RXCGames (#204-698)
Remove unused state variables.
Additional information: link
RXCGames._decimals (#226) should be constant
RXCGames.allowedPresaleExclusion (#219) should be constant
RXCGames.startingSupply (#222) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- RXCGames.renounceOwnership() (#358-362)
transfer(address,uint256) should be declared external:
- RXCGames.transfer(address,uint256) (#378-381)
approve(address,uint256) should be declared external:
- RXCGames.approve(address,uint256) (#383-386)
approveContractContingency() should be declared external:
- RXCGames.approveContractContingency() (#396-399)
increaseAllowance(address,uint256) should be declared external:
- RXCGames.increaseAllowance(address,uint256) (#409-412)
decreaseAllowance(address,uint256) should be declared external:
- RXCGames.decreaseAllowance(address,uint256) (#414-417)
setNewRouter(address) should be declared external:
- RXCGames.setNewRouter(address) (#419-430)
getCirculatingSupply() should be declared external:
- RXCGames.getCirculatingSupply() (#451-453)
isExcludedFromFees(address) should be declared external:
- RXCGames.isExcludedFromFees(address) (#455-457)
isBlacklisted(address) should be declared external:
- RXCGames.isBlacklisted(address) (#473-475)
getSniperAmt() should be declared external:
- RXCGames.getSniperAmt() (#477-479)
setContractSwapEnabled(bool) should be declared external:
- RXCGames.setContractSwapEnabled(bool) (#519-522)
enableTrading() should be declared external:
- RXCGames.enableTrading() (#636-644)
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.
Token is deployed only at one blockchain
Contract has 3% buy tax and 5% sell tax.
Taxes are low and contract ownership is renounced.
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
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account