Withdrawals
Last updated
Last updated
Just like deposits, Omni covers any gas fees associated with withdrawals, instead charging a flat $0.1 fee per withdraw. Withdrawals are processed in a largely similar manner to deposits, through the .
The flow of withdrawals is as follows:
User determines how many tokens they want to withdraw by interacting with the Omni frontend.
That information, along with the user's , is passed to the , which verifies the user's requested withdraw is less than their unused collateral.
After the and withdraw size is verified as legitimate, the passes this information to the , and debits the user's account on the .
The within the submits a transaction to remove funds from the user's and return them to the user's wallet.
The within the waits for transaction confirmation. If the transaction fails for any reason, the will interface with the to credit funds back to the user's trading balance (minus $0.1 fee).