Withdrawing funds

Only use this method if the DMEX website is down or not functioning properly. Otherwise withdraw your funds through the website.

Any user can withdraw his/her funds from the contract at any time, even if the DMEX website is down. To do that the user must follow the following steps:

  1. Go to item number 5 (availableBalanceOf)

  2. Enter your wallet address and the token: ETH: 0x0000000000000000000000000000000000000000 BTC: 0x5228a22e72ccC52d415EcFd199F99D0665E7733b DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F

  3. Press "Query" to get your available balance and save the amount

  4. Go to item 27 "withdraw"

  5. Enter the token and amount (saved in step 4)

  6. Press "Write". Make sure you have MetaMask unlocked with your wallet imported

  7. Confirm the transaction in MetaMask and get the transaction hash

  8. Navigate to the AMMB Bridge: https://alm-xdai.herokuapp.com/

  9. Paste in the transaction hash from MetaMask

  10. Once your transaction is loaded, press "Execute Manually" and confirm in MetaMask.

  11. Once the transaction is confirmed you will have the funds in your wallet.