DMEX
SUPPORT PORTALTELEGRAM
  • Introduction
  • Changelog
  • General
  • Oracle
  • Funds Safety
  • Volume on DMEX
  • Bitcoin Integration
  • xDAI Integration
  • Withdrawing from Old Contracts
  • FEES
  • Trading Fees
  • Deposits & Withdrawals
  • Orders
    • Market
    • Limit
    • Stop-Limit
    • Expiration Term
    • Leverage
    • Cross Margin
  • Definitions
    • Mark Price
    • Asset
    • Futures Contract
    • Position
    • Liquidity Pools
    • TradingView
  • Formulas
    • Liquidation Price
    • Maintenance Margin
    • Risk Limit
    • Global MM Multiplier
    • Funding Cost
    • USD Conversion
  • EMERGENCY METHODS
    • Overview
    • Withdrawing funds
    • Force Release Collateral
    • Finding the Base Contract
    • Finding the Trading Contract
  • Assets
    • Overview
    • BTC - Bitcoin
    • ETH - Ethereum
    • LTC - Litecoin
    • BCH - Bitcoin Cash
    • ADA - Cardano
    • XLM - Stellar
    • XMR - Monero
    • LINK - ChainLink
    • ATOM - Cosmos
    • DOT - Polkadot
    • UNI - Uniswap
    • ZRX - 0x
Powered by GitBook
On this page

Was this helpful?

  1. EMERGENCY METHODS

Withdrawing funds

Last updated 3 years ago

Was this helpful?

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. Navigate to the contract explorer:

  2. Go to item number 5 (availableBalanceOf)

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

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

  5. Navigate to the "Write Contract" tab:

  6. Go to item 27 "withdraw"

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

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

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

  10. Navigate to the AMMB Bridge:

  11. Paste in the transaction hash from MetaMask

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

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

https://blockscout.com/poa/xdai/address/0xd840f57b84Eb281fb045FC271c07d37C3cf4E206/read-contract
https://blockscout.com/poa/xdai/address/0xd840f57b84Eb281fb045FC271c07d37C3cf4E206/write-contract
https://alm-xdai.herokuapp.com/