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

How to find pool ID and check the current deposit fee of a pool (Polygon)

There have been cases where the deposit fee in a farm has been set to 100% by unscrupulous admins – leading to the complete loss of the user’s deposited funds. In this article, we will show how the current deposit fee of a pool can be checked, in order to prove that the fees displayed on the website are accurate.

There are two ways to find out the deposit fee. One method involves making a test deposit (explained here), while the other is to read the MasterChef contract, which will be explained in this article.

Step 1: Find the Pool ID #

First you have to find the pool ID you want to deposit to.
If you have done a small test deposit you can check your deposit transaction to find the PID.

To do so, open the transaction in MetaMask..

Deposit and details

..and click on “Click to see More”

Transaction details in network explorer

Now click on “Decode Input Data”..

Input data displayed in network explorer

..to make the PID visible.

Pool ID, amount and referrer listed in network explorer

If you have not done a small testdeposit you can try to find the PID on the documentation page of the farm or by reading the MasterChef contract with different pool IDs. Mostly they are in a range from 0 to 25 depending how many pools are shown on the page (inactive pools included). If you don’t know the address of the MasterChef yet, please read this article first: How to find MasterChef contract.

We’ll use this MasterChef contract as an example.

Enter some PIDs in the poolInfo field and hit “Query”.

Querying Poolinfo function in network explorer

You will the receive the pool infos e.g. the token address.

Result of poolInfo query

When you use this method you can check which coin is linked to the address by clicking the address.

Address info in explorer showing linked token name

Step 2: Check the Deposit Fee #

Now that you know the ID of the pool you can check the deposit fee by requesting the parameters via the explorer.

Click on the “Read contract”..

Selecting "read contract" in network explorer

..and scroll to the poolInfo section.

poolInfo section

In this field you enter the PID and click on “Query” and the results will be shown.

Query and result for poolInfo

In this screenshot the deposit fee is 4% (400 Basis points 400/100 = 4%).

Now you know how to find out the real deposit fee of a pool, without the need to trust the numbers shown on the website of the farm. Remember, it’s the smart contracts that matter – the UI of a website or dApp is mostly just a cosmetic layer and can be subject to manipulation.

Updated on June 12, 2021
How do you feel about this article?
 

One comment

  1. You can also check the frontend code, they usually hardcode everything on an object or class.
    Just go to the “Sources” tab of the DevTools (F12) and read the files.

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.