# PalLoan

A **PalLoan** is created by a **PalPool** for every user’s **Borrow**. This contract holds the amount of tokens to borrow, and delegates the voting power to the borrower.<br>

This contract is a clone of a given **Delegator**, giving it access to the delegation logic adapted to the token it holds.<br>

The methods of the **PalLoan** are only available for the **PalPool** that created it.<br>

Some storage values can be fetched :&#x20;

**underlying()** -> underlying ERC20 held by the contract

**amount()** -> amount of underlying token borrowed (& held in the contract)

**borrower()** -> address of the borrower to delegate power to.

**motherPool()** -> address of the PalPool that created the contract

**feesAmount()** -> amount of fees paid by the borrower (& held in the contract)<br>


---

# 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.paladin.vote/paladin-lending/technical-docs/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.
