# The Hybrid Rollup Model

FOGEVM operates as an **Encrypted Optimistic Rollup**. This hybrid model leverages the economic security of Optimistic verification while utilizing cryptographic hardware to guarantee privacy.

* **The L2 State:** All smart contract execution, state changes, and account balances exist within the L2 environment. This state is encrypted at rest and in transit.
* **The L1 Commitment:** Periodically, the FOGEVM Sequencer bundles thousands of transactions and posts a "State Root" hash to the Ethereum Mainnet. This hash is a cryptographic commitment to the current state of the database, without revealing the database itself.
* **Fraud Proofs:** Unlike traditional Optimistic Rollups that rely on re-playing data publicly to prove fraud, FOGEVM utilizes Zero-Knowledge Fraud Proofs. If a validator suspects the Sequencer acted maliciously, they can generate a ZK-proof showing the state transition was invalid, without revealing the private user data.


---

# 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.fogevm.vip/system-architecture/the-hybrid-rollup-model.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.
