# Overview

SRWA Lending consists of three main parts, that are: Lending Protocol, Lending Pool and SRWA User Badge as well as SRWA dApp that we made to make it easier for the users to interact with the platform.

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

**SRWA Badge** is used for identifying the user and for reading the state of the Users account (deposit balance, borrow balance). It must be presented to the Lending Protocol on every interaction.

\
**Lending Protocol** serves as the communication channel between the user and the Lending Pool. It contains a set of public methods that are used for interaction with the platform (Deposit, Withdraw, Borrow, Repay) as well as the calculations and validation rules that are needed for the platform to function properly.

\
**Lending Pool** is used for storing the assets that are deposited by the users and as a reserve for borrowing. Every Lending Pool corresponds with one asset.&#x20;

**SRWA interface** is the dApp that is used for interacting with the protocol and for tracking all of the relevant information for the user.


---

# 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://srwa.gitbook.io/srwa-docs/getting-started/publish-your-docs.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.
