# Locking

As afETH is composed of 70% sfrxETH and 30% vlCVX, 30% of user deposits are locked for up to 16 weeks.

When a deposit is made the incoming ETH is swapped for CVX and locked. When a withdrawal is requested the contract first checks whether sufficient CVX is unlocked to cover other pending withdrawals plus the new request, if so the CVX is immediately swapped for ETH and given to the user. Otherwise, a pending withdrawal is created.

Before locking new CVX the contract checks that it's not locking any CVX that is needed to cover pending withdrawals.

To efficiently track the priority of different withdrawals and provide unique IDs for different withdrawals the strategy tracks cumulative unlocked and unlock obligation amounts. The current total obligations is the difference between the two values. Unlike the total obligations the cumulative total obligations never goes down, meaning it can act as a useful pending withdrawal ID and indicate the ordering of when a withdrawal can be processed, independently of whether higher priority withdrawals have been processed.

<figure><img src="https://lh7-us.googleusercontent.com/3f3DCF6RGRThpovaDl4BoYWpNxxMsZ-QAZnx87nedVljR9hgXLasawQ2OtTenzQw_bw3LwJdr2CuR1mUAlD2rP3_H71uZ-b59FgaWyY8JNvYhE_WDI_tDT_VFtPl32jPv2J_vx1u1xHycLbqPT999Yk" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.asymmetry.finance/afeth-asymmetry-finance-eth/locking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
