*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.

Decoding RugDoc’s Reviews

There are certain things that RugDoc’s reviewers look out for when reviewing the code of a farm. Here we explain what the different lines in our reviews mean so you know what to look out for when trying to check the contract on your own.

What does it mean when the dev renounces ownership of the Masterchef? What does it mean if they transfer ownership to a timelock? What are the implications if they do not do this? #

Renouncing MC – No changes can ever be made to the Masterchef. 

Transfer ownership to timelock – Any changes to be made has a delay that gives users the chance to react to any queued timelock transactions. This is important when there is the possibility of suspicious or rug vectors in the Masterchef.

No timelock – Not always a bad thing, especially for safe projects which follow RugDoc’s best practices; In fact, not having a timelock may even hurt safe and legitimate projects because they don’t have any rug code but have to wait for the queued transactions to clear before being able to do anything. Not having a timelock a bad thing when there are ways to screw over users like 100% deposit fees, upgrading contracts using a proxy, executing rug function, etc.

What are the implications if the owner of the Masterchef is an EOA? #

They can change function parameters of the Masterchef without delay.

If there are no hard rug functions in the code, does it matter if the Masterchef is not behind a timelock? #

Not necessarily, because most Masterchefs have the ability to set up to 100% deposit fees, and they’re only rated a Medium Risk for us. If the deposit fees are uncapped, then we highly recommend a 24 hour timelock to give users more peace of mind. If the Masterchef truly does implement all RugDoc best practices, then there’s really no point in having a timelock.

If 100% deposit fees are possible, would this be mitigated with a timelock? #

A timelock just delays the execution of an update to the parameters of a contract. If the developer can set the deposit fees to a 100% and steal all deposits, a timelock merely delays this. For more information, read our article on timelocks.

Why can’t the anti-whale amount be too low? #

If the anti-whale amount is too low, the developer can block all token sells.

Why do we recommend that the token owner should be the Masterchef? #

If the token owner is the developer or an EOA (externally-owned address), they can mint and dump tokens at any time. Note that not all tokens require the owner to be the Masterchef, especially if they include the role of ‘Minters’ in the token contract which allow for any privileged addresses to have the minting ability; this poses a problem because it means that users would have to worry about several parties having the ability to arbitrarily mint any amount of tokens at any time.

What does “does not support deflationary/transfer-tax token pools” mean? #

Several farms were exploited when they added tokens with transfer tax to their pools as the Masterchef does not account for tokens with transfer tax mechanisms.

How do I check if liquidity has been locked or burned? #

The easiest method would be to ask the project to provide proof of locked liquidity via 3rd party locking services such as DXSale or Unicrypt, etc. Alternatively, they may use a locking contract, though caution should be taken that there have been many such contracts without any explicit locking mechanism (the contract holds the LP tokens, but the project can withdraw them at any time).

For burning, you can just ask to see the transaction where they sent the LP tokens to the burn/dead address.

What does it mean if a contract is unverified? #

An unverified contract is a blackbox – it means that we cannot read the content of the contract so we have no idea what the underlying code is like. Usually unverified contracts have malicious code, so we recommend users to stay away from interacting with unverified contracts.

What does it mean if a contract is behind an upgradeable proxy? #

Upgradeable proxy contracts can be upgraded to literally anything, including to malicious contracts at any time.

What are the implications if the token router can be changed? #

If the router can be changed, then the project can swap it to a malicious router that sends the LP tokens generated from swapAndLiquify to any address which they desire. Note that this does not mean that they can steal users’ funds, but rather that the Panther tokenomics has an automatic liquidity-generating function that uses a portion of the token’s transfer tax to add liquidity to the native token LP – normally this goes to the operator’s wallet anyway, which can then potentially dump those tokens on users.

Updated on August 5, 2021
How do you feel about this article?
 

2 Comments

  1. Hi!
    I read in some review that the router can be changed and that I should check that the correct one is used.
    How can I check wich router is used?

    Thanks in advance! Keep up your awsome work! Really, really love RugDoc!
    Martin

    • Hi Martin,

      thanks for your question! Glad you found the way in our Wiki.

      You can check the Router by clicking on “Details” on the Native LP Pool of the farms website. There should be a link which says “Deposit”. If you click on this link you will be redirected to the router website where the LP is hosted. If this is a well-established router you should be safe.

      I hope this answers your question, if not please join our telegram chat where we can explain it with some screenshots.

      Stay safe.

Leave a Reply

*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.

Our mission here at RugDoc is to screen for hard rug code that results in 100% theft of ALL underlying funds for ALL participants.

This is the ONE part of the due diligence process that most people cannot simply do on their own as it costs thousands of dollars to hire a senior solidity developer to look over a farm for safety.

A project coin with terrible code can go up in price, and a project with good code and a good team can also go down in price.

Do NOT use our ratings to refer to your likelihood in making money if you invest in the project. They are ONLY in reference to code safety.

Everything else beyond code safety is YOUR responsibility to go do research on. We just make sure the casino you’re betting in won’t rob you before you even get to place a bet.

Our reviews for projects are organized into a few colors.

🟢 Least Risk
These projects are the least likely to hard or soft rug. Usually reserved for cornerstone projects of an ecosystem where it makes no financial sense for them to rug in any manner as they make more money just being legit.

🔵 Low Risk
These projects are usually established projects in an ecosystem that have a track record of success or have KYC’d to us or other authoritative sources in the real world. As a result, it is extremely unlikely for them to soft rug or hard rug their projects. The projects can still fail and the token price can go down, but usually more as a result of natural market forces.

⚪️ Some Risk
This is the default rating for projects with unknown teams but have code that is unlikely to have hard rug risk. Since the team is unknown and doesn’t have a track record of success, it’s entirely possible that they may try to soft rug by dumping tokens, abandoning the project, etc. Even a last minute contract swap to a malicious contract is possible. The only thing that is unlikely is a complete hard rug as long as you are 100% sure you deposit into the contract we review.

🟠 Medium Risk
Similar to Some Risk, but the underlying code itself is custom enough or complex enough that it warrants an elevated risk rating that needs deeper research. Make sure you read every point presented to make sure you’re comfortable with that before entering. Still unlikely to hard rug, but more chances of custom code behaving incorrectly and causing other issues.

🔴 High Risk
Project contains code or practices that are HIGHLY LIKELY to lead to catastrophic losses as they are right now. Make sure you read the description carefully as we will always warn what these issues are. If you see the words Hard Rug anywhere in the review, STAY FAR AWAY!

⚫️ Not Eligible
We reserve the right to not review exceedingly complex projects that would require tens of thousands of dollars of senior security analyst man hours. Typically these are projects that deal with leverage, lending, options, derivatives, and anything that is overly complex and which requires tons of peer reviews and audits from top audit companies.

Search

🟢 For owners who have made impactful changes and would like an update to their farm review:

1️⃣ Use #update at @RugDocChat with your description and proof of changes and it will be forwarded to our scanners.

2️⃣ This does not guarantee a change in your review.

3️⃣ Owners who have difficulty solving the issues can consider our Consultation Package - please contact @BaymaxCrypto on Telegram to discuss.