> 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="https://700558760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuvAB3MBg39dnAFUqHuUe%2Fuploads%2FyaFYonj37a0Mdv3p8dpW%2FScreenshot%202025-03-10%20at%2011.36.47%E2%80%AFAM.png?alt=media&amp;token=18d92b49-ab59-4a8d-8636-02cce3f0ab83" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
