# Protocol Basics

Impermax is designed to let users become lenders and/or borrowers. Borrowers use LP tokens as collateral and use the borrowed funds to increase their liquidity providing positions.

## Lenders (Indirect Liquidity Providers)

Lenders have reduced risk compared to a traditional liquidity provider. Lenders can supply ERC20 tokens to any lending pool and earn interest paid by borrowers.

## Borrowers (Leveraged Yield Farmers)

Borrowers have increased risk and reward compared to a traditional liquidity provider. Borrowers use LP tokens as collateral for loans. Those loans are used to acquire even more LP tokens. In this way, yield farmers can multiply their yield farming positions up to 50x. The protocol bundles many steps into a single transaction to save on gas fees.

## Lending Market

The Impermax lending market is built around two innovations. The first is its unique economic architecture, which keeps all lending pools isolated. This means that if a borrower’s position is liquidated in one pair, the other pairs will not be affected. This also enhances security since an attack on one token pair pool will not affect the other pools.

The second novel structure is the collateralization model. Instead of using a loan-to-value calculation for collateral, Impermax uses a parameter called “safety margin” to reduce the required over-collateralization and provide much higher leverage than similar current designs.


---

# 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://docs.impermax.finance/protocol/protocol-basics.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.
