# Developer Documentation

- [Dolomite Margin - Overview](https://docs.dolomite.io/developer-documentation/dolomite-margin-overview.md): An overview of Dolomite's smart contract architecture.
- [Dolomite Margin - Glossary](https://docs.dolomite.io/developer-documentation/dolomite-margin-glossary.md): To understand how Dolomite Margin works, it's essential to understand the following glossary of terms, which makes up its architecture.
- [Dolomite Margin - Getters](https://docs.dolomite.io/developer-documentation/dolomite-margin-getters.md): Dolomite Margin has an extensive list of functions you can use to query the smart contract's state.
- [Dolomite Margin - Events](https://docs.dolomite.io/developer-documentation/dolomite-margin-events.md): Dolomite's Core smart contracts emit events that make tracking system changes easy.
- [Dolomite Margin - dTokens](https://docs.dolomite.io/developer-documentation/dolomite-margin-dtokens.md): An ERC4626 vault token that wraps around your Dolomite balance
- [Depositing or Withdrawing](https://docs.dolomite.io/developer-documentation/depositing-or-withdrawing.md): Depositing or withdrawing into Dolomite is easy with the DepositWithdrawalRouter. You can find the address on the Smart Contract Addresses pages.
- [Managing Borrow Positions](https://docs.dolomite.io/developer-documentation/managing-borrow-positions.md): Moving assets between positions and opening/closing borrow positions is easy with the BorrowPositionRouter. You can find the address on the Smart Contract Addresses page.
- [Zapping Assets](https://docs.dolomite.io/developer-documentation/zapping-assets.md): Swapping assets is easy with the GenericTraderRouter. You can find the address for the router on the Smart Contract Addresses page.
- [Flash Loans](https://docs.dolomite.io/developer-documentation/flash-loans.md): Dolomite offers free access to flash loans for any market that is not in Isolation Mode.
- [E-Mode & Segregated Risk](https://docs.dolomite.io/developer-documentation/e-mode-and-segregated-risk.md): Dolomite's risk override system empowers users to borrow against assets with increased LTVs or modified risk parameters to partition risk and maximize underwriting potential.
- [TypeScript Client](https://docs.dolomite.io/developer-documentation/typescript-client.md): TypeScript library for interacting with the DolomiteMargin smart contracts.
- [Subgraph](https://docs.dolomite.io/developer-documentation/subgraph.md): Dolomite's subgraphs are essential for indexing the state of the protocol.


---

# 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.dolomite.io/developer-documentation.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.
