Withdrawal Lifecycle

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:

  1. 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.

  2. 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.

  3. 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.

Last updated