*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 (BSC)

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

For most protocols, everytime a new block is created a set amount of tokens is released. These tokens are then distributed over the protocol’s farms, pools and other financial products. However, it’s very common that a part of these minted tokens are sent to the developers. This guide will focus on how to check the amount of minted tokens that is send to the developers’ address everytime a new block is mined.

Step 1. Find the MasterChef contract #

In order to check the emission rate that is send to the developers’ address, you need to find the MasterChef contract address of the farm of interest. You can usually find the MasterChef contract address on the docs page of the farm’s website. If the farm has been reviewed by our team, you can find it on our website Rugdoc.io. If you’re still not sure how to find the MasterChef contract, check our guide.

Step 2. Open the MasterChef contract #

Open the Binance Smart Chain block explorer and paste the MasterChef contract address in the search bar in the top right corner and click on the search button. In this example we’ll use WWF Swap Layer 2 Farm’s MasterChef contract.

BSCscan masterchef contract address search

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

Contract code master chef contract bscscan

Step 3. Search for the mint function #

Look for the ‘Contract source code’ section. Click inside the code box and press Ctrl+f. You can find the percentage of minting/emission rewards that are sent to the developers by using the keywords ‘mint’ or ‘devaddr’. In WWF Swap Layer 2 Farm’s case, 1/10th of the emission rewards (10%) are distributed to the developers’ address. The value is located in the ‘div’ section. In this example, the code line looks as follows: ‘wwe.mint(devAddress, wweReward.div(10));’.

Search through contract code for minting function

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.

Congrats! You have just learned how to find the developer emission rewards by going through the smart contract code itself!

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

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

EN