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:
Navigate to the contract explorer: https://blockscout.com/poa/xdai/address/0xd840f57b84Eb281fb045FC271c07d37C3cf4E206/read-contract
Go to item number 5 (availableBalanceOf)
Enter your wallet address and the token: ETH: 0x0000000000000000000000000000000000000000 BTC: 0x5228a22e72ccC52d415EcFd199F99D0665E7733b DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F
Press "Query" to get your available balance and save the amount
Navigate to the "Write Contract" tab: https://blockscout.com/poa/xdai/address/0xd840f57b84Eb281fb045FC271c07d37C3cf4E206/write-contract
Go to item 27 "withdraw"
Enter the token and amount (saved in step 4)
Press "Write". Make sure you have MetaMask unlocked with your wallet imported
Confirm the transaction in MetaMask and get the transaction hash
Navigate to the AMMB Bridge: https://alm-xdai.herokuapp.com/
Paste in the transaction hash from MetaMask
Once your transaction is loaded, press "Execute Manually" and confirm in MetaMask.
Once the transaction is confirmed you will have the funds in your wallet.
Last updated