> For the complete documentation index, see [llms.txt](https://docs.notional.finance/notional-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.notional.finance/notional-v2/liquidity-pools/liquidity-pool-examples/lending.md).

# Lending

This section will show an example of a lender buying 1000 fDAI from three different liquidity pools. Each liquidity pool has a different maturity. One is a 1-year pool (fDAI maturing in one year), one is a 6-month pool (fDAI maturing in 0.5 years), and the last is a 3-month pool (fDAI maturing in 0.25 years).

### Before lending

Here is what the pools look like before the user lends.

<figure><img src="/files/4jYZn5nBrFLmrmHDHtxU" alt=""><figcaption></figcaption></figure>

Everything is the same except for the exchange rate. This is because the exchange rate between fCash and cash [depends on the time to maturity](/notional-v2/fcash/using-fcash.md).&#x20;

### Lending

Now let's assume the user purchases 1000 fDAI from each maturity.

<figure><img src="/files/LvcMfdaBgrRq5vXljjEN" alt=""><figcaption></figcaption></figure>

It takes less DAI to purchase 1000 fDAI in the 1 year maturity than it does in the 6 month or 3 month maturities. This is because of different DAI/fDAI exchange rates in the different maturities. Also, notice that the interest rate that the lender received isn't exactly the interest rate on the pool before hand. This is due to slippage.

### After lending

Here is what the pools look like after the lend transactions have occurred.

<figure><img src="/files/yvVVNvv2adRX61MWal6e" alt=""><figcaption></figcaption></figure>

Notice that the interest rate and proportions on the pools have all decreased as a result of the lending.


---

# 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.notional.finance/notional-v2/liquidity-pools/liquidity-pool-examples/lending.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.
