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

How to find the Amount of Emission Rewards that are sent to the Developer Address (Polygon)

How to find the Amount of Emission Rewards that are sent to the Developer Address (Polygon)

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 Polygon 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 Wave DeFi Farm’s MasterChef contract.

Step 2. Open the MasterChef contract #

Once you have found the Masterchef contract address, open the Polygon block explorer and paste the MasterChef contract address in the search bar in the top right corner.

polygon scan masterchef search

Once you have opened the MasterChef contract, click on the ‘Contract’. Then, click on the ‘Code’ button.

Polygon scan contract masterchef contract

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 Wave DeFi Farm, 1/20th of the token emission rewards (20%) are distributed to the developer’s address. In this case, the value can be found in the ‘iris.mint(devAddress, irisReward.div(20)); line.

minting function to devaddress polygonscan masterchef

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.

Updated on September 19, 2021
How do you feel about this article?

Leave a Reply

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

EN