# End-user lifecycle

There are 3 types of transactions within Malda, under the hood they each have a different lifecycle:

**1. Linea native transactions**

These transactions go through the same way as in a legacy lending protocol.

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

**2. Deposit type transaction from Extension**

We define Supply and Repay as deposit type of transactions, as both of them have the same transaction flow from an architectural point of view. These are both depositing funds to the extension pool contract and we verify those transactions on the host chain to append the ledger.

<figure><img src="/files/9r2vEm9ye5X7LYn9c0TI" alt=""><figcaption></figcaption></figure>

**3. Withdraw type of transactions on Extension**

Borrowing and withdrawing are defined as withdraw type of transactions. These are both requesting a withdrawal from the extension pools on Linea, and verify that withdrawals are valid on the extension chain via the generated proof.

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


---

# 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://ionian.gitbook.io/malda/malda-protocol/end-user-lifecycle.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.
