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

# Detailed explanations

Trove structure, liquidation, redemption, leverage, and pool mechanics

## Borrowing and debt settlement

| Topic                                                                           | What it explains                                                                                            |
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [Trove concepts](/mechanics/deep-dives/trove-concepts.md)                       | Individual positions, collateral branches, and NFT ownership.                                               |
| [Collateral ratios and liquidation prices](/mechanics/deep-dives/cdp-safety.md) | How collateral prices, debt, interest, and repayment change a position's collateral ratio.                  |
| [Liquidations and Earn](/mechanics/deep-dives/liquidations-and-earn.md)         | How liquidated debt is settled and how Stability Pool deposits and collateral gains change.                 |
| [Redemptions](/mechanics/deep-dives/redemptions.md)                             | How USDHN is exchanged for collateral and how that exchange changes a borrower's debt and collateral ratio. |

## Exposure, liquidity, and vault shares

| Topic                                                                             | What it explains                                                                                           |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [Loops and leverage](/mechanics/deep-dives/looping-and-leverage.md)               | How repeated borrowing and collateral purchases increase exposure, debt, and sensitivity to price changes. |
| [StableSwap](/mechanics/deep-dives/stableswap.md)                                 | Pool pricing, slippage, `minOut`, deadlines, and liquidity-provider holdings.                              |
| [Yield-bearing stablecoin shares](/mechanics/deep-dives/yield-bearing-stables.md) | Share conversion rates, withdrawal limits, cooldowns, and the use of vault shares as collateral.           |

For the transaction steps, use [borrowing and liquidation](/protocol/borrowing-and-liquidation.md), [USDHN and Earn](/protocol/usdhn-and-earn.md), or [StableSwap DEX](/protocol/stableswap-dex.md). Definitions and ratios are in the [glossary](/overview/glossary.md).


---

# 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.hann.finance/mechanics/deep-dives.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.
