> For the complete documentation index, see [llms.txt](https://docs.asymmetry.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asymmetry.finance/afeth-asymmetry-finance-eth/locking.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
