# DeFi Ecosystem Exposure Risk

**Implementation Details**

**Class Names**

| Model Name                | Parameters Class        | Data Class           |
| ------------------------- | ----------------------- | -------------------- |
| DeFiEcosystemExposureRisk | DeFiExposureQueryParams | DeFiExposureRiskData |

**Import Statement**

```python
pythonCopyEditfrom satoshi_terminal.models.defi_ecosystem_exposure_risk import (
    DeFiEcosystemExposureRisk,
    DeFiExposureQueryParams,
    DeFiExposureRiskData,
)
```

***

**Parameters**

| Name              | Type       | Description                                                                             | Default | Optional |
| ----------------- | ---------- | --------------------------------------------------------------------------------------- | ------- | -------- |
| protocol\_name    | str        | Name of the protocol to analyze exposure risk for (e.g., Aave, Curve).                  | None    | False    |
| asset\_classes    | List\[str] | Classes of assets to include in the analysis (e.g., "Stablecoins," "ETH-based tokens"). | None    | True     |
| dependency\_depth | int        | Depth of dependency mapping for risk evaluation.                                        | 3       | True     |

***

**Data**

| Name            | Type     | Description                                                       |
| --------------- | -------- | ----------------------------------------------------------------- |
| protocol\_name  | str      | Name of the protocol being analyzed.                              |
| total\_exposure | float    | Total value at risk across the protocol’s ecosystem.              |
| dependency\_map | dict     | Mapping of interdependent protocols and their risk contributions. |
| risk\_score     | float    | Overall exposure risk score (0-100).                              |
| timestamp       | datetime | Timestamp of the analysis.                                        |

***

**Key Features**

* **Comprehensive Exposure Tracking:** Evaluates a protocol’s ecosystem exposure to various risks.
* **Dependency Risk Mapping:** Highlights interdependencies with other protocols and their associated risks.
* **Risk Scoring:** Assigns an overall risk score to the ecosystem for easy assessment.


---

# 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.satoshiterminal.io/resources/copy-of-defi-analytics/adoption-and-ecosystem-health/defi-ecosystem-exposure-risk.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.
