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

# PalLoan

**PalLoan** создается **PalPool** для каждого заимствования пользователя. Этот контракт хранит количество токенов для займа и делегирует право голоса заемщику.

Этот контракт является клоном данного Делегатора, что дает ему доступ к логике делегирования, адаптированной к токену, которым он владеет.

Методы PalLoan доступны только для создавшего его PalPool.

Некоторые значения из хранилища могут быть получены :&#x20;

**underlying() -** лежащие в основе ERC20, удерживаемые по контракту

**amount() -** количество базового токена, взятого в долг (и удерживаемого в контракте)

**borrower() -** адрес заемщика, которому необходимо передать полномочия.

**motherPool()** - адрес PalPool, создавшего контракт

**feesAmount()** - сумма комиссий, уплаченных заемщиком (& удерживаемых в договоре)


---

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

```
GET https://mduckcrypt.gitbook.io/untitled/paladin-protocol/palloan.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.
