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

How to verify if a Farm uses an Anti-Whale Function (BSC)

How to verify if a Farm uses an Anti-Whale Function (BSC)

In this guide we’ll show you how to verify if an anti-whale function is in place. This protects investors from huge selling and buying amounts of a farm’s governance token, which is usually done by whales or by the malicious developers themselves. In this particular guide, we’ll focus on the Binance Smart Chain.

Step 1. Find the MasterChef contract address #

The first thing we need to do is to find the MasterChef contract address. In this example we’ll use Diamond Finanze’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 on how to get the MasterChef contract address, check out this guide.

Step 2. Open the MasterChef contract #

Now that you have found the MasterChef contract address, open the Binance Smart Chain block explorer and paste the MasterChef contract address in the search bar and click the search button.

bscscan masterchef search

Step 3. Search for the anti-whale function #

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

bscscan read code contract

Look for the section called ‘Contract Source Code’. Click inside the code box and press Ctrl+f. In order to find the anti-whale function, use one of the following keywords: ‘Whale’, ‘Anti’ or ‘maxtransferamount’.

anti-whale function in coding bscscan

You can conclude from the coding below that in Diamond Finanze’s case there’s a 2.5% anti-whale function present.

// Anti Whale! Max transfer amount rate in basis points. 2.5%!
uint16 public maxTransferAmountRate = 250;

Awesome! You now know how to verify whether a farm has an anti-wahle function in place. If you found this guide helpful, make sure to share it on social media!

Updated on September 21, 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