> For the complete documentation index, see [llms.txt](https://levfninja.gitbook.io/levf-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://levfninja.gitbook.io/levf-finance/levf-ecosystem-1.md).

# LEVF - ECOSYSTEM

**Let's take a look in details at how things flow within the Levf Ecosystem, tying together all that we have mentioned so far with regards to Levf as a matching platform, Liquidity Providers and Yield Farmers.**

## Ecosystem full view

![](/files/-MasMpq1ynRcuTcGTW7M)

1\) Liquidity Provider deposits DAI to the Treasury Pool.

2\) Yield Farmer choose from the white-listed DAI farming pools and deposit his 1x capital into Levf’s Farming Adaptor.

3\) The Farming Adaptor will deploy a 20x leveraged amount to selected Aggregator’s DAI farming pool.

4\) Yield Farmer chooses to redeem and exit position when his desired yield is met, the full 20x invested amount plus gross profit will go back to Levf’s Farming Adaptor.

5\) The Farming Adaptor will return the 19x borrowed capital plus interest earned to the Treasury Pool. Liquidity Provider can withdraw his deposit amount plus interest earned at any time as long as there is sufficient liquidity in Treasury Pool.

6\) The Farming Adaptor will levy a 10% tax on Yield Farmer’s gross profit after interest repaid. This will be transferred to the Reserve Pool.

7\) Yield Farmer gets back his 1x capital plus net profit (gross profit on 20x capital - interest on 19x borrowing - 10% tax)

8\) The accumulated amount in the Reserve Pool belongs only to the LFI token holders specifically, and not all Liquidity Providers.


---

# 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://levfninja.gitbook.io/levf-finance/levf-ecosystem-1.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.
