Ronin Games is building a platform to bring together the best aspects of Crypto, Gaming, NFT’s and Betting. The RONIN token will serve as the native utility token on the platform, being used for, but not limited to, interacting with the games by purchasing upgrades and NFT”s, betting, voting/governance, staking, and more. In the initial phase of the Ronin Games platform development, the token will be subject to a tax which will be used to fund marketing, development and added to the liquidity pool. Once the platform goes live, all the taxes will be removed in their entirety. Ronin Games is currently engaging with several partners in the gaming industry and will be developing high-quality, high-resolution games never seen in the NFT and crypto gaming sector. We are also developing a range of so-called hyper casual games.
Contract creator or owner is blacklisted for past scams
Ronin.addLiquidity(uint256,uint256) (Ronin.sol#320-336) sends eth to arbitrary user
Dangerous calls:
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Ronin._transfer(address,address,uint256) (Ronin.sol#221-296):
External calls:
- swapAndLiquify(swapTokens) (Ronin.sol#270)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- address(marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (Ronin.sol#335)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
External calls sending eth:
- swapAndLiquify(swapTokens) (Ronin.sol#270)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (Ronin.sol#292)
- _balances[sender] = senderBalance - amount (ERC20.sol#233)
- _balances[recipient] += amount (ERC20.sol#235)
- super._transfer(from,to,amount) (Ronin.sol#295)
- _balances[sender] = senderBalance - amount (ERC20.sol#233)
- _balances[recipient] += amount (ERC20.sol#235)
- swapping = false (Ronin.sol#275)
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.
Ronin.isExemptFromSellPercentage(address) (Ronin.sol#213-219) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (Ronin.sol#216)
Ronin.isExemptFromSellPercentage(address) (Ronin.sol#213-219) has external calls inside a loop: valueOfHoldingsInBnb = uniswapV2Router.getAmountsOut(balanceOf(account),path) (Ronin.sol#217)
Ronin.swapTokensForEth(uint256) (Ronin.sol#338-358) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (Ronin.sol#344)
Ronin.swapTokensForEth(uint256) (Ronin.sol#338-358) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
Ronin.addLiquidity(uint256,uint256) (Ronin.sol#320-336) has external calls inside a loop: (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
Address.sendValue(address,uint256) (Address.sol#53-59) has external calls inside a loop: (success) = recipient.call{value: amount}() (Address.sol#57)
Ronin.swapAndSendToFee(uint256,address) (Ronin.sol#298-304) has external calls inside a loop: (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
Favor pull over push strategy for external calls.
Additional information: link
Ronin._transfer(address,address,uint256) (Ronin.sol#221-296) has costly operations inside a loop:
- swapping = true (Ronin.sol#267)
Ronin._transfer(address,address,uint256) (Ronin.sol#221-296) has costly operations inside a loop:
- swapping = false (Ronin.sol#275)
Use a local variable to hold the loop computation result.
Additional information: link
Ronin.setMaxSellPercentage(uint8) (Ronin.sol#144-147) should emit an event for:
- maxSellPercentage = value (Ronin.sol#146)
Ronin.setSellDelay(uint256) (Ronin.sol#149-152) should emit an event for:
- sellDelay = valueInSeconds (Ronin.sol#151)
Ronin.setBuyDelay(uint256) (Ronin.sol#154-157) should emit an event for:
- buyDelay = valueInSeconds (Ronin.sol#156)
Ronin.setTotalHoldingsToExempt(uint256) (Ronin.sol#159-161) should emit an event for:
- totalHoldingsToExempt = valueInWei (Ronin.sol#160)
Ronin.setLiquidityFee(uint256) (Ronin.sol#163-165) should emit an event for:
- liquidityFee = value (Ronin.sol#164)
Ronin.setMarketingFee(uint256) (Ronin.sol#167-169) should emit an event for:
- marketingFee = value (Ronin.sol#168)
Emit an event for critical parameter changes.
Additional information: link
Ronin.updateUniswapV2Router(address)._uniswapV2Pair (Ronin.sol#120) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (Ronin.sol#121)
Ronin.setMarketingWallet(address).wallet (Ronin.sol#139) lacks a zero-check on :
- marketingWalletAddress = wallet (Ronin.sol#141)
Check that the address is not zero.
Additional information: link
Reentrancy in Ronin._transfer(address,address,uint256) (Ronin.sol#221-296):
External calls:
- swapAndLiquify(swapTokens) (Ronin.sol#270)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- address(marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (Ronin.sol#335)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
External calls sending eth:
- swapAndLiquify(swapTokens) (Ronin.sol#270)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
State variables written after the call(s):
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- _allowances[owner][spender] = amount (ERC20.sol#312)
Reentrancy in Ronin.constructor() (Ronin.sol#70-92):
External calls:
- _uniswapV2Pair = ISwapFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Ronin.sol#73)
State variables written after the call(s):
- _mint(owner(),10_000_000_000 * 10 ** 18) (Ronin.sol#90)
- _balances[account] += amount (ERC20.sol#257)
- _mint(owner(),10_000_000_000 * 10 ** 18) (Ronin.sol#90)
- _totalSupply += amount (ERC20.sol#256)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Ronin.sol#78)
- automatedMarketMakerPairs[pair] = value (Ronin.sol#204)
- excludeFromFees(owner(),true) (Ronin.sol#81)
- isExcludedFromFees[account] = excluded (Ronin.sol#126)
- excludeFromFees(marketingWalletAddress,true) (Ronin.sol#82)
- isExcludedFromFees[account] = excluded (Ronin.sol#126)
- excludeFromFees(BURN_ADDRESS,true) (Ronin.sol#83)
- isExcludedFromFees[account] = excluded (Ronin.sol#126)
- excludeFromFees(address(this),true) (Ronin.sol#84)
- isExcludedFromFees[account] = excluded (Ronin.sol#126)
- maxTxAmount = totalSupply() / 500 (Ronin.sol#91)
- uniswapV2Pair = _uniswapV2Pair (Ronin.sol#76)
- uniswapV2Router = _uniswapV2Router (Ronin.sol#75)
Reentrancy in Ronin.swapAndLiquify(uint256) (Ronin.sol#306-318):
External calls:
- newBalance = swapTokensForEth(half) (Ronin.sol#312)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
- addLiquidity(otherHalf,newBalance) (Ronin.sol#315)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- address(marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (Ronin.sol#335)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (Ronin.sol#315)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (Ronin.sol#315)
- _allowances[owner][spender] = amount (ERC20.sol#312)
Reentrancy in Ronin.updateUniswapV2Router(address) (Ronin.sol#116-122):
External calls:
- _uniswapV2Pair = ISwapFactory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (Ronin.sol#120)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (Ronin.sol#121)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Ronin._transfer(address,address,uint256) (Ronin.sol#221-296):
External calls:
- swapAndLiquify(swapTokens) (Ronin.sol#270)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- address(marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (Ronin.sol#335)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
External calls sending eth:
- swapAndLiquify(swapTokens) (Ronin.sol#270)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#313)
- swapAndSendToFee(marketingTokens,marketingWalletAddress) (Ronin.sol#273)
- Transfer(sender,recipient,amount) (ERC20.sol#237)
- super._transfer(from,address(this),fees) (Ronin.sol#292)
- Transfer(sender,recipient,amount) (ERC20.sol#237)
- super._transfer(from,to,amount) (Ronin.sol#295)
Reentrancy in Ronin.constructor() (Ronin.sol#70-92):
External calls:
- _uniswapV2Pair = ISwapFactory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Ronin.sol#73)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (Ronin.sol#128)
- excludeFromFees(marketingWalletAddress,true) (Ronin.sol#82)
- ExcludeFromFees(account,excluded) (Ronin.sol#128)
- excludeFromFees(owner(),true) (Ronin.sol#81)
- ExcludeFromFees(account,excluded) (Ronin.sol#128)
- excludeFromFees(address(this),true) (Ronin.sol#84)
- ExcludeFromFees(account,excluded) (Ronin.sol#128)
- excludeFromFees(BURN_ADDRESS,true) (Ronin.sol#83)
- SetAutomatedMarketMakerPair(pair,value) (Ronin.sol#206)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Ronin.sol#78)
- Transfer(address(0),account,amount) (ERC20.sol#258)
- _mint(owner(),10_000_000_000 * 10 ** 18) (Ronin.sol#90)
Reentrancy in Ronin.swapAndLiquify(uint256) (Ronin.sol#306-318):
External calls:
- newBalance = swapTokensForEth(half) (Ronin.sol#312)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Ronin.sol#349-355)
- addLiquidity(otherHalf,newBalance) (Ronin.sol#315)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
- address(marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (Ronin.sol#335)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (Ronin.sol#315)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Ronin.sol#326-333)
- (success) = recipient.call{value: amount}() (Address.sol#57)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#313)
- addLiquidity(otherHalf,newBalance) (Ronin.sol#315)
- SwapAndLiquify(half,newBalance,otherHalf) (Ronin.sol#317)
Apply the check-effects-interactions pattern.
Additional information: link
Ronin.blacklistAddress(address,bool) (Ronin.sol#186-189) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp < launchedAt + 1800,Ronin: Can't blacklist, out of time) (Ronin.sol#187)
Ronin._transfer(address,address,uint256) (Ronin.sol#221-296) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(isBlacklistedUntil[from] < block.timestamp && isBlacklistedUntil[to] < block.timestamp,Ronin: Blacklisted address) (Ronin.sol#229)
- ! isExcludedFromFees[from] && (! isExemptFromSellPercentage(from) || block.timestamp - lastSellTime[from] <= sellDelay) (Ronin.sol#237)
- block.timestamp - lastSellTime[from] <= sellDelay (Ronin.sol#241)
- require(bool,string)(block.timestamp - lastBuyTime[to] >= buyDelay,Ronin: Wait until buy delay is up to buy again) (Ronin.sol#251)
- canSwap = contractTokenBalance >= swapTokensAtAmount && launchedAt + 10 < block.timestamp && tradingOpened (Ronin.sol#259)
- canSwap && ! swapping && ! automatedMarketMakerPairs[from] && from != owner() && to != owner() (Ronin.sol#261-265)
- launchedAt + 10 < block.timestamp (Ronin.sol#286)
Ronin.addLiquidity(uint256,uint256) (Ronin.sol#320-336) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (Ronin.sol#334)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (Address.sol#26-35) uses assembly
- INLINE ASM (Address.sol#33)
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#119-140) uses assembly
- INLINE ASM (Address.sol#132-135)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.4', '^0.8.7']
- ^0.8.4 (Address.sol#3)
- ^0.8.4 (Context.sol#3)
- ^0.8.4 (ERC20.sol#3)
- ^0.8.4 (IERC20.sol#3)
- ^0.8.4 (IERC20Metadata.sol#3)
- ^0.8.4 (Ownable.sol#3)
- ^0.8.4 (ReentrancyGuard.sol#3)
- ^0.8.7 (Ronin.sol#4)
- ^0.8.4 (RoninShared.sol#3)
- ^0.8.4 (SwapInterfaces.sol#3)
Use one Solidity version.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#119-140) is never used and should be removed
Address.functionCall(address,bytes) (Address.sol#79-81) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#89-91) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#104-106) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#114-117) is never used and should be removed
Address.isContract(address) (Address.sol#26-35) is never used and should be removed
Context._msgData() (Context.sol#10-13) is never used and should be removed
ERC20._burn(address,uint256) (ERC20.sol#274-289) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (Address.sol#53-59):
- (success) = recipient.call{value: amount}() (Address.sol#57)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#119-140):
- (success,returndata) = target.call{value: weiValue}(data) (Address.sol#123)
Low level call in Ronin.swapAndSendToFee(uint256,address) (Ronin.sol#298-304):
- (success) = feeAddress.call{value: newBalance}() (Ronin.sol#302)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter Ronin.toggleTrading(bool)._tradingOpened (Ronin.sol#196) is not in mixedCase
Function ISwapPair.DOMAIN_SEPARATOR() (SwapInterfaces.sol#37) is not in mixedCase
Function ISwapPair.PERMIT_TYPEHASH() (SwapInterfaces.sol#38) is not in mixedCase
Function ISwapPair.MINIMUM_LIQUIDITY() (SwapInterfaces.sol#55) is not in mixedCase
Function ISwapRouter01.WETH() (SwapInterfaces.sol#75) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#11)" inContext (Context.sol#5-15)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable ISwapRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (SwapInterfaces.sol#80) is too similar to ISwapRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (SwapInterfaces.sol#81)
Prevent variables from having similar names.
Additional information: link
Ronin.slitherConstructorConstantVariables() (Ronin.sol#17-360) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (Ronin.sol#26)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (Ownable.sol#21) is never used in Ronin (Ronin.sol#17-360)
Ownable._lockTime (Ownable.sol#22) is never used in Ronin (Ronin.sol#17-360)
Remove unused state variables.
Additional information: link
Ownable._lockTime (Ownable.sol#22) should be constant
Ownable._previousOwner (Ownable.sol#21) should be constant
Ronin.feeDenominator (Ronin.sol#43) should be constant
Ronin.swapTokensAtAmount (Ronin.sol#28) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (ERC20.sol#61-63)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#69-71)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#86-88)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#112-115)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#120-122)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#131-134)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#149-163)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#177-180)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#196-204)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#57-60)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#66-70)
updateUniswapV2Router(address) should be declared external:
- Ronin.updateUniswapV2Router(address) (Ronin.sol#116-122)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- Ronin.excludeMultipleAccountsFromFees(address[],bool) (Ronin.sol#131-137)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Ronin.setAutomatedMarketMakerPair(address,bool) (Ronin.sol#180-184)
excludedFromFees(address) should be declared external:
- Ronin.excludedFromFees(address) (Ronin.sol#209-211)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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
Twitter account link seems to be invalid
Unable to find Youtube account