*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.
In this article we will show you how to check if the number of pools in a farm’s MasterChef contract are equal to the number of pools shown on the website of the farm. By doing so, you can verify if there aren’t any hidden pools that developers are using to exploit yield farming their own governance token.
In order to check the number of pools of a farm, you need to know its MasterChef contract address. If you are having troubles finding the MasterChef contract address, check this guide. If the farm has been reviewed by our team, you can also use our website Rugdoc.io to find the MasterChef contract address.
Once you have found the MasterChef contract, you need to open it in the Arbitrum block explorer. In this guide, we will use Onyx Farm’s MasterChef contract.
Once you have opened the MasterChef contract, select the “Contract” tab and then “Read Contract”.
Scroll down until you find a section called ‘poolLength’. The value shown in this section is equal to the number of pools that are in the farm. In Onyx Farm’s case, the farm has 15 pools.
Now it’s time to check the farm’s website. In this example, we have navigated to Onyx Farm’s website. Make sure to count both active and unactive farms and pools. This is because both farms and pools are counted as pools.
At the time of writing, we have counted 7 farm pools and 8 pools, which makes a total of 15 pools. This checks out with the number of pools stated in Onyx Farm’s MasterChef contract, meaning no hidden pools are present. However, we do advice to occasionally compare the website with the MasterChef contract, as pools can be added by the developers.
Save my name, email, and website in this browser for the next time I comment.