Commit 432f22c2 authored by Maurelian's avatar Maurelian

WIP: Add mermaid graph

parent e2eb747a
......@@ -49,6 +49,25 @@ A `LivenessModule` is also created which does the following:
1. When a member is removed, the signing parameters are modified such that `M/N` is the lowest ratio
which remains greater than or equal to 75%. Using integer math, this can be expressed as `M = (N * 75 + 99) / 100`.
### Owner removal call flow
The following diagram illustrates the flow for removing a single owner.
```mermaid
sequenceDiagram
participant User
participant LivenessModule
participant LivenessGuard
participant Safe
User->>LivenessModule: removeOwner(owner)
LivenessModule->>LivenessGuard: lastLive(owner)
LivenessModule->>Safe: getOwners()
LivenessModule->>LivenessModule: get75PercentThreshold(numOwnersAfter)
LivenessModule->>LivenessModule: _getPrevOwner(owner, owners)
LivenessModule->>LivenessModule: _removeOwner(prevOwner, owner, thresholdAfter)
LivenessModule->>LivenessModule: _verifyFinalState()
```
### Shutdown
In the unlikely event that the signer set (`N`) is reduced below 8, then (and only then) is a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment