As the code of Summit DeFi is completely custom built, it does not follow the generic pattern of a masterchef contract however; we have ensured that we included the important functionality of an Emergency Withdrawal to allow users to always be able to retrieve their funds.
To access the Emergency Withdrawal functionality, you will need to head to the cartographer contract which can be found:
You will then need to connect your wallet by clicking on "Connect to Web3":
As usual, your wallet will ask you to confirm the connection so read the prompts that pop-up and confirm the connection
Once your wallet has connected, scroll down to function 8. emergencyWithdrawal
_tokenyou will need to input the contract address of the token you wish to withdraw.
_elevationthis is what Elevation your funds were in. If you were in multiple Elevations, then just repeat this process for each Elevation.
- From the below table, look for the Elevation and then use the corresponding
Once you have filled in the fields, it should look similar to the below example:
Next you will need to click on "Write".
After clicking on "Write" your wallet will ask you to confirm a blockchain transaction and then once confirmed by the blockchain, your requested token will be withdrawn and returned to your wallet.
Repeat this process for your other assets.