Rarety Token Logo

RARE [Rarety] Token

About RARE

Listings

Token 3 years

Website

RARETY is inspired by fun gameplay of Diablo, Voxel’s signature look and the feel of Minecraft. It is a creative and unique game project that combines NFT (Earning Nature) and the best gaming genre of MMORPG (Fun Nature).

Social

Laser Scorebeta Last Audit: 23 August 2022

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...)


Contract ownership is not renounced (belongs to a wallet)

Reentrancy in RARE.enableTrading() (#340-349):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#346)
State variables written after the call(s):
- tradingEnabled = true (#347)
Reentrancy in RARE.transferOwner(address) (#176-187):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),true) (#180)
- antiSnipe.checkUser(from,to,amount) (#373-374)
State variables written after the call(s):
- _owner = newOwner (#184)
Apply the check-effects-interactions pattern.

Additional information: link

RARE.finalizeTransfer(address,address,uint256,bool).checked (#372) is a local variable never initialized
RARE.finalizeTransfer(address,address,uint256,bool).check (#373) 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

RARE.finalizeTransfer(address,address,uint256,bool) (#364-382) ignores return value by antiSnipe.checkUser(from,to,amount) (#373-374)
Ensure that all the return values of the function calls are used.

Additional information: link

RARE.setOperator(address).newOperator (#197) lacks a zero-check on :
- operator = newOperator (#203)
Check that the address is not zero.

Additional information: link

RARE.finalizeTransfer(address,address,uint256,bool) (#364-382) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#373-374)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'RARE.finalizeTransfer(address,address,uint256,bool).check (#373)' in RARE.finalizeTransfer(address,address,uint256,bool) (#364-382) potentially used before declaration: checked = check (#374)
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 RARE.constructor() (#138-167):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#161)
State variables written after the call(s):
- _approve(_owner,address(dexRouter),type()(uint256).max) (#164)
- _allowances[sender][spender] = amount (#239)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#165)
- _allowances[sender][spender] = amount (#239)
- _liquidityHolders[_owner] = true (#166)
- lpPairs[lpPair] = true (#162)
Reentrancy in RARE.enableTrading() (#340-349):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#346)
State variables written after the call(s):
- allowedPresaleExclusion = false (#348)
Reentrancy in RARE.finalizeTransfer(address,address,uint256,bool) (#364-382):
External calls:
- antiSnipe.checkUser(from,to,amount) (#373-374)
State variables written after the call(s):
- _tOwned[from] -= amount (#377)
- _tOwned[to] += amount (#378)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RARE.constructor() (#138-167):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#161)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#240)
- _approve(_owner,address(dexRouter),type()(uint256).max) (#164)
- Approval(sender,spender,amount) (#240)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#165)
Reentrancy in RARE.finalizeTransfer(address,address,uint256,bool) (#364-382):
External calls:
- antiSnipe.checkUser(from,to,amount) (#373-374)
Event emitted after the call(s):
- Transfer(from,to,amount) (#380)
Reentrancy in RARE.transferOwner(address) (#176-187):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),true) (#180)
- antiSnipe.checkUser(from,to,amount) (#373-374)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#185)
Apply the check-effects-interactions pattern.

Additional information: link

RARE._checkLiquidityAdd(address,address) (#329-338) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#333)
RARE._checkLiquidityAdd(address,address) (#329-338) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#335)
Use a local variable to hold the loop computation result.

Additional information: link

Pragma version>=0.6.0<0.9.0 (#4) is too complex
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

Function IRouter01.WETH() (#35) is not in mixedCase
Parameter RARE.setProtectionSettings(bool,bool)._antiSnipe (#278) is not in mixedCase
Parameter RARE.setProtectionSettings(bool,bool)._antiBlock (#278) is not in mixedCase
Constant RARE.startingSupply (#116) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARE._name (#117) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARE._symbol (#118) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARE._decimals (#119) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARE._tTotal (#121) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RARE._hasLiqBeenAdded (#128) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#47) is too similar to IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#48)
Prevent variables from having similar names.

Additional information: link

RARE.slitherConstructorConstantVariables() (#101-384) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#125)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

RARE.timeSinceLastPair (#109) is never used in RARE (#101-384)
Remove unused state variables.

Additional information: link

RARE.timeSinceLastPair (#109) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transfer(address,uint256) should be declared external:
- RARE.transfer(address,uint256) (#225-228)
getCirculatingSupply() should be declared external:
- RARE.getCirculatingSupply() (#270-272)
enableTrading() should be declared external:
- RARE.enableTrading() (#340-349)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts


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

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to find KYC or doxxing proof


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


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


Young tokens have high risks of scam / 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

Price for RARE

News for RARE