# Overview

The Oracle Architecture is a core component of Multistake’s safety model. Its primary role is to validate all state reported by external execution environments before that state is permitted to influence `totalAssets()`, net asset value (NAV), or any ERC-4626 conversion function. Because zkSync serves as the canonical accounting and settlement domain, the oracle layer provides defensible confirmation that externally generated execution state accurately reflects the values being reconciled into the vault.

This layer is intentionally conservative. Any state that cannot be independently validated is excluded from accounting. The absence of valid data cannot inflate NAV, distort share pricing, or introduce synthetic liquidity. The oracle system therefore functions as a strict safety boundary between external execution and internal accounting.

All execution environments operate independently and report position values, balances, and realized profit and loss. These reports are treated as untrusted inputs and must be validated prior to inclusion.

The oracle layer ensures that:

* Reported strategy values correspond to verifiable on-chain state.
* Pricing inputs are consistent with trusted reference sources and time-weighted mechanisms.
* Auxiliary assets (e.g., liquidity positions, reward tokens, derivative instruments) are correctly valued.
* Strategy health and risk flags are enforced.
* Malfunctioning or degraded execution environments are safely excluded from accounting.

The oracle layer represents the protocol’s primary defense against incorrect reporting — whether caused by stale data, operational faults, or adversarial behavior — preserving accounting integrity and solvency guarantees.


---

# 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://multistake-1.gitbook.io/multistake-docs/documentation/oracle-architecture/overview.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.
