RUYI Token Logo

RUYI Token

About RUYI

Listings

Token 2 years
CoinMarketCap 2 years
[CoinMarketCap] alert: Ruyi has migrated from old contract to new contract. For more details, kindly check the official announcement here.
[CoinGecko] alert: Ruyi has renamed its ticker from RYB to RUYI following a migration from the old contract to a new one.
white paper

Launched on 20/01/2022, by a team based in Singapore, Ruyi wallet aims to bridge the gap between CeFi and DeFi. This is a hybrid one-stop-shop cryptocurrency wallet that can be used for billing, utilities, point of sale, payroll, remittance, messaging, and C2C transactions. It will eliminate the need to do multiple transfers of digital assets which will lessen the transaction fee, avoid potential errors, and block potential security risks. Bid your goodbyes to unnecessary multiple hard-to-use haphazard applications that take up so much of our time. Ruyi solves all of that with a hassle-free, seamless, secure, and easy to use wallet.

Social

Laser Scorebeta Last Audit: 18 February 2022

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


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

Ownable.transferOwnership(address) (#349-355) should emit an event for:
- newOwner = _newOwner (#354)
Emit an event for critical parameter changes.

Additional information: link

RUYI.constructor(address,address,address) (#792-825) ignores return value by IERC20(BUSD).approve(address(router),type()(uint256).max) (#814)
RUYI._transfer(address,address,uint256) (#953-989) ignores return value by antisnipe.onPreTransferCheck(sender,recipient,amount) (#978)
Ensure that all the return values of the function calls are used.

Additional information: link

Reentrancy in RUYI._transfer(address,address,uint256) (#953-989):
External calls:
- antisnipe.onPreTransferCheck(sender,recipient,amount) (#978)
State variables written after the call(s):
- _tokenTransferStandard(sender,recipient,amount) (#982)
- _tOwned[sender] -= amount (#1055)
- _tOwned[StakingPool] += StakingPoolAmount (#1057)
- _tOwned[MarketingWallet] += marketingAmount (#1058)
- _tOwned[LiquifyWallet] += AddToLiquidityAmount (#1059)
- _tOwned[recipient] += amount - (StakingPoolAmount + marketingAmount + AddToLiquidityAmount) (#1061)
- _tOwned[sender] -= amount (#984)
- _tOwned[recipient] += amount (#985)
Apply the check-effects-interactions pattern.

Additional information: link

RUYI.allowance(address,address).owner (#856) shadows:
- Ownable.owner() (#314-316) (function)
RUYI._approve(address,address,uint256).owner (#942) shadows:
- Ownable.owner() (#314-316) (function)
Rename the local variables that shadow another component.

Additional information: link

RUYI.setStakingBuyPoolTax(uint256) (#1005-1008) should emit an event for:
- StakingBuyPoolTax = _stakingTax (#1006)
RUYI.setLiquidityBuyPoolTax(uint256) (#1010-1013) should emit an event for:
- LiquidityBuyPoolTax = _liquidityPoolTax (#1011)
RUYI.marketingBuyTax(uint256) (#1015-1018) should emit an event for:
- MarketingBuyTax = _marketingTax (#1016)
RUYI.setStakingSellPoolTax(uint256) (#1020-1023) should emit an event for:
- StakingSellPoolTax = _stakingTax (#1021)
RUYI.setLiquiditySellPoolTax(uint256) (#1025-1028) should emit an event for:
- LiquiditySellPoolTax = _liquidityPoolTax (#1026)
RUYI.marketingSellTax(uint256) (#1030-1033) should emit an event for:
- MarketingSellTax = _marketingTax (#1031)
Emit an event for critical parameter changes.

Additional information: link

RUYI.constructor(address,address,address)._MarketingWallet (#794) lacks a zero-check on :
- MarketingWallet = _MarketingWallet (#797)
RUYI.constructor(address,address,address)._stakingPool (#793) lacks a zero-check on :
- StakingPool = _stakingPool (#798)
RUYI.constructor(address,address,address)._LiquifyWallet (#795) lacks a zero-check on :
- LiquifyWallet = _LiquifyWallet (#799)
RUYI.setLiquidityWallet(address)._address (#992) lacks a zero-check on :
- LiquifyWallet = _address (#993)
RUYI.setStakingAddress(address)._pool (#996) lacks a zero-check on :
- StakingPool = _pool (#997)
RUYI.setMarketingWallet(address)._address (#1000) lacks a zero-check on :
- MarketingWallet = _address (#1001)
Check that the address is not zero.

Additional information: link

Reentrancy in RUYI.constructor(address,address,address) (#792-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),BUSD) (#804-805)
- uniswapV2BnbPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),WBNB) (#807-808)
State variables written after the call(s):
- _approve(address(this),address(router),type()(uint256).max) (#813)
- _allowances[owner][spender] = amount (#949)
- uniswapV2BnbPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),WBNB) (#807-808)
- uniswapV2Router = _uniswapV2Router (#811)
Reentrancy in RUYI.constructor(address,address,address) (#792-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),BUSD) (#804-805)
- uniswapV2BnbPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),WBNB) (#807-808)
- IERC20(BUSD).approve(address(router),type()(uint256).max) (#814)
State variables written after the call(s):
- _isExcludedFromFee[address(this)] = true (#817)
- antisnipe = IAntiSnipe(0xc5d1A68ac97f30e5977222Fec331CAe7bE667EC7) (#819)
Reentrancy in RUYI.constructor(address,address,address) (#792-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),BUSD) (#804-805)
- uniswapV2BnbPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),WBNB) (#807-808)
- IERC20(BUSD).approve(address(router),type()(uint256).max) (#814)
- antisnipe.setTokenOwner(msg.sender,address(this),uniswapV2Pair) (#820)
- antisnipe.addPair(uniswapV2BnbPair) (#821)
State variables written after the call(s):
- _tOwned[msg.sender] = Total (#823)
Reentrancy in RUYI.transferFrom(address,address,uint256) (#874-886):
External calls:
- _transfer(sender,recipient,amount) (#879)
- antisnipe.onPreTransferCheck(sender,recipient,amount) (#978)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#880-884)
- _allowances[owner][spender] = amount (#949)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RUYI._transfer(address,address,uint256) (#953-989):
External calls:
- antisnipe.onPreTransferCheck(sender,recipient,amount) (#978)
Event emitted after the call(s):
- Transfer(sender,StakingPool,StakingPoolAmount) (#1063)
- _tokenTransferStandard(sender,recipient,amount) (#982)
- Transfer(sender,MarketingWallet,marketingAmount) (#1064)
- _tokenTransferStandard(sender,recipient,amount) (#982)
- Transfer(sender,LiquifyWallet,AddToLiquidityAmount) (#1065)
- _tokenTransferStandard(sender,recipient,amount) (#982)
- Transfer(sender,recipient,amount) (#1066)
- _tokenTransferStandard(sender,recipient,amount) (#982)
- Transfer(sender,recipient,amount) (#987)
Reentrancy in RUYI.constructor(address,address,address) (#792-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),BUSD) (#804-805)
- uniswapV2BnbPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),WBNB) (#807-808)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#950)
- _approve(address(this),address(router),type()(uint256).max) (#813)
Reentrancy in RUYI.constructor(address,address,address) (#792-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),BUSD) (#804-805)
- uniswapV2BnbPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),WBNB) (#807-808)
- IERC20(BUSD).approve(address(router),type()(uint256).max) (#814)
- antisnipe.setTokenOwner(msg.sender,address(this),uniswapV2Pair) (#820)
- antisnipe.addPair(uniswapV2BnbPair) (#821)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),Total) (#824)
Reentrancy in RUYI.transferFrom(address,address,uint256) (#874-886):
External calls:
- _transfer(sender,recipient,amount) (#879)
- antisnipe.onPreTransferCheck(sender,recipient,amount) (#978)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#950)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#880-884)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#380-388) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked ) (#385)
RUYI._transfer(address,address,uint256) (#953-989) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < lockTime && ! antiSnipeWhitelist[recipient] (#969)
- block.timestamp < lockTime && antiSnipeWhitelist[recipient] (#973)
- block.timestamp < lockTime + 90 (#977)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#86-97) uses assembly
- INLINE ASM (#93-95)
Address._functionCallWithValue(address,bytes,uint256,string) (#178-206) uses assembly
- INLINE ASM (#198-201)
Do not use evm assembly.

Additional information: link

Address.functionCall(address,bytes) (#113-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#145-157) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#165-176) is never used and should be removed
Address.sendValue(address,uint256) (#99-111) is never used and should be removed
Context._msgData() (#76-79) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (#242-251) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (#223-233) is never used and should be removed
Remove unused functions.

Additional information: link

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

Low level call in Address.sendValue(address,uint256) (#99-111):
- (success) = recipient.call{value: amount}() (#106)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#178-206):
- (success,returndata) = target.call{value: weiValue}(data) (#187-189)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter Ownable.transferOwnership(address)._newOwner (#349) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#454) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#456) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#487) is not in mixedCase
Function IUniswapV2Router01.WETH() (#533) is not in mixedCase
Parameter RUYI.setLiquidityWallet(address)._address (#992) is not in mixedCase
Parameter RUYI.setStakingAddress(address)._pool (#996) is not in mixedCase
Parameter RUYI.setMarketingWallet(address)._address (#1000) is not in mixedCase
Parameter RUYI.setStakingBuyPoolTax(uint256)._stakingTax (#1005) is not in mixedCase
Parameter RUYI.setLiquidityBuyPoolTax(uint256)._liquidityPoolTax (#1010) is not in mixedCase
Parameter RUYI.marketingBuyTax(uint256)._marketingTax (#1015) is not in mixedCase
Parameter RUYI.setStakingSellPoolTax(uint256)._stakingTax (#1020) is not in mixedCase
Parameter RUYI.setLiquiditySellPoolTax(uint256)._liquidityPoolTax (#1025) is not in mixedCase
Parameter RUYI.marketingSellTax(uint256)._marketingTax (#1030) is not in mixedCase
Parameter RUYI.addToAntiSniperWhitelist(address)._address (#1069) is not in mixedCase
Parameter RUYI.removeFromAntiSniperWhitelist(address)._address (#1078) is not in mixedCase
Parameter RUYI.isAddedToAntiSniperWhitelist(address)._address (#1097) is not in mixedCase
Constant RUYI._name (#756) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RUYI._symbol (#757) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RUYI._decimals (#758) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RUYI.Total (#759) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RUYI.LiquifyWallet (#761) is not in mixedCase
Variable RUYI.MarketingWallet (#762) is not in mixedCase
Variable RUYI.StakingPool (#763) is not in mixedCase
Variable RUYI.StakingBuyPoolTax (#765) is not in mixedCase
Variable RUYI.LiquidityBuyPoolTax (#766) is not in mixedCase
Variable RUYI.MarketingBuyTax (#767) is not in mixedCase
Variable RUYI.StakingSellPoolTax (#769) is not in mixedCase
Variable RUYI.LiquiditySellPoolTax (#770) is not in mixedCase
Variable RUYI.MarketingSellTax (#771) is not in mixedCase
Constant RUYI.maxTxAmt (#775) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RUYI.router (#789) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#77)" inContext (#71-80)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#538) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#539)
Prevent variables from having similar names.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#339-343)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#367-369)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#372-377)
unlock() should be declared external:
- Ownable.unlock() (#380-388)
name() should be declared external:
- RUYI.name() (#827-829)
symbol() should be declared external:
- RUYI.symbol() (#831-833)
decimals() should be declared external:
- RUYI.decimals() (#835-837)
totalSupply() should be declared external:
- RUYI.totalSupply() (#839-841)
balanceOf(address) should be declared external:
- RUYI.balanceOf(address) (#843-845)
transfer(address,uint256) should be declared external:
- RUYI.transfer(address,uint256) (#847-854)
allowance(address,address) should be declared external:
- RUYI.allowance(address,address) (#856-863)
approve(address,uint256) should be declared external:
- RUYI.approve(address,uint256) (#865-872)
transferFrom(address,address,uint256) should be declared external:
- RUYI.transferFrom(address,address,uint256) (#874-886)
increaseAllowance(address,uint256) should be declared external:
- RUYI.increaseAllowance(address,uint256) (#888-899)
decreaseAllowance(address,uint256) should be declared external:
- RUYI.decreaseAllowance(address,uint256) (#901-912)
excludeFromFee(address) should be declared external:
- RUYI.excludeFromFee(address) (#914-916)
includeInFee(address) should be declared external:
- RUYI.includeInFee(address) (#918-920)
toggleBuying() should be declared external:
- RUYI.toggleBuying() (#922-924)
toggleTradingWithTimer() should be declared external:
- RUYI.toggleTradingWithTimer() (#926-932)
isExcludedFromFee(address) should be declared external:
- RUYI.isExcludedFromFee(address) (#937-939)
addMultiToAntiSniperWhitelist(address[]) should be declared external:
- RUYI.addMultiToAntiSniperWhitelist(address[]) (#1085-1095)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 10% buy tax and 5% sell tax.
Taxes are low and contract ownership is renounced.


Twitter account link seems to be invalid


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


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


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


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for RUYI