Skip to content

Commit

Permalink
add section on invariants
Browse files Browse the repository at this point in the history
  • Loading branch information
geoknee committed Apr 16, 2024
1 parent b585221 commit 2423d44
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions specs/protocol/revenue-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ Revenue sharing is the process by which chains in the superchain contribute a po
## `RevenueSharer` predeploy
Revenue sharing is achieved through an L2 [predeploy](./predeploys.md) contract `RevenueSharer` with address `0x4200000000000000000000000000000000000024`.

### Invariants
* The `RevenueSharer` contract should not accumulate any ETH or Tokens itself.
* It should share revenue in the propotions `s, r-s` when the `execute()` function is called
* It should emit an event when `execute()` is called.

### Deploying `RevenueSharer`

The `RevenueSharer` contract is now included in the L2 genesis and is not scheduled to be part of a hardfork.
Expand Down

0 comments on commit 2423d44

Please sign in to comment.