> For the complete documentation index, see [llms.txt](https://ionian.gitbook.io/malda/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ionian.gitbook.io/malda/malda-protocol/end-user-lifecycle.md).

# 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>
