RUSD is a decentralized stablecoin, the first stablecoin with auto-staking, which willreward its holders with multiple other tokens.
RUSD will establish a new standard in DeFi and in the way stablecoins work. The innovative approach to staking and the stability of the price (1 : 1 with USD) will make RUSD stand out from other types of stablecoins.
ERC20Detailed.______gap (contracts/RUSD-additional/ERC20Detailed.sol#49) shadows:
- Initializable.______gap (contracts/RUSD-additional/Initializable.sol#57)
Ownable.______gap (contracts/RUSD-additional/Ownable.sol#78) shadows:
- Initializable.______gap (contracts/RUSD-additional/Initializable.sol#57)
Remove the state variable shadowing.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Reentrancy in RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees) (contracts/RUSDFraction.sol#381-482):
External calls:
- rusdRewardContract._updateRewardsPerToken() (contracts/RUSDFraction.sol#473)
- rusdRewardContract._updateUserRewards(sender) (contracts/RUSDFraction.sol#474)
- rusdRewardContract._updateUserRewards(recipient) (contracts/RUSDFraction.sol#475)
Event emitted after the call(s):
- Transfer(sender,recipient,fracTo.div(_fracsPerRUSD)) (contracts/RUSDFraction.sol#477)
- Transfer(sender,developer,fracDeveloper.div(_fracsPerRUSD)) (contracts/RUSDFraction.sol#478)
- Transfer(sender,liquidityPool,fracLiquidity.div(_fracsPerRUSD)) (contracts/RUSDFraction.sol#479)
- Transfer(sender,poolAddress,poolFee.div(_fracsPerRUSD)) (contracts/RUSDFraction.sol#480)
- Transfer(sender,reflectoAdd,contractFee.div(_fracsPerRUSD)) (contracts/RUSDFraction.sol#481)
Reentrancy in RUSDFraction.rebase(uint256,int256) (contracts/RUSDFraction.sol#245-278):
External calls:
- rusdRewardContract._updateRewardsPerToken() (contracts/RUSDFraction.sol#275)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (contracts/RUSDFraction.sol#276)
Apply the check-effects-interactions pattern.
Additional information: link
Initializable.isConstructor() (contracts/RUSD-additional/Initializable.sol#33-54) uses assembly
- INLINE ASM (contracts/RUSD-additional/Initializable.sol#50-52)
RUSDFraction.getChainID() (contracts/RUSDFraction.sol#335-341) uses assembly
- INLINE ASM (contracts/RUSDFraction.sol#337-339)
RUSDFraction.DOMAIN_SEPARATOR() (contracts/RUSDFraction.sol#348-363) uses assembly
- INLINE ASM (contracts/RUSDFraction.sol#350-352)
Do not use evm assembly.
Additional information: link
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees).fracTo (contracts/RUSDFraction.sol#391) is a local variable never initialized
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees).poolFee (contracts/RUSDFraction.sol#392) is a local variable never initialized
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees).fracDeveloper (contracts/RUSDFraction.sol#389) is a local variable never initialized
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees).contractFee (contracts/RUSDFraction.sol#393) is a local variable never initialized
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees).fracLiquidity (contracts/RUSDFraction.sol#390) 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
RUSDFraction.convertTokenToBuyBack(address,address,address) (contracts/RUSDFraction.sol#715-731) ignores return value by IERC20(token).approve(routerAddress,amountIn) (contracts/RUSDFraction.sol#722)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20Detailed.initialize(string,string,uint8).name (contracts/RUSD-additional/ERC20Detailed.sol#19) shadows:
- ERC20Detailed.name() (contracts/RUSD-additional/ERC20Detailed.sol#31-33) (function)
ERC20Detailed.initialize(string,string,uint8).symbol (contracts/RUSD-additional/ERC20Detailed.sol#20) shadows:
- ERC20Detailed.symbol() (contracts/RUSD-additional/ERC20Detailed.sol#38-40) (function)
ERC20Detailed.initialize(string,string,uint8).decimals (contracts/RUSD-additional/ERC20Detailed.sol#21) shadows:
- ERC20Detailed.decimals() (contracts/RUSD-additional/ERC20Detailed.sol#45-47) (function)
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees).usersFees (contracts/RUSDFraction.sol#385) shadows:
- RUSDFraction.usersFees (contracts/RUSDFraction.sol#76) (state variable)
Rename the local variables that shadow another component.
Additional information: link
RUSDFraction.setSellLimit(uint256) (contracts/RUSDFraction.sol#194-196) should emit an event for:
- sellLimit = sellLimit_ (contracts/RUSDFraction.sol#195)
RUSDFraction.setBuySellFee(uint256,uint256,uint256,uint256) (contracts/RUSDFraction.sol#228-238) should emit an event for:
- buyBackPool = buyBackPool_ (contracts/RUSDFraction.sol#234)
- buyBackContract = buyBackContract_ (contracts/RUSDFraction.sol#235)
- sellBackPool = sellBackPool_ (contracts/RUSDFraction.sol#236)
- sellBackContract = sellBackContract_ (contracts/RUSDFraction.sol#237)
RUSDFraction.mint(address,uint256) (contracts/RUSDFraction.sol#365-369) should emit an event for:
- _totalSupply = _totalSupply.add(_value) (contracts/RUSDFraction.sol#368)
RUSDFraction.burn(address,uint256) (contracts/RUSDFraction.sol#371-379) should emit an event for:
- _totalSupply = _totalSupply.sub(_value) (contracts/RUSDFraction.sol#378)
Emit an event for critical parameter changes.
Additional information: link
Ownable.initialize(address).sender (contracts/RUSD-additional/Ownable.sol#23) lacks a zero-check on :
- _owner = sender (contracts/RUSD-additional/Ownable.sol#24)
RUSDFraction.setMonetaryPolicy(address).monetaryPolicy_ (contracts/RUSDFraction.sol#145) lacks a zero-check on :
- monetaryPolicy = monetaryPolicy_ (contracts/RUSDFraction.sol#146)
RUSDFraction.setDeveloperAddress(address).developer_ (contracts/RUSDFraction.sol#155) lacks a zero-check on :
- developer = developer_ (contracts/RUSDFraction.sol#156)
RUSDFraction.setLiquidityPool(address).liquidityPool_ (contracts/RUSDFraction.sol#160) lacks a zero-check on :
- liquidityPool = liquidityPool_ (contracts/RUSDFraction.sol#161)
RUSDFraction.setReflectoPoolAddress(address).poolAddress_ (contracts/RUSDFraction.sol#190) lacks a zero-check on :
- poolAddress = poolAddress_ (contracts/RUSDFraction.sol#191)
RUSDFraction.setReflectoContractAddress(address).reflectoAdd_ (contracts/RUSDFraction.sol#198) lacks a zero-check on :
- reflectoAdd = reflectoAdd_ (contracts/RUSDFraction.sol#202)
Check that the address is not zero.
Additional information: link
Reentrancy in RUSDFraction.transferFrom(address,address,uint256) (contracts/RUSDFraction.sol#571-601):
External calls:
- _transfer(from,to,value,usersFees[from]) (contracts/RUSDFraction.sol#580)
- rusdRewardContract._updateRewardsPerToken() (contracts/RUSDFraction.sol#473)
- rusdRewardContract._updateUserRewards(sender) (contracts/RUSDFraction.sol#474)
- rusdRewardContract._updateUserRewards(recipient) (contracts/RUSDFraction.sol#475)
- _transfer(from,to,value,usersFees[to]) (contracts/RUSDFraction.sol#582)
- rusdRewardContract._updateRewardsPerToken() (contracts/RUSDFraction.sol#473)
- rusdRewardContract._updateUserRewards(sender) (contracts/RUSDFraction.sol#474)
- rusdRewardContract._updateUserRewards(recipient) (contracts/RUSDFraction.sol#475)
- _transfer(from,to,value,uFees) (contracts/RUSDFraction.sol#594)
- rusdRewardContract._updateRewardsPerToken() (contracts/RUSDFraction.sol#473)
- rusdRewardContract._updateUserRewards(sender) (contracts/RUSDFraction.sol#474)
- rusdRewardContract._updateUserRewards(recipient) (contracts/RUSDFraction.sol#475)
State variables written after the call(s):
- _allowedFractions[from][msg.sender] = _allowedFractions[from][msg.sender].sub(value) (contracts/RUSDFraction.sol#597-599)
Apply the check-effects-interactions pattern.
Additional information: link
RUSDFraction._transfer(address,address,uint256,RUSDFraction.Fees) (contracts/RUSDFraction.sol#381-482) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > timeOfSell[sender] + 86400 (contracts/RUSDFraction.sol#395)
RUSDFraction.permit(address,address,uint256,uint256,bool,uint8,bytes32,bytes32) (contracts/RUSDFraction.sol#672-713) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(expiry == 0 || block.timestamp <= expiry,Reflecto/permit-expired) (contracts/RUSDFraction.sol#704-707)
Avoid relying on block.timestamp.
Additional information: link
RUSDFraction.removeProvider(IProviderPair) (contracts/RUSDFraction.sol#533-548) compares to a boolean constant:
-flag == true (contracts/RUSDFraction.sol#545)
Remove the equality to the boolean constant.
Additional information: link
RUSDFraction.removeProvider(IProviderPair) (contracts/RUSDFraction.sol#533-548) has costly operations inside a loop:
- providerPairs.pop() (contracts/RUSDFraction.sol#538)
Use a local variable to hold the loop computation result.
Additional information: link
CastU256U128.u128(uint256) (contracts/RUSD-additional/CastU256U128.sol#5-8) is never used and should be removed
CastU256U32.u32(uint256) (contracts/RUSD-additional/CastU256U32.sol#5-8) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/RUSD-additional/SafeMath.sol#61-64) is never used and should be removed
SafeMathInt.add(int256,int256) (contracts/RUSD-additional/SafeMathInt.sol#46-50) is never used and should be removed
SafeMathInt.div(int256,int256) (contracts/RUSD-additional/SafeMathInt.sol#26-32) is never used and should be removed
SafeMathInt.mul(int256,int256) (contracts/RUSD-additional/SafeMathInt.sol#14-21) is never used and should be removed
SafeMathInt.sub(int256,int256) (contracts/RUSD-additional/SafeMathInt.sol#37-41) is never used and should be removed
Remove unused functions.
Additional information: link
Variable ERC20Detailed.______gap (contracts/RUSD-additional/ERC20Detailed.sol#49) is not in mixedCase
Variable Initializable.______gap (contracts/RUSD-additional/Initializable.sol#57) is not in mixedCase
Variable Ownable.______gap (contracts/RUSD-additional/Ownable.sol#78) is not in mixedCase
Function IRUSDRewards._updateRewardsPerToken() (contracts/RUSDFraction.sol#39) is not in mixedCase
Function IRUSDRewards._updateUserRewards(address) (contracts/RUSDFraction.sol#41) is not in mixedCase
Parameter RUSDFraction.setRewardContract(IRUSDRewards)._rusdRewardContract (contracts/RUSDFraction.sol#165) is not in mixedCase
Parameter RUSDFraction.addProviderPair(IProviderPair)._providerPair (contracts/RUSDFraction.sol#240) is not in mixedCase
Parameter RUSDFraction.initialize(address,IRUSDRewards)._rusdRewardContract (contracts/RUSDFraction.sol#280) is not in mixedCase
Function RUSDFraction.DOMAIN_SEPARATOR() (contracts/RUSDFraction.sol#348-363) is not in mixedCase
Parameter RUSDFraction.mint(address,uint256)._to (contracts/RUSDFraction.sol#365) is not in mixedCase
Parameter RUSDFraction.mint(address,uint256)._value (contracts/RUSDFraction.sol#365) is not in mixedCase
Parameter RUSDFraction.burn(address,uint256)._to (contracts/RUSDFraction.sol#371) is not in mixedCase
Parameter RUSDFraction.burn(address,uint256)._value (contracts/RUSDFraction.sol#371) is not in mixedCase
Parameter RUSDFraction.removeProvider(IProviderPair)._providerPair (contracts/RUSDFraction.sol#533) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable RUSDFraction.removeProvider(IProviderPair)._providerPair (contracts/RUSDFraction.sol#533) is too similar to RUSDFraction.providerPairs (contracts/RUSDFraction.sol#98)
Variable RUSDFraction.addProviderPair(IProviderPair)._providerPair (contracts/RUSDFraction.sol#240) is too similar to RUSDFraction.providerPairs (contracts/RUSDFraction.sol#98)
Prevent variables from having similar names.
Additional information: link
RUSDFraction.initialize(address,IRUSDRewards) (contracts/RUSDFraction.sol#280-303) uses literals with too many digits:
- sellLimit = 200000000000 (contracts/RUSDFraction.sol#288)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (contracts/RUSD-additional/SafeMathInt.sol#9) is never used in SafeMathInt (contracts/RUSD-additional/SafeMathInt.sol#7-60)
Ownable.______gap (contracts/RUSD-additional/Ownable.sol#78) is never used in RUSDFraction (contracts/RUSDFraction.sol#44-732)
Remove unused state variables.
Additional information: link
symbol() should be declared external:
- ERC20Detailed.symbol() (contracts/RUSD-additional/ERC20Detailed.sol#38-40)
decimals() should be declared external:
- ERC20Detailed.decimals() (contracts/RUSD-additional/ERC20Detailed.sol#45-47)
owner() should be declared external:
- Ownable.owner() (contracts/RUSD-additional/Ownable.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/RUSD-additional/Ownable.sol#55-58)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/RUSD-additional/Ownable.sol#64-66)
setRewardContract(IRUSDRewards) should be declared external:
- RUSDFraction.setRewardContract(IRUSDRewards) (contracts/RUSDFraction.sol#165-170)
initialize(address,IRUSDRewards) should be declared external:
- RUSDFraction.initialize(address,IRUSDRewards) (contracts/RUSDFraction.sol#280-303)
increaseAllowance(address,uint256) should be declared external:
- RUSDFraction.increaseAllowance(address,uint256) (contracts/RUSDFraction.sol#632-646)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 3% buy tax and 3% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find KYC or doxxing proof
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
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Youtube account