RealityETH / subjectivocracy

Design and code prototypes for a system of forking oracle-enshrined L2 ledgers
26 stars 3 forks source link

Make a `ForkChoosingBridge` #261

Open edmundedgar opened 6 months ago

edmundedgar commented 6 months ago

Currently we have the ForkableBridge but this changes under you.

Make a single contract that keeps track of the forking bridges and chooses based on a (configurable) ForkChoiceGovernor address. This in turn can do something like look at the auction result, or any other process.

Use this to abstract away the multiple bridges so you can do "send ETH to Backstop" or "get ETH back from Backstop".