Usually, the developers of a farm receive a portion of fresh minted tokens because of the time and effort they have put in developing the farm. However, we advice you to verify how much this portion is before you start investing in the farm. In this guide we will show you how to check the amount of minted tokens that is send to the developers’ address everytime a new block is mined for the Arbitrum network.
Step 1. Find the MasterChef contract #
The first thing you need to do is to find the farm’s MasterChef contract address. You can do so by visiting our website rugdoc.io or by checking the the docs page of the farm’s website. You can follow this guide if you’re having troubles finding the MasterChef contract address. In this guide we’ll use Onyx Farm’s Masterchef contract.
Step 2. Open the MasterChef contract #
Once you have found the Masterchef contract address, open the Arbitrum block explorer and paste the MasterChef contract address in the search bar in the top right corner.
Once you have opened the MasterChef contract, click on the ‘Contract’. Then, click on the ‘Code’ button.
Step 3. Search for the mint function #
Look for the ‘Contract source code’ section. Click inside the coding box and press Ctrl+f.
To find the minting/emission rewards percentage for the developers, use the keywords ‘mint’ or ‘devaddr’. In the case of Onyx Farm, 10% of the token emission rewards are distributed to the developer’s address. The value can be found in the ‘Onyx.mint(devAddress, OnyxReward.div(10));’ line.
Tip: Div functions divide the value(s) between its brackets, and are usually written like (X,Y), which means X/Y. Whenever there’s only one value between the brackets, it can be interpreted as 1/Y.
Awesome! You have just found the developers’ token emission reward percentage by going through the code! If you found this article helpful, make sure to share it on social media.