*Publicidad pagada. No es asesoramiento financiero. RugDoc no se hace responsable de los proyectos aquí expuestos. DYOR y mantente seguro.
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.
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.
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.
Once you have opened the MasterChef contract, click on the ‘Contract’ button and then on ‘Code’.
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));’.
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!