Withdrawls and Conversions are NOT detailed YET that is WIP for MVP
The diagram starts with the user at the beginning of their journey. The user then attempts to connect their wallet. If the wallet connection is successful, the user proceeds to deposit ETH. If the wallet connection fails, an error message is displayed and the user is directed back to the start.
Once the user has successfully connected their wallet and deposited ETH, an assertion is made to ensure that the deposited amount is greater than or equal to 0.01 ETH. If the deposited amount is less than 0.01 ETH, an error message is displayed and the user is directed back to the start.
If the deposited amount is greater than or equal to 0.01 ETH, the user proceeds to mint mevETH. After successfully minting mevETH, the user journey ends.
L1/L2 support etc etc?
The diagram starts with the determineEntry state. If the entry is successful, the state transitions to welcome. If there is an error during entry, an error state Error1 is triggered and the process ends.
From the welcome state, the process moves to loading after the welcome is acknowledged. If there is an error during loading, an error state Error2 is triggered and the process ends.
This pattern continues through the states assignContext, fetchBalancesAndAllowances, resetTransactionHash, waitForTx, send, sending, recoverNetwork, disclaimer, reset, settings, generateL1, resetTransactionHash, readyToPair, pairing, and accountState. At each state, if there is an error, an error state is triggered and the process ends.
The process ends successfully when the accountState is updated.