# DEFI

DeFi smart contracts are used to build decentralized financial applications, such as decentralized exchanges (DEXes), lending protocols, and yield aggregators.

* **Lending and borrowing:** These contracts allow users to lend and borrow assets, typically through a pool of liquidity. Examples include Aave, Compound, and MakerDAO.
* **Decentralized exchanges (DEXes):** These contracts allow users to trade assets without the need for a central authority. Examples include Uniswap, SushiSwap, and PancakeSwap.
* **Yield aggregators:** These contracts help users maximize their returns on their crypto assets by automatically investing them across different lending and DEX protocols. Examples include yearn finance and convex finance.
* **Derivatives:** These contracts allow users to speculate on the future price of assets. Examples include Synthetix and dYdX.
* **Asset Management:** These contracts allow users to invest in and manage a diversified portfolio of crypto assets. Examples include Set Protocol and Index Coop.
* **Insurance:** These contracts allow users to purchase insurance against losses due to hacks, scams, and other events.


---

# 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://sinqlarity.gitbook.io/sinqlarity-docs/use-cases/defi.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.
