# Canonical Flow Through the zkSync Vault

```sql
             +-----------------------------------+
             |        zkSync ERC-4626 Vault       |
             |   NAV • Shares • Risk • Routing   |
             +------------------+----------------+
                                |
                      Capital Allocation
                                |
                                v
         +-----------+-----------+-----------+
         |           |           |           |
         v           v           v           v
   Execution Env A  Execution Env B  Execution Env C   Validation
     (Strategies)     (Strategies)     (Strategies)     Layer
         \               |                |             /
          \              |                |            /
           \             |                |           /
            +-------------+----------------+----------+
                         Validated PnL
                                |
                                v
                     NAV Update on zkSync

```

The zkSync Home Vault serves as the canonical settlement and accounting authority of the Multistake protocol. It is solely responsible for share issuance and redemption, net asset value (NAV) computation, risk enforcement, and strategy routing. All user-facing state transitions resolve exclusively within this contract.

Strategy execution occurs across heterogeneous external execution environments that operate independently of the vault and are treated as untrusted with respect to accounting. External environments cannot directly modify share supply, pricing, or vault state.

All state propagated from execution environments — including balances, realized profit and loss, and reward accrual — is subject to deterministic validation prior to inclusion in vault accounting. Only validated state transitions may affect NAV or share conversion semantics.

The vault preserves strict ERC-4626 behavioral guarantees under asynchronous and cross-domain execution conditions. Solvency and accounting correctness remain invariant even in the presence of partial execution failures, delayed state propagation, or execution environment unavailability.

#### zkSync as the Canonical Settlement Layer

Multistake deploys its canonical vault on zkSync to leverage:

* **Validity-Proof Security:** zkSync provides cryptographic guarantees of state correctness, reducing settlement trust assumptions for accounting and reconciliation.
* **Low-Cost, High-Throughput Execution:** Efficient transaction costs enable frequent accounting updates, validation cycles, and rebalancing without prohibitive overhead.
* **Fast Finality:** Rapid confirmation supports predictable settlement timing for deposits, withdrawals, and NAV updates.
* **EVM Compatibility:** Native compatibility with ERC-4626 simplifies integration with existing tooling, wallets, and DeFi infrastructure.

These properties make zkSync well-suited as a deterministic settlement layer for a globally distributed, multi-environment execution 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://multistake-1.gitbook.io/multistake-docs/documentation/zksync-home-vault/capital-allocation-layer/canonical-flow-through-the-zksync-vault.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.
