# Core Data Flow

The system’s data flow is designed to ensure one invariant: **all state-changing decisions ultimately resolve at zkSync**.

1. **Users interact with the zkSync vault.**\
   They deposit, withdraw, mint, redeem, and query all values from this contract.
2. **Vault allocates capital to execution planes.**\
   Capital is sent to strategies on zkSync, Monad, or MegaETH depending on configuration and available liquidity.
3. **Strategies execute independently.**\
   Each strategy performs its operations (e.g., LPing, hedging, lending, arbitrage) using the execution guarantees of its plane.
4. **Strategy planes report balances.**\
   Executors return position values, token balances, and PnL to zkSync through oracle channels.
5. **Oracle validation ensures correctness.**\
   zkSync oracles cross-check reported values against chain state, TWAPs, and consistency rules.
6. **zkSync vault updates NAV.**\
   Only validated data changes totalAssets() or influences share price.
7. **Withdrawals unwind strategies as needed.**\
   If local liquidity is insufficient, strategy planes unwind positions and bridge assets back for withdrawal.

This flow formalizes the asymmetry between execution and accounting, ensuring that execution cannot corrupt accounting.


---

# 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/system-overview/multistake-systems/core-data-flow.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.
