> For the complete documentation index, see [llms.txt](https://docs.tydro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tydro.com/ii.-core-concepts/markets/efficiency-mode-emode.md). Agents can also search and read this documentation through its [MCP server](https://docs.tydro.com/~gitbook/mcp).

# Efficiency Mode (eMode)

Efficiency Mode (eMode) unlocks higher borrowing power when collateral and debt are correlated assets, for example, borrowing one stablecoin against another

In standard mode, each asset's loan-to-value (LTV) is set individually. eMode overrides those per-asset LTVs with a higher, category-level LTV for assets that share a category, reflecting their lower relative price risk.

### How it works

Each eMode category groups assets that are expected to track each other in price. Activating an eMode category applies that category's custom LTV and liquidation threshold to the position, instead of the default per-asset values.

A position in an active eMode category can only borrow assets that belong to that category. Attempting to borrow an out-of-category asset reverts. Switching categories is also blocked if it would push the health factor below the liquidation threshold.

Category 0 is reserved and represents the default non-eMode state.

### Activating eMode

Enable an eMode category:

```solidity
setUserEMode(categoryId)
```

Check the category currently active for an address:

```solidity
getUserEMode(userAddress)
```

Retrieve all available categories and their parameters (LTV, liquidation threshold, eligible assets):

```solidity
getEModes(provider)        // via UiPoolDataProvider
getEModeCategoryData(id)   // via Pool
```

### eMode categories

| Category | Label       | LTV            | Assets      |
| -------- | ----------- | -------------- | ----------- |
| 1        | STABLECOINS | query on-chain | USDG, USDT0 |

The exact LTV and asset bitmaps for each category are set by governance and can change. Query `getEModes(provider)` for current values.

### Credit delegation and eMode

If a delegator is in eMode, delegated borrowing is restricted to assets within that same category. A delegatee cannot borrow assets outside a delegator's active eMode. See [Credit Delegation](https://docs.tydro.com/vii.-developers/credit-delegation.md).&#x20;


---

# 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.tydro.com/ii.-core-concepts/markets/efficiency-mode-emode.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.
