In this guide, we will demonstrate how to verify if an anti-whale function is in place. This protects investors from huge selling and buying amount of a farm’s governance token, which is usually done by whales or malicious developers. In this guide, we will focus on Fantom Network.
Step 1. Find the MasterChef contract address #
You need to find the MasterChef contract address. In this example, we will use AutoBotDefi (Fantom)’s MasterChef.
You can find a farm’s MasterChef contract address either by looking at our reviewed farms list on our website rugdoc.io or by looking on the docs page of the farm. If you’re still confused, check out this guide.
Step 2. Open the MasterChef contract #
Now, you found the MasterChef contract address, open the Fantom Blockchain Explorer, and paste the MasterChef address in the search bar and click the search button.
Step 3. Search for the anti-whale function #
After you open the MasterChef contract, click the “Contract” tab and then click on “Code”.
Look for the “Contract Source Code” section. Click inside the code box and press Ctrl+f. To find the anti-whale function, use one of the following keywords: “Whale”, “Anti” or “maxtransferamount”.
You can conclude from the coding that in AutoBotDefi’s case, there is a 2% anti-whale function present.
Ta-da! You now know how to verify whether a farm has an anti-whale function in place. Please share this article if you found this guide helpful!