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:
Fantom: here or by going to https://ftmscan.com/ and then searching for the cartographer contract 0x71210E72D065C19406913cD706e964A9f21856D4 and then navigating to the "Write Contract" tab:
Polygon: hereor by going to https://polygonscan.com/ and then searching for the cartographer contract 0x8733820E0097e9289c30764018B9eE5d47E8332B and then navigating to the "Write Contract" tab:
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
For _token you will need to input the contract address of the token you wish to withdraw.
You can see the list of contract addresses for the tokens: