# HyperLoop

**HyperLoop** lets you open a leveraged loop position using any two tokens: one is supplied, one is borrowed.

* **Yield asset**: The token you supply to earn interest or rewards.
* **Debt asset**: The token you borrow in the looped position, which accrues interest.

When you deposit, HyperLoop uses a flashloan to instantly build your leveraged position in a single transaction. It works like this:

1. A flashloan of the **debt asset** is taken.
2. That debt token is **swapped** into the **yield asset**.
3. The resulting **yield asset** is supplied as collateral.
4. The same **debt asset** is then borrowed against the new collateral.
5. The borrowed amount, along with your initial supplied funds, is used to **repay the flashloan** (since the collateral's LTV is less than 100%).

Note: Each position is held in an isolated contract, but any points earned still accrue to the user's main address. Please keep in mind that the HyperLoop position won't be shown on your dashboard page.

{% hint style="info" %}
The entire process is completed atomically using flashloans — no manual steps or repeated cycles required — and incurs a **0.04% flashloan** **fee** on the amount used during the transaction.
{% endhint %}


---

# 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.hyperlend.finance/architecture/hyperloop.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.
