forked from axelarnetwork/axelar-amplifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add coordinator doc (axelarnetwork#435)
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
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,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 | ||
``` |