-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(protocol): update intro and add security model section (#867)
Updates introduction and adds security model section to protocol docs task: none
- Loading branch information
Showing
13 changed files
with
97 additions
and
97 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Implementation | ||
|
||
<figure> | ||
<img src="/img/staking.png" alt="Staking" /> | ||
<figcaption>*Restaking ETH in Omni and Ethereum using EigenLayer AVS*</figcaption> | ||
</figure> | ||
|
||
The Omni staking contract is implemented on the Omni EVM. It tracks each validator’s stake and delegations, facilitates rewards distribution, and handles slashing events. The Omni AVS contract is implemented on Ethereum. It registers Omni as an application with the EigenLayer protocol and allows operators to opt-in to providing validation services to the Omni blockchain. Finally, Omni Portal contracts are implemented on the Omni EVM and all connected rollup VMs. These contracts maintain a copy of the Omni validator set’s stake, delegations, and voting power. | ||
|
||
To communicate staking events, Omni leverages its own `XMsg` format. Validators monitor the Omni staking contract on the Omni EVM for stake changes and the Omni AVS contract on Ethereum for delegation changes. These changes alert the Omni validator set to update its voting power details and pass the updates to Omni Portal contracts on every connected rollup VM. Finally, rewards and slashing events are initiated by the Omni validator set and are delivered to the Omni staking contract for execution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Reinforced Security | ||
|
||
Omni achieves stronger and more stable security guarantees than existing interoperability protocols by deriving its cryptoeconomic security from restaked **\$ETH**. Omni extends its security model further by incorporating staked **\$OMNI** using a dual staking model. Effectively, the total cryptoeconomic security of Omni is determined by the combined value of restaked **\$ETH** and staked **\$OMNI**. | ||
|
||
Using this dual staking model, the total cryptoeconomic security $\textit{C}$ of the system is given by the formula: | ||
|
||
<br/> | ||
<div style={{ textAlign: 'center', fontSize: '1.7em' }}> | ||
$C = \frac{2}{3} \sum_{a=0}^{m} \sum_{v=0}^{n} P_a(S_{a,v})$ | ||
</div> | ||
<br/> | ||
|
||
where: | ||
|
||
- $S_{a,v}$ is the amount staked by validator $v$ for asset $a$ | ||
- $P_a$ is the function mapping the amount of asset $a$ staked to validator power | ||
- $n$ is the total number of validators | ||
- $m$ is the total number of unique staked asset types | ||
|
||
Omni uses this reinforced staking model to scale its security across two dimensions. Restaked **\$ETH** anchors Omni’s security to Ethereum L1, enabling it to grow in line with Ethereum’s own security budget. The addition of staked **\$OMNI** builds upon this base, expanding Omni’s security alongside its own network activity. Collectively, these two complementary mechanisms provide robust and dynamic security guarantees for Omni, setting a new standard for secure interoperability for the Ethereum ecosystem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Restaking | ||
|
||
<figure> | ||
<img src="/img/restaking-security.png" alt="Security Model" /> | ||
<figcaption>*Omni derives cryptoeconomic security from restaked $ETH*</figcaption> | ||
</figure> | ||
|
||
Omni validators are responsible for verifying the authenticity of cross-rollup messages (`XMsgs`) and transactions on the Omni EVM. Using restaked **\$ETH** via EigenLayer, Omni leverages the cryptoeconomic security of Ethereum L1 for its own validator set. With more than $100 billion securing Ethereum L1, Ethereum’s security budget is an order of magnitude larger than any other Proof-of-Stake network. | ||
|
||
By leveraging restaked **\$ETH**, a highly liquid, low volatility asset, Omni’s security achieves significantly greater stability than its predecessors. Moreover, by deriving security from Ethereum, Omni aligns its security base with the rollups it connects, facilitating a security model that grows in tandem with Ethereum’s modular ecosystem. By implementing a cryptoeconomic security model using restaked **\$ETH**, Omni establishes a new paradigm for secure and reliable interoperability across the entire industry. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.