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

How to Emergency Withdraw (BSC)

An ambulance

When the UI is down on a Yield Farm, either because of a technical issue or a deliberate rugpull, you can still withdraw your funds by interacting directly with the Masterchef contract on bscscan.com. Please keep in mind that this will not work if the liquidity has already been drained from the pool.

Step1: Find the MasterChef contract #

How to find a MasterChef contract – RugDoc Wiki

Step 2a: Use Our Brand New Emergency Withdraw Tool #

As an alternative, we have a brand new tool available for you to use that will automate the rest of this process. Please check it out here:

https://rugdoc.io/emergency/

Step 2b: Find the Pool ID (PID) for your pool #

If you are in a hurry, you can skip this step and conduct a series of Emergency Withdrawals starting with a PID value of zero and working your way up numerically. Eventually, you will hit the PID that corresponds to your pool.

How to Find the Pool ID (BSC) – Rug Doc Wiki

Step 3: Connect to your wallet #

At this point, you should be on the Masterchef page and will need to connect your wallet. Scroll down to the Transactions section and click the “Contract” tab.

BscScan contract tab

Click the “Connect to Web3” link which will prompt you to connect to your wallet.

Connect to web3
Click “Connect to Web3”

Connected to web3
You are now connected to your wallet

Step 4: Emergency Withdraw #

Once you’re connected, click “Write Contract” and scroll down to ” emergencyWithdraw”. Enter your PID (in this case 8) and click the Write button.

Writing to emergencyWithdraw via BscScan
This is the action that actually retrieves your funds

Unless the funds have already been drained from the pool, your crypto should now be back in your wallet.

Now you know how to use the emergencyWithdraw function to withdraw your funds without using the farm interface. Be sure to bookmark this guide and even try it out so you are ready for when you really need to withdraw in a hurry!

Updated on July 11, 2021
How do you feel about this article?
 

6 Comments

  1. Tell me please, I have PANTHER-BNB LP tokens on my MetaMask wallet, but the PANTHER site is disabled and I can not withdraw their liquidity, your method, as I understand it helps only to withdraw LP tokens into the wallet, and what to do with them further is unclear. How do I exchange them, or at least disconnect them for PANTHER and BNB. Thank you.

    • Hello Alexey, This method is for converting your LP tokens back to the underlying tokens without using the UI of a website. In your case you need to find the PoolID of the liquidity pool you have deposited your PANTHER and BNB tokens in, and follow the steps in the article.

  2. Hi Boss,

    Wondering if you can help as I don’t really understand codes.

    The UI for https://depth.fi is no longer available. The Depth protocol vault intro is here: https://docs.depth.fi/product/vault
    It was a protocol that deposits into other protocols. The only value-add it did was to compound the yield earned. In this case, I deposited BUSD which was deposited into Venus BUSD pool. I followed your guide and retrieved my liquidity token (dvvBUSD) but I don’t know how to convert it back to BUSD ..

    The smart contracts and codes are here: https://docs.depth.fi/product/contract
    I went to the BDEP smart contract (0xBb1eDaa1c11B18f2122e8268B71D670556Ef6C5f) and did emergencyWithdraw, per your guide. Transaction Hash: 0xf8b83f276173fb334b327c557b4ae7182f463813972c1b64e32055b28385fe93

    I have been tabbing through the contracts. How do I exchange the liquidity tokens (dvvBUSD) for the native BUSD? I need to interact with another contract?

    It’s a significant amount of my savings. I’ll be very appreciative if you can help.

    Many Thanks.

Leave a Reply

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

Our mission here at RugDoc is to screen for hard rug code that results in 100% theft of ALL underlying funds for ALL participants.

This is the ONE part of the due diligence process that most people cannot simply do on their own as it costs thousands of dollars to hire a senior solidity developer to look over a farm for safety.

A project coin with terrible code can go up in price, and a project with good code and a good team can also go down in price.

Do NOT use our ratings to refer to your likelihood in making money if you invest in the project. They are ONLY in reference to code safety.

Everything else beyond code safety is YOUR responsibility to go do research on. We just make sure the casino you’re betting in won’t rob you before you even get to place a bet.

Our reviews for projects are organized into a few colors.

🟢 Least Risk
These projects are the least likely to hard or soft rug. Usually reserved for cornerstone projects of an ecosystem where it makes no financial sense for them to rug in any manner as they make more money just being legit.

🔵 Low Risk
These projects are usually established projects in an ecosystem that have a track record of success or have KYC’d to us or other authoritative sources in the real world. As a result, it is extremely unlikely for them to soft rug or hard rug their projects. The projects can still fail and the token price can go down, but usually more as a result of natural market forces.

⚪️ Some Risk
This is the default rating for projects with unknown teams but have code that is unlikely to have hard rug risk. Since the team is unknown and doesn’t have a track record of success, it’s entirely possible that they may try to soft rug by dumping tokens, abandoning the project, etc. Even a last minute contract swap to a malicious contract is possible. The only thing that is unlikely is a complete hard rug as long as you are 100% sure you deposit into the contract we review.

🟠 Medium Risk
Similar to Some Risk, but the underlying code itself is custom enough or complex enough that it warrants an elevated risk rating that needs deeper research. Make sure you read every point presented to make sure you’re comfortable with that before entering. Still unlikely to hard rug, but more chances of custom code behaving incorrectly and causing other issues.

🔴 High Risk
Project contains code or practices that are HIGHLY LIKELY to lead to catastrophic losses as they are right now. Make sure you read the description carefully as we will always warn what these issues are. If you see the words Hard Rug anywhere in the review, STAY FAR AWAY!

⚫️ Not Eligible
We reserve the right to not review exceedingly complex projects that would require tens of thousands of dollars of senior security analyst man hours. Typically these are projects that deal with leverage, lending, options, derivatives, and anything that is overly complex and which requires tons of peer reviews and audits from top audit companies.

Search

🟢 For owners who have made impactful changes and would like an update to their farm review:

1️⃣ Use #update at @RugDocChat with your description and proof of changes and it will be forwarded to our scanners.

2️⃣ This does not guarantee a change in your review.

3️⃣ Owners who have difficulty solving the issues can consider our Consultation Package - please contact @BaymaxCrypto on Telegram to discuss.