RiceFarm Token Logo

RICE [RiceFarm] Token

About RICE

Listings

Token 15 months
CoinMarketCap 14 months
white paper

Rice Farm is an hyperdeflationary Decentralized Exchange and Farm token. It has pools, farms and vaults and will continue to build out its infrastructure in order to bridge over to Ethereum, Matic and Solana. Rice main goal is to be the DEX on the Fuzion Super Blockchain.

Social

Laser Scorebeta Last Audit: 30 November 2021

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

Anti-Scam

Links


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

RiceToken.addLiquidity(uint256,uint256) (contracts/RiceToken.sol#209-222) sends eth to arbitrary user
Dangerous calls:
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in RiceToken._transfer(address,address,uint256) (contracts/RiceToken.sol#109-142):
External calls:
- swapAndLiquify() (contracts/RiceToken.sol#119)
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
- riceRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/RiceToken.sol#199-205)
External calls sending eth:
- swapAndLiquify() (contracts/RiceToken.sol#119)
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (contracts/RiceToken.sol#123)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (contracts/libs/BEP20.sol#239)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/libs/BEP20.sol#240)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (contracts/RiceToken.sol#136)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (contracts/libs/BEP20.sol#239)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/libs/BEP20.sol#240)
- super._transfer(sender,address(this),liquidityAmount) (contracts/RiceToken.sol#138)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (contracts/libs/BEP20.sol#239)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/libs/BEP20.sol#240)
- super._transfer(sender,recipient,sendAmount) (contracts/RiceToken.sol#139)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (contracts/libs/BEP20.sol#239)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/libs/BEP20.sol#240)
Apply the check-effects-interactions pattern.

Additional information: link

RiceToken._writeCheckpoint(address,uint32,uint256,uint256) (contracts/RiceToken.sol#557-575) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (contracts/RiceToken.sol#567)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

RiceToken._transfer(address,address,uint256) (contracts/RiceToken.sol#109-142) performs a multiplication on the result of a division:
-taxAmount = amount.mul(transferTaxRate).div(10000) (contracts/RiceToken.sol#126)
-burnAmount = taxAmount.mul(burnRate).div(100) (contracts/RiceToken.sol#127)
Consider ordering multiplication before division.

Additional information: link

RiceToken.addLiquidity(uint256,uint256) (contracts/RiceToken.sol#209-222) ignores return value by riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
Ensure that all the return values of the function calls are used.

Additional information: link

BEP20._approve(address,address,uint256).owner (contracts/libs/BEP20.sol#294) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
Rename the local variables that shadow another component.

Additional information: link

RiceToken.burn(uint256) (contracts/RiceToken.sol#151-154) should emit an event for:
- burned += amount (contracts/RiceToken.sol#153)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in RiceToken.swapAndLiquify() (contracts/RiceToken.sol#157-187):
External calls:
- swapTokensForEth(half) (contracts/RiceToken.sol#177)
- riceRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/RiceToken.sol#199-205)
- addLiquidity(otherHalf,newBalance) (contracts/RiceToken.sol#183)
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/RiceToken.sol#183)
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/RiceToken.sol#183)
- _allowances[owner][spender] = amount (contracts/libs/BEP20.sol#301)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RiceToken.swapAndLiquify() (contracts/RiceToken.sol#157-187):
External calls:
- swapTokensForEth(half) (contracts/RiceToken.sol#177)
- riceRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/RiceToken.sol#199-205)
- addLiquidity(otherHalf,newBalance) (contracts/RiceToken.sol#183)
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/RiceToken.sol#183)
- riceRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (contracts/RiceToken.sol#214-221)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/libs/BEP20.sol#302)
- addLiquidity(otherHalf,newBalance) (contracts/RiceToken.sol#183)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/RiceToken.sol#185)
Apply the check-effects-interactions pattern.

Additional information: link

RiceToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (contracts/RiceToken.sol#423-464) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,RICE::delegateBySig: signature expired) (contracts/RiceToken.sol#462)
Avoid relying on block.timestamp.

Additional information: link

RiceToken.getChainId() (contracts/RiceToken.sol#582-586) uses assembly
- INLINE ASM (contracts/RiceToken.sol#584)
Do not use evm assembly.

Additional information: link

RiceToken.antiWhale(address,address,uint256) (contracts/RiceToken.sol#63-73) compares to a boolean constant:
-_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false (contracts/RiceToken.sol#66-67)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- >=0.6.2<0.8.0 (@openzeppelin/contracts/utils/Address.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- >=0.5.0 (@ricefarm/rice-core/contracts/interfaces/IRiceFactory.sol#1)
- >=0.5.0 (@ricefarm/rice-core/contracts/interfaces/IRicePair.sol#1)
- >=0.6.2 (@ricefarm/rice-periphery/contracts/interfaces/IRiceRouter01.sol#1)
- >=0.6.2 (@ricefarm/rice-periphery/contracts/interfaces/IRiceRouter02.sol#1)
- 0.6.12 (contracts/RiceToken.sol#3)
- >=0.4.0 (contracts/libs/BEP20.sol#3)
- >=0.4.0 (contracts/libs/IBEP20.sol#3)
Use one Solidity version.

Additional information: link

SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#35-38) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>=0.4.0 (contracts/libs/IBEP20.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

Low level call in Address.functionDelegateCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#163-169):
- (success,returndata) = target.delegatecall(data) (@openzeppelin/contracts/utils/Address.sol#167)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable RiceToken._delegates (contracts/RiceToken.sol#365) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (@openzeppelin/contracts/utils/Context.sol#21)" inContext (@openzeppelin/contracts/utils/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IRiceRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (@ricefarm/rice-periphery/contracts/interfaces/IRiceRouter01.sol#10) is too similar to IRiceRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (@ricefarm/rice-periphery/contracts/interfaces/IRiceRouter01.sol#11)
Prevent variables from having similar names.

Additional information: link

RiceToken.slitherConstructorConstantVariables() (contracts/RiceToken.sol#12-588) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (contracts/RiceToken.sol#26)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

mint(uint256) should be declared external:
- BEP20.mint(uint256) (contracts/libs/BEP20.sol#212-215)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

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 scam / price dump / death


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


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for RICE