arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/src/vote-journey.mmd
v3-pq/figures/src/vote-journey.mmdRaw
 1flowchart LR
 2  classDef you fill:#d5e8d4,stroke:#82b366;
 3  classDef mid fill:#dae8fc,stroke:#6c8ebf;
 4  classDef chain fill:#fff2cc,stroke:#d6b656;
 5  classDef end_ fill:#ffe6cc,stroke:#d79b00;
 6  Y["YOU (browser)<br/>split ballot into ν pieces,<br/>mask each, lock mask keys<br/>into warden lockboxes,<br/>prove it all correct"]:::you
 7  Y -->|"package + proof<br/>(private channel)"| S["A SEQUENCER<br/>checks the proof, bundles<br/>many packages into a batch,<br/>adds its own blinding,<br/>proves the whole batch"]:::mid
 8  S -->|"batch proof +<br/>published data"| E["ETHEREUM<br/>contract verifies the proof,<br/>blobs store your package,<br/>your slot's blinded vector,<br/>and the running total"]:::chain
 9  E -->|"after the election"| W["ANY θ WARDENS<br/>open their lockboxes,<br/>strip masks + blinding<br/>from their column,<br/>publish proven partial sums"]:::mid
10  W -->|"θ partial sums"| R["THE CONTRACT<br/>draws the one curve through<br/>the θ points, reads it at zero:<br/>that number IS the result"]:::end_