> For the complete documentation index, see [llms.txt](https://docs.resupply.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.resupply.finance/how-to-guides/using-resupply/leverage.md).

# Leverage

Resupply allows users to automatically leverage their position with one click. On the “[Supply](https://resupply.fi/supply)” page, under the deposit tab, users can toggle the leverage option on or off. Leverage allows users to loop the borrow & deposit process, amplifying the borrowed amount of reUSD.

**Leverage Slider:**

* Users can select a leverage level ranging from **2x to 19.1x**.
* Higher leverage increases both the borrowed amount and deposited collateral.<br>

**Leverage Mechanics:**

* When leverage is applied, the system borrows reUSD, swaps it for crvUSD/frxUSD, and deposits it as collateral.<br>

**Leverage Breakdown:**

* **Initial Deposit:** The base amount of crvUSD/frxUSD deposited.
* **Total Borrowed:** The total amount of reUSD borrowed through leverage.
* **Total Collateral:** The final crvUSD/frxUSD collateral after applying leverage.
* **Collateral Ratio:** The percentage of collateral relative to borrowed funds.<br>

**Slippage Warning:**

* Users will be informed about the estimated slippage (e.g., 0.24%) due to reUSD → crvUSD/frxUSD swaps.
* This means that the final collateral amount will be slightly lower due to the conversion rate and trade size.

#### Approval & Execution Buttons

* **Approve:** Grants permission for the smart contract to handle crvUSD or frxUSD.
* **Deposit & Leverage:** Executes the operation, depositing crvUSD or frxUSD and applying the chosen leverage amount.

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


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.resupply.finance/how-to-guides/using-resupply/leverage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
