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

How to Check for Maximum Withdrawal and Deposit Fees of a Farm (Polygon)

How to Check for Maximum Withdrawal and deposit fees polygon

In this How-To guide we will show you step by step how to verify the maximum deposit and withdrawal fees of a farm on the Polygon Network.

Step 1. Find the MasterChef contract #

In order to verify the maxium deposit and withdrawal fees of the farm of interest, you need its MasterChef contract address. Most farms have their MasterChef contract address displayed on their docs page. Is the farm reviewed by Rugdoc.io? Great, you can then find the MasterChef contract address on our website. If you are still not sure how to find the MasterChef contract, check our guide on how to find MasterChef contracts.

Step 2. Open the MasterChef contract #

Open the Polygon block explorer and paste the MasterChef contract address in the search field and click search. In this guide we are using Troller Finance’s MasterChef contract.

Contract address polygon

Step 3. Read the MasterChef contract #

Now that you have opened the MasterChef contract, click on ‘Contract’ and then ‘Read Contract’.

Read contract polygon

Scroll down until you find the ‘MAXIMUM_DEPOSIT_FEE_BP’ or ‘MAXIMUM_WITHDRAWAL_FEE_BP’ section. Below this section, there’s a value. In the case of Troller Finance, the value is 500. This value is expressed in BP, which is equal to 5%.

Maximum deposit fee BP

Step 4. Find the maximum deposit and withdrawal fee of a farm by going through the contract code. #

Another way to determine what the maximum deposit or withdrawal fee of a farm is by clicking on the ‘Code’ button and go through the contract manually.

Contract Code polygon

Scroll down until you find the ‘Contract Source Code’ section. Click inside the code window and press Ctrl+F to open the search box.

Contract Source Code Polygon

Search ‘fee’, ‘depositfee’, ‘withdrawalfee’ or’BP’ and press enter to go through the contract until you find a line that has a value, either in BP or %, behind the keyword you have searched for. We can see that the deposit fee is in accordance with the deposit fee we saw in the ‘Read Contract’ section.

Deposit fees BP Polygon

Good job! You are now able to verify the maximum deposit and withdrawal fee of a farm on the Polygon Network.

Updated on October 12, 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