Withdrawal Lifecycle
Last updated
Last updated
The withdrawal lifecycle in Enclave Money is designed to provide users with flexible options for accessing their funds. Here's a detailed sequence of events that occur during a withdrawal:
Submitting a Withdrawal Request: Users submit a withdrawal request, which can be of two types:
Normal Withdrawal: Serviced with a variable block delay and no fees.
Instant Withdrawal: Supports limited amounts, incurs an instant withdrawal fee, and allows users to withdraw funds in the same block as request submission.
Instant Withdrawal Processing:
For instant withdrawal requests, USDC is withdrawn from the cash reserves of the fund pool on the given network and transferred to the specified wallet immediately.
Normal Withdrawal Processing:
For normal withdrawal requests, the withdrawal service processes requests present in the queue at regular intervals.
The withdrawal service coordinates with the rebalancer service to ensure sufficient withdraw-able liquidity is available in the fund pool to meet these requests.