> 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).

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