> For the complete documentation index, see [llms.txt](https://docs.vyfi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vyfi.io/vy-finance-products/bar/serve-the-bar/an-example-of-elps-in-action.md).

# An example of ELP’s in Action

User creates the liquidity pool for Token A/Token B, and sets Token A to be the PT of the liquidity pool. After a period of time, the ELP collects 30 Token A, and 50 Token B as fees (with a total value of 11ADA). Once the ‘Serve’ Operation is executed, the first set of rounds for CNT/CNT pairs will commence.  This ELP contains more than 10ADA worth of value. As such, the first requirement of the round is passed and the Token A/Token B ELP will be served.&#x20;

Step two of the round will now commence. We swap all Token B to Token A — as Token A has been selected as the PT in the pair.&#x20;

Once swapped, step three of the round can take place. All the accrued Token A is sent to the ELP for the ADA/Token A pair.

Once this process has taken place for all CNT/CNT pairs, set one is complete. We now repeat this process for all ADA/CNT pairs - we begin set two.

&#x20;The same rounds then repeat, but with ADA as the PT for all ADA/CNT linked pools. All the ADA that is accrued at the end of set two is then sent to the VYFI/ADA ELP.&#x20;

Once all the rounds have been completed for every ADA/CNT pair, set three commences for all VYFI linked pairs. This will result in all the accrued ADA being converted to VYFI and being distributed to the BAR.&#x20;

<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.vyfi.io/vy-finance-products/bar/serve-the-bar/an-example-of-elps-in-action.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.
