Skip to main content

EOL Vault (miAsset)

Users can participate in EOL by depositing their Hub Assets into the EOL Vault—a process known as "opt-in".
The EOL Vault adheres to the ERC20 standard and implements ERC4626 interfaces for its miAssets. The underlying asset for each miAsset is its corresponding hub asset.
Users can withdraw their underlying hub assets through an "opt-out" process. Unlike opt-in, opt-out is not immediate.

Opt-in

Opt-in Process Diagram This diagram illustrates the opt-in process for the EOL Vault on the Mitosis Chain:

  1. A user deposits 1 ETH (hub asset) into the EOL Vault. The underlying assets can then be utilized for EOL.
  2. miETH is minted for the user. It's crucial to note that miETH is a yield-bearing asset, and its ratio to ETH isn't 1:1. This ratio is dynamically adjusted based on yield and loss settlements. For instance, a user might receive 0.9 miETH after depositing 1 ETH into the EOL Vault.

Opt-out

Opt-out Process Diagram This diagram illustrates the opt-out process from the EOL Vault on the Mitosis Chain:

  1. A user initiates an opt-out request for 0.9 miETH to the Opt-out Queue. The 0.9 miETH is transferred from the user to the Opt-out Queue.
  2. Two conditions must be met to resolve the opt-out request:
    • First, there must be sufficient underlying liquidity reserved for opt-out and not currently allocated to EOL. The strategist checks for any idle assets not in use for EOL. If available, the strategist reserves this idle liquidity for opt-out using reserveEOL(). For example, if the strategist reserves 1 ETH, 1 ETH (hub asset) is withdrawn from the EOL Vault and moved to the opt-out queue. This reserved liquidity is no longer available for EOL as it's earmarked for user claims.
    • Second, a minimum waiting period of 7 days must elapse.
    • The opt-out request is considered "resolved" when the necessary liquidity is reserved and the 7-day period has passed, allowing the user to claim their assets.
  3. Once the request is resolved, the user can claim their assets to receive 1 ETH (hub asset) back.