Skip to content

Commit

Permalink
add coordinator doc (axelarnetwork#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
eguajardo authored May 27, 2024
1 parent 24080b4 commit 89c4ca8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Voting Verifier](contracts/voting_verifier.md)
- [Multisig Prover](contracts/multisig_prover.md)
- [Rewards](contracts/rewards.md)
- [Coordinator](contracts/coordinator.md)

# Contributing

Expand Down
19 changes: 19 additions & 0 deletions doc/src/contracts/coordinator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Coordinator

Some contracts, like the multisig provers, are deployed per chain and unknown to one another. The coordinator contract keeps track of these chain-dependent provers and coordinates any interaction that requires knowledge of all of them. For example, the ability for a verifier to unbond their stake requires to check that it's not part of any active verifier set on any chain.

```mermaid
flowchart TD
Co{"Coordinator"}
Go{"Governance"}
PrA{"Prover A"}
PrB{"Prover B"}
PrC{"Prover C"}
Go -- "Register Prover contract" --> Co
PrA -- "Set active verifiers" --> Co
PrB -- "Set active verifiers" --> Co
PrC -- "Set active verifiers" --> Co
```

0 comments on commit 89c4ca8

Please sign in to comment.