docs(spec): address the first technical review Specify the decryption-proof challenge, fix the scalar-bias explanation, remove symbol overloading, align tree operations with their use, replace the raster ballot table, and redraw every figure at a legible size.
jump to
@@ -4,7 +4,6 @@ \begin{acronym}
\acro{BFT}{byzantine fault tolerant} \acro{CRS}{common reference string} \acro{CSP}{credential service provider} - \acro{DA}{data availability} \acro{DKG}{distributed key generation} \acro{EIP}{Ethereum improvement proposal} \acro{EVM}{Ethereum virtual machine}
@@ -2,11 +2,6 @@ %\documentclass[runningheads, draft]{llncs}
\documentclass{llncs} %\documentclass{article} -% CONSIDERATIONS -% - From \textit{aggregation or accumulation} (in aggregation circuit) to \textit{batching}. -% - Add a section with vulnerabilities. -% - Include the role of the \textit{workers} as \textit{sequencer} helpers? - \input{preamble-packages} \input{preamble-macros} \input{acronyms.tex}
@@ -19,7 +19,7 @@ \usepackage[english]{babel}
\usepackage[utf8]{inputenc} \usepackage{hyperref} -\hypersetup{final} +\hypersetup{final, hidelinks} \usepackage{footmisc} %footnotes handling \usepackage{pdflscape} %package needed to set an horizontal pdf page
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="ballot-mode-packing" id="ballot-mode-packing"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1112" height="130" as="geometry"/></mxCell><mxCell id="c4" value="<b>numFields</b><br><font style='font-size:9px'>8 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="40" width="76" height="40" as="geometry"/></mxCell><mxCell id="c5" value="0" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="10" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c6" value="<b>groupSize</b><br><font style='font-size:9px'>8 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="96" y="40" width="76" height="40" as="geometry"/></mxCell><mxCell id="c7" value="8" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="86" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c8" value="<b>unique</b><br><font style='font-size:9px'>1 bit</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="172" y="40" width="56" height="40" as="geometry"/></mxCell><mxCell id="c9" value="16" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="162" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c10" value="<b>costExp.</b><br><font style='font-size:9px'>8 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="228" y="40" width="66" height="40" as="geometry"/></mxCell><mxCell id="c11" value="17" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="218" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c12" value="<b>maxValue</b><br><font style='font-size:9px'>48 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="294" y="40" width="172.8" height="40" as="geometry"/></mxCell><mxCell id="c13" value="25" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="284" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c14" value="<b>minValue</b><br><font style='font-size:9px'>48 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="466.8" y="40" width="172.8" height="40" as="geometry"/></mxCell><mxCell id="c15" value="73" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="456.8" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c16" value="<b>maxValueSum</b><br><font style='font-size:9px'>63 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="639.6" y="40" width="226.8" height="40" as="geometry"/></mxCell><mxCell id="c17" value="121" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="629.6" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c18" value="<b>minValueSum</b><br><font style='font-size:9px'>63 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="866.4000000000001" y="40" width="226.8" height="40" as="geometry"/></mxCell><mxCell id="c19" value="184" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="856.4000000000001" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c20" value="247" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="1073.2" y="82" width="40" height="16" as="geometry"/></mxCell><mxCell id="c21" value="<b>packed ballot mode</b> (state leaf 0x02 and ballot circuit input): one integer below 2<sup>247</sup>, fields from the least significant bit" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="20" y="8" width="960" height="24" as="geometry"/></mxCell><mxCell id="c22" value="registry checks at creation: 1 &le; numFields &le; 16, groupSize &le; numFields, minValue &le; maxValue, minValueSum &le; maxValueSum, maxValue &middot; maxVoters &le; 10<sup>12</sup>" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="102" width="960" height="22" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="ballot-mode-packing" id="ballot-mode-packing"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c22" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="656" height="200" as="geometry"/></mxCell><mxCell id="c3" value="<b>packed ballot mode</b>: an integer below 2<sup>247</sup>; bit positions below" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="14" y="6" width="640" height="26" as="geometry"/></mxCell><mxCell id="c4" value="<b>numFields</b><br><font style='font-size:12px'>8 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="14" y="40" width="110" height="46" as="geometry"/></mxCell><mxCell id="c5" value="0" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="0" y="88" width="40" height="18" as="geometry"/></mxCell><mxCell id="c6" value="<b>groupSize</b><br><font style='font-size:12px'>8 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="124" y="40" width="110" height="46" as="geometry"/></mxCell><mxCell id="c7" value="8" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="110" y="88" width="40" height="18" as="geometry"/></mxCell><mxCell id="c8" value="<b>unique</b><br><font style='font-size:12px'>1 bit</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="234" y="40" width="76" height="46" as="geometry"/></mxCell><mxCell id="c9" value="16" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="220" y="88" width="40" height="18" as="geometry"/></mxCell><mxCell id="c10" value="<b>costExp</b><br><font style='font-size:12px'>8 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="310" y="40" width="96" height="46" as="geometry"/></mxCell><mxCell id="c11" value="17" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="296" y="88" width="40" height="18" as="geometry"/></mxCell><mxCell id="c12" value="<b>maxValue</b><br><font style='font-size:12px'>48 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="406" y="40" width="236" height="46" as="geometry"/></mxCell><mxCell id="c13" value="25" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="392" y="88" width="40" height="18" as="geometry"/></mxCell><mxCell id="c14" value="73" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="616" y="88" width="40" height="18" as="geometry"/></mxCell><mxCell id="c15" value="<b>minValue</b><br><font style='font-size:12px'>48 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="14" y="128" width="236" height="46" as="geometry"/></mxCell><mxCell id="c16" value="73" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="0" y="176" width="40" height="18" as="geometry"/></mxCell><mxCell id="c17" value="<b>maxValueSum</b><br><font style='font-size:12px'>63 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="250" y="128" width="196" height="46" as="geometry"/></mxCell><mxCell id="c18" value="121" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="236" y="176" width="40" height="18" as="geometry"/></mxCell><mxCell id="c19" value="<b>minValueSum</b><br><font style='font-size:12px'>63 bits</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="446" y="128" width="196" height="46" as="geometry"/></mxCell><mxCell id="c20" value="184" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="432" y="176" width="40" height="18" as="geometry"/></mxCell><mxCell id="c21" value="247" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="616" y="176" width="40" height="18" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="batch-program" id="batch-program"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1130" height="600" as="geometry"/></mxCell><mxCell id="c4" value="PRIVATE INPUT BLOCKS" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="20" y="8" width="300" height="22" as="geometry"/></mxCell><mxCell id="c5" value="GROUPS OF CONSTRAINTS" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="380" y="8" width="360" height="22" as="geometry"/></mxCell><mxCell id="c6" value="PUBLIC OUTPUTS" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="860" y="8" width="240" height="22" as="geometry"/></mxCell><mxCell id="c7" value="<b>ballot proofs</b><div style='text-align:left;font-size:9px;line-height:1.35;margin-top:3px'>&bull; ballot verification key<br>&bull; n Groth16 proofs with (address, voteID, inputsHash)<br>&bull; n ECDSA signatures over the voteIDs</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=8;spacingTop=4;" vertex="1" parent="1"><mxGeometry x="20" y="40" width="300" height="84" as="geometry"/></mxCell><mxCell id="c8" value="<b>state transition</b><div style='text-align:left;font-size:9px;line-height:1.35;margin-top:3px'>&bull; processID, old and new state roots<br>&bull; n, w, occupiedBefore<br>&bull; inclusion proofs of 5 configuration leaves<br>&bull; transition chains: vote IDs, ballots,<br>&bull; &nbsp;&nbsp;refreshes, results accumulator<br>&bull; new, overwritten and refreshed ballots,<br>&bull; &nbsp;&nbsp;old accumulator</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=8;spacingTop=4;" vertex="1" parent="1"><mxGeometry x="20" y="136" width="300" height="150" as="geometry"/></mxCell><mxCell id="c9" value="<b>eligibility</b><div style='text-align:left;font-size:9px;line-height:1.35;margin-top:3px'>&bull; n Merkle census proofs, or<br>&bull; n CSP credentials (signature, weight, index)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=8;spacingTop=4;" vertex="1" parent="1"><mxGeometry x="20" y="298" width="300" height="70" as="geometry"/></mxCell><mxCell id="c10" value="<b>reencryption</b><div style='text-align:left;font-size:9px;line-height:1.35;margin-top:3px'>&bull; encryption key<br>&bull; secret seed of the batch<br>&bull; n original and reencrypted ballots</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=8;spacingTop=4;" vertex="1" parent="1"><mxGeometry x="20" y="380" width="300" height="84" as="geometry"/></mxCell><mxCell id="c11" value="<b>blobs</b><div style='text-align:left;font-size:9px;line-height:1.35;margin-top:3px'>&bull; processID, old state root<br>&bull; KZG commitments of the blobs</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=8;spacingTop=4;" vertex="1" parent="1"><mxGeometry x="20" y="476" width="300" height="70" as="geometry"/></mxCell><mxCell id="c12" value="<b>ballot proof verification</b><br><font style='font-size:9px'>VK hash = leaf 0x07; batched Groth16 check</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="40" width="380" height="40" as="geometry"/></mxCell><mxCell id="c13" value="<b>authentication</b><br><font style='font-size:9px'>recover key from signature; address matches</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="92" width="380" height="40" as="geometry"/></mxCell><mxCell id="c14" value="<b>census membership</b><br><font style='font-size:9px'>Merkle: one root, valid paths, no duplicates<br>CSP: one signer key, distinct addresses and indexes</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="298" width="380" height="52" as="geometry"/></mxCell><mxCell id="c15" value="<b>state transition</b><div style='text-align:left;font-size:9px;line-height:1.4;margin-top:3px'>&bull; configuration read under the old root<br>&bull; key namespaces and slot binding<br>&bull; chain of tree transitions<br>&bull; reencryption from the seed chain<br>&bull; results accumulation<br>&bull; silent refresh (count, disjoint, sorted)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="380" y="144" width="380" height="142" as="geometry"/></mxCell><mxCell id="c16" value="<b>data blobs</b><br><font style='font-size:9px'>rebuild blob cells from verified state;<br>z<sub>b</sub> from commitment, y<sub>b</sub> = p<sub>b</sub>(z<sub>b</sub>); digest</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="476" width="380" height="52" as="geometry"/></mxCell><mxCell id="c17" value="<b>binding</b><br><font style='font-size:9px'>same processID, root and key in every block;<br>inputsHash recomputed; census address = ballot address;<br>stored ballot = verified reencryption</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="380" width="380" height="70" as="geometry"/></mxCell><mxCell id="c18" value="<b>verdict</b>: ok = every group passed" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="440" y="548" width="260" height="36" as="geometry"/></mxCell><mxCell id="c19" value="ok, failMask" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="860" y="40" width="240" height="40" as="geometry"/></mxCell><mxCell id="c20" value="stateRoot<sup>old</sup>, stateRoot<sup>new</sup><br>numVotes, numOverwrites<br>occupiedBefore" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="860" y="144" width="240" height="74" as="geometry"/></mxCell><mxCell id="c21" value="censusRoot (or CSP address)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="860" y="298" width="240" height="40" as="geometry"/></mxCell><mxCell id="c22" value="blobsDigest, nBlobs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="860" y="476" width="240" height="40" as="geometry"/></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.238;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.857;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.527;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.371;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.417;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c17"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.371;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.254;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c20"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.385;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c21"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.385;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c16" target="c22"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c18" target="c19"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1112" y="566"/><mxPoint x="1112" y="60"/></Array></mxGeometry></mxCell><mxCell id="c33" value="from all groups" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="710" y="568" width="160" height="20" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="batch-program" id="batch-program"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1210" height="760" as="geometry"/></mxCell><mxCell id="c4" value="PRIVATE INPUT BLOCKS" style="text;html=1;whiteSpace=wrap;fontSize=15;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="16" y="8" width="390" height="26" as="geometry"/></mxCell><mxCell id="c5" value="GROUPS OF CONSTRAINTS" style="text;html=1;whiteSpace=wrap;fontSize=15;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="460" y="8" width="420" height="26" as="geometry"/></mxCell><mxCell id="c6" value="PUBLIC OUTPUTS" style="text;html=1;whiteSpace=wrap;fontSize=15;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="940" y="8" width="254" height="26" as="geometry"/></mxCell><mxCell id="c7" value="<b>ballot proofs</b><div style='text-align:left;font-size:13px;line-height:1.3;margin-top:3px'>&bull; ballot verification key<br>&bull; n Groth16 proofs with (address,<br>&bull; &nbsp;&nbsp;voteID, inputsHash)<br>&bull; n ECDSA signatures over the voteIDs</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=10;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="16" y="44" width="390" height="104" as="geometry"/></mxCell><mxCell id="c8" value="<b>state transition</b><div style='text-align:left;font-size:13px;line-height:1.3;margin-top:3px'>&bull; processID, old and new state roots<br>&bull; n, w, occupiedBefore<br>&bull; inclusion proofs of the five<br>&bull; &nbsp;&nbsp;configuration leaves<br>&bull; transition chains: vote IDs, ballots,<br>&bull; &nbsp;&nbsp;refreshes, results accumulator<br>&bull; new, overwritten and refreshed<br>&bull; &nbsp;&nbsp;ballots; old accumulator</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=10;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="16" y="164" width="390" height="196" as="geometry"/></mxCell><mxCell id="c9" value="<b>eligibility</b><div style='text-align:left;font-size:13px;line-height:1.3;margin-top:3px'>&bull; n Merkle census proofs, or<br>&bull; n CSP credentials (signature,<br>&bull; &nbsp;&nbsp;weight, index)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=10;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="16" y="376" width="390" height="84" as="geometry"/></mxCell><mxCell id="c10" value="<b>re-encryption</b><div style='text-align:left;font-size:13px;line-height:1.3;margin-top:3px'>&bull; encryption key<br>&bull; secret seed of the batch<br>&bull; n original and re-encrypted ballots</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=10;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="16" y="476" width="390" height="104" as="geometry"/></mxCell><mxCell id="c11" value="<b>blobs</b><div style='text-align:left;font-size:13px;line-height:1.3;margin-top:3px'>&bull; processID, old state root<br>&bull; KZG commitments of the blobs</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=10;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="16" y="596" width="390" height="84" as="geometry"/></mxCell><mxCell id="c12" value="<b>ballot proof verification</b><div style='font-size:13px;line-height:1.3;margin-top:3px'>VK hash = leaf 0x07; batched Groth16 check</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="460" y="44" width="420" height="50" as="geometry"/></mxCell><mxCell id="c13" value="<b>authentication</b><div style='font-size:13px;line-height:1.3;margin-top:3px'>key recovered from signature; address matches</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="460" y="102" width="420" height="50" as="geometry"/></mxCell><mxCell id="c14" value="<b>state transition</b><div style='text-align:left;font-size:13px;line-height:1.45;margin-top:4px'>&bull; configuration read under the old root<br>&bull; key namespaces and slot binding<br>&bull; chain of tree transitions<br>&bull; re-encryption from the seed chain<br>&bull; results accumulation<br>&bull; silent refresh (count, disjoint, sorted)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=8;spacingLeft=10;" vertex="1" parent="1"><mxGeometry x="460" y="164" width="420" height="196" as="geometry"/></mxCell><mxCell id="c15" value="<b>census membership</b><div style='font-size:13px;line-height:1.3;margin-top:3px'>Merkle: one root, valid paths, no duplicates<br>CSP: one signer key; distinct addresses<br>and indexes</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="460" y="376" width="420" height="84" as="geometry"/></mxCell><mxCell id="c16" value="<b>binding</b><div style='font-size:13px;line-height:1.3;margin-top:3px'>same processID, root and key in all blocks;<br>inputsHash recomputed; census address =<br>ballot address; stored ballot = verified<br>re-encryption</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="460" y="476" width="420" height="104" as="geometry"/></mxCell><mxCell id="c17" value="<b>data blobs</b><div style='font-size:13px;line-height:1.3;margin-top:3px'>rebuild blob cells from verified state;<br>z<sub>b</sub> from commitment, y<sub>b</sub> = p<sub>b</sub>(z<sub>b</sub>); digest</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="460" y="596" width="420" height="84" as="geometry"/></mxCell><mxCell id="c18" value="<b>verdict</b>: ok = every group passed" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="520" y="702" width="300" height="40" as="geometry"/></mxCell><mxCell id="c19" value="ok, failMask" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="940" y="44" width="254" height="50" as="geometry"/></mxCell><mxCell id="c20" value="stateRoot<sup>old</sup>,<br>stateRoot<sup>new</sup>, numVotes,<br>numOverwrites,<br>occupiedBefore" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="940" y="164" width="254" height="96" as="geometry"/></mxCell><mxCell id="c21" value="censusRoot<br>(or CSP address)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="940" y="376" width="254" height="60" as="geometry"/></mxCell><mxCell id="c22" value="blobsDigest, nBlobs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="940" y="596" width="254" height="50" as="geometry"/></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.2403846153846154;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.7980769230769231;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c17"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.24489795918367346;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c20"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.35714285714285715;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c21"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.2976190476190476;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c17" target="c22"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c18" target="c19"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1208" y="722"/><mxPoint x="1208" y="69"/></Array></mxGeometry></mxCell><mxCell id="c33" value="from all groups" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="824" y="722" width="200" height="22" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="blob-layout" id="blob-layout"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1060" height="330" as="geometry"/></mxCell><mxCell id="c4" value="<b>cells</b> (32-byte big-endian elements of the BLS12-381 scalar field), in order:" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="8" width="1000" height="22" as="geometry"/></mxCell><mxCell id="c5" value="header<br>u + 2<sup>64</sup>&middot;m" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="36" width="84" height="46" as="geometry"/></mxCell><mxCell id="c6" value="vote IDs (m) and updated slots (u),<br>4 per cell: &lceil;(m+u)/4&rceil; cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="100" y="36" width="216" height="46" as="geometry"/></mxCell><mxCell id="c7" value="ballot of slot 1<br>2&middot;n<sub>f</sub> point cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="316" y="36" width="176" height="46" as="geometry"/></mxCell><mxCell id="c8" value="ballot of slot 2<br>2&middot;n<sub>f</sub> point cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="492" y="36" width="176" height="46" as="geometry"/></mxCell><mxCell id="c9" value="&hellip;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="668" y="36" width="50" height="46" as="geometry"/></mxCell><mxCell id="c10" value="ballot of slot u<br>2&middot;n<sub>f</sub> point cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="718" y="36" width="176" height="46" as="geometry"/></mxCell><mxCell id="c11" value="zero cells up to<br>4096 &middot; nBlobs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="894" y="36" width="140" height="46" as="geometry"/></mxCell><mxCell id="c12" value="split into blobs of 4096 cells; T = 1 + &lceil;(m+u)/4&rceil; + 2&middot;n<sub>f</sub>&middot;u cells in total; nBlobs = &lceil;T / 4096&rceil; &le; 32" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="84" width="1030" height="20" as="geometry"/></mxCell><mxCell id="c13" value="<b>packed cell</b>: pack4(a, b, c, d) = a&middot;2<sup>189</sup> + b&middot;2<sup>126</sup> + c&middot;2<sup>63</sup> + d" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="110" width="600" height="20" as="geometry"/></mxCell><mxCell id="c14" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="132" width="40" height="28" as="geometry"/></mxCell><mxCell id="c15" value="a (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="56" y="132" width="150" height="28" as="geometry"/></mxCell><mxCell id="c16" value="b (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="206" y="132" width="150" height="28" as="geometry"/></mxCell><mxCell id="c17" value="c (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="356" y="132" width="150" height="28" as="geometry"/></mxCell><mxCell id="c18" value="d (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="506" y="132" width="150" height="28" as="geometry"/></mxCell><mxCell id="c19" value="vote IDs enter without their top bit (all lie in [2<sup>63</sup>, 2<sup>64</sup>)); slots are already below 2<sup>63</sup>" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="162" width="640" height="20" as="geometry"/></mxCell><mxCell id="c20" value="<b>point cell</b>: (x, y) &rarr; y + 2<sup>254</sup>&middot;(x mod 2)" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="192" width="600" height="20" as="geometry"/></mxCell><mxCell id="c21" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="214" width="40" height="28" as="geometry"/></mxCell><mxCell id="c22" value="x mod 2" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="56" y="214" width="40" height="28" as="geometry"/></mxCell><mxCell id="c23" value="y (254 bits, a BN254 field element)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="96" y="214" width="560" height="28" as="geometry"/></mxCell><mxCell id="c24" value="the identity (0, 1) encodes as 1; p<sub>BN254</sub> + 2<sup>254</sup> &lt; q<sub>BLS</sub>, so every cell is a valid field element" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="244" width="640" height="20" as="geometry"/></mxCell><mxCell id="c25" value="<b>binding to the commitments</b><br><div style='text-align:left;font-size:9px;line-height:1.5;margin-top:4px'>for each blob b with KZG commitment com<sub>b</sub>:<br>&nbsp;z<sub>b</sub> = H(processID || stateRoot<sup>old</sup> || com<sub>b</sub>) mod q<sub>BLS</sub><br>&nbsp;y<sub>b</sub> = p<sub>b</sub>(z<sub>b</sub>) (computed in the program)<br>blobsDigest = H(com<sub>1</sub> || y<sub>1</sub> || &hellip; || com<sub>nBlobs</sub> || y<sub>nBlobs</sub>)<br><br>the registry opens each (com<sub>b</sub>, z<sub>b</sub>, y<sub>b</sub>) with the<br>point-evaluation precompile against the<br>versioned hash of the published blob</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="700" y="110" width="344" height="160" as="geometry"/></mxCell><mxCell id="c26" value="Slots are listed once, in increasing order, whether they hold a new vote, an overwrite, or a silent refresh. The results accumulator is not published; observers recompute it from the old and new ballots of the listed slots." style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="286" width="1030" height="34" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="blob-layout" id="blob-layout"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="820" height="520" as="geometry"/></mxCell><mxCell id="c4" value="<b>cells</b> (32-byte big-endian elements of the BLS12-381 scalar field), in order:" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="14" y="8" width="790" height="24" as="geometry"/></mxCell><mxCell id="c5" value="header<br>n<sub>up</sub> + 2<sup>64</sup>&middot;n<sub>id</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="38" width="110" height="52" as="geometry"/></mxCell><mxCell id="c6" value="n<sub>id</sub> vote IDs, then n<sub>up</sub> slots,<br>4 per cell: &lceil;(n<sub>id</sub>+n<sub>up</sub>)/4&rceil; cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="126" y="38" width="300" height="52" as="geometry"/></mxCell><mxCell id="c7" value="ballot of slot 1:<br>2&middot;n<sub>f</sub> point cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="426" y="38" width="190" height="52" as="geometry"/></mxCell><mxCell id="c8" value="ballot of slot 2:<br>2&middot;n<sub>f</sub> point cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="616" y="38" width="190" height="52" as="geometry"/></mxCell><mxCell id="c9" value="&hellip;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="102" width="60" height="52" as="geometry"/></mxCell><mxCell id="c10" value="ballot of slot n<sub>up</sub>:<br>2&middot;n<sub>f</sub> point cells" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="76" y="102" width="220" height="52" as="geometry"/></mxCell><mxCell id="c11" value="zero cells up to<br>4096 &middot; nBlobs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="296" y="102" width="230" height="52" as="geometry"/></mxCell><mxCell id="c12" value="split into blobs of 4096 cells: T = 1 + &lceil;(n<sub>id</sub>+n<sub>up</sub>)/4&rceil; + 2&middot;n<sub>f</sub>&middot;n<sub>up</sub> cells in total, nBlobs = &lceil;T / 4096&rceil; &le; 32" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="160" width="790" height="40" as="geometry"/></mxCell><mxCell id="c13" value="<b>packed cell</b> = a&middot;2<sup>189</sup> + b&middot;2<sup>126</sup> + c&middot;2<sup>63</sup> + d" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="204" width="480" height="24" as="geometry"/></mxCell><mxCell id="c14" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="230" width="36" height="34" as="geometry"/></mxCell><mxCell id="c15" value="a (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="52" y="230" width="110" height="34" as="geometry"/></mxCell><mxCell id="c16" value="b (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="162" y="230" width="110" height="34" as="geometry"/></mxCell><mxCell id="c17" value="c (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="272" y="230" width="110" height="34" as="geometry"/></mxCell><mxCell id="c18" value="d (63 bits)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="382" y="230" width="110" height="34" as="geometry"/></mxCell><mxCell id="c19" value="vote IDs enter without their top bit (they lie in [2<sup>63</sup>, 2<sup>64</sup>)); slots are already below 2<sup>63</sup>" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="266" width="480" height="40" as="geometry"/></mxCell><mxCell id="c20" value="<b>point cell</b>: (x, y) &rarr; y + 2<sup>254</sup>&middot;(x mod 2)" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="320" width="480" height="24" as="geometry"/></mxCell><mxCell id="c21" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="346" width="36" height="34" as="geometry"/></mxCell><mxCell id="c22" value="x mod 2" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="52" y="346" width="90" height="34" as="geometry"/></mxCell><mxCell id="c23" value="y (254 bits, BN254 field element)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="142" y="346" width="350" height="34" as="geometry"/></mxCell><mxCell id="c24" value="the identity (0, 1) encodes as 1; p<sub>BN254</sub> + 2<sup>254</sup> &lt; q<sub>BLS</sub>, so every cell is a field element" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="382" width="480" height="40" as="geometry"/></mxCell><mxCell id="c25" value="<b>binding to the commitments</b><div style='text-align:left;font-size:12px;line-height:1.45;margin-top:4px'>for each blob b with commitment com<sub>b</sub>:<br>z<sub>b</sub> = H(processID || stateRoot<sup>old</sup><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|| com<sub>b</sub>) mod q<sub>BLS</sub><br>y<sub>b</sub> = p<sub>b</sub>(z<sub>b</sub>), computed in the program<br>blobsDigest = H(com<sub>1</sub> || y<sub>1</sub> || &hellip;)<br><br>the registry opens each (com<sub>b</sub>, z<sub>b</sub>, y<sub>b</sub>)<br>with the point-evaluation precompile<br>against the blob's versioned hash</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=8;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="512" y="204" width="292" height="222" as="geometry"/></mxCell><mxCell id="c26" value="Slots are listed once, in increasing order, whether they hold a new vote, an overwrite, or a silent refresh (n<sub>id</sub> = n, n<sub>up</sub> = n + |R|). The results accumulator is not published; observers recompute it from the old and new ballots of the listed slots." style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="440" width="790" height="70" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="circuit1" id="circuit1"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="980" height="420" as="geometry"/></mxCell><mxCell id="c4" value="$$\text{ballotMode}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="30" y="20" width="120" height="36" as="geometry"/></mxCell><mxCell id="c5" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="170" y="20" width="100" height="36" as="geometry"/></mxCell><mxCell id="c6" value="$$\text{ballot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="300" y="20" width="100" height="36" as="geometry"/></mxCell><mxCell id="c7" value="$$\text{encryptionKey}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="430" y="20" width="140" height="36" as="geometry"/></mxCell><mxCell id="c8" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="590" y="20" width="60" height="36" as="geometry"/></mxCell><mxCell id="c9" value="$$\text{processID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="680" y="20" width="120" height="36" as="geometry"/></mxCell><mxCell id="c10" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="830" y="20" width="120" height="36" as="geometry"/></mxCell><mxCell id="c11" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="20" y="86" width="940" height="214" as="geometry"/></mxCell><mxCell id="c12" value="$$\text{protocolRulesCompliance(ballotMode, weight, ballot)}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="30" y="112" width="320" height="46" as="geometry"/></mxCell><mxCell id="c13" value="$$\text{Enc}_{\text{encryptionKey}}(\text{ballot}; k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="366" y="112" width="250" height="46" as="geometry"/></mxCell><mxCell id="c14" value="$$2^{63} + (\text{Poseidon}(\text{processID}, \text{address}, k) \bmod 2^{63})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="646" y="112" width="300" height="46" as="geometry"/></mxCell><mxCell id="c15" value="$$\text{Poseidon}(\text{processID}, \text{ballotMode}, \text{encryptionKey}, \text{address}, \text{voteID}, \text{encryptedBallot}, \text{weight})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="232" width="566" height="46" as="geometry"/></mxCell><mxCell id="c16" value="$$\text{encryptedBallot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="416" y="176" width="150" height="34" as="geometry"/></mxCell><mxCell id="c17" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="736" y="176" width="120" height="34" as="geometry"/></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.15;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.48;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.88;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.12;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.55;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.9;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.08;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.45;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.85;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c13" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c17"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.196;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c16" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.735;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c17" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="true" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="140" y="316" width="100" height="24" as="geometry"/></mxCell><mxCell id="c32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c12" target="c31"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c33" value="$$\text{inputsHash}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="416" y="316" width="150" height="34" as="geometry"/></mxCell><mxCell id="c34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.196;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c33"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c35" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="736" y="316" width="120" height="34" as="geometry"/></mxCell><mxCell id="c36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c17" target="c35"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="900" y="193"/><mxPoint x="900" y="333"/></Array></mxGeometry></mxCell><mxCell id="c37" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="40" y="372" width="22" height="16" as="geometry"/></mxCell><mxCell id="c38" value="public input" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="68" y="368" width="200" height="24" as="geometry"/></mxCell><mxCell id="c39" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="270" y="372" width="22" height="16" as="geometry"/></mxCell><mxCell id="c40" value="private input" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="298" y="368" width="200" height="24" as="geometry"/></mxCell><mxCell id="c41" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="500" y="372" width="22" height="16" as="geometry"/></mxCell><mxCell id="c42" value="private input bound by inputsHash" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="528" y="368" width="200" height="24" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="circuit1" id="circuit1"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="830" height="420" as="geometry"/></mxCell><mxCell id="c4" value="\(\text{ballotMode}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="20" width="120" height="38" as="geometry"/></mxCell><mxCell id="c5" value="\(\text{weight}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150" y="20" width="90" height="38" as="geometry"/></mxCell><mxCell id="c6" value="\(\text{ballot}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="250" y="20" width="80" height="38" as="geometry"/></mxCell><mxCell id="c7" value="\(\text{encryptionKey}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="340" y="20" width="140" height="38" as="geometry"/></mxCell><mxCell id="c8" value="\(k\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="490" y="20" width="44" height="38" as="geometry"/></mxCell><mxCell id="c9" value="\(\text{processID}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="545" y="20" width="110" height="38" as="geometry"/></mxCell><mxCell id="c10" value="\(\text{address}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="665" y="20" width="110" height="38" as="geometry"/></mxCell><mxCell id="c11" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="10" y="84" width="806" height="222" as="geometry"/></mxCell><mxCell id="c12" value="\(\text{protocolRulesCompliance}\)<br>\(\text{(ballotMode, weight, ballot)}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="112" width="250" height="56" as="geometry"/></mxCell><mxCell id="c13" value="\(\text{Enc}_{\text{encryptionKey}}(\text{ballot}; k)\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="300" y="112" width="180" height="56" as="geometry"/></mxCell><mxCell id="c14" value="\(2^{63} + (\text{Poseidon}(\text{processID}, \text{address}, k)\)<br>\(\bmod 2^{63})\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="510" y="112" width="290" height="56" as="geometry"/></mxCell><mxCell id="c15" value="\(\text{encryptedBallot}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="315" y="190" width="150" height="34" as="geometry"/></mxCell><mxCell id="c16" value="\(\text{voteID}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="600" y="190" width="110" height="34" as="geometry"/></mxCell><mxCell id="c17" value="\(\text{Poseidon(processID, ballotMode, encryptionKey, address,}\)<br>\(\text{voteID, encryptedBallot, weight)}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="300" y="244" width="500" height="52" as="geometry"/></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.24;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.7;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.95;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.08;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.61;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.93;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.05;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.31;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.72;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c13" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.18;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c17"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.71;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c16" target="c17"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="true" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="95" y="326" width="100" height="26" as="geometry"/></mxCell><mxCell id="c32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c12" target="c31"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c33" value="\(\text{inputsHash}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="315" y="326" width="150" height="34" as="geometry"/></mxCell><mxCell id="c34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.18;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c17" target="c33"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c35" value="\(\text{voteID}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="600" y="326" width="110" height="34" as="geometry"/></mxCell><mxCell id="c36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c16" target="c35"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="812" y="207"/><mxPoint x="812" y="343"/></Array></mxGeometry></mxCell><mxCell id="c37" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="24" y="384" width="22" height="16" as="geometry"/></mxCell><mxCell id="c38" value="public input" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="52" y="380" width="210" height="24" as="geometry"/></mxCell><mxCell id="c39" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="274" y="384" width="22" height="16" as="geometry"/></mxCell><mxCell id="c40" value="secret private input" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="302" y="380" width="210" height="24" as="geometry"/></mxCell><mxCell id="c41" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="524" y="384" width="22" height="16" as="geometry"/></mxCell><mxCell id="c42" value="private input bound by inputsHash" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="552" y="380" width="210" height="24" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="circuits-flow" id="circuits-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="VOTER" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="280" height="270" as="geometry"/></mxCell><mxCell id="c4" value="SEQUENCER" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="330" y="0" width="300" height="270" as="geometry"/></mxCell><mxCell id="c5" value="SETTLEMENT CHAIN" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="680" y="0" width="240" height="270" as="geometry"/></mxCell><mxCell id="c6" value="<b>Ballot circuit</b><br><div style='text-align:left;margin-top:6px;line-height:1.45'>&bull; <b>proof system:</b> Groth16<br>&bull; <b>elliptic curve:</b> BN254<br>&bull; <b>software:</b> circom</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=6;spacingLeft=10;" vertex="1" parent="1"><mxGeometry x="25" y="70" width="230" height="96" as="geometry"/></mxCell><mxCell id="c7" value="1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="17" y="62" width="18" height="16" as="geometry"/></mxCell><mxCell id="c8" value="<b>Batch program</b><br><div style='text-align:left;margin-top:6px;line-height:1.45'>&bull; <b>proof system:</b> STARK + PlonK<br>&bull; <b>zkVM:</b> ZisK (RISC-V)<br>&bull; <b>software:</b> Rust</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=6;spacingLeft=10;" vertex="1" parent="1"><mxGeometry x="365" y="40" width="230" height="96" as="geometry"/></mxCell><mxCell id="c9" value="2" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="357" y="32" width="18" height="16" as="geometry"/></mxCell><mxCell id="c10" value="<b>Results program</b><br><div style='text-align:left;margin-top:6px;line-height:1.45'>&bull; <b>proof system:</b> STARK + PlonK<br>&bull; <b>zkVM:</b> ZisK (RISC-V)<br>&bull; <b>used:</b> sequencer-held keys</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=6;spacingLeft=10;" vertex="1" parent="1"><mxGeometry x="365" y="160" width="230" height="96" as="geometry"/></mxCell><mxCell id="c11" value="3" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="357" y="152" width="18" height="16" as="geometry"/></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="705" y="70" width="190" height="130" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="788" y="82" width="16" height="24" as="geometry"/></mxCell><mxCell id="c14" value="<b>ProcessRegistry</b><br>verifies proofs with<br>the ZiskVerifier and<br>blob openings" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="705" y="110" width="190" height="80" as="geometry"/></mxCell><mxCell id="c15" value="ballot<br>proof" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.3;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="batch proof,<br>blobs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="results<br>proof" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.8;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="one proof per ballot,<br>verified in batches<br>inside the batch program" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="25" y="186" width="230" height="70" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="circuits-flow" id="circuits-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="VOTER" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="240" height="280" as="geometry"/></mxCell><mxCell id="c4" value="SEQUENCER" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="280" y="0" width="260" height="280" as="geometry"/></mxCell><mxCell id="c5" value="SETTLEMENT CHAIN" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="580" y="0" width="210" height="280" as="geometry"/></mxCell><mxCell id="c6" value="<b>Ballot circuit</b><br><div style='text-align:left;margin-top:4px;line-height:1.4'>&bull; <b>proof:</b> Groth16<br>&bull; <b>curve:</b> BN254<br>&bull; <b>tool:</b> circom</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=5;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="15" y="70" width="210" height="96" as="geometry"/></mxCell><mxCell id="c7" value="1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="7" y="62" width="18" height="16" as="geometry"/></mxCell><mxCell id="c8" value="<b>Batch program</b><br><div style='text-align:left;margin-top:4px;line-height:1.4'>&bull; <b>proof:</b> STARK+PlonK<br>&bull; <b>zkVM:</b> ZisK<br>&bull; <b>tool:</b> Rust</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=5;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="305" y="42" width="210" height="96" as="geometry"/></mxCell><mxCell id="c9" value="2" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="297" y="34" width="18" height="16" as="geometry"/></mxCell><mxCell id="c10" value="<b>Results program</b><br><div style='text-align:left;margin-top:4px;line-height:1.4'>&bull; <b>proof:</b> STARK+PlonK<br>&bull; <b>zkVM:</b> ZisK<br>&bull; <b>used:</b> sequencer key</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=5;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="305" y="164" width="210" height="96" as="geometry"/></mxCell><mxCell id="c11" value="3" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="297" y="156" width="18" height="16" as="geometry"/></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="598" y="70" width="174" height="140" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="677" y="80" width="16" height="24" as="geometry"/></mxCell><mxCell id="c14" value="<b>ProcessRegistry</b><br>verifies proofs<br>with the ZisK<br>verifier and blob<br>openings" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="598" y="106" width="174" height="100" as="geometry"/></mxCell><mxCell id="c15" value="ballot<br>proof" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.3;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="batch<br>proof,<br>blobs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.2;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="results<br>proof" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.8;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="one proof per ballot,<br>verified in batches<br>by the batch program" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="15" y="186" width="210" height="70" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="grace-window" id="grace-window"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1020" height="290" as="geometry"/></mxCell><mxCell id="c4" value="<b>voting period</b>: votes admitted and settled" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="60" y="96" width="360" height="40" as="geometry"/></mxCell><mxCell id="c5" value="<b>grace window</b>: no new votes; queued batches settle" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="420" y="96" width="420" height="40" as="geometry"/></mxCell><mxCell id="c6" value="<b>results</b> can be<br>requested and published" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="840" y="96" width="140" height="40" as="geometry"/></mxCell><mxCell id="c7" value="" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="20" y="150" as="sourcePoint"/><mxPoint x="1005" y="150" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c8" value="time" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="965" y="128" width="50" height="18" as="geometry"/></mxCell><mxCell id="c9" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="60" y="142" as="sourcePoint"/><mxPoint x="60" y="158" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c10" value="startTime" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="-10" y="160" width="140" height="34" as="geometry"/></mxCell><mxCell id="c11" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="420" y="142" as="sourcePoint"/><mxPoint x="420" y="158" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c12" value="end =<br>startTime + duration" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="350" y="160" width="140" height="34" as="geometry"/></mxCell><mxCell id="c13" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="840" y="142" as="sourcePoint"/><mxPoint x="840" y="158" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c14" value="graceEnd" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="770" y="160" width="140" height="34" as="geometry"/></mxCell><mxCell id="c15" value="" style="ellipse;fillColor=#9673a6;strokeColor=#9673a6;html=1;" vertex="1" parent="1"><mxGeometry x="535" y="145" width="10" height="10" as="geometry"/></mxCell><mxCell id="c16" value="" style="ellipse;fillColor=#9673a6;strokeColor=#9673a6;html=1;" vertex="1" parent="1"><mxGeometry x="635" y="145" width="10" height="10" as="geometry"/></mxCell><mxCell id="c17" value="settled<br>transitions" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="490" y="160" width="100" height="34" as="geometry"/></mxCell><mxCell id="c18" value="lastVoteAt" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="595" y="160" width="90" height="34" as="geometry"/></mxCell><mxCell id="c19" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="960" y="142" as="sourcePoint"/><mxPoint x="960" y="158" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c20" value="end +<br>graceMaxTotal" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="905" y="160" width="110" height="34" as="geometry"/></mxCell><mxCell id="c21" value="grace" style="html=1;rounded=0;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="640" y="86" as="sourcePoint"/><mxPoint x="840" y="86" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c22" value="flush: seal everything pending" style="html=1;rounded=0;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="380" y="210" as="sourcePoint"/><mxPoint x="840" y="210" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c23" value="graceMaxTotal (cap)" style="html=1;rounded=0;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="420" y="246" as="sourcePoint"/><mxPoint x="960" y="246" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c24" value="graceEnd = min(end + graceMaxTotal, max(end, lastVoteAt) + grace); every settled transition moves lastVoteAt and pushes graceEnd forward" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="20" y="8" width="960" height="30" as="geometry"/></mxCell><mxCell id="c25" value="OP Mainnet deployment: grace 300 s by default (organizer may choose 240-600 s), graceMaxTotal 1800 s, noticeMin 60 s" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="258" width="960" height="24" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="grace-window" id="grace-window"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c24" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="840" height="336" as="geometry"/></mxCell><mxCell id="c3" value="graceEnd = min(end + graceMaxTotal, max(end, lastVoteAt) + grace); every settled transition moves lastVoteAt and pushes graceEnd forward" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="14" y="8" width="812" height="46" as="geometry"/></mxCell><mxCell id="c4" value="<b>voting period</b><br>votes admitted and settled" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="40" y="108" width="280" height="50" as="geometry"/></mxCell><mxCell id="c5" value="<b>grace window</b><br>no new votes; queued batches settle" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="320" y="108" width="350" height="50" as="geometry"/></mxCell><mxCell id="c6" value="<b>results</b><br>can be published" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="670" y="108" width="150" height="50" as="geometry"/></mxCell><mxCell id="c7" value="" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="14" y="170" as="sourcePoint"/><mxPoint x="830" y="170" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c8" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="40" y="162" as="sourcePoint"/><mxPoint x="40" y="178" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c9" value="startTime" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="2.0" y="180" width="76" height="36" as="geometry"/></mxCell><mxCell id="c10" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="320" y="162" as="sourcePoint"/><mxPoint x="320" y="178" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c11" value="end" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="245.0" y="180" width="150" height="36" as="geometry"/></mxCell><mxCell id="c12" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="670" y="162" as="sourcePoint"/><mxPoint x="670" y="178" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c13" value="graceEnd" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="595.0" y="180" width="150" height="36" as="geometry"/></mxCell><mxCell id="c14" value="" style="ellipse;fillColor=#9673a6;strokeColor=#9673a6;html=1;" vertex="1" parent="1"><mxGeometry x="414" y="164" width="12" height="12" as="geometry"/></mxCell><mxCell id="c15" value="" style="ellipse;fillColor=#9673a6;strokeColor=#9673a6;html=1;" vertex="1" parent="1"><mxGeometry x="494" y="164" width="12" height="12" as="geometry"/></mxCell><mxCell id="c16" value="settled<br>batches" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="375" y="180" width="90" height="36" as="geometry"/></mxCell><mxCell id="c17" value="lastVoteAt" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="460" y="180" width="90" height="36" as="geometry"/></mxCell><mxCell id="c18" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="790" y="162" as="sourcePoint"/><mxPoint x="790" y="178" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c19" value="end +<br>graceMaxTotal" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="730" y="192" width="110" height="36" as="geometry"/></mxCell><mxCell id="c20" value="grace" style="html=1;rounded=0;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="500" y="96" as="sourcePoint"/><mxPoint x="670" y="96" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c21" value="flush: seal everything pending" style="html=1;rounded=0;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="290" y="240" as="sourcePoint"/><mxPoint x="670" y="240" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c22" value="graceMaxTotal (cap)" style="html=1;rounded=0;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="320" y="280" as="sourcePoint"/><mxPoint x="790" y="280" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c23" value="OP Mainnet deployment: grace 300 s by default (the organizer may choose 240&ndash;600 s), graceMaxTotal 1800 s, noticeMin 60 s." style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="294" width="812" height="40" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="key-modes" id="key-modes"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="980" height="386" as="geometry"/></mxCell><mxCell id="c4" value="<b>organizer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="400" y="14" width="180" height="40" as="geometry"/></mxCell><mxCell id="c5" value="<b>process registry</b>: newProcess(..., keyMode)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="300" y="84" width="380" height="44" as="geometry"/></mxCell><mxCell id="c6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c5"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c7" value="<b>DKG automatic</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="170" width="220" height="34" as="geometry"/></mxCell><mxCell id="c8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.125;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c9" value="DavinciDKGAdapter &rarr; DKG network" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c10" value="<div style='text-align:left;line-height:1.45'>&bull; key: pool key P<sub>j</sub> of a live epoch<br>&bull; holders: t-of-n committee drawn by lottery from permissionless operators<br>&bull; decrypt: committee, after the grace window<br>&bull; publish: any sequencer (requestResultsDecryption, finalizeResultsFromDKG)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="20" y="238" width="220" height="132" as="geometry"/></mxCell><mxCell id="c11" value="<b>DKG locked</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="260" y="170" width="220" height="34" as="geometry"/></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.375;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c11"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="DavinciDKGAdapter &rarr; DKG network" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="260" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c14" value="<div style='text-align:left;line-height:1.45'>&bull; key: P<sub>j</sub> + pk<sub>org</sub><br>&bull; holders: committee and organizer<br>&bull; decrypt: committee, only after the organizer reveals sk<sub>org</sub><br>&bull; publish: any sequencer, as above</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="260" y="238" width="220" height="132" as="geometry"/></mxCell><mxCell id="c15" value="<b>Council</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="500" y="170" width="220" height="34" as="geometry"/></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.625;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="CouncilAdapter &rarr; CouncilManager" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="500" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c18" value="<div style='text-align:left;line-height:1.45'>&bull; key: ceremony key, shared by the processes bound to the ceremony<br>&bull; holders: t-of-n invited members<br>&bull; decrypt: members, once the ceremony's decryption gate opens<br>&bull; publish: any sequencer, as above</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="500" y="238" width="220" height="132" as="geometry"/></mxCell><mxCell id="c19" value="<b>Sequencer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="740" y="170" width="220" height="34" as="geometry"/></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.875;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="key requested from a sequencer before creation" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="740" y="206" width="220" height="30" as="geometry"/></mxCell><mxCell id="c22" value="<div style='text-align:left;line-height:1.45'>&bull; key: sk derived from the sequencer's master secret and processID<br>&bull; holder: that sequencer alone<br>&bull; decrypt: the sequencer, after the grace window<br>&bull; publish: the sequencer (results program, setProcessResults)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=6;" vertex="1" parent="1"><mxGeometry x="740" y="238" width="220" height="132" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="key-modes" id="key-modes"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c22" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="820" height="468" as="geometry"/></mxCell><mxCell id="c3" value="<b>organizer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="320" y="12" width="180" height="40" as="geometry"/></mxCell><mxCell id="c4" value="<b>process registry</b>: newProcess(&hellip;, keyMode)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="220" y="80" width="380" height="46" as="geometry"/></mxCell><mxCell id="c5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c3" target="c4"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c6" value="<b>DKG automatic</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="14" y="166" width="190" height="38" as="geometry"/></mxCell><mxCell id="c7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.125;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c8" value="DavinciDKGAdapter<br>&rarr; DKG network" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="208" width="190" height="40" as="geometry"/></mxCell><mxCell id="c9" value="<div style='text-align:left;line-height:1.4'>&bull; key: pool key P<sub>j</sub> of a live epoch<br>&bull; holders: &theta;-of-&nu; committee drawn by lottery<br>&bull; decrypt: committee, after the grace window<br>&bull; publish: any sequencer</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=4;" vertex="1" parent="1"><mxGeometry x="14" y="254" width="190" height="200" as="geometry"/></mxCell><mxCell id="c10" value="<b>DKG locked</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="214" y="166" width="190" height="38" as="geometry"/></mxCell><mxCell id="c11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.375;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c12" value="DavinciDKGAdapter<br>&rarr; DKG network" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="214" y="208" width="190" height="40" as="geometry"/></mxCell><mxCell id="c13" value="<div style='text-align:left;line-height:1.4'>&bull; key: P<sub>j</sub> + pk<sub>org</sub><br>&bull; holders: committee and organizer<br>&bull; decrypt: committee, after the organizer reveals sk<sub>org</sub><br>&bull; publish: any sequencer</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=4;" vertex="1" parent="1"><mxGeometry x="214" y="254" width="190" height="200" as="geometry"/></mxCell><mxCell id="c14" value="<b>Council</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="414" y="166" width="190" height="38" as="geometry"/></mxCell><mxCell id="c15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.625;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="CouncilAdapter<br>&rarr; CouncilManager" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="414" y="208" width="190" height="40" as="geometry"/></mxCell><mxCell id="c17" value="<div style='text-align:left;line-height:1.4'>&bull; key: ceremony key, shared by bound processes<br>&bull; holders: &theta;-of-&nu; invited members<br>&bull; decrypt: members, once the decryption gate opens<br>&bull; publish: any sequencer</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=4;" vertex="1" parent="1"><mxGeometry x="414" y="254" width="190" height="200" as="geometry"/></mxCell><mxCell id="c18" value="<b>Sequencer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="614" y="166" width="190" height="38" as="geometry"/></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.875;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c18"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="key requested from a<br>sequencer before creation" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="614" y="208" width="190" height="40" as="geometry"/></mxCell><mxCell id="c21" value="<div style='text-align:left;line-height:1.4'>&bull; key: derived from the sequencer's master secret<br>&bull; holder: that sequencer alone<br>&bull; decrypt: the sequencer, after the grace window<br>&bull; publish: that sequencer, with a results proof</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=top;spacingLeft=6;spacingTop=6;spacingRight=4;" vertex="1" parent="1"><mxGeometry x="614" y="254" width="190" height="200" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="l1-settlement" id="l1-settlement"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c31" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="980" height="614" as="geometry"/></mxCell><mxCell id="c30" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="860" y="44" as="sourcePoint"/><mxPoint x="860" y="604" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c29" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="44" as="sourcePoint"/><mxPoint x="710" y="604" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c28" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="560" y="44" as="sourcePoint"/><mxPoint x="560" y="604" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c27" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="410" y="44" as="sourcePoint"/><mxPoint x="410" y="604" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c26" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="260" y="44" as="sourcePoint"/><mxPoint x="260" y="604" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c25" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="44" as="sourcePoint"/><mxPoint x="110" y="604" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="251" y="144" width="18" height="138" as="geometry"/></mxCell><mxCell id="c3" value="<b>sequencer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="44" y="10" width="132" height="34" as="geometry"/></mxCell><mxCell id="c4" value="<b>prover</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="194" y="10" width="132" height="34" as="geometry"/></mxCell><mxCell id="c5" value="<b>Ethereum (L1)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="344" y="10" width="132" height="34" as="geometry"/></mxCell><mxCell id="c6" value="<b>L1Block (OP)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="494" y="10" width="132" height="34" as="geometry"/></mxCell><mxCell id="c7" value="<b>process registry (OP)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="644" y="10" width="132" height="34" as="geometry"/></mxCell><mxCell id="c8" value="<b>L1BlobVerifier (OP)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="794" y="10" width="132" height="34" as="geometry"/></mxCell><mxCell id="c9" value="seal batch, build blobs<br>and KZG commitments" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20.0" y="68" width="180" height="32" as="geometry"/></mxCell><mxCell id="c10" value="batch inputs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="118" as="sourcePoint"/><mxPoint x="260" y="118" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c11" value="blob tx 1: blobs 0-5 (type 3)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="148" as="sourcePoint"/><mxPoint x="410" y="148" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c12" value="tx 1 mined in block B<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="335.0" y="170" width="150" height="24" as="geometry"/></mxCell><mxCell id="c13" value="blob tx 2: blobs 6-11 (after tx 1)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="212" as="sourcePoint"/><mxPoint x="410" y="212" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c14" value="tx 2 mined in block B<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="335.0" y="234" width="150" height="24" as="geometry"/></mxCell><mxCell id="c16" value="batch proof (ok = 1, pins checked)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="260" y="282" as="sourcePoint"/><mxPoint x="110" y="282" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c17" value="wait until the L1 origin reaches B<sub>2</sub> (about 1 min)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="316" as="sourcePoint"/><mxPoint x="560" y="316" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c18" value="headers origin..B<sub>1</sub>, tx trie proofs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="350" as="sourcePoint"/><mxPoint x="410" y="350" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c19" value="submitStateTransitionL1(publicValues, proof, commitments, ys, kzgProofs, L1 proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="384" as="sourcePoint"/><mxPoint x="710" y="384" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c20" value="verify(L1 proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="418" as="sourcePoint"/><mxPoint x="860" y="418" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c21" value="hash(), number()" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="860" y="448" as="sourcePoint"/><mxPoint x="560" y="448" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c22" value="header chain anchored at the<br>origin or a recorded block; MPT<br>proofs; age &le; 7200 blocks" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="760.0" y="470" width="200" height="46" as="geometry"/></mxCell><mxCell id="c23" value="versioned hashes, L1 blocks" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="860" y="534" as="sourcePoint"/><mxPoint x="710" y="534" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c24" value="ZiskVerifier; point evaluation per<br>blob; store new root; emit events" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="605.0" y="556" width="210" height="32" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="l1-settlement" id="l1-settlement"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c31" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="900" height="700" as="geometry"/></mxCell><mxCell id="c30" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="790" y="56" as="sourcePoint"/><mxPoint x="790" y="694" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c29" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="654" y="56" as="sourcePoint"/><mxPoint x="654" y="694" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c28" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="518" y="56" as="sourcePoint"/><mxPoint x="518" y="694" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c27" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="382" y="56" as="sourcePoint"/><mxPoint x="382" y="694" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c26" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="246" y="56" as="sourcePoint"/><mxPoint x="246" y="694" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c25" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="56" as="sourcePoint"/><mxPoint x="110" y="694" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="237" y="172" width="18" height="156" as="geometry"/></mxCell><mxCell id="c3" value="<b>sequencer</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="46" y="10" width="128" height="46" as="geometry"/></mxCell><mxCell id="c4" value="<b>prover</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="182" y="10" width="128" height="46" as="geometry"/></mxCell><mxCell id="c5" value="<b>Ethereum<br>(L1)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="318" y="10" width="128" height="46" as="geometry"/></mxCell><mxCell id="c6" value="<b>L1Block<br>(OP)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="454" y="10" width="128" height="46" as="geometry"/></mxCell><mxCell id="c7" value="<b>process<br>registry (OP)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="590" y="10" width="128" height="46" as="geometry"/></mxCell><mxCell id="c8" value="<b>L1BlobVerifier<br>(OP)</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="726" y="10" width="128" height="46" as="geometry"/></mxCell><mxCell id="c9" value="seal batch; build blobs<br>and KZG commitments" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="15.0" y="82" width="190" height="38" as="geometry"/></mxCell><mxCell id="c10" value="batch inputs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="142" as="sourcePoint"/><mxPoint x="246" y="142" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c11" value="blob tx 1: blobs 0-5" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="176" as="sourcePoint"/><mxPoint x="382" y="176" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c12" value="tx 1 mined in block B<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="292.0" y="200" width="180" height="28" as="geometry"/></mxCell><mxCell id="c13" value="blob tx 2: blobs 6-11" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="250" as="sourcePoint"/><mxPoint x="382" y="250" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c14" value="tx 2 mined in block B<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="292.0" y="274" width="180" height="28" as="geometry"/></mxCell><mxCell id="c16" value="batch proof (ok = 1)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="246" y="328" as="sourcePoint"/><mxPoint x="110" y="328" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c17" value="wait until the L1 origin reaches B<sub>2</sub>" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="366" as="sourcePoint"/><mxPoint x="518" y="366" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c18" value="headers origin..B<sub>1</sub>; trie proofs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="404" as="sourcePoint"/><mxPoint x="382" y="404" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c19" value="submitStateTransitionL1(&hellip;, L1 proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="110" y="442" as="sourcePoint"/><mxPoint x="654" y="442" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c20" value="verify(L1 proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="654" y="478" as="sourcePoint"/><mxPoint x="790" y="478" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c21" value="hash(), number()" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="790" y="512" as="sourcePoint"/><mxPoint x="518" y="512" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c22" value="headers chain to the origin<br>or a recorded block; MPT<br>proofs; age &le; 7200 blocks" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="690.0" y="542" width="200" height="56" as="geometry"/></mxCell><mxCell id="c23" value="versioned hashes, blocks" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="790" y="616" as="sourcePoint"/><mxPoint x="654" y="616" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c24" value="ZiskVerifier; point evaluation<br>per blob; new root; events" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="539.0" y="640" width="230" height="38" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="process-status" id="process-status"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="900" height="380" as="geometry"/></mxCell><mxCell id="c4" value="" style="ellipse;fillColor=#000000;strokeColor=#000000;html=1;" vertex="1" parent="1"><mxGeometry x="24" y="160" width="16" height="16" as="geometry"/></mxCell><mxCell id="c5" value="<b>READY</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="150" y="60" width="130" height="44" as="geometry"/></mxCell><mxCell id="c6" value="<b>PAUSED</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="150" y="250" width="130" height="44" as="geometry"/></mxCell><mxCell id="c7" value="<b>ENDED</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="470" y="156" width="130" height="44" as="geometry"/></mxCell><mxCell id="c8" value="<b>CANCELED</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="470" y="310" width="130" height="44" as="geometry"/></mxCell><mxCell id="c9" value="<b>RESULTS</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="740" y="156" width="130" height="44" as="geometry"/></mxCell><mxCell id="c10" value="newProcess" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c5"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="32" y="82"/></Array></mxGeometry></mxCell><mxCell id="c11" value="newProcess" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c6"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="32" y="272"/></Array></mxGeometry></mxCell><mxCell id="c12" value="pause<br>(before end)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3;exitY=1;exitDx=0;exitDy=0;entryX=0.3;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="resume" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.7;exitY=0;exitDx=0;exitDy=0;entryX=0.7;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c5"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c14" value="end" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c7"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="380" y="93"/><mxPoint x="380" y="167"/></Array></mxGeometry></mxCell><mxCell id="c15" value="end" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c7"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="380" y="261"/><mxPoint x="380" y="189"/></Array></mxGeometry></mxCell><mxCell id="c16" value="cancel" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="400" y="283"/><mxPoint x="400" y="343"/></Array></mxGeometry></mxCell><mxCell id="c17" value="cancel" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=8;" edge="1" parent="1" source="c5" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="280" y="120"/><mxPoint x="430" y="120"/><mxPoint x="430" y="323"/></Array></mxGeometry></mxCell><mxCell id="c18" value="setProcessResults or<br>finalizeResultsFromDKG" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c7" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="setProcessResults (past end, sequencer mode)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c9"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="215" y="18"/><mxPoint x="805" y="18"/></Array></mxGeometry></mxCell><mxCell id="c20" value="requestResultsDecryption<br>(past end, DKG and council)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c7"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="535" y="82"/></Array></mxGeometry></mxCell><mxCell id="c21" value="solid: organizer (setProcessStatus); dashed: registry" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="24" y="340" width="420" height="30" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="process-status" id="process-status"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c25" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="916" height="536" as="geometry"/></mxCell><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;strokeColor=#888888;" vertex="1" parent="1"><mxGeometry x="96" y="58" width="200" height="312" as="geometry"/></mxCell><mxCell id="c4" value="voting states" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#555555;" vertex="1" parent="1"><mxGeometry x="96" y="372" width="200" height="40" as="geometry"/></mxCell><mxCell id="c5" value="" style="ellipse;fillColor=#000000;strokeColor=#000000;html=1;" vertex="1" parent="1"><mxGeometry x="20" y="205" width="18" height="18" as="geometry"/></mxCell><mxCell id="c6" value="<b>READY</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="126" y="82" width="140" height="48" as="geometry"/></mxCell><mxCell id="c7" value="<b>PAUSED</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="126" y="298" width="140" height="48" as="geometry"/></mxCell><mxCell id="c8" value="<b>ENDED</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="470" y="190" width="140" height="48" as="geometry"/></mxCell><mxCell id="c9" value="<b>CANCELED</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="470" y="420" width="140" height="48" as="geometry"/></mxCell><mxCell id="c10" value="<b>RESULTS</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="760" y="190" width="140" height="48" as="geometry"/></mxCell><mxCell id="c11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c6"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="29" y="106"/></Array></mxGeometry></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c7"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="29" y="322"/></Array></mxGeometry></mxCell><mxCell id="c13" value="new-<br>Process" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="4" y="150" width="80" height="40" as="geometry"/></mxCell><mxCell id="c14" value="pause<br>(before<br>end)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3;exitY=1;exitDx=0;exitDy=0;entryX=0.3;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c15" value="resume" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.7;exitY=0;exitDx=0;exitDy=0;entryX=0.7;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="end" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.7;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=8;" edge="1" parent="1" source="c6" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="350" y="116"/><mxPoint x="350" y="204"/></Array></mxGeometry></mxCell><mxCell id="c17" value="end" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.3;exitDx=0;exitDy=0;entryX=0;entryY=0.7;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=8;" edge="1" parent="1" source="c7" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="350" y="312"/><mxPoint x="350" y="224"/></Array></mxGeometry></mxCell><mxCell id="c18" value="cancel" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.95;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=8;" edge="1" parent="1" source="c6" target="c9"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="410" y="128"/><mxPoint x="410" y="434"/></Array></mxGeometry></mxCell><mxCell id="c19" value="cancel" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.85;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=8;" edge="1" parent="1" source="c7" target="c9"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="390" y="339"/><mxPoint x="390" y="456"/></Array></mxGeometry></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c8" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="setProcessResults /<br>finalizeResultsFromDKG" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="600" y="150" width="170" height="36" as="geometry"/></mxCell><mxCell id="c22" value="setProcessResults (sequencer mode)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c3" target="c10"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="196" y="20"/><mxPoint x="830" y="20"/></Array></mxGeometry></mxCell><mxCell id="c23" value="requestResultsDecryption" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.85;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c3" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="266" y="44"/><mxPoint x="540" y="44"/></Array></mxGeometry></mxCell><mxCell id="c24" value="solid: organizer (setProcessStatus); dashed: registry, from a voting state once past the end time and the grace window, or from ENDED" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="490" width="840" height="40" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -0,0 +1,1 @@
+<mxfile host="drawio"><diagram name="protocol-flow-results" id="protocol-flow-results"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c37" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="670" y="82" as="sourcePoint"/><mxPoint x="670" y="598" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c36" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="520" y="82" as="sourcePoint"/><mxPoint x="520" y="598" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c35" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="370" y="82" as="sourcePoint"/><mxPoint x="370" y="598" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c34" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="220" y="82" as="sourcePoint"/><mxPoint x="220" y="598" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c33" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="82" as="sourcePoint"/><mxPoint x="70" y="598" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c31" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="154" width="712" height="396" as="geometry"/></mxCell><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="14" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c4" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik00IDEzIEwyMCA0IEwzNiAxMyBaIi8+PHJlY3QgeD0iNSIgeT0iMTQiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzIi8+PHJlY3QgeD0iOCIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iMTUiIHk9IjE4IiB3aWR0aD0iNCIgaGVpZ2h0PSIxMyIvPjxyZWN0IHg9IjIyIiB5PSIxOCIgd2lkdGg9IjQiIGhlaWdodD0iMTMiLz48cmVjdCB4PSIyOSIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iNCIgeT0iMzIiIHdpZHRoPSIzMiIgaGVpZ2h0PSI0Ii8+PC9nPjwvc3ZnPg==;" vertex="1" parent="1"><mxGeometry x="52" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c5" value="organizer" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="10" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="164" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c7" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="202" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c8" value="sequencer" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="160" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c9" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="314" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c10" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIgcng9IjIiLz48cmVjdCB4PSIxNSIgeT0iMTUiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIvPjxwYXRoIGQ9Ik0xNCA5VjRNMjAgOVY0TTI2IDlWNE0xNCAzMXY1TTIwIDMxdjVNMjYgMzF2NU05IDE0SDRNOSAyMEg0TTkgMjZINE0zMSAxNGg1TTMxIDIwaDVNMzEgMjZoNSIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="352" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c11" value="prover" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="310" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="464" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjEzIiBjeT0iMTEiIHI9IjUuNSIvPjxwYXRoIGQ9Ik0zIDMwIEMzIDIxIDggMTggMTMgMTggQzE4IDE4IDIzIDIxIDIzIDMwIFoiLz48Y2lyY2xlIGN4PSI0MyIgY3k9IjExIiByPSI1LjUiLz48cGF0aCBkPSJNMzMgMzAgQzMzIDIxIDM4IDE4IDQzIDE4IEM0OCAxOCA1MyAyMSA1MyAzMCBaIi8+PGNpcmNsZSBjeD0iMjgiIGN5PSIxNiIgcj0iNi41Ii8+PHBhdGggZD0iTTE2IDM4IEMxNiAyOCAyMSAyNCAyOCAyNCBDMzUgMjQgNDAgMjggNDAgMzggWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="493" y="16" width="54" height="38" as="geometry"/></mxCell><mxCell id="c14" value="key wardens" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="460" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="614" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c16" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="660" y="16" width="20" height="30" as="geometry"/></mxCell><mxCell id="c17" value="process registry" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="610" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c18" value="end time; grace window<br>closes at graceEnd" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="580.0" y="100" width="180" height="36" as="geometry"/></mxCell><mxCell id="c19" value="decrypt accumulator;<br>Chaum-Pedersen proofs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="115.0" y="184" width="210" height="36" as="geometry"/></mxCell><mxCell id="c20" value="results inputs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="220" y="242" as="sourcePoint"/><mxPoint x="370" y="242" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c21" value="results proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="370" y="272" as="sourcePoint"/><mxPoint x="220" y="272" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c22" value="setProcessResults(publicValues, proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="220" y="308" as="sourcePoint"/><mxPoint x="670" y="308" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c23" value="requestResultsDecryption(accumulator, siblings)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="220" y="378" as="sourcePoint"/><mxPoint x="670" y="378" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c24" value="submit active ciphertexts" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="670" y="408" as="sourcePoint"/><mxPoint x="520" y="408" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c25" value="partial decryptions with<br>proofs; combine" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="415.0" y="434" width="210" height="36" as="geometry"/></mxCell><mxCell id="c26" value="finalizeResultsFromDKG" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="220" y="492" as="sourcePoint"/><mxPoint x="670" y="492" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c27" value="read plaintexts" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="670" y="522" as="sourcePoint"/><mxPoint x="520" y="522" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c28" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="14" y="342" as="sourcePoint"/><mxPoint x="726" y="342" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c29" value="alt: DKG and council modes" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="342" width="240" height="22" as="geometry"/></mxCell><mxCell id="c30" value="ProcessResultsSet (event)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="670" y="568" as="sourcePoint"/><mxPoint x="70" y="568" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c32" value="alt: sequencer mode" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="154" width="200" height="22" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="protocol-flow" id="protocol-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c71" value="alt: DKG and council modes" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="1086" width="170" height="18" as="geometry"/></mxCell><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c4" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik00IDEzIEwyMCA0IEwzNiAxMyBaIi8+PHJlY3QgeD0iNSIgeT0iMTQiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzIi8+PHJlY3QgeD0iOCIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iMTUiIHk9IjE4IiB3aWR0aD0iNCIgaGVpZ2h0PSIxMyIvPjxyZWN0IHg9IjIyIiB5PSIxOCIgd2lkdGg9IjQiIGhlaWdodD0iMTMiLz48cmVjdCB4PSIyOSIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iNCIgeT0iMzIiIHdpZHRoPSIzMiIgaGVpZ2h0PSI0Ii8+PC9nPjwvc3ZnPg==;" vertex="1" parent="1"><mxGeometry x="52" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c5" value="organizer" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="20" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="148" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c7" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="180" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c8" value="voter" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="148" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c9" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="276" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c10" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="308" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c11" value="sequencer" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="276" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="404" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIgcng9IjIiLz48cmVjdCB4PSIxNSIgeT0iMTUiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIvPjxwYXRoIGQ9Ik0xNCA5VjRNMjAgOVY0TTI2IDlWNE0xNCAzMXY1TTIwIDMxdjVNMjYgMzF2NU05IDE0SDRNOSAyMEg0TTkgMjZINE0zMSAxNGg1TTMxIDIwaDVNMzEgMjZoNSIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="436" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c14" value="prover" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="404" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="532" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c16" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjEzIiBjeT0iMTEiIHI9IjUuNSIvPjxwYXRoIGQ9Ik0zIDMwIEMzIDIxIDggMTggMTMgMTggQzE4IDE4IDIzIDIxIDIzIDMwIFoiLz48Y2lyY2xlIGN4PSI0MyIgY3k9IjExIiByPSI1LjUiLz48cGF0aCBkPSJNMzMgMzAgQzMzIDIxIDM4IDE4IDQzIDE4IEM0OCAxOCA1MyAyMSA1MyAzMCBaIi8+PGNpcmNsZSBjeD0iMjgiIGN5PSIxNiIgcj0iNi41Ii8+PHBhdGggZD0iTTE2IDM4IEMxNiAyOCAyMSAyNCAyOCAyNCBDMzUgMjQgNDAgMjggNDAgMzggWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="555" y="16" width="54" height="38" as="geometry"/></mxCell><mxCell id="c17" value="key wardens" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="532" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c18" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="660" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c19" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="700" y="16" width="20" height="30" as="geometry"/></mxCell><mxCell id="c20" value="process registry" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="660" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c21" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="788" y="10" width="100" height="70" as="geometry"/></mxCell><mxCell id="c22" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="828" y="16" width="20" height="30" as="geometry"/></mxCell><mxCell id="c23" value="Ethereum (blobs)" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="788" y="54" width="100" height="24" as="geometry"/></mxCell><mxCell id="c24" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="80" as="sourcePoint"/><mxPoint x="70" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c25" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="198" y="80" as="sourcePoint"/><mxPoint x="198" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c26" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="80" as="sourcePoint"/><mxPoint x="326" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c27" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="454" y="80" as="sourcePoint"/><mxPoint x="454" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c28" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="582" y="80" as="sourcePoint"/><mxPoint x="582" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c29" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="80" as="sourcePoint"/><mxPoint x="710" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c30" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="838" y="80" as="sourcePoint"/><mxPoint x="838" y="1300" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c31" value="prepare keys<br>(DKG epoch or council)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="502.0" y="112" width="160" height="32" as="geometry"/></mxCell><mxCell id="c32" value="request key (sequencer mode)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="160" as="sourcePoint"/><mxPoint x="326" y="160" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c33" value="encryptionKey" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="186" as="sourcePoint"/><mxPoint x="70" y="186" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c34" value="newProcess(parameters, census, keyMode, ...)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="220" as="sourcePoint"/><mxPoint x="710" y="220" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c35" value="register: assign key (DKG and council modes)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="254" as="sourcePoint"/><mxPoint x="582" y="254" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c36" value="encryptionKey" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="582" y="280" as="sourcePoint"/><mxPoint x="710" y="280" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c37" value="compute genesis root" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="635.0" y="306" width="150" height="24" as="geometry"/></mxCell><mxCell id="c38" value="ProcessCreated" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="348" as="sourcePoint"/><mxPoint x="326" y="348" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c39" value="fetch census, build<br>genesis tree" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="251.0" y="374" width="150" height="32" as="geometry"/></mxCell><mxCell id="c40" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="92" width="880" height="320" as="geometry"/></mxCell><mxCell id="c41" value="election setup" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="92" width="150" height="18" as="geometry"/></mxCell><mxCell id="c42" value="read ballotMode, encryptionKey, census" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="198" y="456" as="sourcePoint"/><mxPoint x="710" y="456" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c43" value="get weight and census proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="198" y="490" as="sourcePoint"/><mxPoint x="326" y="490" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c44" value="weight, census proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="516" as="sourcePoint"/><mxPoint x="198" y="516" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c45" value="encrypt, prove ballot,<br>sign voteID" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="123.0" y="542" width="150" height="32" as="geometry"/></mxCell><mxCell id="c46" value="vote package" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="198" y="590" as="sourcePoint"/><mxPoint x="326" y="590" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c47" value="validate and queue; seal batch:<br>reencrypt, refresh, build blobs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="221.0" y="616" width="210" height="32" as="geometry"/></mxCell><mxCell id="c48" value="batch inputs (private)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="664" as="sourcePoint"/><mxPoint x="454" y="664" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c49" value="blob transactions (L1-blob mode)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="690" as="sourcePoint"/><mxPoint x="838" y="690" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c50" value="batch proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="454" y="716" as="sourcePoint"/><mxPoint x="326" y="716" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c51" value="submitStateTransitionL1(proof, openings, L1 proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="750" as="sourcePoint"/><mxPoint x="710" y="750" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c52" value="verify; store new root" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="635.0" y="770" width="150" height="24" as="geometry"/></mxCell><mxCell id="c53" value="ProcessStateTransitioned" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="812" as="sourcePoint"/><mxPoint x="326" y="812" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c54" value="status, inclusion proof of voteID" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="198" y="838" as="sourcePoint"/><mxPoint x="326" y="838" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c55" value="voting loop (every batch, until the end)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="422" width="270" height="18" as="geometry"/></mxCell><mxCell id="c56" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="422" width="880" height="436" as="geometry"/></mxCell><mxCell id="c57" value="end time; grace window<br>closes at graceEnd" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="625.0" y="862" width="170" height="32" as="geometry"/></mxCell><mxCell id="c58" value="decrypt accumulator,<br>Chaum-Pedersen proofs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="241.0" y="944" width="170" height="32" as="geometry"/></mxCell><mxCell id="c59" value="results inputs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="992" as="sourcePoint"/><mxPoint x="454" y="992" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c60" value="results proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="454" y="1018" as="sourcePoint"/><mxPoint x="326" y="1018" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c61" value="setProcessResults(publicValues, proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="1052" as="sourcePoint"/><mxPoint x="710" y="1052" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c62" value="requestResultsDecryption(accumulator, siblings)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="1104" as="sourcePoint"/><mxPoint x="710" y="1104" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c63" value="submit active ciphertexts" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="1130" as="sourcePoint"/><mxPoint x="582" y="1130" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c64" value="partial decryptions<br>with proofs; combine" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="502.0" y="1156" width="160" height="32" as="geometry"/></mxCell><mxCell id="c65" value="finalizeResultsFromDKG" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="326" y="1204" as="sourcePoint"/><mxPoint x="710" y="1204" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c66" value="read plaintexts" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="1230" as="sourcePoint"/><mxPoint x="582" y="1230" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c67" value="ProcessResultsSet" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="710" y="1264" as="sourcePoint"/><mxPoint x="70" y="1264" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c68" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="918" width="880" height="370" as="geometry"/></mxCell><mxCell id="c69" value="alt: sequencer mode" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="918" width="170" height="18" as="geometry"/></mxCell><mxCell id="c70" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="14" y="1086" as="sourcePoint"/><mxPoint x="894" y="1086" as="targetPoint"/></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="protocol-flow" id="protocol-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c57" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="814" y="82" as="sourcePoint"/><mxPoint x="814" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c56" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="690" y="82" as="sourcePoint"/><mxPoint x="690" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c55" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="566" y="82" as="sourcePoint"/><mxPoint x="566" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c54" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="442" y="82" as="sourcePoint"/><mxPoint x="442" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c53" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="82" as="sourcePoint"/><mxPoint x="318" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c52" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="194" y="82" as="sourcePoint"/><mxPoint x="194" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c51" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#888888;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="82" as="sourcePoint"/><mxPoint x="70" y="1022" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="478" width="856" height="536" as="geometry"/></mxCell><mxCell id="c47" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="96" width="856" height="370" as="geometry"/></mxCell><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="14" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c4" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik00IDEzIEwyMCA0IEwzNiAxMyBaIi8+PHJlY3QgeD0iNSIgeT0iMTQiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzIi8+PHJlY3QgeD0iOCIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iMTUiIHk9IjE4IiB3aWR0aD0iNCIgaGVpZ2h0PSIxMyIvPjxyZWN0IHg9IjIyIiB5PSIxOCIgd2lkdGg9IjQiIGhlaWdodD0iMTMiLz48cmVjdCB4PSIyOSIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iNCIgeT0iMzIiIHdpZHRoPSIzMiIgaGVpZ2h0PSI0Ii8+PC9nPjwvc3ZnPg==;" vertex="1" parent="1"><mxGeometry x="52" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c5" value="organizer" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="10" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="138" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c7" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="176" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c8" value="voter" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="134" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c9" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="262" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c10" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="300" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c11" value="sequencer" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="258" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="386" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIgcng9IjIiLz48cmVjdCB4PSIxNSIgeT0iMTUiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIvPjxwYXRoIGQ9Ik0xNCA5VjRNMjAgOVY0TTI2IDlWNE0xNCAzMXY1TTIwIDMxdjVNMjYgMzF2NU05IDE0SDRNOSAyMEg0TTkgMjZINE0zMSAxNGg1TTMxIDIwaDVNMzEgMjZoNSIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="424" y="16" width="36" height="36" as="geometry"/></mxCell><mxCell id="c14" value="prover" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="382" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="510" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c16" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjEzIiBjeT0iMTEiIHI9IjUuNSIvPjxwYXRoIGQ9Ik0zIDMwIEMzIDIxIDggMTggMTMgMTggQzE4IDE4IDIzIDIxIDIzIDMwIFoiLz48Y2lyY2xlIGN4PSI0MyIgY3k9IjExIiByPSI1LjUiLz48cGF0aCBkPSJNMzMgMzAgQzMzIDIxIDM4IDE4IDQzIDE4IEM0OCAxOCA1MyAyMSA1MyAzMCBaIi8+PGNpcmNsZSBjeD0iMjgiIGN5PSIxNiIgcj0iNi41Ii8+PHBhdGggZD0iTTE2IDM4IEMxNiAyOCAyMSAyNCAyOCAyNCBDMzUgMjQgNDAgMjggNDAgMzggWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="539" y="16" width="54" height="38" as="geometry"/></mxCell><mxCell id="c17" value="key wardens" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="506" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c18" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="634" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c19" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="680" y="16" width="20" height="30" as="geometry"/></mxCell><mxCell id="c20" value="process registry" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="630" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c21" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="758" y="10" width="112" height="72" as="geometry"/></mxCell><mxCell id="c22" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="804" y="16" width="20" height="30" as="geometry"/></mxCell><mxCell id="c23" value="Ethereum (blobs)" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="754" y="54" width="120" height="24" as="geometry"/></mxCell><mxCell id="c24" value="prepare keys (DKG<br>epoch or council)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="476.0" y="126" width="180" height="36" as="geometry"/></mxCell><mxCell id="c25" value="request key (sequencer mode)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="184" as="sourcePoint"/><mxPoint x="318" y="184" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c26" value="encryptionKey" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="214" as="sourcePoint"/><mxPoint x="70" y="214" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c27" value="newProcess(parameters, census, keyMode)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="70" y="250" as="sourcePoint"/><mxPoint x="690" y="250" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c28" value="assign key (DKG, council)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="690" y="286" as="sourcePoint"/><mxPoint x="566" y="286" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c29" value="encryptionKey" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="566" y="316" as="sourcePoint"/><mxPoint x="690" y="316" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c30" value="genesis root" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="615.0" y="342" width="150" height="30" as="geometry"/></mxCell><mxCell id="c31" value="ProcessCreated" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="690" y="394" as="sourcePoint"/><mxPoint x="318" y="394" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c32" value="fetch census,<br>build genesis tree" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="233.0" y="420" width="170" height="36" as="geometry"/></mxCell><mxCell id="c33" value="read ballotMode, encryptionKey, census" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="194" y="514" as="sourcePoint"/><mxPoint x="690" y="514" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c34" value="get weight, census proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="194" y="550" as="sourcePoint"/><mxPoint x="318" y="550" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c35" value="weight, census proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="580" as="sourcePoint"/><mxPoint x="194" y="580" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c36" value="encrypt, prove,<br>sign voteID" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="114.0" y="606" width="160" height="36" as="geometry"/></mxCell><mxCell id="c37" value="vote package" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="194" y="664" as="sourcePoint"/><mxPoint x="318" y="664" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c38" value="validate, queue; seal batch:<br>re-encrypt, refresh, blobs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="193.0" y="690" width="250" height="36" as="geometry"/></mxCell><mxCell id="c39" value="batch inputs" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="748" as="sourcePoint"/><mxPoint x="442" y="748" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c40" value="blob transactions (L1-blob mode)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="778" as="sourcePoint"/><mxPoint x="814" y="778" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c41" value="batch proof" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="442" y="808" as="sourcePoint"/><mxPoint x="318" y="808" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c42" value="submitStateTransitionL1(proof, openings, L1 proof)" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="844" as="sourcePoint"/><mxPoint x="690" y="844" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c43" value="verify; new root" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="615.0" y="874" width="150" height="30" as="geometry"/></mxCell><mxCell id="c44" value="ProcessStateTransitioned" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="690" y="926" as="sourcePoint"/><mxPoint x="318" y="926" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c45" value="status of voteID" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="194" y="962" as="sourcePoint"/><mxPoint x="318" y="962" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c46" value="settled; inclusion proof of voteID" style="html=1;rounded=0;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=13;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="318" y="992" as="sourcePoint"/><mxPoint x="194" y="992" as="targetPoint"/><mxPoint x="0" y="-8" as="offset"/></mxGeometry></mxCell><mxCell id="c48" value="election setup" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="96" width="160" height="22" as="geometry"/></mxCell><mxCell id="c50" value="voting loop (every batch, until the end)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;fontStyle=1;spacingLeft=4;" vertex="1" parent="1"><mxGeometry x="14" y="478" width="330" height="22" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="protocol-intuition-flow" id="protocol-intuition-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="940" height="420" as="geometry"/></mxCell><mxCell id="c4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="20" y="16" width="900" height="176" as="geometry"/></mxCell><mxCell id="c5" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="437" y="24" width="16" height="24" as="geometry"/></mxCell><mxCell id="c6" value="<b>Settlement chain</b> (Ethereum or an OP Stack rollup)" style="text;html=1;whiteSpace=wrap;fontSize=12;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="458" y="24" width="330" height="24" as="geometry"/></mxCell><mxCell id="c7" value="<b>key managers</b><br><font style='font-size:10px'>DKG and Council<br>smart contracts</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="40" y="70" width="170" height="96" as="geometry"/></mxCell><mxCell id="c8" value="<b>process registry</b><br><font style='font-size:10px'>smart contract</font><br><br><font style='font-size:10px'>parameters, key, census root,<br>state root, results</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="300" y="70" width="340" height="96" as="geometry"/></mxCell><mxCell id="c9" value="<b>proof verifiers</b><br><font style='font-size:10px'>ZisK verifier, blob<br>and L1 verifiers</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="730" y="70" width="170" height="96" as="geometry"/></mxCell><mxCell id="c10" value="election key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c7" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="verify" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c8" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="52" y="286" width="86" height="92" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjEzIiBjeT0iMTEiIHI9IjUuNSIvPjxwYXRoIGQ9Ik0zIDMwIEMzIDIxIDggMTggMTMgMTggQzE4IDE4IDIzIDIxIDIzIDMwIFoiLz48Y2lyY2xlIGN4PSI0MyIgY3k9IjExIiByPSI1LjUiLz48cGF0aCBkPSJNMzMgMzAgQzMzIDIxIDM4IDE4IDQzIDE4IEM0OCAxOCA1MyAyMSA1MyAzMCBaIi8+PGNpcmNsZSBjeD0iMjgiIGN5PSIxNiIgcj0iNi41Ii8+PHBhdGggZD0iTTE2IDM4IEMxNiAyOCAyMSAyNCAyOCAyNCBDMzUgMjQgNDAgMjggNDAgMzggWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="68" y="294" width="54" height="40" as="geometry"/></mxCell><mxCell id="c14" value="key wardens" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="52" y="342" width="86" height="30" as="geometry"/></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="232" y="286" width="86" height="92" as="geometry"/></mxCell><mxCell id="c16" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik00IDEzIEwyMCA0IEwzNiAxMyBaIi8+PHJlY3QgeD0iNSIgeT0iMTQiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzIi8+PHJlY3QgeD0iOCIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iMTUiIHk9IjE4IiB3aWR0aD0iNCIgaGVpZ2h0PSIxMyIvPjxyZWN0IHg9IjIyIiB5PSIxOCIgd2lkdGg9IjQiIGhlaWdodD0iMTMiLz48cmVjdCB4PSIyOSIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iNCIgeT0iMzIiIHdpZHRoPSIzMiIgaGVpZ2h0PSI0Ii8+PC9nPjwvc3ZnPg==;" vertex="1" parent="1"><mxGeometry x="253" y="294" width="44" height="44" as="geometry"/></mxCell><mxCell id="c17" value="organizer" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="232" y="342" width="86" height="30" as="geometry"/></mxCell><mxCell id="c18" value="census<br>data" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=10;fillColor=#f5f5f5;strokeColor=#666666;dashed=1;fontSize=10;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="372" y="300" width="76" height="64" as="geometry"/></mxCell><mxCell id="c19" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="502" y="286" width="86" height="92" as="geometry"/></mxCell><mxCell id="c20" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="523" y="294" width="44" height="44" as="geometry"/></mxCell><mxCell id="c21" value="voter" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="502" y="342" width="86" height="30" as="geometry"/></mxCell><mxCell id="c22" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="682" y="286" width="86" height="92" as="geometry"/></mxCell><mxCell id="c23" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="703" y="294" width="44" height="44" as="geometry"/></mxCell><mxCell id="c24" value="sequencer" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="682" y="342" width="86" height="30" as="geometry"/></mxCell><mxCell id="c25" value="Ethereum<br>blobs" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=10;fillColor=#dae8fc;strokeColor=#6c8ebf;dashed=1;fontSize=10;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="830" y="300" width="76" height="64" as="geometry"/></mxCell><mxCell id="c26" value="2,4" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="44" y="276" width="30" height="16" as="geometry"/></mxCell><mxCell id="c27" value="1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="224" y="276" width="18" height="16" as="geometry"/></mxCell><mxCell id="c28" value="3a" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="494" y="276" width="18" height="16" as="geometry"/></mxCell><mxCell id="c29" value="3b,5" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="674" y="276" width="30" height="16" as="geometry"/></mxCell><mxCell id="c30" value="key shares,<br>partial<br>decryptions" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c12" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="parameters,<br>census root" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.07;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c32" value="publish" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c18"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c33" value="census<br>proof" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c18" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c34" value="election data,<br>election key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.6;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c35" value="vote<br>package" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c19" target="c22"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c36" value="batch proofs,<br>results" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.93;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c22" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c37" value="state<br>data" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c22" target="c25"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="protocol-intuition-flow" id="protocol-intuition-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="800" height="400" as="geometry"/></mxCell><mxCell id="c4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="14" y="12" width="772" height="168" as="geometry"/></mxCell><mxCell id="c5" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="220" y="20" width="16" height="24" as="geometry"/></mxCell><mxCell id="c6" value="<b>Settlement chain</b> (Ethereum or an OP Stack rollup)" style="text;html=1;whiteSpace=wrap;fontSize=13;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="240" y="20" width="420" height="24" as="geometry"/></mxCell><mxCell id="c7" value="<b>key managers</b><br>DKG and Council<br>contracts" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="30" y="60" width="170" height="100" as="geometry"/></mxCell><mxCell id="c8" value="<b>process registry</b><br>smart contract<br><font style='font-size:11px'>parameters, key, census root,<br>state root, results</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="265" y="60" width="270" height="100" as="geometry"/></mxCell><mxCell id="c9" value="<b>proof verifiers</b><br>ZisK, blob and<br>L1 verifiers" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="600" y="60" width="170" height="100" as="geometry"/></mxCell><mxCell id="c10" value="key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c7" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="verify" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c8" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c12" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="24" y="286" width="84" height="92" as="geometry"/></mxCell><mxCell id="c13" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjEzIiBjeT0iMTEiIHI9IjUuNSIvPjxwYXRoIGQ9Ik0zIDMwIEMzIDIxIDggMTggMTMgMTggQzE4IDE4IDIzIDIxIDIzIDMwIFoiLz48Y2lyY2xlIGN4PSI0MyIgY3k9IjExIiByPSI1LjUiLz48cGF0aCBkPSJNMzMgMzAgQzMzIDIxIDM4IDE4IDQzIDE4IEM0OCAxOCA1MyAyMSA1MyAzMCBaIi8+PGNpcmNsZSBjeD0iMjgiIGN5PSIxNiIgcj0iNi41Ii8+PHBhdGggZD0iTTE2IDM4IEMxNiAyOCAyMSAyNCAyOCAyNCBDMzUgMjQgNDAgMjggNDAgMzggWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="39" y="294" width="54" height="40" as="geometry"/></mxCell><mxCell id="c14" value="key<br>wardens" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="342" width="100" height="32" as="geometry"/></mxCell><mxCell id="c15" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="159" y="286" width="84" height="92" as="geometry"/></mxCell><mxCell id="c16" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik00IDEzIEwyMCA0IEwzNiAxMyBaIi8+PHJlY3QgeD0iNSIgeT0iMTQiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzIi8+PHJlY3QgeD0iOCIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iMTUiIHk9IjE4IiB3aWR0aD0iNCIgaGVpZ2h0PSIxMyIvPjxyZWN0IHg9IjIyIiB5PSIxOCIgd2lkdGg9IjQiIGhlaWdodD0iMTMiLz48cmVjdCB4PSIyOSIgeT0iMTgiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+PHJlY3QgeD0iNCIgeT0iMzIiIHdpZHRoPSIzMiIgaGVpZ2h0PSI0Ii8+PC9nPjwvc3ZnPg==;" vertex="1" parent="1"><mxGeometry x="179" y="294" width="44" height="44" as="geometry"/></mxCell><mxCell id="c17" value="organizer" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="159" y="344" width="84" height="26" as="geometry"/></mxCell><mxCell id="c18" value="census<br>data" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=10;fillColor=#f5f5f5;strokeColor=#666666;dashed=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="298" y="300" width="76" height="64" as="geometry"/></mxCell><mxCell id="c19" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="429" y="286" width="84" height="92" as="geometry"/></mxCell><mxCell id="c20" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="449" y="294" width="44" height="44" as="geometry"/></mxCell><mxCell id="c21" value="voter" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="429" y="344" width="84" height="26" as="geometry"/></mxCell><mxCell id="c22" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="564" y="286" width="84" height="92" as="geometry"/></mxCell><mxCell id="c23" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGcgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjIiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMTMiIHI9IjciLz48cGF0aCBkPSJNNiAzNyBDNiAyNiAxMiAyMiAyMCAyMiBDMjggMjIgMzQgMjYgMzQgMzcgWiIvPjwvZz48L3N2Zz4=;" vertex="1" parent="1"><mxGeometry x="584" y="294" width="44" height="44" as="geometry"/></mxCell><mxCell id="c24" value="sequencer" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="558" y="344" width="96" height="26" as="geometry"/></mxCell><mxCell id="c25" value="Ethereum<br>blobs" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=10;fillColor=#dae8fc;strokeColor=#6c8ebf;dashed=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="703" y="300" width="76" height="64" as="geometry"/></mxCell><mxCell id="c26" value="2,4" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="16" y="276" width="30" height="16" as="geometry"/></mxCell><mxCell id="c27" value="1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="151" y="276" width="18" height="16" as="geometry"/></mxCell><mxCell id="c28" value="3a" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="421" y="276" width="18" height="16" as="geometry"/></mxCell><mxCell id="c29" value="3b,5" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;fontFamily=Courier New;" vertex="1" parent="1"><mxGeometry x="556" y="276" width="30" height="16" as="geometry"/></mxCell><mxCell id="c30" value="key shares,<br>partial<br>decryptions" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=classic;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.38;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c12" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="parameters,<br>census root" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.1;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c32" value="publish" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c18"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c33" value="census<br>proof" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c18" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c34" value="election<br>data, key" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.6;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c35" value="vote<br>package" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c19" target="c22"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c36" value="batch proofs,<br>results" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.93;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c22" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c37" value="state<br>data" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c22" target="c25"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="proving-time" id="proving-time"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1000" height="330" as="geometry"/></mxCell><mxCell id="c4" value="<b>proving time of a steady batch</b>" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="20" y="10" width="420" height="22" as="geometry"/></mxCell><mxCell id="c5" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="60" y="270" as="sourcePoint"/><mxPoint x="440" y="270" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c6" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="60" y="270" as="sourcePoint"/><mxPoint x="60" y="40" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c7" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="270.0" as="sourcePoint"/><mxPoint x="440" y="270.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c8" value="0" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="262.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c9" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="215.0" as="sourcePoint"/><mxPoint x="440" y="215.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c10" value="100" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="207.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c11" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="160.0" as="sourcePoint"/><mxPoint x="440" y="160.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c12" value="200" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="152.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c13" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="105.0" as="sourcePoint"/><mxPoint x="440" y="105.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c14" value="300" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="97.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c15" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="50.0" as="sourcePoint"/><mxPoint x="440" y="50.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c16" value="400" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="42.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c17" value="seconds" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="20" width="120" height="16" as="geometry"/></mxCell><mxCell id="c18" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="76.0" y="257.625" width="28" height="12.375" as="geometry"/></mxCell><mxCell id="c19" value="22" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="66.0" y="241.625" width="48" height="14" as="geometry"/></mxCell><mxCell id="c20" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="106.0" y="253.335" width="28" height="16.665" as="geometry"/></mxCell><mxCell id="c21" value="30" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="96.0" y="237.335" width="48" height="14" as="geometry"/></mxCell><mxCell id="c22" value="64" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="70.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c23" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150.0" y="253.445" width="28" height="16.555" as="geometry"/></mxCell><mxCell id="c24" value="30" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="140.0" y="237.445" width="48" height="14" as="geometry"/></mxCell><mxCell id="c25" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="180.0" y="244.865" width="28" height="25.135" as="geometry"/></mxCell><mxCell id="c26" value="46" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="170.0" y="228.865" width="48" height="14" as="geometry"/></mxCell><mxCell id="c27" value="128" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="144.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c28" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="224.0" y="244.59" width="28" height="25.41" as="geometry"/></mxCell><mxCell id="c29" value="46" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="214.0" y="228.59" width="48" height="14" as="geometry"/></mxCell><mxCell id="c30" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="254.0" y="227.815" width="28" height="42.185" as="geometry"/></mxCell><mxCell id="c31" value="77" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="244.0" y="211.815" width="48" height="14" as="geometry"/></mxCell><mxCell id="c32" value="256" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="218.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c33" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="298.0" y="223.635" width="28" height="46.365" as="geometry"/></mxCell><mxCell id="c34" value="84" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="288.0" y="207.635" width="48" height="14" as="geometry"/></mxCell><mxCell id="c35" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="328.0" y="179.635" width="28" height="90.365" as="geometry"/></mxCell><mxCell id="c36" value="164" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="318.0" y="163.635" width="48" height="14" as="geometry"/></mxCell><mxCell id="c37" value="512" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="292.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c38" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="372.0" y="175.84" width="28" height="94.16" as="geometry"/></mxCell><mxCell id="c39" value="171" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="362.0" y="159.84" width="48" height="14" as="geometry"/></mxCell><mxCell id="c40" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="402.0" y="69.85499999999999" width="28" height="200.145" as="geometry"/></mxCell><mxCell id="c41" value="364" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="392.0" y="53.85499999999999" width="48" height="14" as="geometry"/></mxCell><mxCell id="c42" value="1024" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="366.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c43" value="votes per batch" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="60" y="290" width="380" height="16" as="geometry"/></mxCell><mxCell id="c44" value="<b>proving throughput</b>" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="540" y="10" width="420" height="22" as="geometry"/></mxCell><mxCell id="c45" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="580" y="270" as="sourcePoint"/><mxPoint x="960" y="270" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c46" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="580" y="270" as="sourcePoint"/><mxPoint x="580" y="40" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c47" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="576" y="270.0" as="sourcePoint"/><mxPoint x="960" y="270.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c48" value="0" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="540" y="262.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c49" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="576" y="215.0" as="sourcePoint"/><mxPoint x="960" y="215.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c50" value="100" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="540" y="207.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c51" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="576" y="160.0" as="sourcePoint"/><mxPoint x="960" y="160.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c52" value="200" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="540" y="152.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c53" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="576" y="105.0" as="sourcePoint"/><mxPoint x="960" y="105.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c54" value="300" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="540" y="97.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c55" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="576" y="50.0" as="sourcePoint"/><mxPoint x="960" y="50.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c56" value="400" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="540" y="42.0" width="34" height="16" as="geometry"/></mxCell><mxCell id="c57" value="votes per minute" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="536" y="20" width="120" height="16" as="geometry"/></mxCell><mxCell id="c58" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="596.0" y="175.95" width="28" height="94.05" as="geometry"/></mxCell><mxCell id="c59" value="171" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="586.0" y="159.95" width="48" height="14" as="geometry"/></mxCell><mxCell id="c60" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="626.0" y="200.15" width="28" height="69.85" as="geometry"/></mxCell><mxCell id="c61" value="127" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="616.0" y="184.15" width="48" height="14" as="geometry"/></mxCell><mxCell id="c62" value="64" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="590.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c63" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="670.0" y="129.75" width="28" height="140.25" as="geometry"/></mxCell><mxCell id="c64" value="255" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="660.0" y="113.75" width="48" height="14" as="geometry"/></mxCell><mxCell id="c65" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="700.0" y="177.6" width="28" height="92.4" as="geometry"/></mxCell><mxCell id="c66" value="168" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="690.0" y="161.6" width="48" height="14" as="geometry"/></mxCell><mxCell id="c67" value="128" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="664.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c68" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="744.0" y="87.4" width="28" height="182.6" as="geometry"/></mxCell><mxCell id="c69" value="332" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="734.0" y="71.4" width="48" height="14" as="geometry"/></mxCell><mxCell id="c70" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="774.0" y="160.0" width="28" height="110.0" as="geometry"/></mxCell><mxCell id="c71" value="200" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="764.0" y="144.0" width="48" height="14" as="geometry"/></mxCell><mxCell id="c72" value="256" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="738.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c73" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="818.0" y="69.80000000000001" width="28" height="200.2" as="geometry"/></mxCell><mxCell id="c74" value="364" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="808.0" y="53.80000000000001" width="48" height="14" as="geometry"/></mxCell><mxCell id="c75" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="848.0" y="167.15" width="28" height="102.85" as="geometry"/></mxCell><mxCell id="c76" value="187" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="838.0" y="151.15" width="48" height="14" as="geometry"/></mxCell><mxCell id="c77" value="512" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="812.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c78" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="892.0" y="72.55000000000001" width="28" height="197.45" as="geometry"/></mxCell><mxCell id="c79" value="359" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="882.0" y="56.55000000000001" width="48" height="14" as="geometry"/></mxCell><mxCell id="c80" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="922.0" y="177.05" width="28" height="92.95" as="geometry"/></mxCell><mxCell id="c81" value="169" style="text;html=1;whiteSpace=wrap;fontSize=8;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="912.0" y="161.05" width="48" height="14" as="geometry"/></mxCell><mxCell id="c82" value="1024" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="886.0" y="274" width="74.0" height="16" as="geometry"/></mxCell><mxCell id="c83" value="votes per batch" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="580" y="290" width="380" height="16" as="geometry"/></mxCell><mxCell id="c84" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="380" y="304" width="16" height="12" as="geometry"/></mxCell><mxCell id="c85" value="n<sub>f</sub> = 2" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="400" y="300" width="60" height="20" as="geometry"/></mxCell><mxCell id="c86" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="480" y="304" width="16" height="12" as="geometry"/></mxCell><mxCell id="c87" value="n<sub>f</sub> = 16" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="500" y="300" width="60" height="20" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="proving-time" id="proving-time"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="740" height="344" as="geometry"/></mxCell><mxCell id="c4" value="<b>proving time, steady batch</b>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="0" width="340" height="24" as="geometry"/></mxCell><mxCell id="c5" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="270" as="sourcePoint"/><mxPoint x="356" y="270" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c6" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="56" y="270" as="sourcePoint"/><mxPoint x="56" y="40" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c7" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="52" y="270.0" as="sourcePoint"/><mxPoint x="356" y="270.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c8" value="0" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="10" y="261.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c9" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="52" y="215.0" as="sourcePoint"/><mxPoint x="356" y="215.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c10" value="100" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="10" y="206.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c11" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="52" y="160.0" as="sourcePoint"/><mxPoint x="356" y="160.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c12" value="200" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="10" y="151.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c13" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="52" y="105.0" as="sourcePoint"/><mxPoint x="356" y="105.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c14" value="300" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="10" y="96.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c15" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="52" y="50.0" as="sourcePoint"/><mxPoint x="356" y="50.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c16" value="400" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="10" y="41.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c17" value="seconds" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="12" y="26" width="160" height="18" as="geometry"/></mxCell><mxCell id="c18" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="72.0" y="257.625" width="24" height="12.375" as="geometry"/></mxCell><mxCell id="c19" value="22" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="60.0" y="239.625" width="42" height="16" as="geometry"/></mxCell><mxCell id="c20" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="97.0" y="253.335" width="24" height="16.665" as="geometry"/></mxCell><mxCell id="c21" value="30" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="85.0" y="235.335" width="42" height="16" as="geometry"/></mxCell><mxCell id="c22" value="64" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="66.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c23" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="130.0" y="253.445" width="24" height="16.555" as="geometry"/></mxCell><mxCell id="c24" value="30" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="118.0" y="235.445" width="42" height="16" as="geometry"/></mxCell><mxCell id="c25" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="155.0" y="244.865" width="24" height="25.135" as="geometry"/></mxCell><mxCell id="c26" value="46" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="143.0" y="226.865" width="42" height="16" as="geometry"/></mxCell><mxCell id="c27" value="128" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="124.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c28" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="188.0" y="244.59" width="24" height="25.41" as="geometry"/></mxCell><mxCell id="c29" value="46" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="176.0" y="226.59" width="42" height="16" as="geometry"/></mxCell><mxCell id="c30" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="213.0" y="227.815" width="24" height="42.185" as="geometry"/></mxCell><mxCell id="c31" value="77" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="201.0" y="209.815" width="42" height="16" as="geometry"/></mxCell><mxCell id="c32" value="256" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="182.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c33" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="246.0" y="223.635" width="24" height="46.365" as="geometry"/></mxCell><mxCell id="c34" value="84" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="234.0" y="205.635" width="42" height="16" as="geometry"/></mxCell><mxCell id="c35" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="271.0" y="179.635" width="24" height="90.365" as="geometry"/></mxCell><mxCell id="c36" value="164" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="259.0" y="161.635" width="42" height="16" as="geometry"/></mxCell><mxCell id="c37" value="512" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="240.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c38" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="304.0" y="175.84" width="24" height="94.16" as="geometry"/></mxCell><mxCell id="c39" value="171" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="292.0" y="157.84" width="42" height="16" as="geometry"/></mxCell><mxCell id="c40" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="329.0" y="69.85499999999999" width="24" height="200.145" as="geometry"/></mxCell><mxCell id="c41" value="364" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="317.0" y="51.85499999999999" width="42" height="16" as="geometry"/></mxCell><mxCell id="c42" value="1024" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="298.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c43" value="votes per batch" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="56" y="294" width="300" height="18" as="geometry"/></mxCell><mxCell id="c44" value="<b>proving throughput</b>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="380" y="0" width="340" height="24" as="geometry"/></mxCell><mxCell id="c45" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="420" y="270" as="sourcePoint"/><mxPoint x="720" y="270" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c46" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="420" y="270" as="sourcePoint"/><mxPoint x="420" y="40" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c47" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="416" y="270.0" as="sourcePoint"/><mxPoint x="720" y="270.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c48" value="0" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="374" y="261.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c49" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="416" y="215.0" as="sourcePoint"/><mxPoint x="720" y="215.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c50" value="100" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="374" y="206.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c51" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="416" y="160.0" as="sourcePoint"/><mxPoint x="720" y="160.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c52" value="200" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="374" y="151.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c53" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="416" y="105.0" as="sourcePoint"/><mxPoint x="720" y="105.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c54" value="300" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="374" y="96.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c55" value="" style="html=1;rounded=0;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#dddddd;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="416" y="50.0" as="sourcePoint"/><mxPoint x="720" y="50.0" as="targetPoint"/></mxGeometry></mxCell><mxCell id="c56" value="400" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="374" y="41.0" width="40" height="18" as="geometry"/></mxCell><mxCell id="c57" value="votes per minute" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="376" y="26" width="160" height="18" as="geometry"/></mxCell><mxCell id="c58" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="436.0" y="175.95" width="24" height="94.05" as="geometry"/></mxCell><mxCell id="c59" value="171" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="424.0" y="157.95" width="42" height="16" as="geometry"/></mxCell><mxCell id="c60" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="461.0" y="200.15" width="24" height="69.85" as="geometry"/></mxCell><mxCell id="c61" value="127" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="449.0" y="182.15" width="42" height="16" as="geometry"/></mxCell><mxCell id="c62" value="64" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="430.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c63" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="494.0" y="129.75" width="24" height="140.25" as="geometry"/></mxCell><mxCell id="c64" value="255" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="482.0" y="111.75" width="42" height="16" as="geometry"/></mxCell><mxCell id="c65" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="519.0" y="177.6" width="24" height="92.4" as="geometry"/></mxCell><mxCell id="c66" value="168" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="507.0" y="159.6" width="42" height="16" as="geometry"/></mxCell><mxCell id="c67" value="128" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="488.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c68" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="552.0" y="87.4" width="24" height="182.6" as="geometry"/></mxCell><mxCell id="c69" value="332" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="540.0" y="69.4" width="42" height="16" as="geometry"/></mxCell><mxCell id="c70" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="577.0" y="160.0" width="24" height="110.0" as="geometry"/></mxCell><mxCell id="c71" value="200" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="565.0" y="142.0" width="42" height="16" as="geometry"/></mxCell><mxCell id="c72" value="256" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="546.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c73" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="610.0" y="69.80000000000001" width="24" height="200.2" as="geometry"/></mxCell><mxCell id="c74" value="364" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="598.0" y="51.80000000000001" width="42" height="16" as="geometry"/></mxCell><mxCell id="c75" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="635.0" y="167.15" width="24" height="102.85" as="geometry"/></mxCell><mxCell id="c76" value="187" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="623.0" y="149.15" width="42" height="16" as="geometry"/></mxCell><mxCell id="c77" value="512" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="604.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c78" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="668.0" y="72.55000000000001" width="24" height="197.45" as="geometry"/></mxCell><mxCell id="c79" value="359" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="656.0" y="54.55000000000001" width="42" height="16" as="geometry"/></mxCell><mxCell id="c80" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="693.0" y="177.05" width="24" height="92.95" as="geometry"/></mxCell><mxCell id="c81" value="169" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="681.0" y="159.05" width="42" height="16" as="geometry"/></mxCell><mxCell id="c82" value="1024" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="662.0" y="274" width="58.0" height="18" as="geometry"/></mxCell><mxCell id="c83" value="votes per batch" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="420" y="294" width="300" height="18" as="geometry"/></mxCell><mxCell id="c84" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="250" y="316" width="18" height="14" as="geometry"/></mxCell><mxCell id="c85" value="n<sub>f</sub> = 2" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="274" y="312" width="80" height="22" as="geometry"/></mxCell><mxCell id="c86" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="370" y="316" width="18" height="14" as="geometry"/></mxCell><mxCell id="c87" value="n<sub>f</sub> = 16" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="394" y="312" width="90" height="22" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -0,0 +1,1 @@
+<mxfile host="drawio"><diagram name="re-encryption" id="re-encryption"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="780" height="420" as="geometry"/></mxCell><mxCell id="c4" value="seed" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="6" width="150" height="30" as="geometry"/></mxCell><mxCell id="c5" value="stateRoot<sup>old</sup>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="42" width="150" height="30" as="geometry"/></mxCell><mxCell id="c6" value="&eta;<sub>0</sub> = H(&quot;davinci-reenc-v1&quot; ||<br>seed || stateRoot<sup>old</sup>) mod s" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="200" y="8" width="320" height="62" as="geometry"/></mxCell><mxCell id="c7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.21;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.79;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c9" value="&eta;<sub>c+1</sub> = H(&eta;<sub>c</sub>) mod s" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="540" y="24" width="200" height="30" as="geometry"/></mxCell><mxCell id="c10" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c11" value="&eta;<sub>0</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="24" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c11"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="360" y="86"/><mxPoint x="41" y="86"/></Array></mxGeometry></mxCell><mxCell id="c14" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="64" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c15" value="&eta;<sub>1</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="68" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="108" y="176" width="30" height="34" as="geometry"/></mxCell><mxCell id="c19" value="B<sub>1</sub>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="20" y="212" width="118" height="24" as="geometry"/></mxCell><mxCell id="c20" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="152" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c21" value="&eta;<sub>2</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="156" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c21" target="c20"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c21"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="196" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c25" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="200" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c25" target="c24"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c21" target="c25"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c28" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="240" y="176" width="30" height="34" as="geometry"/></mxCell><mxCell id="c29" value="B<sub>2</sub>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="152" y="212" width="118" height="24" as="geometry"/></mxCell><mxCell id="c30" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=16;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="284" y="176" width="34" height="34" as="geometry"/></mxCell><mxCell id="c31" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=16;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="284" y="100" width="34" height="34" as="geometry"/></mxCell><mxCell id="c32" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="324" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c33" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="328" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c33" target="c32"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c25" target="c33"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c36" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="368" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c37" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="372" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c38" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c37" target="c36"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c33" target="c37"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c40" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="412" y="176" width="30" height="34" as="geometry"/></mxCell><mxCell id="c41" value="B<sub>n</sub>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="324" y="212" width="118" height="24" as="geometry"/></mxCell><mxCell id="c42" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="456" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c43" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="460" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c43" target="c42"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c45" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c37" target="c43"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c46" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="500" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c47" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="504" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c48" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c47" target="c46"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c43" target="c47"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c50" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="544" y="176" width="30" height="34" as="geometry"/></mxCell><mxCell id="c51" value="R<sub>1</sub>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="456" y="212" width="118" height="24" as="geometry"/></mxCell><mxCell id="c52" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=16;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="588" y="176" width="34" height="34" as="geometry"/></mxCell><mxCell id="c53" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=16;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="588" y="100" width="34" height="34" as="geometry"/></mxCell><mxCell id="c54" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="628" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c55" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="632" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c56" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c55" target="c54"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c47" target="c55"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c58" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="672" y="176" width="42" height="34" as="geometry"/></mxCell><mxCell id="c59" value="&eta;<sub>c</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="676" y="104" width="34" height="28" as="geometry"/></mxCell><mxCell id="c60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c59" target="c58"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c55" target="c59"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c62" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="716" y="176" width="30" height="34" as="geometry"/></mxCell><mxCell id="c63" value="R<sub>|R|</sub>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="628" y="212" width="118" height="24" as="geometry"/></mxCell><mxCell id="c64" value="voters' ballots, fields in order" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="238" width="380" height="22" as="geometry"/></mxCell><mxCell id="c65" value="refreshed ballots, slots ascending" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="420" y="238" width="340" height="22" as="geometry"/></mxCell><mxCell id="c66" value="Each active ciphertext consumes the next scalar &eta;<sub>c</sub>; inactive fields (id) must be the identity and consume none (example with n<sub>f</sub> = 2)." style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="262" width="740" height="40" as="geometry"/></mxCell><mxCell id="c67" value="<b>re-encryption</b> with &eta;<sub>c</sub>:<br>(C<sub>1</sub>, C<sub>2</sub>) &rarr; (C<sub>1</sub> + &eta;<sub>c</sub>&middot;G,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C<sub>2</sub> + &eta;<sub>c</sub>&middot;encryptionKey)<br><font style='font-size:12px'>no scalar repeats within or across batches</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="308" width="360" height="96" as="geometry"/></mxCell><mxCell id="c68" value="<b>results accumulation</b><br>A<sup>new</sup> = A<sup>old</sup> + &Sigma; B'<sub>i</sub> &minus; &Sigma; B<sup>old</sup><sub>i</sub><br>+ &Sigma; (R'<sub>j</sub> &minus; R<sub>j</sub>)<br><font style='font-size:12px'>refreshes add encryptions of zero</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="394" y="308" width="370" height="96" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +0,0 @@
-<mxfile host="drawio"><diagram name="reencryption" id="reencryption"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1116" height="330" as="geometry"/></mxCell><mxCell id="c4" value="seed" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="20" width="84" height="34" as="geometry"/></mxCell><mxCell id="c5" value="stateRoot<sup>old</sup>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="66" width="84" height="34" as="geometry"/></mxCell><mxCell id="c6" value="r<sub>0</sub> = H(&quot;davinci-reenc-v1&quot; || seed<br>|| stateRoot<sup>old</sup>) mod s" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="130" y="34" width="200" height="52" as="geometry"/></mxCell><mxCell id="c7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.7;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c9" value="r<sub>t+1</sub> = H(r<sub>t</sub>) mod s" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="130" y="92" width="200" height="24" as="geometry"/></mxCell><mxCell id="c10" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="360" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c11" value="r<sub>0</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="364" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c11"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c14" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="400" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c15" value="r<sub>1</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="404" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="440" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c19" value="B<sub>1</sub>" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="360" y="184" width="110" height="22" as="geometry"/></mxCell><mxCell id="c20" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="484" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c21" value="r<sub>2</sub>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="488" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c21" target="c20"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c21"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="524" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c25" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="528" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c25" target="c24"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c21" target="c25"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c28" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="564" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c29" value="B<sub>2</sub>" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="484" y="184" width="110" height="22" as="geometry"/></mxCell><mxCell id="c30" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="608" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c31" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="608" y="66" width="30" height="30" as="geometry"/></mxCell><mxCell id="c32" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="644" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c33" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="648" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c33" target="c32"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c25" target="c33"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c36" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="684" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c37" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="688" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c38" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c37" target="c36"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c33" target="c37"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c40" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="724" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c41" value="B<sub>n</sub>" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="644" y="184" width="110" height="22" as="geometry"/></mxCell><mxCell id="c42" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="768" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c43" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="772" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c43" target="c42"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c45" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c37" target="c43"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c46" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="808" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c47" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="812" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c48" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c47" target="c46"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c43" target="c47"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c50" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="848" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c51" value="R<sub>1</sub>" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="768" y="184" width="110" height="22" as="geometry"/></mxCell><mxCell id="c52" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="892" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c53" value="&hellip;" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="892" y="66" width="30" height="30" as="geometry"/></mxCell><mxCell id="c54" value="f<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="928" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c55" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="932" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c56" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c55" target="c54"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c47" target="c55"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c58" value="f<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="968" y="150" width="38" height="30" as="geometry"/></mxCell><mxCell id="c59" value="r" style="rounded=1;whiteSpace=wrap;html=1;fontSize=9;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="972" y="70" width="30" height="26" as="geometry"/></mxCell><mxCell id="c60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c59" target="c58"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c55" target="c59"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c62" value="id" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="1008" y="150" width="30" height="30" as="geometry"/></mxCell><mxCell id="c63" value="R<sub>r</sub>" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="928" y="184" width="110" height="22" as="geometry"/></mxCell><mxCell id="c64" value="voters' ballots (n), fields in order" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="360" y="206" width="300" height="20" as="geometry"/></mxCell><mxCell id="c65" value="refreshed ballots (r), slots ascending" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="820" y="206" width="250" height="20" as="geometry"/></mxCell><mxCell id="c66" value="each active ciphertext consumes the next scalar r<sub>t</sub>; inactive fields (id) must be the identity and consume none. Example with n<sub>f</sub> = 2." style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="130" width="330" height="70" as="geometry"/></mxCell><mxCell id="c67" value="<b>reencryption</b> of a ciphertext with r<sub>t</sub>:<br>(C<sub>1</sub>, C<sub>2</sub>) &rarr; (C<sub>1</sub> + r<sub>t</sub>&middot;G, C<sub>2</sub> + r<sub>t</sub>&middot;encryptionKey)<br><font style='font-size:9px'>no scalar repeats within a batch, nor across batches (the old root differs)</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="236" width="500" height="76" as="geometry"/></mxCell><mxCell id="c68" value="<b>results accumulation</b><br>A<sup>new</sup> = A<sup>old</sup> + &Sigma; B'<sub>i</sub> &minus; &Sigma; B<sup>old</sup><sub>i</sub> + &Sigma; (R'<sub>j</sub> &minus; R<sub>j</sub>)<br><font style='font-size:9px'>new ballots, minus overwritten ballots, plus encryptions of zero from refreshes</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="540" y="236" width="560" height="76" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="results-program" id="results-program"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="980" height="300" as="geometry"/></mxCell><mxCell id="c4" value="$$\text{stateRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="20" width="110" height="36" as="geometry"/></mxCell><mxCell id="c5" value="$$\pi^{\text{0x03}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150" y="20" width="80" height="36" as="geometry"/></mxCell><mxCell id="c6" value="$$\text{encryptionKey}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="250" y="20" width="140" height="36" as="geometry"/></mxCell><mxCell id="c7" value="$$\text{encryptedResults}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="410" y="20" width="150" height="36" as="geometry"/></mxCell><mxCell id="c8" value="$$\pi^{\text{0x04}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="580" y="20" width="80" height="36" as="geometry"/></mxCell><mxCell id="c9" value="$$\{\pi^{\text{dec}}_j\}_{j=1}^{16}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="740" y="20" width="100" height="36" as="geometry"/></mxCell><mxCell id="c10" value="$$\text{results}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="860" y="20" width="100" height="36" as="geometry"/></mxCell><mxCell id="c11" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="10" y="104" width="960" height="104" as="geometry"/></mxCell><mxCell id="c12" value="$$\text{Verify}(\text{stateRoot}, \text{0x03}, H(\text{encryptionKey}), \pi^{\text{0x03}})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="130" width="300" height="52" as="geometry"/></mxCell><mxCell id="c13" value="$$\text{Verify}(\text{stateRoot}, \text{0x04}, H(\text{encryptedResults}), \pi^{\text{0x04}})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="340" y="130" width="300" height="52" as="geometry"/></mxCell><mxCell id="c14" value="$$\text{CP.Verify}_{\text{encryptionKey}}(\text{encryptedResults}_j, \text{results}_j, \pi^{\text{dec}}_j)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="660" y="130" width="300" height="52" as="geometry"/></mxCell><mxCell id="c15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.18333333333333332;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c4" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.8181818181818182;exitY=1;exitDx=0;exitDy=0;entryX=0.06666666666666667;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c4" target="c13"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="110" y="94"/><mxPoint x="360" y="94"/></Array></mxGeometry></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5666666666666667;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c5" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.8833333333333333;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c6" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.06666666666666667;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c6" target="c14"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="355" y="70"/><mxPoint x="680" y="70"/></Array></mxGeometry></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.48333333333333334;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c7" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.8466666666666667;exitY=1;exitDx=0;exitDy=0;entryX=0.2;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c7" target="c14"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="537" y="82"/><mxPoint x="720" y="82"/></Array></mxGeometry></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.9333333333333333;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c8" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.43333333333333335;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c9" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.8333333333333334;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c10" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="true" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="120" y="236" width="100" height="24" as="geometry"/></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c12" target="c25"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="true" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="440" y="236" width="100" height="24" as="geometry"/></mxCell><mxCell id="c28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c13" target="c27"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c29" value="true" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="760" y="236" width="100" height="24" as="geometry"/></mxCell><mxCell id="c30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c29"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="the encryption key is also checked to be on the curve, in the prime-order subgroup, and not the identity; j ranges over the 16 fields" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="268" width="940" height="24" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="results-program" id="results-program"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="800" height="330" as="geometry"/></mxCell><mxCell id="c4" value="\(\text{stateRoot}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="20" width="104" height="38" as="geometry"/></mxCell><mxCell id="c5" value="\(\pi^{\text{0x03}}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="130" y="20" width="70" height="38" as="geometry"/></mxCell><mxCell id="c6" value="\(\text{encryptionKey}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="210" y="20" width="130" height="38" as="geometry"/></mxCell><mxCell id="c7" value="\(\text{encryptedResults}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="350" y="20" width="140" height="38" as="geometry"/></mxCell><mxCell id="c8" value="\(\pi^{\text{0x04}}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="495" y="20" width="65" height="38" as="geometry"/></mxCell><mxCell id="c9" value="\(\{\pi^{\text{dec}}_j\}_{j=1}^{16}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="570" y="20" width="92" height="38" as="geometry"/></mxCell><mxCell id="c10" value="\(\text{results}\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="672" y="20" width="94" height="38" as="geometry"/></mxCell><mxCell id="c11" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="8" y="104" width="784" height="120" as="geometry"/></mxCell><mxCell id="c12" value="\(\text{Verify(stateRoot, 0x03,}\)<br>\(H(\text{encryptionKey}), \pi^{\text{0x03}})\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="130" width="250" height="66" as="geometry"/></mxCell><mxCell id="c13" value="\(\text{Verify(stateRoot, 0x04,}\)<br>\(H(\text{encryptedResults}), \pi^{\text{0x04}})\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="282" y="130" width="250" height="66" as="geometry"/></mxCell><mxCell id="c14" value="\(\text{CP.Verify}_{\text{encryptionKey}}(\)<br>\(\text{encryptedResults}_j,\)<br>\(\text{results}_j, \pi^{\text{dec}}_j)\)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="548" y="130" width="236" height="66" as="geometry"/></mxCell><mxCell id="c15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3269230769230769;exitY=1;exitDx=0;exitDy=0;entryX=0.136;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c4" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.8076923076923077;exitY=1;exitDx=0;exitDy=0;entryX=0.072;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c4" target="c13"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="100" y="92"/><mxPoint x="300" y="92"/></Array></mxGeometry></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.596;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c5" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3076923076923077;exitY=1;exitDx=0;exitDy=0;entryX=0.936;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c6" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.8076923076923077;exitY=1;exitDx=0;exitDy=0;entryX=0.05084745762711865;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c6" target="c14"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="315" y="72"/><mxPoint x="560" y="72"/></Array></mxGeometry></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.552;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c7" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.8571428571428571;exitY=1;exitDx=0;exitDy=0;entryX=0.17796610169491525;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c7" target="c14"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="470" y="84"/><mxPoint x="590" y="84"/></Array></mxGeometry></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.982;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c8" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.288135593220339;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c9" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.7245762711864406;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;jumpSize=7;" edge="1" parent="1" source="c10" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="true" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="91" y="246" width="100" height="26" as="geometry"/></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c12" target="c25"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="true" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="357" y="246" width="100" height="26" as="geometry"/></mxCell><mxCell id="c28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c13" target="c27"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c29" value="true" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="616" y="246" width="100" height="26" as="geometry"/></mxCell><mxCell id="c30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c29"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c31" value="The encryption key is also checked to be on the curve, in the prime-order subgroup, and not the identity; j ranges over the 16 fields." style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="284" width="770" height="40" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="smart-contracts" id="smart-contracts"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1010" height="470" as="geometry"/></mxCell><mxCell id="c4" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="14" y="8" width="14" height="22" as="geometry"/></mxCell><mxCell id="c5" value="<b>Settlement chain</b> (Ethereum, or an OP Stack rollup in L1-blob mode)" style="text;html=1;whiteSpace=wrap;fontSize=12;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="32" y="8" width="500" height="22" as="geometry"/></mxCell><mxCell id="c6" value="key wardens' contracts" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="16" y="44" width="236" height="300" as="geometry"/></mxCell><mxCell id="c7" value="<b>davinci-dkg</b><br>DKGManager<br>DKGAppManager<br>DKGRegistry<br><font style='font-size:9px'>epochs, pool keys,<br>partial decryptions</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="32" y="76" width="204" height="116" as="geometry"/></mxCell><mxCell id="c8" value="<b>Council</b><br>CouncilManager<br><font style='font-size:9px'>invite-only ceremonies,<br>decryption gate,<br>partial decryptions</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="32" y="222" width="204" height="100" as="geometry"/></mxCell><mxCell id="c9" value="DavinciDKGAdapter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="292" y="104" width="140" height="60" as="geometry"/></mxCell><mxCell id="c10" value="CouncilAdapter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="292" y="242" width="140" height="60" as="geometry"/></mxCell><mxCell id="c11" value="<b>ProcessRegistry</b><br><br><div style='text-align:left;font-size:9px;line-height:1.35'>processes[pid]:<br>&nbsp;status, times, grace,<br>&nbsp;ballotMode, census,<br>&nbsp;encryptionKey, keyMode,<br>&nbsp;latestStateRoot, counters,<br>&nbsp;results<br><br>newProcess<br>setProcess{Status, Census,<br>&nbsp;Duration, MaxVoters, Grace,<br>&nbsp;Metadata}<br>submitStateTransition[L1]<br>setProcessResults<br>requestResultsDecryption<br>finalizeResultsFromDKG<br>revealProcessKey</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=6;" vertex="1" parent="1"><mxGeometry x="520" y="52" width="210" height="300" as="geometry"/></mxCell><mxCell id="c12" value="<b>ZiskVerifier</b><br><font style='font-size:9px'>PlonK over BN254</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="800" y="52" width="192" height="56" as="geometry"/></mxCell><mxCell id="c13" value="<b>point evaluation</b><br><font style='font-size:9px'>precompile 0x0A (EIP-4844)</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="800" y="140" width="192" height="56" as="geometry"/></mxCell><mxCell id="c14" value="<b>L1BlobVerifier</b><br><font style='font-size:9px'>headers + MPT proofs</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="800" y="228" width="192" height="56" as="geometry"/></mxCell><mxCell id="c15" value="<b>L1Block</b> (OP predeploy)<br><font style='font-size:9px'>L1 origin number, hash</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="800" y="316" width="192" height="56" as="geometry"/></mxCell><mxCell id="c16" value="<b>census contract</b><br><font style='font-size:9px'>ICensusValidator (origin 3)</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="520" y="392" width="210" height="56" as="geometry"/></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="register,<br>submit,<br>plaintexts" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.2;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="register,<br>submit,<br>plaintexts" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.66;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="proofs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.0933;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c22" value="openings" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.387;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="verify" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.68;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="origin" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="root valid?" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="dashed: used only in L1-blob mode (L1BlobVerifier, L1Block) or by on-chain censuses (census contract)" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="392" width="430" height="60" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="smart-contracts" id="smart-contracts"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="860" height="500" as="geometry"/></mxCell><mxCell id="c4" value="" style="shape=image;html=1;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=none;fontSize=11;fontFamily=Courier New;image=data:image/svg+xml,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiA0MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEzIDIgTDI0IDIwIEwxMyAyNiBMMiAyMCBaIi8+PHBhdGggZD0iTTEzIDIgTDEzIDI2Ii8+PHBhdGggZD0iTTIgMjAgTDEzIDE1IEwyNCAyMCIvPjxwYXRoIGQ9Ik0yIDIzIEwxMyAzOCBMMjQgMjMgTDEzIDI5IFoiLz48L2c+PC9zdmc+;" vertex="1" parent="1"><mxGeometry x="14" y="10" width="16" height="24" as="geometry"/></mxCell><mxCell id="c5" value="<b>Settlement chain</b> (Ethereum, or an OP Stack rollup in L1-blob mode)" style="text;html=1;whiteSpace=wrap;fontSize=14;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="36" y="10" width="640" height="26" as="geometry"/></mxCell><mxCell id="c6" value="key wardens' contracts" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="14" y="48" width="210" height="336" as="geometry"/></mxCell><mxCell id="c7" value="<b>davinci-dkg</b><br>DKGManager<br>DKGAppManager<br>DKGRegistry<br><font style='font-size:11px'>epochs, pool keys,<br>partial decryptions</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="28" y="86" width="182" height="140" as="geometry"/></mxCell><mxCell id="c8" value="<b>Council</b><br>CouncilManager<br><font style='font-size:11px'>invite-only ceremonies,<br>decryption gate,<br>partial decryptions</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="28" y="244" width="182" height="124" as="geometry"/></mxCell><mxCell id="c9" value="DavinciDKG-<br>Adapter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="250" y="126" width="150" height="60" as="geometry"/></mxCell><mxCell id="c10" value="Council-<br>Adapter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="250" y="276" width="150" height="60" as="geometry"/></mxCell><mxCell id="c11" value="<b>ProcessRegistry</b><div style='text-align:left;font-size:11px;line-height:1.35;margin-top:6px'>processes[pid]: status,<br>times, grace, ballotMode,<br>census, encryptionKey,<br>keyMode, latestStateRoot,<br>counters, results<br><br>newProcess<br>setProcess&lt;field&gt;<br>submitStateTransition[L1]<br>setProcessResults<br>requestResultsDecryption<br>finalizeResultsFromDKG<br>revealProcessKey</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=top;spacingTop=8;spacingLeft=10;" vertex="1" parent="1"><mxGeometry x="458" y="56" width="200" height="328" as="geometry"/></mxCell><mxCell id="c12" value="<b>ZiskVerifier</b><br><font style='font-size:11px'>PlonK, BN254</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="714" y="56" width="132" height="62" as="geometry"/></mxCell><mxCell id="c13" value="<b>point eval.</b><br><font style='font-size:11px'>precompile 0x0A</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="714" y="146" width="132" height="62" as="geometry"/></mxCell><mxCell id="c14" value="<b>L1BlobVerifier</b><br><font style='font-size:11px'>headers, MPT</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="714" y="236" width="132" height="62" as="geometry"/></mxCell><mxCell id="c15" value="<b>L1Block</b><br><font style='font-size:11px'>OP predeploy</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="714" y="322" width="132" height="62" as="geometry"/></mxCell><mxCell id="c16" value="<b>census contract</b><br><font style='font-size:11px'>ICensusValidator (origin 3)</font>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="458" y="414" width="200" height="62" as="geometry"/></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="register,<br>submit,<br>plaintexts" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.3;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="register,<br>submit,<br>plaintexts" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0;exitY=0.762;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="proofs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.125;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c12"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c22" value="openings" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.4;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="verify" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.674;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="root valid?" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=11;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="dashed: used only in L1-blob mode (L1BlobVerifier, L1Block) or by on-chain censuses (census contract)" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="400" width="420" height="80" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="smt-chain" id="smt-chain"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1064" height="250" as="geometry"/></mxCell><mxCell id="c4" value="stateRoot<sup>old</sup>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="16" y="96" width="92" height="44" as="geometry"/></mxCell><mxCell id="c5" value="<b>vote identifiers</b><br>n &times; INSERT<br>(voteID<sub>i</sub>, 0)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="124" y="82" width="156" height="72" as="geometry"/></mxCell><mxCell id="c6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c5"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c7" value="insert-only: a used<br>identifier fails" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="124" y="160" width="156" height="34" as="geometry"/></mxCell><mxCell id="c8" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="300" y="104" width="30" height="28" as="geometry"/></mxCell><mxCell id="c9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c10" value="<b>ballots</b><br>n &times; INSERT or UPDATE<br>(slot<sub>i</sub>, H(B'<sub>i</sub>))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="350" y="82" width="156" height="72" as="geometry"/></mxCell><mxCell id="c11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c10"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c12" value="exactly w updates;<br>slots distinct" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="350" y="160" width="156" height="34" as="geometry"/></mxCell><mxCell id="c13" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="526" y="104" width="30" height="28" as="geometry"/></mxCell><mxCell id="c14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c10" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c15" value="<b>silent refresh</b><br>r &times; UPDATE<br>(slot<sub>j</sub>, H(B'<sub>j</sub>))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="576" y="82" width="156" height="72" as="geometry"/></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c13" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="occupied, not written,<br>strictly increasing" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="576" y="160" width="156" height="34" as="geometry"/></mxCell><mxCell id="c18" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="752" y="104" width="30" height="28" as="geometry"/></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c15" target="c18"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="<b>results</b><br>1 &times; UPDATE<br>(0x04, H(A<sup>new</sup>))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="802" y="82" width="156" height="72" as="geometry"/></mxCell><mxCell id="c21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c18" target="c20"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c22" value="present iff some<br>ballot changed" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="802" y="160" width="156" height="34" as="geometry"/></mxCell><mxCell id="c23" value="stateRoot<sup>new</sup>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=10;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="978" y="96" width="92" height="44" as="geometry"/></mxCell><mxCell id="c24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c20" target="c23"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c25" value="read under stateRoot<sup>old</sup>: processID (0x00), ballotMode (0x02),<br>encryptionKey (0x03), censusOrigin (0x06), ballotVKHash (0x07)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="16" y="14" width="380" height="40" as="geometry"/></mxCell><mxCell id="c26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.12;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c25" target="c4"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c27" value="Each transition is proven against the root left by the previous one (intermediate roots shown as circles). H = SHA-256 of the 64 coordinates of a ballot; B' = reencrypted ballot; A = results accumulator." style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="16" y="206" width="1030" height="34" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="smt-chain" id="smt-chain"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c27" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="760" height="672" as="geometry"/></mxCell><mxCell id="c3" value="stateRoot<sup>old</sup>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="210" y="18" width="200" height="42" as="geometry"/></mxCell><mxCell id="c4" value="<b>read under stateRoot<sup>old</sup></b><br>processID (0x00), ballotMode (0x02),<br>encryptionKey (0x03), censusOrigin<br>(0x06), ballotVKHash (0x07)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"><mxGeometry x="450" y="12" width="290" height="92" as="geometry"/></mxCell><mxCell id="c5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;" edge="1" parent="1" source="c3" target="c4"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c6" value="<b>vote identifiers</b><br>n &times; INSERT (voteID<sub>i</sub>, 0)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150" y="96" width="320" height="68" as="geometry"/></mxCell><mxCell id="c7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c3" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c8" value="insert-only: a used<br>identifier fails" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="484" y="106" width="270" height="48" as="geometry"/></mxCell><mxCell id="c9" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="297" y="178" width="26" height="26" as="geometry"/></mxCell><mxCell id="c10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="<b>ballots</b><br>n &times; INSERT or UPDATE<br>(slot<sub>i</sub>, H(B'<sub>i</sub>))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150" y="218" width="320" height="68" as="geometry"/></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c9" target="c11"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="exactly w updates;<br>slots pairwise distinct" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="484" y="228" width="270" height="48" as="geometry"/></mxCell><mxCell id="c14" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="297" y="300" width="26" height="26" as="geometry"/></mxCell><mxCell id="c15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c11" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c16" value="<b>silent refresh</b><br>|R| &times; UPDATE (slot<sub>j</sub>, H(R'<sub>j</sub>))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150" y="340" width="320" height="68" as="geometry"/></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c14" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="occupied, not written,<br>strictly increasing" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="484" y="350" width="270" height="48" as="geometry"/></mxCell><mxCell id="c19" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=50;" vertex="1" parent="1"><mxGeometry x="297" y="422" width="26" height="26" as="geometry"/></mxCell><mxCell id="c20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c16" target="c19"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c21" value="<b>results accumulator</b><br>1 &times; UPDATE (0x04, H(A<sup>new</sup>))" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="150" y="462" width="320" height="68" as="geometry"/></mxCell><mxCell id="c22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c19" target="c21"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c23" value="present iff some ballot<br>is written or refreshed" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="484" y="472" width="270" height="48" as="geometry"/></mxCell><mxCell id="c24" value="stateRoot<sup>new</sup>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="210" y="560" width="200" height="42" as="geometry"/></mxCell><mxCell id="c25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c21" target="c24"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c26" value="Each transition is proven against the root left by the previous one (circles: intermediate roots). H = SHA-256 of the 64 coordinates of a ballot or accumulator; B' = re-encrypted voter ballot; R' = re-encrypted refreshed ballot; A = results accumulator." style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="612" width="732" height="50" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="state-tree" id="state-tree"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="940" height="360" as="geometry"/></mxCell><mxCell id="c4" value="<b>state tree</b>: sparse Merkle tree, depth 64, SHA-256, 64-bit keys; its root is the on-chain <b>stateRoot</b>" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="20" y="10" width="900" height="22" as="geometry"/></mxCell><mxCell id="c5" value="<b>configuration</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="20" y="56" width="190" height="40" as="geometry"/></mxCell><mxCell id="c6" value="<b>encrypted ballots</b> (one slot per voter)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="210" y="56" width="360" height="40" as="geometry"/></mxCell><mxCell id="c7" value="<b>vote identifiers</b> (one per ballot cast)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="570" y="56" width="350" height="40" as="geometry"/></mxCell><mxCell id="c8" value="0x00" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="96" width="100" height="18" as="geometry"/></mxCell><mxCell id="c9" value="0x0F" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="108" y="96" width="100" height="18" as="geometry"/></mxCell><mxCell id="c10" value="0x10" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="212" y="96" width="100" height="18" as="geometry"/></mxCell><mxCell id="c11" value="2<sup>63</sup>&minus;1" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="470" y="96" width="100" height="18" as="geometry"/></mxCell><mxCell id="c12" value="2<sup>63</sup>" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="572" y="96" width="100" height="18" as="geometry"/></mxCell><mxCell id="c13" value="2<sup>64</sup>&minus;1" style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="820" y="96" width="100" height="18" as="geometry"/></mxCell><mxCell id="c14" value="<div style='text-align:left;font-size:10px;line-height:1.5'>0x00 &nbsp;processID<br>0x02 &nbsp;ballotMode (packed)<br>0x03 &nbsp;H(encryptionKey)<br>0x04 &nbsp;H(encryptedResults)<br>0x06 &nbsp;censusOrigin<br>0x07 &nbsp;ballotVKHash<br><font color='#666666'>0x01, 0x05, 0x08&ndash;0x0F<br>reserved</font></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="20" y="130" width="190" height="150" as="geometry"/></mxCell><mxCell id="c15" value="<div style='text-align:left;font-size:10px;line-height:1.5'><b>key</b> = slot<br>&bull; Merkle census:<br>&nbsp;&nbsp;0x10 + (H(&quot;davinci-slot-v1&quot; || address)<sub>[0..8]</sub><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mod (2<sup>63</sup> &minus; 16))<br>&bull; CSP census: 0x10 + idx<br><b>value</b> = H(reEncryptedBallot)<br><font color='#666666'>written by new votes and overwrites,<br>refreshed by silent re-encryptions</font></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="232" y="130" width="316" height="150" as="geometry"/></mxCell><mxCell id="c16" value="<div style='text-align:left;font-size:10px;line-height:1.5'><b>key</b> = voteID =<br>&nbsp;&nbsp;2<sup>63</sup> + (Poseidon(processID, address, k)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mod 2<sup>63</sup>)<br><b>value</b> = 0<br><font color='#666666'>insert-only: a vote identifier<br>can never be reused, which lets a<br>voter check that the ballot was<br>recorded without revealing its slot</font></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="592" y="130" width="306" height="150" as="geometry"/></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c16"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c20" value="H = SHA-256 (leaf value read as a big-endian integer). Leaf hash: H(key<sub>LE8</sub> || value<sub>LE32</sub> || 0x01); internal node: H(left || right). Genesis: the registry computes the root of the six configuration leaves at creation, with the accumulator set to the encryption of zero (all identity points)." style="text;html=1;whiteSpace=wrap;fontSize=9;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="20" y="296" width="900" height="54" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="state-tree" id="state-tree"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c20" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="800" height="388" as="geometry"/></mxCell><mxCell id="c3" value="<b>state tree</b>: sparse Merkle tree, depth 64, SHA-256, 64-bit keys; its root is the on-chain <b>stateRoot</b>" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Courier New;align=center;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="14" y="8" width="772" height="26" as="geometry"/></mxCell><mxCell id="c4" value="<b>configuration</b>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="14" y="50" width="200" height="44" as="geometry"/></mxCell><mxCell id="c5" value="<b>encrypted ballots</b><br>one slot per voter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="214" y="50" width="290" height="44" as="geometry"/></mxCell><mxCell id="c6" value="<b>vote identifiers</b><br>one per ballot cast" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="504" y="50" width="282" height="44" as="geometry"/></mxCell><mxCell id="c7" value="0x00" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="96" width="100" height="20" as="geometry"/></mxCell><mxCell id="c8" value="0x0F" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="112" y="96" width="100" height="20" as="geometry"/></mxCell><mxCell id="c9" value="0x10" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="216" y="96" width="100" height="20" as="geometry"/></mxCell><mxCell id="c10" value="2<sup>63</sup>&minus;1" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="404" y="96" width="100" height="20" as="geometry"/></mxCell><mxCell id="c11" value="2<sup>63</sup>" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="506" y="96" width="100" height="20" as="geometry"/></mxCell><mxCell id="c12" value="2<sup>64</sup>&minus;1" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=right;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="686" y="96" width="100" height="20" as="geometry"/></mxCell><mxCell id="c13" value="<div style='text-align:left;font-size:12px;line-height:1.45'>0x00 processID<br>0x02 ballotMode<br>0x03 H(encryptionKey)<br>0x04 H(encryptedResults)<br>0x06 censusOrigin<br>0x07 ballotVKHash<br><font color='#666666'>0x01, 0x05, 0x08&ndash;0x0F<br>reserved</font></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;spacingLeft=6;" vertex="1" parent="1"><mxGeometry x="14" y="130" width="192" height="184" as="geometry"/></mxCell><mxCell id="c14" value="<div style='text-align:left;font-size:12px;line-height:1.45'><b>key</b> = slot:<br>&bull; Merkle census: 0x10 + (h mod<br>&nbsp;&nbsp;(2<sup>63</sup> &minus; 16)), h = first 8 bytes<br>&nbsp;&nbsp;of H(&quot;davinci-slot-v1&quot; || address)<br>&bull; CSP census: 0x10 + idx<br><b>value</b> = H(reEncryptedBallot)<br><font color='#666666'>written by votes and overwrites,<br>refreshed by silent re-encryptions</font></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;spacingLeft=6;" vertex="1" parent="1"><mxGeometry x="218" y="130" width="282" height="184" as="geometry"/></mxCell><mxCell id="c15" value="<div style='text-align:left;font-size:12px;line-height:1.45'><b>key</b> = voteID = 2<sup>63</sup> +<br>&nbsp;&nbsp;(Poseidon(processID,<br>&nbsp;&nbsp;address, k) mod 2<sup>63</sup>)<br><b>value</b> = 0<br><font color='#666666'>insert-only: a vote identifier<br>can never be reused; it lets a<br>voter check that the ballot was<br>recorded without revealing its slot</font></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontFamily=Courier New;align=left;verticalAlign=middle;spacingLeft=6;" vertex="1" parent="1"><mxGeometry x="512" y="130" width="274" height="184" as="geometry"/></mxCell><mxCell id="c16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5208333333333334;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c13"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c14"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=none;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.4854014598540146;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c15"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c19" value="H = SHA-256 (value read as a big-endian integer). Leaf hash: H(key<sub>LE8</sub> || value<sub>LE32</sub> || 0x01); internal node: H(left || right). At creation, the registry computes the genesis root of the six configuration leaves, with the accumulator set to the encryption of zero." style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="14" y="324" width="772" height="56" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -1,1 +1,1 @@
-<mxfile host="drawio"><diagram name="vote-lifecycle" id="vote-lifecycle"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="1040" height="250" as="geometry"/></mxCell><mxCell id="c4" value="" style="ellipse;fillColor=#000000;strokeColor=#000000;html=1;" vertex="1" parent="1"><mxGeometry x="14" y="66" width="16" height="16" as="geometry"/></mxCell><mxCell id="c5" value="<b>pending</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="80" y="54" width="130" height="40" as="geometry"/></mxCell><mxCell id="c6" value="<b>aggregated</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="350" y="54" width="130" height="40" as="geometry"/></mxCell><mxCell id="c7" value="<b>processed</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="620" y="54" width="130" height="40" as="geometry"/></mxCell><mxCell id="c8" value="<b>settled</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="890" y="54" width="130" height="40" as="geometry"/></mxCell><mxCell id="c9" value="<b>error</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="470" y="182" width="130" height="40" as="geometry"/></mxCell><mxCell id="c10" value="admitted" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c4" target="c5"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="sealed in a batch" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c5" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c12" value="proof checked" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c6" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="transition landed" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c7" target="c8"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c14" value="prover retry" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c5"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="415" y="22"/><mxPoint x="145" y="22"/></Array></mxGeometry></mxCell><mxCell id="c15" value="lost race, rollback, paused" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c5"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="659" y="130"/><mxPoint x="145" y="130"/></Array></mxGeometry></mxCell><mxCell id="c16" value="settled by another sequencer (sync)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="210" y="8"/><mxPoint x="955" y="8"/></Array></mxGeometry></mxCell><mxCell id="c17" value="window closed, canceled,<br>census changed" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c9"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="145" y="202"/></Array></mxGeometry></mxCell><mxCell id="c18" value="program rejected" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=9;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.7;exitY=1;exitDx=0;exitDy=0;entryX=0.3;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c9"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="441" y="160"/><mxPoint x="509" y="160"/></Array></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>+<mxfile host="drawio"><diagram name="vote-lifecycle" id="vote-lifecycle"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c19" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="884" height="290" as="geometry"/></mxCell><mxCell id="c3" value="" style="ellipse;fillColor=#000000;strokeColor=#000000;html=1;" vertex="1" parent="1"><mxGeometry x="10" y="79" width="18" height="18" as="geometry"/></mxCell><mxCell id="c4" value="<b>pending</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="62" y="65" width="130" height="46" as="geometry"/></mxCell><mxCell id="c5" value="<b>aggregated</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="292" y="65" width="130" height="46" as="geometry"/></mxCell><mxCell id="c6" value="<b>processed</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="522" y="65" width="130" height="46" as="geometry"/></mxCell><mxCell id="c7" value="<b>settled</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="740" y="65" width="130" height="46" as="geometry"/></mxCell><mxCell id="c8" value="<b>error</b>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;align=center;verticalAlign=middle;arcSize=40;" vertex="1" parent="1"><mxGeometry x="408" y="222" width="130" height="46" as="geometry"/></mxCell><mxCell id="c9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c3" target="c4"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c10" value="sealed in<br>a batch" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c4" target="c5"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="proof<br>checked" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c5" target="c6"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c12" value="transition<br>landed" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="c6" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="prover retry" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c4"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="357" y="40"/><mxPoint x="127" y="40"/></Array></mxGeometry></mxCell><mxCell id="c14" value="lost race, rollback, paused" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c4"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="561" y="150"/><mxPoint x="127" y="150"/></Array></mxGeometry></mxCell><mxCell id="c15" value="settled by another sequencer (sync)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;dashed=1;labelBackgroundColor=#ffffff;exitX=0.85;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c7"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="172" y="14"/><mxPoint x="805" y="14"/></Array></mxGeometry></mxCell><mxCell id="c16" value="window closed, canceled,<br>census changed" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.3;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c4" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="101" y="245"/></Array></mxGeometry></mxCell><mxCell id="c17" value="program<br>rejected" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=12;fontFamily=Courier New;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=0.7;exitY=1;exitDx=0;exitDy=0;entryX=0.3;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="c5" target="c8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="383" y="190"/><mxPoint x="447" y="190"/></Array></mxGeometry></mxCell><mxCell id="c18" value="admitted" style="text;html=1;whiteSpace=wrap;fontSize=11;fontFamily=Courier New;align=left;verticalAlign=middle;fontColor=#333333;" vertex="1" parent="1"><mxGeometry x="30" y="46" width="40" height="20" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
@@ -14,13 +14,13 @@ \item \textit{Handling receipts}: because ballots are re-randomized, voters cannot generate a receipt by revealing the randomness $k$ used in encryption, since the ciphertext on-chain no longer corresponds to their $k$. This blocks vote-selling and coercion.
\item \textit{Overwrites}: voters may cast a new ballot at any time, replacing their earlier submission. This ensures that even if coercion occurs, a voter can subsequently change their vote as many times as desired, preserving their ability to express their true choice. When an overwrite occurs, the batch subtracts the previous ballot and adds the new one to the results accumulator, and re-encrypts the updated ballot before storing it in the state tree. \item \textit{Concealing overwrites (silent revoting)}: to prevent observers from distinguishing overwrites from routine re-randomizations, every batch also re-encrypts a uniformly random sample of the occupied slots it does not write, with a size that the batch program enforces, $\min(2048, \max(16, 2w, n))$ slots when available. The blobs list every updated slot in a single sorted list, so an overwrite is indistinguishable from a refresh. Sequencers keep a history of the batches that carried each vote, so that a vote sealed again after a lost race or a failed settlement refreshes every slot of its earlier batches and cannot be singled out by comparing them. \end{itemize} -Receipt-freeness holds against observers of the public data, under two conditions. First, the sequencer that builds a batch, and its prover, learn which slots of the batch are overwrites and which are refreshes, and must not reveal the seed or the refresh selection; a voter who fears coercion should overwrite through a sequencer they trust. Second, the first write to a slot is distinguishable, since refreshes only touch occupied slots, so participation is not hidden (see the privacy paragraph). A further, minor limitation is that re-encryption scalars are SHA-256 outputs reduced modulo the BN254 scalar field and then used in the BabyJubjub subgroup, whose order is about an eighth of that field; their distribution modulo the subgroup order is therefore at statistical distance about $2^{-7.6}$ from uniform. Removing this gap requires a wider reduction and a new program key. +Receipt-freeness holds against observers of the public data, under two conditions. First, the sequencer that builds a batch, and its prover, learn which slots of the batch are overwrites and which are refreshes, and must not reveal the seed or the refresh selection; a voter who fears coercion should overwrite through a sequencer they trust. Second, the first write to a slot is distinguishable, since refreshes only touch occupied slots, so participation is not hidden (see the privacy paragraph). A further, minor limitation is that re-encryption scalars are 256-bit SHA-256 digests reduced modulo the 254-bit order $s$ of the BN254 scalar field, which leaves them at statistical distance about $2^{-4.7}$ from uniform in $[0, s)$; after the implicit reduction modulo the subgroup order $t \approx s/8$, the scalars actually applied are at statistical distance about $2^{-7.6}$ from uniform. Removing this gap requires reducing a wider digest, and hence a new program key. -\paragraph{Privacy.} Ballots remain secret even though encrypted ballots are publicly stored and processed. Ballot secrecy is preserved through ElGamal encryption, which allows votes to be aggregated without decryption. When the encryption key is generated through a \ac{DKG} (or a council ceremony) and its secret counterpart is never reconstructed, no single party can decrypt individual ballots: the protocol only invokes threshold decryption on the final aggregate, never on each ballot separately. Under the assumption that at most $t-1$ \keywardens are compromised, the shared secret key cannot be reconstructed and no individual ballot ciphertext can be decrypted. A coalition of $t$ \keywardens, however, could decrypt every ballot published in the blobs, so the threshold must be chosen to reflect the trust placed in the committee; in the locked \ac{DKG} mode, the coalition would also need the organizer's secret. In the sequencer mode, the sequencer that holds the key can decrypt every ballot, which is why this mode is reserved for elections that accept that trust. Note that, while the content of a ballot stays hidden, the protocol does reveal whether a given voter has cast a vote, that is, turnout is public, but the choice is not. With a Merkle census, the slot of a voter is a public function of their address, so the participation of each census member can be read from the state. +\paragraph{Privacy.} Ballots remain secret even though encrypted ballots are publicly stored and processed. Ballot secrecy is preserved through ElGamal encryption, which allows votes to be aggregated without decryption. When the encryption key is generated through a \ac{DKG} (or a council ceremony) and its secret counterpart is never reconstructed, no single party can decrypt individual ballots: the protocol only invokes threshold decryption on the final aggregate, never on each ballot separately. Under the assumption that at most $\theta-1$ of the $\nu$ \keywardens are compromised, the shared secret key cannot be reconstructed and no individual ballot ciphertext can be decrypted. A coalition of $\theta$ \keywardens, however, could decrypt every ballot published in the blobs, so the threshold must be chosen to reflect the trust placed in the committee; in the locked \ac{DKG} mode, the coalition would also need the organizer's secret. In the sequencer mode, the sequencer that holds the key can decrypt every ballot, which is why this mode is reserved for elections that accept that trust. Note that, while the content of a ballot stays hidden, the protocol does reveal whether a given voter has cast a vote, that is, turnout is public, but the choice is not. With a Merkle census, the slot of a voter is a public function of their address, so the participation of each census member can be read from the state. \paragraph{Data availability.} Ballots and state updates are published in Ethereum blobs, and the registry checks, at settlement, that the published blobs open to the values the batch program derived from the verified state. A sequencer therefore cannot settle a transition whose data it withholds. In L1-blob mode, the guarantee is the same: the blobs live on Ethereum, and the registry on the rollup verifies their inclusion in the Ethereum chain from block headers anchored at the rollup's view of Ethereum, so it relies, in addition, on the rollup deriving its L1 origin correctly, an assumption the rollup itself already makes. Since blobs are pruned after about 18 days, long-term availability requires archival: every sequencer stores and serves the blobs of the transitions it has seen, and observers can rebuild any election from them, but a node that starts after the blobs have been pruned depends on such an archive. Since EIP-7594, only nodes that custody full blobs can serve them, so sequencers should rely on such nodes or on archivers. -\paragraph{Liveness and censorship resistance.} Sequencing is permissionless, so a voter whose ballot is ignored by one sequencer can submit it to another, and anyone can run a sequencer for any election. Settlement is a race in which the first valid transition wins; a sequencer that loses only wastes its own work. The grace window lets ballots received before the end of the voting period settle after it, and its extension is capped, so the results cannot be delayed indefinitely. Once results are requested from the \keywardens, the process leaves the organizer's control and can no longer be canceled. The liveness of threshold decryption depends on the \keywardens: if more than $n - t$ members of the committee that holds an election's key become unavailable before the tally is decrypted, the results are lost, since keys are not reshared to later committees. In the sequencer mode, the results depend on the availability of the single key holder. +\paragraph{Liveness and censorship resistance.} Sequencing is permissionless, so a voter whose ballot is ignored by one sequencer can submit it to another, and anyone can run a sequencer for any election. Settlement is a race in which the first valid transition wins; a sequencer that loses only wastes its own work. The grace window lets ballots received before the end of the voting period settle after it, and its extension is capped by Eq.~\eqref{eq:grace-end}, so the results cannot be delayed indefinitely. Once results are requested from the \keywardens, the process leaves the organizer's control and can no longer be canceled. The liveness of threshold decryption depends on the \keywardens: if more than $\nu - \theta$ members of the committee that holds an election's key become unavailable before the tally is decrypted, the results are lost, since keys are not reshared to later committees. In the sequencer mode, the results depend on the availability of the single key holder. \paragraph{Quantum resistance.} Quantum computers threaten discrete-logarithm-based cryptography such as ECDSA and ElGamal, and pairing-based proof systems such as Groth16 and PlonK. The \acp{STARK} that prove the batch and results programs rely only on hash functions and are plausibly post-quantum, but their PlonK wrapper, the ballot proofs, the voters' signatures, and the encryption of ballots are not. For this reason, \davinci is designed in a modular way that would allow migration to post-quantum primitives in the longer term. Candidate replacements include lattice-based signature schemes such as CRYSTALS-Dilithium (ML-DSA) and Falcon, and the hash-based SPHINCS+ (SLH-DSA); lattice-based homomorphic encryption such as BGV or BFV; and the direct on-chain verification of \acp{STARK}.@@ -36,10 +36,10 @@ \toprule
\textbf{Property} & \textbf{Holds if} \\ \midrule Integrity of the tally & The proof systems are sound, the pinned programs and circuits are correct, and the settlement chain executes the registry correctly. No sequencer, prover, or \keywarden is trusted. \\ - Ballot secrecy & Fewer than $t$ \keywardens collude (\ac{DKG} and council modes), or the key-holding sequencer is honest (sequencer mode); DDH holds on BabyJubjub. \\ + Ballot secrecy & Fewer than $\theta$ \keywardens collude (\ac{DKG} and council modes), or the key-holding sequencer is honest (sequencer mode); DDH holds on BabyJubjub. \\ Receipt-freeness & As ballot secrecy, and the sequencer that seals an overwrite does not reveal its seed and refresh selection. \\ Data availability & Ethereum makes the blobs available at settlement; archivers retain them after pruning. L1-blob mode also relies on the rollup's L1 origin. \\ - Liveness & At least one honest sequencer serves the election; at least $t$ \keywardens are available for decryption (or the key-holding sequencer, in sequencer mode). \\ + Liveness & At least one honest sequencer serves the election; at least $\theta$ \keywardens are available for decryption (or the key-holding sequencer, in sequencer mode). \\ \bottomrule \end{tabular} \end{table}@@ -50,7 +50,7 @@
\Davinci is implemented as a modular, fully open-source system: the ballot circuit~\cite{davinci-circom}, the \ac{zkVM} programs~\cite{davinci-zkvm}, the smart contracts~\cite{davinci-contracts}, the sequencer node and its client library~\cite{davinci-sequencer}, and the key-management systems~\cite{davinci-dkg,davinci-council} are all publicly available at \url{https://github.com/vocdoni}. Its components can be recombined or integrated with external services through adaptable interfaces, enabling redundancy and integration with third-party applications such as our voting-as-a-service APIs. \paragraph{Technological stack.} -The ballot circuit is implemented with Circom~\cite{belles2023circom} over BN254 and proven with Groth16~\cite{groth2016size} for its minimal proof size and cheap verification; its ElGamal operations run over BabyJubjub, whose base field matches the BN254 scalar field. The batch and results programs are \texttt{no\_std} Rust programs compiled for the RISC-V target of ZisK~1.3.2 and proven by a GPU prover service, which wraps every proof in PlonK over BN254 for on-chain verification. Inside the programs, SHA-256, Keccak, BN254 pairings and scalar multiplications, secp256k1 key recovery, BabyJubjub point additions, and 256-bit modular arithmetic run on ZisK precompiles; Poseidon is implemented in software over the BN254 field. The smart contracts are written in Solidity, and the sequencer node and its client library in Rust. +The ballot circuit is implemented with Circom~\cite{belles2023circom} over BN254 and proven with Groth16~\cite{groth2016size} for its minimal proof size and cheap verification; its ElGamal operations run over BabyJubjub, whose base field matches the BN254 scalar field. The batch and results programs are \texttt{no\_std} Rust programs compiled for the RISC-V target of ZisK~1.3.2 and proven by a GPU prover service, which wraps every proof in PlonK over BN254 for on-chain verification. Inside the programs, SHA-256, Keccak, BN254 pairings and scalar multiplications, SECP256K1 key recovery, BabyJubjub point additions, and 256-bit modular arithmetic run on ZisK precompiles; Poseidon is implemented in software over the BN254 field. The smart contracts are written in Solidity, and the sequencer node and its client library in Rust. \paragraph{Circuit and program sizes.} The ballot circuit has $64{,}816$ constraints for 16 fields; its proving key is 35.5~MiB and its witness generator 6.5~MiB, which a browser downloads before proving. A \ac{zkVM} program has no fixed size: its cost is the number of executed steps, which grows with the batch. A batch program execution with 512 votes and 512 refreshes takes about $2.3 \cdot 10^8$ steps at $n_f = 2$ and $4.0 \cdot 10^8$ steps at $n_f = 16$. The program accepts batches of up to 1024 votes, 2048 refreshes, and 32 blobs; sequencers currently seal at most 512 votes per batch.
@@ -51,7 +51,7 @@ \item $\F_q$: scalar field of $\SEC{\G}$.
% \item $\F_r$: base field of the BN254 curve. \item $\F_s$: scalar field of $\BN{\G}_1, \BN{\G}_2, \BN{\G}_T$ and base field of the BabyJubjub curve. Ballot coordinates, Poseidon inputs and outputs, and census leaves are elements of $\F_s$. - \item $\F_t$: scalar field of $\BJ{\G}$, to which election secret keys and encryption randomness belong. + \item $\F_t$: scalar field of $\BJ{\G}$, to which election secret keys belong. % \item $\F_u$: base field of the BLS12-381 curve. \item $\F_v$: scalar field of $\BLS{\G}_1, \BLS{\G}_2, \BLS{\G}_T$, to which blob cells and evaluation points belong.@@ -117,41 +117,43 @@ \paragraph{Sparse Merkle tree (state tree).} Following~\cite{baylina2019sparse}, the state tree is a binary tree of maximum depth $64$ in which each leaf encodes a key--value pair and empty subtrees are represented by a constant, supporting both inclusion and non-inclusion proofs. The key determines a unique root-to-leaf path independent of insertion order, which makes membership and emptiness checks cheap to verify inside a proof. As in the circomlib construction, a leaf is placed at the shallowest level at which its path is unique, and a transition is proven by the processor of~\cite{baylina2019sparse}, which checks the old root and computes the new one from the same list of siblings, for insertions, updates, and deletions. \davinci instantiates the tree with SHA-256, with leaf hash $\Sha(\kappa_{\text{LE8}} \conc v_{\text{LE32}} \conc \texttt{0x01})$ and node hash $\Sha(L \conc R)$, as implemented by the arbo library~\cite{arbo}. Its key space is partitioned into disjoint regions for configuration parameters, encrypted ballots, and vote identifiers (see Section~\ref{sec:vocdoni-protocol:state-tree}).
\paragraph{Lean incremental Merkle tree (census tree).} The census is maintained as a lean \ac{IMT}~\cite{leanimt}, a binary tree optimized for sequential insertion: voters are appended at consecutive leaf positions rather than at key-derived paths, so the tree grows only as needed and appending a voter recomputes hashes along a single path. A node without a right sibling is promoted to the next level without hashing, so a proof contains only the non-empty siblings of the path. Each leaf stores a voter's identifier and weight; concretely, the Ethereum address and weight packed into a single field element (see Section~\ref{sec:vocdoni-protocol:census}). Nodes are hashed with two-input Poseidon over $\F_s$, and only the root $\censusroot$ is published on-chain. The batch program accepts proofs of at most 61 siblings. -\paragraph{Tree operations.} To support state transitions and in-circuit verification, each tree $\tree{}$ exposes the following operations: +\paragraph{Tree operations.} To support state transitions and in-circuit verification, the trees expose the following operations. For the state tree $\stateTree$, indexed by keys $\kappa$: \begin{itemize} - \item $\tree.\hlset{\MTRoot}()$: returns the current Merkle root of the tree. - \item $\tree.\hlset{\MTInsert}(path, \leaf)$: inserts a new leaf $\leaf$ at the position defined by the given path. - \item $\tree.\hlset{\MTUpdate}(\leaf_{old}, \leaf)$: replaces an existing leaf. - \item $\tree.\hlset{\MTMembershipProof}(\leaf)$: returns a Merkle proof of inclusion for the given leaf. - \item $\tree.\hlset{\MTNonMembershipProof}(\leaf)$: returns a proof that the given leaf is not included in the tree. - \item $\tree.\hlset{\MTVerify}(\leaf, path, \MTProof, \root{})$: returns $\true$ if and only if $\MTProof$ shows that $\leaf$ is stored at $path$ under the claimed root. + \item $\stateTree.\hlset{\MTRoot}()$: returns the current Merkle root of the tree. + \item $\stateTree.\hlset{\MTInsert}(\kappa, v)$: stores the value $v$ under the key $\kappa$, which must be empty. A transition proof of an insertion shows that $\kappa$ was empty under the old root. + \item $\stateTree.\hlset{\MTUpdate}(\kappa, v)$: replaces the value stored under the existing key $\kappa$ with $v$. A transition proof of an update shows the replaced value under the old root. + \item $\stateTree.\hlset{\MTVerify}(v, \kappa, \MTProof, \root{})$: returns $\true$ if and only if $\MTProof$ shows that $v$ is stored under $\kappa$ in the tree with root $\root{}$. +\end{itemize} +For the census tree $\censusTree$, whose leaves are indexed by their position: +\begin{itemize} + \item $\censusTree.\MTVerify(\leaf, \idx, \MTProof, \root{})$: returns $\true$ if and only if $\MTProof$ shows that $\leaf$ is stored at position $\idx$ in the tree with root $\root{}$. The position is carried by the proof; as discussed in Section~\ref{sec:background:mt}, it is not authenticated. \end{itemize} These operations let sequencers evolve the state off-chain while keeping every update independently verifiable on-chain and within \ac{ZK} proofs. Additional details on the tree structures and their leaf encodings are given in Sections~\ref{sec:vocdoni-protocol:census} and~\ref{sec:vocdoni-protocol:state-tree}. \subsection{Commitment scheme} \label{sec:cryptographic-primitives:commitments} -\davinci commits to the data published in each Ethereum blob using the KZG polynomial commitment scheme~\cite{kate2010constant} over BLS12-381, the same scheme that underlies EIP-4844; it therefore reuses Ethereum's structured reference string rather than requiring a dedicated ceremony. A blob of $N = 4096$ cells $d_0, \dots, d_{N-1} \in \F_v$ defines the unique polynomial $P$ of degree less than $N$ with $P(\omega_i) = d_i$, where $\omega_i$ are the $N$-th roots of unity of $\F_v$ in bit-reversed order. Its value at a point $z$ outside the domain is given by the barycentric formula +\davinci commits to the data published in each Ethereum blob using the KZG polynomial commitment scheme~\cite{kate2010constant} over BLS12-381, the same scheme that underlies EIP-4844; it therefore reuses Ethereum's structured reference string rather than requiring a dedicated ceremony. A blob of $\ell = 4096$ cells $d_0, \dots, d_{\ell-1} \in \F_v$ defines the unique polynomial $P$ of degree less than $\ell$ with $P(\omega_i) = d_i$, where $\omega_i$ are the $\ell$-th roots of unity of $\F_v$ in bit-reversed order. Its value at a point $z$ outside the domain is given by the barycentric formula \[ -P(z) = \frac{z^N - 1}{N} \sum_{i=0}^{N-1} \frac{d_i\, \omega_i}{z - \omega_i}, +P(z) = \frac{z^\ell - 1}{\ell} \sum_{i=0}^{\ell-1} \frac{d_i\, \omega_i}{z - \omega_i}, \] -which the batch program evaluates with $N$ multiplications and one batched inversion, without any pairing. The sequencer commits to $P$ and proves a single evaluation at a point derived from the commitment itself, which lets the registry check, with one call to the point-evaluation precompile, that the blob published on-chain is the one whose contents the batch program derived (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). We use two operations: +which the batch program evaluates with $O(\ell)$ multiplications and one batched inversion, without any pairing. The sequencer commits to $P$ and proves a single evaluation at a point derived from the commitment itself, which lets the registry check, with one call to the point-evaluation precompile, that the blob published on-chain is the one whose contents the batch program derived (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). We use two operations: \begin{itemize} \item $\hlset{\CCommit}(P)$: outputs a succinct commitment $C \in \BLS{\G}_1$ to the polynomial $P$, encoded in 48 bytes. Its \emph{versioned hash}, $\texttt{0x01} \conc \Sha(C)_{[1..32]}$, is what a blob-carrying transaction exposes. \item $\hlset{\CVerify}(C, z, y, \pi)$: returns $\true$ if and only if $\pi$ is a valid proof that $P(z) = y$ for the polynomial committed in $C$. \end{itemize} -Because the evaluation point is a hash of the commitment, the process identifier, and the old state root, a sequencer cannot choose the commitment after the point, and a commitment prepared for another election or another state does not open to the value the batch program computed. By the Schwartz--Zippel lemma, two distinct blobs agree at a random point with probability at most $N / v \approx 2^{-243}$. +Because the evaluation point is a hash of the commitment, the process identifier, and the old state root, a sequencer cannot choose the commitment after the point, and a commitment prepared for another election or another state does not open to the value the batch program computed. By the Schwartz--Zippel lemma, two distinct blobs agree at a random point with probability at most $\ell / v \approx 2^{-243}$. \subsection{Digital signature scheme} \label{sec:cryptographic-primitives:signatures} \Davinci uses the elliptic curve digital signature algorithm (ECDSA)~\cite{johnson2001ecdsa} over the SECP256K1 curve, so that voters authenticate with standard Ethereum wallets without managing additional keys. We use ECDSA in its standard form and refer to~\cite{johnson2001ecdsa} for the full algorithms; here we only fix the notation used throughout the protocol: \begin{itemize} - \item $\hlset{\SSign}_{\sk}(\msg)$: produces a signature $\sigma = (r, s, \mathit{recid})$ on message $\msg$ under the secret key $\sk$. + \item $\hlset{\SSign}_{\sk}(\msg)$: produces a signature $\sigma$ on message $\msg$ under the secret key $\sk$; in Ethereum's 65-byte format, $\sigma$ carries the two ECDSA scalars and a recovery identifier. \item $\hlset{\SVer}_{\pk}(\msg, \sigma)$: returns $\true$ if $\sigma$ is a valid signature on $\msg$ under the public key $\pk$. \item $\hlset{\SPubKey}(\msg, \sigma)$: recovers the signer's public key $\pk$ from a message and its signature; this is the operation Ethereum exposes as \texttt{ecrecover}. \end{itemize} -An Ethereum address is derived from a public key as the low-order 20 bytes of its Keccak digest, $\address = \mathsf{low\text{-}20}\bigl(\hlget{\Keccak}(\pk)\bigr)$. Messages are signed in the Ethereum personal-message format: the signed digest of a message $\msg$ of $\ell$ bytes is $\Keccak(\texttt{"\textbackslash x19Ethereum Signed Message:\textbackslash n"} \conc \ell \conc \msg)$, with $\ell$ written in decimal. A voter signs the 32-byte message formed by 24 zero bytes followed by the 8-byte big-endian vote identifier, and a \ac{CSP} signs the 92-byte message of Eq.~\eqref{eq:csp-message}. Inside the \ac{zkVM}, signatures are verified by recovering the public key with a secp256k1 precompile and comparing its address. +An Ethereum address is derived from a public key as the low-order 20 bytes of its Keccak digest, $\address = \mathsf{low\text{-}20}\bigl(\hlget{\Keccak}(\pk)\bigr)$. Messages are signed in the Ethereum personal-message format: the signed digest of a message $\msg$ of $\ell$ bytes is $\Keccak(\texttt{"\textbackslash x19Ethereum Signed Message:\textbackslash n"} \conc \ell \conc \msg)$, with $\ell$ written in decimal. A voter signs the 32-byte message formed by 24 zero bytes followed by the 8-byte big-endian vote identifier, and a \ac{CSP} signs the 92-byte message of Eq.~\eqref{eq:csp-message}. Inside the \ac{zkVM}, signatures are verified by recovering the public key with a SECP256K1 precompile and comparing its address. \subsection{Encryption scheme} \label{sec:cryptographic-primitives:encryption}@@ -159,12 +161,12 @@
To preserve ballot secrecy while enabling tallying, \davinci employs a threshold variant of the ElGamal cryptosystem instantiated over the BabyJubjub curve~\cite{sutikno1998implementation}. This scheme offers two properties crucial for the protocol: \emph{additive homomorphism}, which allows the aggregation of encrypted votes without decryption, and \emph{re-encryption}, which enables ciphertext randomization without altering the underlying plaintext. Together, these properties allow sequencers to tally votes while preventing voters from producing receipts that could be used for coercion or vote selling. The corresponding public key is generated collectively by the \keywardens\ via the distributed key generation protocol of Section~\ref{sec:cryptographic-primitives:dkg}, ensuring that no single entity can decrypt ballots unilaterally, or, in the sequencer key mode, by a single sequencer. \paragraph{Encryption and decryption.} -Given a message $m$, the ElGamal encryption algorithm maps it into a group element $M$ of $\BJ{\G}$ and outputs a ciphertext as follows: +Given a message $m$ and randomness $k$, the ElGamal encryption algorithm maps $m$ into a group element $M$ of $\BJ{\G}$ and outputs a ciphertext as follows. In \davinci, $k$ is an element of $\F_s$ used as a scalar, which the group arithmetic implicitly reduces modulo $t$. % \begin{mdframed} \begin{minipage}[t]{0.54\textwidth} \begin{itemize} - \item[$\bullet$] $\hlset{\Enc}_{\pk}(m; k \in \F_t)$: + \item[$\bullet$] $\hlset{\Enc}_{\pk}(m; k)$: \begin{enumerate} \item Map $m$ to $\BJ{\G}$ via $M = m \cdot \hlget{\BJ{G}}$. \item Compute $C_1 = k \cdot \hlget{\BJ{G}} \in \BJ{\G}$.@@ -202,7 +204,7 @@ \end{itemize}
\end{minipage} \begin{minipage}[t]{0.48\textwidth} \begin{itemize} - \item[$\bullet$] $\hlset{\ReEnc}_{\pk}(\enc \in {(\BJ{\G})}^2; k\in\F_t)$: \vspace{0.1cm} + \item[$\bullet$] $\hlset{\ReEnc}_{\pk}(\enc \in {(\BJ{\G})}^2; k)$: \vspace{0.1cm} \begin{enumerate} \item Parse $\enc = (C_1, C_2) \in {(\BJ{\G})}^2$. \item Compute $\enc' = \hlget{\Enc}_{\pk}(0; k)$.@@ -212,7 +214,7 @@ \end{itemize}
\end{minipage} \end{mdframed} -In the protocol, re-encryption is applied not only to newly submitted ballots but also to ballots already stored in the state tree. By refreshing the randomness of both new and existing ciphertexts, sequencers ensure that it is indistinguishable whether a ballot has been overwritten or merely re-randomized. This mechanism is essential for receipt-freeness: voters cannot produce a verifiable receipt of their choice, and adversaries cannot detect or prove whether a particular vote has been replaced (see Section~\ref{sec:analysis}). In the batch program, the randomness of each re-encryption is a scalar of the chain of Section~\ref{sec:vocdoni-protocol:circuits:batch}, a SHA-256 output reduced modulo $s$, which the curve arithmetic implicitly reduces modulo $t$. +In the protocol, re-encryption is applied not only to newly submitted ballots but also to ballots already stored in the state tree. By refreshing the randomness of both new and existing ciphertexts, sequencers ensure that it is indistinguishable whether a ballot has been overwritten or merely re-randomized. This mechanism is essential for receipt-freeness: voters cannot produce a verifiable receipt of their choice, and adversaries cannot detect or prove whether a particular vote has been replaced (see Section~\ref{sec:analysis}). In the batch program, the randomness of each re-encryption is a scalar of the chain of Section~\ref{sec:vocdoni-protocol:circuits:batch}, a SHA-256 output reduced modulo $s$. \paragraph{Proof of correct decryption.} To publish a decryption without revealing the secret key, the key holder proves that the decrypted point is consistent with the public key using a Chaum--Pedersen proof of equality of discrete logarithms~\cite{chaum1992wallet}, made non-interactive with the Fiat--Shamir transform~\cite{fiat1986prove}. For a ciphertext $(C_1, C_2)$ and a claimed message $m$, let $D = C_2 - m \cdot \BJ{G}$; the statement is that $\log_{\BJ{G}} \pk = \log_{C_1} D$, which holds exactly when $m$ is the decryption of the ciphertext under $\sk$. \begin{mdframed}@@ -222,7 +224,7 @@ \item[$\bullet$] $\hlset{\CPProve}_{\sk}(\enc, m)$:
\begin{enumerate} \item Sample $w \sample \F_t$. \item Compute $A_1 = w \cdot \BJ{G}$, $A_2 = w \cdot C_1$. - \item Compute the challenge $e$ as a Poseidon hash of $\pk$, $C_1$, $D$, $A_1$, and $A_2$. + \item Compute $e = \Poseidon(\hat{\pk}, \hat{\pk}, \hat{C_1}, \hat{D}, \hat{A_1}, \hat{A_2})$. \item Output $\pi = (A_1, A_2, z = w + e \cdot \sk \bmod t)$. \end{enumerate} \end{itemize}@@ -238,12 +240,12 @@ \end{enumerate}
\end{itemize} \end{minipage} \end{mdframed} -The results program additionally requires all points to be on the curve and all coordinates and scalars to be canonical, so that each statement has a single encoding. +The challenge is a single 12-input Poseidon permutation over the coordinates of the points, each hashed in the \emph{reduced} twisted Edwards form used by gnark, $\hat{P} = (-f \cdot x \bmod s,\ y)$ for $P = (x, y)$, with $f = 6360561867910373094066688120553762416144456282423235903351243436111059670888$; the public key appears twice, as in the reference implementation. The results program additionally requires all points to be on the curve and all coordinates and scalars to be canonical, so that each statement has a single encoding. \subsection{Distributed key generation scheme} \label{sec:cryptographic-primitives:dkg} -To ensure that no single entity controls the decryption key, \davinci employs a \ac{DKG} protocol to jointly derive the threshold ElGamal encryption key pair used for ballot encryption. Participants who contribute to the ceremony are called \emph{\keywardens}. The outcome is a collective public key ($\epk$) that is published on-chain and used by voters to encrypt their ballots, while the corresponding private key is secret-shared among the \keywardens\ so that only a threshold $t$ out of $n$ of them can later collaborate to decrypt the tally. Unlike classical \ac{DKG} protocols in which shares are exchanged in the clear, our construction distributes encrypted shares together with \ac{ZK-SNARK} proofs of correctness, so that the key-management smart contracts can verify each contribution without learning any of the underlying secrets. We use the non-interactive distributed key generation protocol of~\cite{kampa2026dkg}, in which each dealer publishes a Feldman verifiable secret sharing~\cite{feldman1987practical} of its contribution, with every share encrypted to its recipient and a Groth16 proof that the dealing is consistent, and we refer the reader to that work for the full construction and its security analysis. The permissionless \ac{DKG} network deals sixteen independent keys per run, so that one run serves sixteen elections, and the invite-only council deals a single key per ceremony; both decrypt by collecting $t$ partial decryptions $D_i = s_i \cdot C_1$, each with a proof of consistency with the committed share $s_i$, and combining them by Lagrange interpolation in the exponent. +To ensure that no single entity controls the decryption key, \davinci employs a \ac{DKG} protocol to jointly derive the threshold ElGamal encryption key pair used for ballot encryption. Participants who contribute to the ceremony are called \emph{\keywardens}. The outcome is a collective public key ($\epk$) that is published on-chain and used by voters to encrypt their ballots, while the corresponding private key is secret-shared among the \keywardens\ so that only a threshold $\theta$ out of $\nu$ of them can later collaborate to decrypt the tally. Unlike classical \ac{DKG} protocols in which shares are exchanged in the clear, our construction distributes encrypted shares together with \ac{ZK-SNARK} proofs of correctness, so that the key-management smart contracts can verify each contribution without learning any of the underlying secrets. We use the non-interactive distributed key generation protocol of~\cite{kampa2026dkg}, in which each dealer publishes a Feldman verifiable secret sharing~\cite{feldman1987practical} of its contribution, with every share encrypted to its recipient and a Groth16 proof that the dealing is consistent, and we refer the reader to that work for the full construction and its security analysis. The permissionless \ac{DKG} network deals sixteen independent keys per run, so that one run serves sixteen elections, and the invite-only council deals a single key per ceremony; both decrypt by collecting $\theta$ partial decryptions $D_i = \mathsf{sh}_i \cdot C_1$, each with a proof of consistency with the committed share $\mathsf{sh}_i$, and combining them by Lagrange interpolation in the exponent. \subsection{Zero-knowledge proof systems} \label{sec:cryptographic-primitives:zkp}
@@ -32,7 +32,7 @@ A \ac{SMT} represents a key-value map where each leaf is the hash of a (key, value) pair and each parent node is the hash of its two children. In an \ac{SMT}, every possible key maps to a unique leaf position determined by the bits of the key, independently of the insertion order, and empty subtrees are represented by a constant. The proof of a leaf's membership or non-membership therefore has a bounded length and can be verified by a fixed procedure, which makes the structure well suited to \ac{ZK} proofs. In \davinci, the state tree is an \ac{SMT} of depth 64 indexed by 64-bit keys. Configuration parameters occupy reserved keys, each voter's encrypted ballot is stored at a key derived from the voter's identity, and each one-time vote identifier is recorded at its own key. Because the \ac{SMT} covers a vast key space, a user or sequencer can prove that a given key is present in the state (or conversely, that it remains empty) by providing a short Merkle proof against the tree's root, rather than revealing the entire state. This enables compact proofs of state correctness, for instance showing in \ac{ZK} that a vote identifier has not appeared before or that a new ballot's ciphertext is correctly inserted into the state. The \ac{SMT} used in \davinci is arbo~\cite{arbo}, whose structure and proof format follow the circomlib sparse Merkle tree specification~\cite{baylina2019sparse}, instantiated with the SHA-256 hash function. SHA-256 is cheap both on the \ac{EVM}, where it is a precompile, and in the \ac{zkVM}, where it is an accelerated operation, so the same tree can be updated inside a proof and checked by a smart contract.
\paragraph{Incremental Merkle trees.} -The census (voter registry) is maintained with an \ac{IMT}, a binary Merkle tree designed for efficient sequential updates. Unlike a sparse tree, the \ac{IMT} grows in height only as needed with the number of leaves and eliminates the overhead of hashing dummy ``zero'' siblings. In this scheme, voters are assigned sequential leaf indices in a continuously evolving tree, rather than being placed at cryptographic key-derived positions. In \davinci, the census Merkle tree is a lean \ac{IMT}~\cite{leanimt} hashed with Poseidon: each eligible voter's address and voting weight are stored in the next available leaf, and only the Merkle root of this tree (the \censusroot) is published on-chain. This design makes membership updates and proof generation extremely low-cost for the census. Appending a new voter requires recomputing hashes only along the single path from the new leaf to the root, and the tree's depth adjusts optimally (e.g., a tree of $N$ voters has height $\lceil \log_2{N} \rceil$, instead of a fixed large height). Consequently, proving one's inclusion in the voter list is more efficient than it would be with an \ac{SMT}: the Merkle proof is shorter and involves no unnecessary default nodes. A lean \ac{IMT} root does not commit to the number of leaves, and a node with a single child is promoted to the next level instead of being hashed with an empty sibling, so a membership proof does not pin the position of its leaf. For this reason, the slot where a voter's ballot is stored is derived from the voter's address, never from the voter's position in the census (see Section~\ref{sec:vocdoni-protocol:state-tree}). +The census (voter registry) is maintained with an \ac{IMT}, a binary Merkle tree designed for efficient sequential updates. Unlike a sparse tree, the \ac{IMT} grows in height only as needed with the number of leaves and eliminates the overhead of hashing dummy ``zero'' siblings. In this scheme, voters are assigned sequential leaf indices in a continuously evolving tree, rather than being placed at cryptographic key-derived positions. In \davinci, the census Merkle tree is a lean \ac{IMT}~\cite{leanimt} hashed with Poseidon: each eligible voter's address and voting weight are stored in the next available leaf, and only the Merkle root of this tree (the \censusroot) is published on-chain. This design makes membership updates and proof generation extremely low-cost for the census. Appending a new voter requires recomputing hashes only along the single path from the new leaf to the root, and the tree's depth adjusts optimally (e.g., a tree of $M$ voters has height $\lceil \log_2{M} \rceil$, instead of a fixed large height). Consequently, proving one's inclusion in the voter list is more efficient than it would be with an \ac{SMT}: the Merkle proof is shorter and involves no unnecessary default nodes. A lean \ac{IMT} root does not commit to the number of leaves, and a node with a single child is promoted to the next level instead of being hashed with an empty sibling, so a membership proof does not pin the position of its leaf. For this reason, the slot where a voter's ballot is stored is derived from the voter's address, never from the voter's position in the census (see Section~\ref{sec:vocdoni-protocol:state-tree}). \subsection{Zero-knowledge proofs} \label{sec:background:zkp}@@ -53,4 +53,4 @@
\paragraph{Zero-knowledge virtual machines.} A \ac{zkVM} proves the correct execution of a program rather than the satisfiability of a hand-written circuit. The program, called the \emph{guest}, is written in a conventional language (Rust, in \davinci), compiled to a standard instruction set such as RISC-V~\cite{riscv2019}, and executed on an input supplied by the \emph{host}. The \ac{zkVM} proves that the guest ran to completion on some input and committed a given vector of \emph{public values}; the input itself remains private. Formally, for a program $\Prog$ we write $\VMProve(\Prog, \witness) \rightarrow (\publicvalues, \pi)$ and $\VMVerify(\programvk, \publicvalues, \pi) \rightarrow \{\true, \texttt{false}\}$, where \programvk is a verification key that identifies $\Prog$ (a commitment to its compiled code). A verifier that pins \programvk therefore pins the exact program whose execution is being proven, and any change to the program changes its key. -\Davinci uses the ZisK \ac{zkVM}~\cite{zisk}, which proves RISC-V executions with FRI-based \acp{STARK}~\cite{bensasson2018stark,bensasson2018fri} over the Goldilocks field and accelerates hashing (SHA-256, Keccak), modular arithmetic, and elliptic curve operations (secp256k1, BN254, BabyJubjub) with precompiles. ZisK splits an execution into segments proven by specialized state machines, aggregates the resulting proofs recursively into a single \emph{VADCOP-final} \ac{STARK}, and, for on-chain verification, wraps that proof in a PlonK proof over BN254. The PlonK verifier takes a single public input, the SHA-256 digest of the program key, the public values, and the root of the VADCOP-final setup, \rootc, so one deployed verifier contract serves every program. \acp{STARK} are transparent and rely only on collision-resistant hashing; the PlonK wrapper is the only part of the sequencer's proof that depends on a structured reference string and on pairings over BN254. +\Davinci uses the ZisK \ac{zkVM}~\cite{zisk}, which proves RISC-V executions with FRI-based \acp{STARK}~\cite{bensasson2018stark,bensasson2018fri} over the Goldilocks field and accelerates hashing (SHA-256, Keccak), modular arithmetic, and elliptic curve operations (SECP256K1, BN254, BabyJubjub) with precompiles. ZisK splits an execution into segments proven by specialized state machines, aggregates the resulting proofs recursively into a single \emph{VADCOP-final} \ac{STARK}, and, for on-chain verification, wraps that proof in a PlonK proof over BN254. The PlonK verifier takes a single public input, the SHA-256 digest of the program key, the public values, and the root of the VADCOP-final setup, \rootc, so one deployed verifier contract serves every program. \acp{STARK} are transparent and rely only on collision-resistant hashing; the PlonK wrapper is the only part of the sequencer's proof that depends on a structured reference string and on pairings over BN254.
@@ -28,30 +28,85 @@
\noi The ballot mode is stored in the state tree, and given to the ballot circuit, packed into a single integer below $2^{247}$, as shown in Fig.~\ref{fig:ballot-mode-packing}. The packing fixes the range of every parameter: \maxvalue and \minvalue are below $2^{48}$, \minvaluesum and \maxvaluesum below $2^{63}$, and \costexponent, \numfields, and \groupsize below $2^{8}$. When a process is created, the registry rejects a ballot mode that does not fit this packing or that violates $1 \le \numfields \le 16$, $\groupsize \le \numfields$, $\minvalue \le \maxvalue$, or $\minvaluesum \le \maxvaluesum$, and it rejects a process whose worst-case tally could not be decrypted, i.e., one with $\maxvalue \cdot \maxvoters > 10^{12}$. \begin{figure}[h] - \centerline{\includegraphics[width=\textwidth,draft=false]{\figs/ballot-mode-packing.pdf}} + \centerline{\includegraphics[width=0.85\textwidth,draft=false]{\figs/ballot-mode-packing.pdf}} \setlength{\abovecaptionskip}{5pt} \caption{Packing of the ballot mode into one integer. Numbers below the fields are the position of their least significant bit.} \label{fig:ballot-mode-packing} \end{figure} -\paragraph{Definition of constraints.} Given a ballot with $n = \numfields$ active fields, each filled with a value $v_i$ for $i = 1, \dots, n$, and cast by a voter with weight $\weight$, we enforce the following constraints (captured in Fig.~\ref{fig:ballot-variables}): +\paragraph{Definition of constraints.} Given a ballot with $n_f = \numfields$ active fields, each filled with a value $v_i$ for $i = 1, \dots, n_f$, and cast by a voter with weight $\weight$, we enforce the following constraints (captured in Fig.~\ref{fig:ballot-variables}): \begin{itemize} - \item $\groupsize \le \numfields = n$, + \item $\groupsize \le \numfields = n_f$, \item If $\uniquevalues = \true$, then $v_i \neq v_j$ for all $i\neq j$. - \item $\minvalue \leq v_i \leq \maxvalue$ for all $i\in\{1, \dots, n\}$. - \item $\minvaluesum \leq \sum_{i=1}^n v_i^{\costexponent} \leq M$, where $M = \maxvaluesum$ if $\maxvaluesum > 0$, and $M = \weight$ otherwise. + \item $\minvalue \leq v_i \leq \maxvalue$ for all $i\in\{1, \dots, n_f\}$. + \item $\minvaluesum \leq \sum_{i=1}^{n_f} v_i^{\costexponent} \leq \mathsf{max}$, where $\mathsf{max} = \maxvaluesum$ if $\maxvaluesum > 0$, and $\mathsf{max} = \weight$ otherwise. \end{itemize} -The inactive fields $n < i \le 16$ are not constrained by the ballot circuit, but the batch program requires their ciphertexts to be the identity, so they always contribute zero to the tally. +The inactive fields $n_f < i \le 16$ are not constrained by the ballot circuit, but the batch program requires their ciphertexts to be the identity, so they always contribute zero to the tally. \paragraph{General mechanism.} A ballot is valid if and only if all the above constraints are satisfied. Invalid ballots are rejected at the circuit level and do not contribute to the tally. Valid ballots are aggregated into a results array, where each entry is the sum of all votes cast for the corresponding field across all voters. Voter weights, defined in the census (see Section~\ref{sec:vocdoni-protocol:census}), enter the ballot rules as a budget: when \maxvaluesum is zero, a voter may distribute at most their weight across the fields, so the weight bounds each voter's contribution to the tally. By default, all voters have the same weight. The ballot circuit enforces the bound with the weight committed in \ballotinputshash, and the batch program checks that this weight is the one certified by the census (see Sections~\ref{sec:vocdoni-protocol:circuits:ballot} and~\ref{sec:vocdoni-protocol:circuits:batch} for further details). \paragraph{Ballot modes.} -Ballot modes correspond to different voting systems, each adjusted with the variables above ballot configurations. For usability, the organizer does not need to set every parameter manually: instead, they simply select one of the predefined ballot modes (e.g., quadratic voting, ranking, approval), each corresponding to a fixed parameter configuration. Some representative modes are shown in Fig.~\ref{fig:ballot-modes}, which illustrate the expressiveness of the ballot protocol. For example, in \emph{approval voting}, each field is binary and voters can approve or reject multiple options simultaneously. In \emph{ranking}, fields must form a permutation of the integers from $1$ to $N$, enforcing uniqueness of values. In \emph{quadratic voting}, voters allocate credits across options, and the cost is quadratic in the number of credits used, captured by setting \costexponent$=2$. Other systems such as single-choice or multiple-choice elections are special cases of the same framework. The figure also illustrates examples of voters' ballots, with the last column indicating whether each ballot is valid or invalid under the rules of the selected mode. In all the examples, \groupsize is zero. +Ballot modes correspond to different voting systems, each adjusted with the variables above ballot configurations. For usability, the organizer does not need to set every parameter manually: instead, they simply select one of the predefined ballot modes (e.g., quadratic voting, ranking, approval), each corresponding to a fixed parameter configuration. Some representative modes are shown in Table~\ref{tab:ballot-modes}, which illustrates the expressiveness of the ballot protocol. For example, in \emph{approval voting}, each field is binary and voters can approve or reject multiple options simultaneously. In \emph{ranking}, fields must form a permutation of the integers from $1$ to \numfields, enforcing uniqueness of values. In \emph{quadratic voting}, voters allocate credits across options, and the cost is quadratic in the number of credits used, captured by setting \costexponent$=2$. Other systems such as single-choice or multiple-choice elections are special cases of the same framework. Table~\ref{tab:ballot-examples} illustrates examples of voters' ballots, with the last column indicating whether each ballot is valid or invalid under the rules of the selected mode, and the tally of the valid ones. -\begin{figure}[h] - \centerline{\includegraphics[width=\textwidth,draft=false]{\figs/ballot-protocol-table.png}} - \caption{Table showing various voting models using different ballot configurations. Each row corresponds to a voting system specified by a fixed configuration of the ballot parameters (\numfields, \minvalue, \maxvalue, \uniquevalues, \costexponent, \minvaluesum, \maxvaluesum). The table also includes example ballots for each mode, illustrating how the constraints are enforced in practice. The last column indicates whether a ballot is valid (1) or invalid (0) under the rules of the selected mode.} - \label{fig:ballot-modes} -\end{figure} +\begin{table}[h] + \centering + \caption{Voting systems expressed as ballot modes. Each row is a fixed configuration of the ballot parameters; \groupsize is zero in all of them.} + \label{tab:ballot-modes} + \scriptsize + \begin{tabular}{p{0.11\textwidth} p{0.19\textwidth} p{0.2\textwidth} c c c c c c c} + \toprule + \textbf{Mode} & \textbf{Description} & \textbf{Example} & \rotatebox{90}{\numfields} & \rotatebox{90}{\minvalue} & \rotatebox{90}{\maxvalue} & \rotatebox{90}{\uniquevalues} & \rotatebox{90}{\costexponent} & \rotatebox{90}{\minvaluesum} & \rotatebox{90}{\maxvaluesum} \\ + \midrule + Approval & Several fields, each 0 or 1 & A referendum with 5 yes/no questions & 5 & 0 & 1 & \texttt{false} & 1 & 0 & 5 \\ + Rating & Each field rated independently & Rate 5 items from 0 to 10 stars & 5 & 0 & 10 & \texttt{false} & 1 & 0 & 50 \\ + Ranking & Number the options from 1 to $n_f$, each number once & Rank 5 destinations for a school trip & 5 & 1 & 5 & \texttt{true} & 1 & 6 & 15 \\ + Quadratic & Distribute credits among the options, at quadratic cost & Distribute 12 credits among 5 options & 5 & 0 & 12 & \texttt{false} & 2 & 0 & 12 \\ + Single choice & Select one option & Select one winner among 5 candidates & 5 & 0 & 1 & \texttt{false} & 1 & 1 & 1 \\ + Multiple choice & Select up to a given number of options & Select up to 3 finalists among 5 candidates & 5 & 0 & 1 & \texttt{false} & 1 & 0 & 3 \\ + \bottomrule + \end{tabular} +\end{table} + +\begin{table}[h] + \centering + \caption{Example ballots for the modes of Table~\ref{tab:ballot-modes}. For each ballot, the cost sum $\sum_i v_i^{\costexponent}$ and whether it is valid (1) or invalid (0) under the mode; the last row of each mode is the tally of its valid ballots.} + \label{tab:ballot-examples} + \footnotesize + \begin{tabular}{l l ccccc c c} + \toprule + \textbf{Mode} & & $v_1$ & $v_2$ & $v_3$ & $v_4$ & $v_5$ & \textbf{Cost sum} & \textbf{Valid} \\ + \midrule + \multirow{4}{*}{Approval} & ballot 1 & 0 & 1 & 0 & 1 & 1 & 3 & 1 \\ + & ballot 2 & 1 & 1 & 1 & 1 & 1 & 5 & 1 \\ + & ballot 3 & 0 & 1 & 0 & 0 & 0 & 1 & 1 \\ + & \textbf{tally} & \textbf{1} & \textbf{3} & \textbf{1} & \textbf{2} & \textbf{2} & & \textbf{3} \\ + \midrule + \multirow{4}{*}{Rating} & ballot 1 & 8 & 6 & 4 & 7 & 10 & 35 & 1 \\ + & ballot 2 & \textcolor{red}{5} & \textcolor{red}{4} & \textcolor{red}{6} & \textcolor{red}{12} & \textcolor{red}{4} & \textcolor{red}{31} & 0 \\ + & ballot 3 & 0 & 1 & 3 & 5 & 2 & 11 & 1 \\ + & \textbf{tally} & \textbf{8} & \textbf{7} & \textbf{7} & \textbf{12} & \textbf{12} & & \textbf{2} \\ + \midrule + \multirow{4}{*}{Ranking} & ballot 1 & 1 & 3 & 2 & 4 & 5 & 15 & 1 \\ + & ballot 2 & \textcolor{red}{1} & \textcolor{red}{5} & \textcolor{red}{3} & \textcolor{red}{4} & \textcolor{red}{5} & \textcolor{red}{18} & 0 \\ + & ballot 3 & \textcolor{red}{0} & \textcolor{red}{1} & \textcolor{red}{3} & \textcolor{red}{5} & \textcolor{red}{2} & \textcolor{red}{11} & 0 \\ + & \textbf{tally} & \textbf{1} & \textbf{3} & \textbf{2} & \textbf{4} & \textbf{5} & & \textbf{1} \\ + \midrule + \multirow{4}{*}{Quadratic} & ballot 1 & 1 & 1 & 2 & 0 & 0 & 6 & 1 \\ + & ballot 2 & \textcolor{red}{3} & \textcolor{red}{0} & \textcolor{red}{0} & \textcolor{red}{0} & \textcolor{red}{2} & \textcolor{red}{13} & 0 \\ + & ballot 3 & 3 & 1 & 0 & 1 & 0 & 11 & 1 \\ + & \textbf{tally} & \textbf{4} & \textbf{2} & \textbf{2} & \textbf{1} & \textbf{0} & & \textbf{2} \\ + \midrule + \multirow{4}{*}{Single choice} & ballot 1 & 1 & 0 & 0 & 0 & 0 & 1 & 1 \\ + & ballot 2 & 0 & 1 & 0 & 0 & 0 & 1 & 1 \\ + & ballot 3 & \textcolor{red}{0} & \textcolor{red}{1} & \textcolor{red}{1} & \textcolor{red}{0} & \textcolor{red}{0} & \textcolor{red}{2} & 0 \\ + & \textbf{tally} & \textbf{1} & \textbf{1} & \textbf{0} & \textbf{0} & \textbf{0} & & \textbf{2} \\ + \midrule + \multirow{4}{*}{Multiple choice} & ballot 1 & 1 & 0 & 1 & 1 & 0 & 3 & 1 \\ + & ballot 2 & 0 & 1 & 1 & 0 & 1 & 3 & 1 \\ + & ballot 3 & \textcolor{red}{1} & \textcolor{red}{2} & \textcolor{red}{3} & \textcolor{red}{0} & \textcolor{red}{0} & \textcolor{red}{6} & 0 \\ + & \textbf{tally} & \textbf{1} & \textbf{1} & \textbf{2} & \textbf{1} & \textbf{1} & & \textbf{2} \\ + \bottomrule + \end{tabular} +\end{table}
@@ -40,24 +40,19 @@ where subscripts denote big-endian byte lengths and $\idx$ is a unique index assigned by the \ac{CSP} to each voter. In this model, \censusroot stores the Ethereum address of the \ac{CSP}'s signing key, and \censusuri specifies the endpoint where voters obtain their credential. The batch program recovers the signer's key from each credential and requires all the credentials of a batch to recover the same key, whose address it publishes in place of a census root. This model is suitable when eligibility is managed externally through attested identities rather than by maintaining a Merkle-tree dataset; its main limitation is that a credential, once issued, cannot be revoked.
\begin{table}[H] \centering - \renewcommand{\arraystretch}{1.25} + \caption{Summary of census configurations supported by the \davinci protocol.} + \label{tab:census-models} \small - \begin{tabular}{|P{1.3cm}|P{2.2cm}|P{3.1cm}|P{3.3cm}|P{3.9cm}|} - \hline - Origin & Model & \censusroot & \censusuri & Root a state transition may use \\ - \hline + \begin{tabular}{c p{0.17\textwidth} p{0.2\textwidth} p{0.22\textwidth} p{0.26\textwidth}} + \toprule + \textbf{Origin} & \textbf{Model} & \textbf{\censusroot} & \textbf{\censusuri} & \textbf{Root a state transition may use} \\ + \midrule 1 & Off-chain static & Fixed Merkle root & Endpoint to obtain the census & The root fixed at creation \\ - \hline 2 & Off-chain dynamic & Latest Merkle root, replaced by the organizer & Endpoint to obtain the latest census & The latest root only \\ - \hline - 3 & On-chain & Census contract (\censusvalidator) & Endpoint to obtain the census, or none & Any root the contract held since the creation block \\ - \hline + 3 & On-chain & Census contract (\censusvalidator) & Endpoint to obtain the census (sequencers rebuild it from the contract's events) & Any root the contract held since the creation block \\ 4 & Credential service provider (\ac{CSP}) & Address of the \ac{CSP}'s signing key & Endpoint to obtain an eligibility credential & The \ac{CSP} address (signatures recovered in the proof) \\ - \hline + \bottomrule \end{tabular} - \vspace{0.5cm} - \caption{Summary of census configurations supported by the \davinci protocol.} - \label{tab:census-models} \end{table} -\paragraph{Uniqueness of ballot slots.} Since a voter's ballot slot is derived from the voter's address by a hash truncated to 63 bits (Section~\ref{sec:vocdoni-protocol:state-tree}), two distinct members of a Merkle census could, in principle, be assigned the same slot, and the ballot of one would then overwrite the ballot of the other. Finding an address whose slot collides with one of $N$ existing members requires about $2^{63}/N$ key generations, which is feasible for a determined attacker with large $N$. Slot uniqueness is therefore part of the census model: on-chain census contracts reject a registration whose slot is already taken, sequencers refuse any off-chain census that contains two members with the same slot, and the batch program rejects a batch that writes the same slot twice. For a \ac{CSP} census, the slot is derived from the index, and the \ac{CSP} must assign a distinct index to each voter. +\paragraph{Uniqueness of ballot slots.} Since a voter's ballot slot is derived from the voter's address by a hash truncated to 63 bits (Section~\ref{sec:vocdoni-protocol:state-tree}), two distinct members of a Merkle census could, in principle, be assigned the same slot, and the ballot of one would then overwrite the ballot of the other. Finding an address whose slot collides with one of $M$ existing members requires about $2^{63}/M$ key generations, which is feasible for a determined attacker when $M$ is large. Slot uniqueness is therefore part of the census model: on-chain census contracts reject a registration whose slot is already taken, sequencers refuse any off-chain census that contains two members with the same slot, and the batch program rejects a batch that writes the same slot twice. For a \ac{CSP} census, the slot is derived from the index, and the \ac{CSP} must assign a distinct index to each voter.
@@ -52,18 +52,18 @@ \vspace{-0.3cm}
\begin{figure}[H] \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/circuit1.pdf}} - \caption{Ballot circuit. Public values are framed in green and private values in red.} + \caption{Ballot circuit. Public values are framed in green, secret private values in red, and private values bound by \ballotinputshash in orange.} \label{fig:circuit-ballot} \end{figure} -\noi The ballot proof does not authenticate the voter: anyone who knows a voter's address could prove a ballot for it. Authentication is provided by a separate signature over the vote identifier, $\signature = \hlget{\SSign}_{\sk}(\voteid)$, produced with the voter's secp256k1 key and verified by the batch program. Because the vote identifier is bound to the encrypted ballot through $k$ and through \ballotinputshash, the signature authorizes exactly one encrypted ballot. +\noi The ballot proof does not authenticate the voter: anyone who knows a voter's address could prove a ballot for it. Authentication is provided by a separate signature over the vote identifier, $\signature = \hlget{\SSign}_{\sk}(\voteid)$, produced with the voter's SECP256K1 key and verified by the batch program. Because the vote identifier is bound to the encrypted ballot through $k$ and through \ballotinputshash, the signature authorizes exactly one encrypted ballot. \subsubsection{Batch program} \label{sec:vocdoni-protocol:circuits:batch} -The batch program (\hlset{\batchprogram}), illustrated in Fig.~\ref{fig:batch-program}, is executed by the sequencer to update the global state of the election with a batch of votes. Its purpose is to verify that every vote in the batch is valid, authenticated, and cast by an eligible voter; that the batch has been correctly incorporated into the state Merkle tree, with overwrites and vote identifiers handled consistently; that every stored ballot is a correct reencryption of the ballot the voter proved; that a sample of other stored ballots has been silently reencrypted; that the encrypted results accumulator is updated accordingly; and that the data published in Ethereum blobs is exactly the data needed to rebuild the new state. The correctness of an execution is attested by a ZisK proof wrapped in PlonK over BN254, which we call the \textit{batch proof} and denote as $\hlset{\batchproof}$. It is submitted on-chain and verified by the \hlget{\processregistry} smart contract, ensuring that every accepted state transition complies with the protocol rules. +The batch program (\hlset{\batchprogram}), illustrated in Fig.~\ref{fig:batch-program}, is executed by the sequencer to update the global state of the election with a batch of votes. Its purpose is to verify that every vote in the batch is valid, authenticated, and cast by an eligible voter; that the batch has been correctly incorporated into the state Merkle tree, with overwrites and vote identifiers handled consistently; that every stored ballot is a correct re-encryption of the ballot the voter proved; that a sample of other stored ballots has been silently re-encrypted; that the encrypted results accumulator is updated accordingly; and that the data published in Ethereum blobs is exactly the data needed to rebuild the new state. The correctness of an execution is attested by a ZisK proof wrapped in PlonK over BN254, which we call the \textit{batch proof} and denote as $\hlset{\batchproof}$. It is submitted on-chain and verified by the \hlget{\processregistry} smart contract, ensuring that every accepted state transition complies with the protocol rules. -To formalize the setting, let the sequencer collect a batch of $n$ votes, $1 \le n \le 1024$, of which $w$ overwrite a ballot already stored in the state and $n - w$ are the first ballot of their voter. In addition, the sequencer selects a set $\mathcal{R}$ of $r \le 2048$ occupied slots, not written by the batch, whose ballots it reencrypts. Each ballot consists of $16$ ElGamal ciphertexts over BabyJubjub, of which the first $n_f = \numfields$ are active and the rest are the identity. We write $B_i$ for the encrypted ballot proven by voter $i$, $B'_i$ for its reencryption, and $B^\old_i$ for the stored ballot that it overwrites, if any; $R_j$ and $R'_j$ for the stored ballot of the $j$-th refreshed slot and its reencryption; and $A$ for the results accumulator \encresults. A ballot is a vector of 16 ciphertexts, and $B_{i,f}$ denotes its $f$-th ciphertext. In the following, we describe the public outputs, the private inputs, and the constraints of the batch program. The private inputs are organized as the program reads them, in five blocks: ballot proofs, state transition, eligibility, reencryption, and blobs. +To formalize the setting, let the sequencer collect a batch of $n$ votes, $1 \le n \le 1024$, of which $w$ overwrite a ballot already stored in the state and $n - w$ are the first ballot of their voter. In addition, the sequencer selects a set $\mathcal{R}$ of $|\mathcal{R}| \le 2048$ occupied slots, not written by the batch, whose ballots it re-encrypts. Each ballot consists of $16$ ElGamal ciphertexts over BabyJubjub, of which the first $n_f = \numfields$ are active and the rest are the identity. We write $B_i$ for the encrypted ballot proven by voter $i$, $B'_i$ for its re-encryption, and $B^\old_i$ for the stored ballot that it overwrites, if any; $R_j$ and $R'_j$ for the stored ballot of the $j$-th refreshed slot and its re-encryption; and $A$ for the results accumulator \encresults. A ballot is a vector of 16 ciphertexts, and $B_{i,f}$ denotes its $f$-th ciphertext. In the following, we describe the public outputs, the private inputs, and the constraints of the batch program. The private inputs are organized as the program reads them, in five blocks: ballot proofs, state transition, eligibility, re-encryption, and blobs. \vspace{0.3cm} \noi \textbf{Public outputs}@@ -84,23 +84,23 @@ \item \private $\{\ballotproof_i, \address_i, \voteid_i, \ballotinputshash_i, \signature_i\}_{i=1}^{n}$: ballot proofs with their public inputs, and the voters' signatures.\\
% \item \private $\processid$: election identifier. \item \private $\{\merkleInclusionPf^{\kappa}\}_{\kappa \in \{\texttt{0x0}, \texttt{0x2}, \texttt{0x3}, \texttt{0x6}, \texttt{0x7}\}}$: inclusion proofs of the configuration leaves \processid, \ballotmode, \epk, \censusorigin, and \ballotvkhash under $\stateroot^\old$. - \item \private $\{\tau^{\voteid}_i\}_{i=1}^{n}$, $\{\tau^{\encryptedballot}_i\}_{i=1}^{n}$, $\{\tau^{\mathcal{R}}_j\}_{j=1}^{r}$, $\tau^{\encresults}$: chains of tree transitions that insert the vote identifiers, write the ballots, refresh the sample, and update the results accumulator (see below). - \item \private $\{\reencryptedballot_i\}_{i=1}^{n}$: the reencrypted ballots written to the voters' slots. + \item \private $\{\tau^{\voteid}_i\}_{i=1}^{n}$, $\{\tau^{\encryptedballot}_i\}_{i=1}^{n}$, $\{\tau^{\mathcal{R}}_j\}_{j=1}^{|\mathcal{R}|}$, $\tau^{\encresults}$: chains of tree transitions that insert the vote identifiers, write the ballots, refresh the sample, and update the results accumulator (see below). + \item \private $\{\reencryptedballot_i\}_{i=1}^{n}$: the re-encrypted ballots written to the voters' slots. \item \private $\{\encryptedballot_i^\old\}$: the $w$ stored ballots that the batch overwrites. - \item \private $\{\encryptedballot^{\mathcal{R}}_j\}_{j=1}^{r}$: the stored ballots of the refreshed slots. + \item \private $\{\encryptedballot^{\mathcal{R}}_j\}_{j=1}^{|\mathcal{R}|}$: the stored ballots of the refreshed slots. \item \private $\encresults^\old$: current accumulator of votes. \\ % \item \private $\{\censuspf_i\}_{i=1}^{n}$: census membership proofs (Merkle paths, or \ac{CSP} signatures with their indexes and weights).\\ % \item \private $\epk$: encryption public key. - \item \private $\seed$: secret seed of the batch, from which all reencryption randomness is derived. + \item \private $\seed$: secret seed of the batch, from which all re-encryption randomness is derived. \item \private $\{\encryptedballot_i\}_{i=1}^{n}$: the voters' encrypted ballots, as proven.\\ % \item \private $\{\blobcom_b\}_{b=1}^{\nblobs}$: \ac{KZG} commitments to the blobs. \end{itemize} \textbf{Constraints} \\ \vspace{-0.4cm} \begin{itemize} - \item \emph{Ballot proof verification.} Every ballot proof is valid under the ballot verification key of the election. The program first checks that the key is the one committed in the state, $\Sha(\mathsf{vk}) = \ballotvkhash$, and that all proof points are on their curves. It then verifies the $n$ proofs at once with a randomized batch check~\cite{bellare1998batch}: it derives coefficients $\rho_1 = 1$ and $\rho_i = \mathsf{lo}_{128}\bigl(\Sha(\Sha(T) \conc \mathsf{LE64}(i-1))\bigr)$ for $i \ge 2$ from a transcript $T$ of all proofs and public inputs, and checks the single pairing equation obtained as the $\rho$-weighted product of the $n$ Groth16 verification equations, computing every scalar multiplication itself. A batch containing an invalid proof passes this check with probability at most $2^{-128}$. For every $i \in \{1,\dots,n\}$, this establishes + \item \emph{Ballot proof verification.} Every ballot proof is valid under the ballot verification key of the election. The program first checks that the key is the one committed in the state, $\Sha(\mathsf{vk}) = \ballotvkhash$, where the key is serialized as its points $\alpha, \beta, \gamma, \delta$ and the coefficients of $L$, each coordinate as four 64-bit little-endian limbs, and the digest is read as a big-endian integer. It also checks that all proof points are on their curves and not the identity, and that the $\BN{\G}_2$ points of the key are in the prime-order subgroup. It then verifies the $n$ proofs at once with a randomized batch check~\cite{bellare1998batch}: it derives coefficients $\rho_1 = 1$ and $\rho_i = \mathsf{lo}_{128}\bigl(\Sha(\Sha(T) \conc \mathsf{LE64}(i-1))\bigr)$ for $i \ge 2$ from the transcript $T = \texttt{"groth16-batch-v2"} \conc A_1 \conc B_1 \conc C_1 \conc x_1 \conc \cdots \conc A_n \conc B_n \conc C_n \conc x_n$ of all proofs $(A_i, B_i, C_i)$ and public inputs $x_i$, encoded as raw limbs (a zero coefficient is replaced by $1$), and checks the single pairing equation obtained as the $\rho$-weighted product of the $n$ Groth16 verification equations, computing every scalar multiplication itself. A batch containing an invalid proof passes this check with probability at most $2^{-128}$. For every $i \in \{1,\dots,n\}$, this establishes $$\hlget{\PVerify}\bigl(\ballotproof_i, (\address_i, \voteid_i, \ballotinputshash_i)\bigr) = \true.$$ % \item \emph{Authentication.} Every ballot is signed by the owner of its address. For every $i$, the vote identifier is a 64-bit integer, a public key is recovered from the signature over the 32-byte message $\texttt{0x00}^{24} \conc \voteid_{i,\text{BE8}}$ in the Ethereum personal-message format, and its address is the voter's:@@ -110,9 +110,9 @@ \item \emph{Census membership.} Each processed vote must correspond to an eligible voter, according to the census configuration specified by the parameter \censusorigin.
\begin{itemize} \item If the census is a Merkle tree ($\censusorigin \in \{1,2,3\}$), then for every $i$ the program verifies a Merkle membership proof of the leaf $\address_i \cdot 2^{88} + \weight_i$ (Eq.~\eqref{eq:census-leaf}), \[ - \hlget{\censusTree}.\hlget{\MTVerify}\big(\address_i \cdot 2^{88} + \weight_i, \censuspf_i, \censusroot\big) = \true, + \hlget{\censusTree}.\hlget{\MTVerify}\big(\address_i \cdot 2^{88} + \weight_i, \idx_i, \censuspf_i, \censusroot\big) = \true, \] - all proofs share the same root, which is published as \censusroot, no leaf appears twice, and every path has a canonical shape (at most 61 siblings, and no index bit beyond the path length). + where $\idx_i$ is the position carried by the proof; all proofs share the same root, which is published as \censusroot, no leaf appears twice, and every path has a canonical shape (at most 61 siblings, and no index bit beyond the path length). \item If $\censusorigin = 4$ (\ac{CSP}), then for every $i$ the program recovers a public key from the credential over the message of Eq.~\eqref{eq:csp-message} and requires all credentials of the batch to recover the same key, whose address is published as \censusroot: \begin{gather*} \pk^{\mathsf{CSP}} = \hlget{\SPubKey}\big((\processid, \address_i, \weight_i, \idx_i), \censuspf_i\big),\\ \censusroot = \mathsf{low\text{-}20}\bigl(\hlget{\Keccak}(\pk^{\mathsf{CSP}})\bigr).@@ -121,7 +121,7 @@ Addresses must be canonical 160-bit integers, and no address and no index may appear twice in the batch.
\end{itemize} \item \emph{Binding.} The values used by the different checks are the same. For every $i$, the address of the census leaf (or credential) equals $\address_i$; the commitment recomputed from the values used below equals the one proven by the voter, \[\ballotinputshash_i = \hlget{\Poseidon}(\processid, \ballotmode, \epk, \address_i, \voteid_i, B_i, \weight_i);\] - and the ballot written to the voter's slot is the reencryption computed below. The election key is the one committed in the state: $\Sha(\epk_{x,\text{BE32}} \conc \epk_{y,\text{BE32}})$ equals the value of leaf \texttt{0x3}. Finally, the blob block refers to the same \processid and $\stateroot^\old$ as the state block. + and the ballot written to the voter's slot is the re-encryption computed below. The election key is the one committed in the state: $\Sha(\epk_{x,\text{BE32}} \conc \epk_{y,\text{BE32}})$ equals the value of leaf \texttt{0x3}. Finally, the blob block refers to the same \processid and $\stateroot^\old$ as the state block. % \item \emph{Configuration.} The configuration of the election is read from the current state. The program verifies the inclusion proofs of the five configuration leaves under $\stateroot^\old$, in the order \texttt{0x0}, \texttt{0x2}, \texttt{0x3}, \texttt{0x6}, \texttt{0x7}, and requires the value of leaf \texttt{0x0} to be the \processid of the state block: \[\hlget{\stateTree}.\hlget{\MTVerify}(v_\kappa, \kappa, \merkleInclusionPf^{\kappa}, \stateroot^\old) = \true, \qquad \kappa \in \{\texttt{0x0}, \texttt{0x2}, \texttt{0x3}, \texttt{0x6}, \texttt{0x7}\}.\]@@ -134,24 +134,25 @@ \begin{enumerate}
\item For every vote $i = 1,\dots,n$, insert the vote identifier with value zero: $\hlget{\stateTree}.\hlget{\MTInsert}(\voteid_i, 0)$. An insertion of a key already present fails, so a vote identifier can never be reused. \item For every vote $i = 1,\dots,n$, write the ballot digest to the voter's slot, with an insertion if the slot is empty and an update if it is occupied: \[\hlget{\stateTree}.\hlget{\MTInsert}\bigl(\slot_i, \Sha(B'_i)\bigr) \quad \text{or} \quad \hlget{\stateTree}.\hlget{\MTUpdate}\bigl(\slot_i, \Sha(B'_i)\bigr).\] The number of updates is exactly $w$, and the value replaced by each update is $\Sha(B^\old_i)$. - \item For every refreshed slot $j = 1,\dots,r$, in strictly increasing order of slots, + \item For every refreshed slot $j = 1,\dots,|\mathcal{R}|$, in strictly increasing order of slots, \[\hlget{\stateTree}.\hlget{\MTUpdate}\bigl(\slot^{\mathcal{R}}_j, \Sha(R'_j)\bigr),\] where the replaced value is $\Sha(R_j)$. The refreshed slots are occupied, distinct, and disjoint from the slots written in step 2. \item Update the accumulator: $\hlget{\stateTree}.\hlget{\MTUpdate}(\texttt{0x4}, \Sha(A^\new))$, where the replaced value is $\Sha(A^\old)$. This update is present if and only if the batch writes or refreshes at least one ballot. \end{enumerate} % - \item \emph{Reencryption.} Every ballot written to the tree is a reencryption of its source, with randomness derived from the secret seed. The program derives a chain of scalars from the seed and the current root, - \[ r_0 = \Sha(\texttt{"davinci-reenc-v1"} \conc \seed \conc \stateroot^\old) \bmod s, \qquad r_{t+1} = \Sha(r_t) \bmod s, \] - where $s$ is the order of the BN254 scalar field (the base field of BabyJubjub), and consumes one scalar per active ciphertext, first through the $n$ voters' ballots and then through the $r$ refreshed ballots, field by field (see Fig.~\ref{fig:reencryption}). A ciphertext $(C_1, C_2)$ that consumes $r_t$ becomes $(C_1 + r_t \cdot \BJ{G},\ C_2 + r_t \cdot \epk)$, that is, - \[B'_{i,f} = \hlget{\ReEnc}_{\epk}(B_{i,f}; r_t), \qquad R'_{j,f} = \hlget{\ReEnc}_{\epk}(R_{j,f}; r_{t'}).\] + \item \emph{Re-encryption.} Every ballot written to the tree is a re-encryption of its source, with randomness derived from the secret seed. The program derives a chain of scalars from the seed and the current root, + \[ \eta_0 = \Sha(\texttt{"davinci-reenc-v1"} \conc \seed \conc \stateroot^\old) \bmod s, \qquad \eta_{c+1} = \Sha(\eta_c) \bmod s, \] + where $s$ is the order of the BN254 scalar field (the base field of BabyJubjub), and consumes one scalar per active ciphertext, first through the $n$ voters' ballots and then through the $|\mathcal{R}|$ refreshed ballots, field by field (see Fig.~\ref{fig:re-encryption}). where the seed, the root, and every $\eta_c$ enter the hash as 32-byte big-endian integers. A ciphertext $(C_1, C_2)$ that consumes $\eta_c$ becomes $(C_1 + \eta_c \cdot \BJ{G},\ C_2 + \eta_c \cdot \epk)$, that is, + \[B'_{i,f} = \hlget{\ReEnc}_{\epk}(B_{i,f}; \eta_c), \qquad R'_{j,f} = \hlget{\ReEnc}_{\epk}(R_{j,f}; \eta_{c'}),\] + for the scalars $\eta_c$ and $\eta_{c'}$ that these ciphertexts consume. Inactive fields must be the identity, before and after, in every ballot. The key $\epk$ must be on the curve, not the identity, and in the prime-order subgroup. % \item \emph{Results accumulation.} The new accumulator adds the new ballots, subtracts the overwritten ones, and adds the difference introduced by each refresh, which is an encryption of zero: - \[A^\new = A^\old + \sum_{i=1}^{n} B'_i - \sum_{\text{overwrites}} B^\old_i + \sum_{j=1}^{r} \bigl(R'_j - R_j\bigr),\] + \[A^\new = A^\old + \sum_{i=1}^{n} B'_i - \sum_{\text{overwrites}} B^\old_i + \sum_{j=1}^{|\mathcal{R}|} \bigl(R'_j - R_j\bigr),\] where sums of ballots are field-wise homomorphic additions of ciphertexts (\hlget{\EncAdd}) and subtraction adds the inverse point. % \item \emph{Silent refresh.} The number of refreshed slots is large enough to hide the overwrites: with $o = \occupiedbefore$, it must hold that $o \ge w$ and - \[ r \ \ge\ \min\bigl(\mathsf{target}(n, w),\ o - w\bigr), \qquad \mathsf{target}(n, w) = \min\bigl(2048,\ \max(16,\ 2w,\ n)\bigr).\] + \[ |\mathcal{R}| \ \ge\ \min\bigl(\mathsf{target}(n, w),\ o - w\bigr), \qquad \mathsf{target}(n, w) = \min\bigl(2048,\ \max(16,\ 2w,\ n)\bigr).\] % \item \emph{Data blob}. The blob contents are rebuilt from the verified data and bound to the commitments. \begin{itemize}@@ -167,29 +168,30 @@ The program does not verify the \ac{KZG} openings, which would require pairings over BLS12-381; the registry verifies them with the point-evaluation precompile, against the versioned hashes of the blobs actually published.
\end{itemize} \vspace{-0.3cm} -\begin{figure}[h] - \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/batch-program.pdf}} - \caption{Batch program. The private input blocks (left) feed the groups of constraints (center), which produce the public outputs (right). Private values are framed in red, public values in green.} +\begin{landscape} + \centering + {\setkeys{Gin}{draft=false}\includegraphics[width=\linewidth]{\figs/batch-program.pdf}} + \captionof{figure}{Batch program. The private input blocks (left) feed the groups of constraints (center), which produce the public outputs (right). Private values are framed in red, public values in green.} \label{fig:batch-program} -\end{figure} +\end{landscape} \begin{figure}[h] - \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/smt-chain.pdf}} + \centerline{\includegraphics[width=0.9\linewidth,draft=false]{\figs/smt-chain.pdf}} \caption{Chain of state tree transitions proven by the batch program. Configuration leaves are read under the old root; then vote identifiers, ballots, refreshes, and the results accumulator are written in a fixed order, each transition starting from the root left by the previous one.} \label{fig:smt-chain} \end{figure} \begin{figure}[h] - \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/reencryption.pdf}} - \caption{Reencryption in the batch program. A single secret seed and the old state root start a chain of scalars, each consumed by exactly one active ciphertext, first of the voters' ballots and then of the refreshed ballots. The accumulator absorbs the new ballots, the inverse of the overwritten ones, and the encryptions of zero introduced by the refreshes.} - \label{fig:reencryption} + \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/re-encryption.pdf}} + \caption{Re-encryption in the batch program. A single secret seed and the old state root start a chain of scalars, each consumed by exactly one active ciphertext, first of the voters' ballots and then of the refreshed ballots. The accumulator absorbs the new ballots, the inverse of the overwritten ones, and the encryptions of zero introduced by the refreshes.} + \label{fig:re-encryption} \end{figure} -\paragraph{Verdict and public values.} Each group of constraints sets a bit of \failmask when it fails, and all groups are evaluated even after a failure, so the mask helps diagnose a rejected batch. The program sets $\okflag = 1$ if and only if every constraint holds. The public values form 46 32-bit words, laid out as in Table~\ref{tab:batch-outputs}; ZisK pads them to 64 words of 8 bytes each. The proof of an execution with $\okflag = 0$ is a valid proof of a rejected batch, so every consumer of a batch proof must check, besides the proof itself, that $\okflag = 1$ and $\failmask = 0$. +\paragraph{Verdict and public values.} Each group of constraints sets a bit of \failmask when it fails, and all groups are evaluated even after a failure, so the mask helps diagnose a rejected batch. The program sets $\okflag = 1$ if and only if every constraint holds. The public values form 46 32-bit words, laid out as in Table~\ref{tab:batch-outputs}; a ZisK proof carries 64 such words, of which words 46 to 63 are zero, and on-chain the public values encode each word as 8 little-endian bytes, 512 bytes in total. The proof of an execution with $\okflag = 0$ is a valid proof of a rejected batch, so every consumer of a batch proof must check, besides the proof itself, that $\okflag = 1$ and $\failmask = 0$. \begin{table}[h] \centering - \caption{Public values of the batch program, as 32-bit words. Roots and digests take eight words, in little-endian order.} + \caption{Public values of the batch program, as 32-bit words. Roots and digests take eight words, in little-endian order; the registry reads \censusroot as the big-endian integer obtained by reversing these bytes.} \label{tab:batch-outputs} \small \begin{tabular}{p{0.14\textwidth} p{0.27\textwidth} p{0.49\textwidth}}@@ -213,14 +215,14 @@ \paragraph{Blob layout.}
\label{sec:vocdoni-protocol:circuits:blobs} The blobs of a state transition carry exactly the data an observer needs to rebuild the new state from the old one, and nothing else. Every cell is a 32-byte big-endian element of the BLS12-381 scalar field. The program lays out the cells as follows (see Fig.~\ref{fig:blob-layout}): \begin{enumerate} - \item A header cell, $u + 2^{64} \cdot m$, where $m$ is the number of vote identifiers and $u$ the number of updated slots. - \item The list of the $m$ vote identifiers, in increasing order and without their most significant bit, followed by the list of the $u$ updated slots, in increasing order, packed four 63-bit integers per cell: $\mathsf{pack4}(a,b,c,d) = a \cdot 2^{189} + b \cdot 2^{126} + c \cdot 2^{63} + d$. + \item A header cell, $n_{\mathsf{up}} + 2^{64} \cdot n_{\mathsf{id}}$, where $n_{\mathsf{id}} = n$ is the number of vote identifiers and $n_{\mathsf{up}} = n + |\mathcal{R}|$ the number of updated slots. + \item The list of the $n_{\mathsf{id}}$ vote identifiers, in increasing order and without their most significant bit, followed by the list of the $n_{\mathsf{up}}$ updated slots, in increasing order, packed four 63-bit integers per cell: $\mathsf{pack4}(a,b,c,d) = a \cdot 2^{189} + b \cdot 2^{126} + c \cdot 2^{63} + d$. \item For each updated slot, in the same order, the $2 n_f$ points of its new ballot, one cell per point: a point $(x,y)$ is encoded as $y + 2^{254} \cdot (x \bmod 2)$, which identifies the point given the curve equation. \item Zero cells up to the end of the last blob. \end{enumerate} The updated slots include the new votes, the overwrites, and the refreshes, merged into one sorted list. An observer therefore cannot tell an overwrite from a refresh, which is the purpose of silent revoting; only the first write of a slot is distinguishable, as discussed in Section~\ref{sec:vocdoni-protocol:state-tree}. The results accumulator is not published: an observer that holds the previous state recomputes it as $\encresults^\old + \sum_{u} (B^\new_u - B^\old_u)$ over the updated slots, where $B^\old_u$ is the identity for a previously empty slot, which equals the accumulator of the constraint above. The total number of cells is \[ -T = 1 + \bigl\lceil (m + u)/4 \bigr\rceil + 2\, n_f\, u, +T = 1 + \bigl\lceil (n_{\mathsf{id}} + n_{\mathsf{up}})/4 \bigr\rceil + 2\, n_f\, n_{\mathsf{up}}, \] so, for instance, a batch of 512 new votes with 512 refreshes at $n_f = 16$ needs $1 + 384 + 32768 = 33153$ cells, that is, 9 blobs, and a batch of 512 overwrites, which requires 1024 refreshes, needs 13 blobs.@@ -242,6 +244,8 @@ \item \public $\okflag$, $\failmask$: whether every constraint below holds, and the groups that failed.
\item \public $\stateroot$: final root of the state tree. \item \public $\{\text{results}_j\}_{j=1}^{16}$: decrypted tally, one 64-bit entry per ballot field. \end{itemize} + The public values are 43 32-bit words: \okflag and \failmask in words 0 and 1, \stateroot in words 2 to 9, the low and high halves of $\text{results}_j$ in words $10 + 2(j-1)$ and $11 + 2(j-1)$, and, in word 42, the index of the first decryption proof that failed. The registry reads the first \numfields results. + \textbf{Private inputs} \begin{itemize} \item \private $\encresults$: encrypted results accumulator stored in the state ($16$ ElGamal ciphertexts).@@ -266,7 +270,7 @@ %
\noi The per-field decryption proofs $\pi^{\mathrm{dec}}_j$ are produced by the key holder, who decrypts the aggregated results, recovers each value by a bounded discrete-logarithm search, and attests, through a discrete-log-equality proof, that the decryption was performed correctly under the election key. By checking these proofs against the public key committed at leaf $\texttt{0x3}$, the program guarantees that the released tally corresponds exactly to the encrypted results accumulated in the final state, without ever exposing the decryption key inside the proof. Inactive fields hold the identity ciphertext, for which only the value zero can be proven. If any constraint fails, the program outputs zero in place of the root and the results, so a consumer that omitted the check of $\okflag$ still could not match a root or read a tally. \begin{figure}[h] - \centerline{\includegraphics[width=0.85\linewidth,draft=false]{\figs/results-program.pdf}} + \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/results-program.pdf}} \caption{Results program. Public values are framed in green and private values in red.} \label{fig:results-program} \end{figure}
@@ -9,7 +9,7 @@ Technically, the architecture of Vocdoni was based on a bespoke \ac{BFT} layer-1 blockchain, named Vochain. At the time, efficient zero-knowledge (ZK) proof systems were emerging, but not yet practical for most deployments. Vochain provided a performant and low-cost environment (achieving approximately 700 transactions per second) in which advanced cryptographic tools could be used without the constraints imposed by general-purpose blockchains based on the \ac{EVM}. The ability to issue voting transactions without requiring user fees enabled broader accessibility. Over several years of development and deployment, this architecture proved both viable and valuable in practice. However, broader adoption as a universal voting protocol highlighted the need for further architectural refinements and stronger formal guarantees.
In this work, we introduce \davinci, a new protocol that builds upon the lessons and conceptual groundwork laid by Vocdoni. \Davinci adopts a modular design and integrates state-of-the-art cryptographic tools, including succinct ZK proofs, zero-knowledge virtual machines, improved bulletin board constructions, and robust coercion resistance mechanisms, reflecting the most recent advances in academic research. Unlike monolithic designs, \davinci is conceived as a composable primitive: a foundational layer intended to support secure and verifiable voting in diverse contexts, from blockchain governance to institutional elections. This shift in design philosophy aims to address long-standing challenges in the field, offering a cleaner abstraction with clearer security boundaries and formal underpinnings. -An earlier design of \davinci enforced the protocol with a pipeline of four arithmetic circuits over three elliptic curves, recursively composed into one state-transition proof. This document specifies the current design, in which the sequencer-side circuits are replaced by programs written in an ordinary programming language and proven by a \ac{zkVM}. The statement proven for each batch of ballots is the same in spirit, but it is now expressed as one auditable program, checked by one universal verifier, and extended with guarantees that were impractical to express as circuits, such as the in-proof layout of the published data and the silent re-randomization of stored ballots.\\ +An earlier design of \davinci enforced the protocol with a pipeline of four arithmetic circuits over three elliptic curves, recursively composed into one state-transition proof. This document specifies the current design, in which the sequencer-side circuits are replaced by programs written in an ordinary programming language and proven by a \ac{zkVM}. The statement proven for each batch of ballots is the same in spirit, but it is now expressed as one auditable program, checked by one universal verifier, and extended with guarantees that were impractical to express as circuits, such as the in-proof layout of the published data and the silent re-randomization of stored ballots. \subsection{Contributions} \label{sec:introduction:contributions}
@@ -4,10 +4,10 @@ An election involves four types of participants: organizer, \keywardens, voters, and sequencers. In addition, any party can follow an election as an observer.
\paragraph{Organizer.} The organizer is the entity responsible for defining and setting up the election. Its key responsibilities include defining the voting parameters, gathering the census data, and choosing who holds the election key. The organizer is identified by the Ethereum address that creates the election, and only that address can later change the parameters that the protocol allows to be changed (the status, the end time, the census of a dynamic census, the metadata, the maximum number of voters, and the grace window). The organizer ensures that the election is structured correctly but does not participate in vote collection or tallying. -\paragraph{\Keywardens.} \Keywardens are a set of decentralized parties that collaboratively generate a public encryption key that voters use to encrypt their votes. The corresponding secret key is secret-shared among them so that a threshold of key wardens can later collaborate to decrypt the final tally. Individual ballots remain private because the protocol only invokes threshold decryption on the final aggregate, not on each ballot separately. \Davinci supports two kinds of \keywardens: a \emph{\ac{DKG} committee}, drawn by lottery from a permissionless set of registered operators, which prepares a pool of keys in advance and assigns one to each election; and a \emph{council}, a small group of members invited by an organizer, which runs a dedicated key ceremony. When the organizer accepts the corresponding trust, a single sequencer can play the role of the \keywardens and hold the whole election key (see Section~\ref{sec:vocdoni-protocol:flow:keys}). +\paragraph{\Keywardens.} \Keywardens are a set of decentralized parties that collaboratively generate a public encryption key that voters use to encrypt their votes. The corresponding secret key is secret-shared among them so that any $\theta$ of the $\nu$ key wardens, for a threshold $\theta$, can later collaborate to decrypt the final tally. Individual ballots remain private because the protocol only invokes threshold decryption on the final aggregate, not on each ballot separately. \Davinci supports two kinds of \keywardens: a \emph{\ac{DKG} committee}, drawn by lottery from a permissionless set of registered operators, which prepares a pool of keys in advance and assigns one to each election; and a \emph{council}, a small group of members invited by an organizer, which runs a dedicated key ceremony. When the organizer accepts the corresponding trust, a single sequencer can play the role of the \keywardens and hold the whole election key (see Section~\ref{sec:vocdoni-protocol:flow:keys}). -\paragraph{Voters.} Voters are the participants that belong to the census and are allowed to cast their votes in the election. Each voter holds a secp256k1 key pair, whose Ethereum address identifies the voter in the census, and is assigned a weight, which bounds or scales their vote according to the ballot rules. Voters may cast as many ballots as they wish during the voting period; each new ballot overwrites the previous one. +\paragraph{Voters.} Voters are the participants that belong to the census and are allowed to cast their votes in the election. Each voter holds a SECP256K1 key pair, whose Ethereum address identifies the voter in the census, and is assigned a weight, which can bound their vote according to the ballot rules. Voters may cast as many ballots as they wish during the voting period; each new ballot overwrites the previous one. -\paragraph{Sequencers.} Sequencers are a set of parties that during the voting period receive and verify encrypted ballots from voters, reencrypt votes, and update the shared public state accordingly. A sequencer groups valid ballots into batches, proves each batch with the batch program in a \ac{zkVM}, publishes the batch data in blobs, and submits the proof to the process registry. The role is permissionless: any party with an Ethereum account can run a sequencer for any election, and several sequencers can serve the same election concurrently, in which case they race to settle the next state transition. Proof generation is computationally intensive and is typically delegated to a GPU \emph{prover} service. The prover learns the private inputs of the batch, including the reencryption secrets, so a sequencer must run its own prover or trust its operator with ballot privacy (but not with integrity, which the proof guarantees). +\paragraph{Sequencers.} Sequencers are a set of parties that during the voting period receive and verify encrypted ballots from voters, re-encrypt votes, and update the shared public state accordingly. A sequencer groups valid ballots into batches, proves each batch with the batch program in a \ac{zkVM}, publishes the batch data in blobs, and submits the proof to the process registry. The role is permissionless: any party with an Ethereum account can run a sequencer for any election, and several sequencers can serve the same election concurrently, in which case they race to settle the next state transition. Proof generation is computationally intensive and is typically delegated to a GPU \emph{prover} service. The prover learns the private inputs of the batch, including the re-encryption secrets, so a sequencer must run its own prover or trust its operator with ballot privacy (but not with integrity, which the proof guarantees). \paragraph{Observers.} Any party can run a sequencer node without a signing key. Such a node, called an observer, never settles transitions, but it replays every transition settled by others from the published blobs, checks that the resulting state roots match the ones recorded on-chain, and serves the state of the election, including the inclusion proofs that voters use to check that their ballots were recorded. Observers therefore provide independent verification of the election and of its tally.
@@ -1,15 +1,15 @@
% !TeX root = ../build/main.tex -In this section we describe the overall flow of the \davinci voting protocol. An election is structured into five main phases: election setup, encryption key generation, voting period, tally decryption, and election finalization. Each phase specifies the interactions between the organizer, \keywardens, voters, sequencers, and the smart contracts that coordinate the election. An overview of the complete process is shown in Fig.~\ref{fig:protocol-flow}. +In this section we describe the overall flow of the \davinci voting protocol. An election is structured into five main phases: election setup, encryption key generation, voting period, tally decryption, and election finalization. Each phase specifies the interactions between the organizer, \keywardens, voters, sequencers, and the smart contracts that coordinate the election. An overview of the complete process is shown in Figs.~\ref{fig:protocol-flow} and~\ref{fig:protocol-flow-results}. \begin{figure}[p] - \centerline{\includegraphics[height=0.93\textheight,draft=false]{\figs/protocol-flow.pdf}} - \caption{Message flow of an election. The voting loop runs for every batch; settlement is shown in L1-blob mode, in which the blobs are posted to Ethereum while the batch is proven. The two alternative finalization paths depend on who holds the election key.} + \centerline{\includegraphics[width=\textwidth,draft=false]{\figs/protocol-flow.pdf}} + \caption{Message flow of an election: setup and voting. The voting loop runs for every batch; settlement is shown in L1-blob mode, in which the blobs are posted to Ethereum while the batch is proven. Fig.~\ref{fig:protocol-flow-results} continues the flow after the end of the voting period.} \label{fig:protocol-flow} \end{figure} \subsubsection{Election setup} -\label{sec:election-setup} +\label{sec:vocdoni-protocol:flow:setup} For each new election, the organizer performs the following steps:@@ -58,11 +58,11 @@ \caption{Key modes. The organizer always interacts with the process registry only; the key-management contracts sit behind it. The modes differ in who can decrypt the tally and how the results are published.}
\label{fig:key-modes} \end{figure} -\paragraph{\ac{DKG} automatic mode.} The \keywardens are the operators of a permissionless \ac{DKG} network~\cite{davinci-dkg}, which runs the non-interactive \ac{DKG} protocol of Appendix~\ref{sec:cryptographic-primitives:dkg} in \emph{epochs}. At the start of each epoch, a committee of $n$ operators is drawn by a public lottery among the registered operators, and each committee member submits one contribution that deals, with Feldman verifiable secret sharing~\cite{feldman1987practical}, shares of sixteen independent pool keys at once, together with a Groth16 proof that the contribution is well-formed and that every share is encrypted to its recipient. The \dkgmanager verifies these proofs, so that correct participation can be checked without revealing any secret. Once enough valid contributions are collected, a single proof computes the sixteen pool keys $P_0, \dots, P_{15}$ and a commitment to every member's share of each, and the epoch becomes live. Any $t$ of the $n$ committee members can then decrypt under any pool key, while no smaller coalition learns anything about the secrets. When a process is created in this mode, the \dkgadapter registers it as an application of the newest live epoch, under an application identifier that embeds the adapter's address and a salt derived from the chain, the registry, and \processid, so that no other party can claim it. The application is assigned a free pool key $P_j$, which becomes the election key, $\epk = P_j$. +\paragraph{\ac{DKG} automatic mode.} The \keywardens are the operators of a permissionless \ac{DKG} network~\cite{davinci-dkg}, which runs the non-interactive \ac{DKG} protocol of Appendix~\ref{sec:cryptographic-primitives:dkg} in \emph{epochs}. At the start of each epoch, a committee of $\nu$ operators is drawn by a public lottery among the registered operators, and each committee member submits one contribution that deals, with Feldman verifiable secret sharing~\cite{feldman1987practical}, shares of sixteen independent pool keys at once, together with a Groth16 proof that the contribution is well-formed and that every share is encrypted to its recipient. The \dkgmanager verifies these proofs, so that correct participation can be checked without revealing any secret. Once enough valid contributions are collected, a single proof computes the sixteen pool keys $P_0, \dots, P_{15}$ and a commitment to every member's share of each, and the epoch becomes live. Any $\theta$ of the $\nu$ committee members, where $\theta$ is the threshold of the epoch, can then decrypt under any pool key, while no smaller coalition learns anything about the secrets. When a process is created in this mode, the \dkgadapter registers it as an application of the newest live epoch, under an application identifier that embeds the adapter's address and a salt derived from the chain, the registry, and \processid, so that no other party can claim it. The application is assigned a free pool key $P_j$, which becomes the election key, $\epk = P_j$. -\paragraph{\ac{DKG} locked mode.} The organizer generates a key pair $(\sk_{\mathsf{org}}, \pk_{\mathsf{org}})$ and provides $\pk_{\mathsf{org}}$, together with a Schnorr proof of possession of $\sk_{\mathsf{org}}$, at creation. The election key is $\epk = P_j + \pk_{\mathsf{org}}$, and the \ac{DKG} contracts refuse every decryption of the application until the organizer reveals $\sk_{\mathsf{org}}$ on-chain, which they check against $\pk_{\mathsf{org}}$. The organizer thus decides when the tally can be opened, but not what it contains, and not even $t$ colluding committee members can open it alone. Losing $\sk_{\mathsf{org}}$ makes the tally permanently undecryptable. +\paragraph{\ac{DKG} locked mode.} The organizer generates a key pair $(\sk_{\mathsf{org}}, \pk_{\mathsf{org}})$ and provides $\pk_{\mathsf{org}}$, together with a Schnorr proof of possession of $\sk_{\mathsf{org}}$, at creation. The election key is $\epk = P_j + \pk_{\mathsf{org}}$, and the \ac{DKG} contracts refuse every decryption of the application until the organizer reveals $\sk_{\mathsf{org}}$ on-chain, which they check against $\pk_{\mathsf{org}}$. The organizer thus decides when the tally can be opened, but not what it contains, and not even $\theta$ colluding committee members can open it alone. Losing $\sk_{\mathsf{org}}$ makes the tally permanently undecryptable. -\paragraph{Council mode.} The \keywardens are the members of a council: up to sixteen participants invited by an organizer, who run a dedicated key ceremony on the \councilmanager~\cite{davinci-council}. Each member deals a Feldman sharing of a random secret with a Groth16 proof of correct dealing, the election key is the sum of the dealers' public constants, and any $t$ members can decrypt. A council ceremony also fixes when decryption may start, either on a scheduled date or when the organizer of the ceremony opens it, optionally with a fallback date. Several processes may be bound to the same ceremony, provided that the ceremony organizer has allowed the registry's \counciladapter and has authorized the account creating each process; all of them share the ceremony's key. +\paragraph{Council mode.} The \keywardens are the members of a council: up to sixteen participants invited by an organizer, who run a dedicated key ceremony on the \councilmanager~\cite{davinci-council}. Each member deals a Feldman sharing of a random secret with a Groth16 proof of correct dealing, the election key is the sum of the dealers' public constants, and any $\theta$ of its $\nu$ members can decrypt, for a threshold $\theta$ fixed when the ceremony is created. A council ceremony also fixes when decryption may start, either on a scheduled date or when the organizer of the ceremony opens it, optionally with a fallback date. Several processes may be bound to the same ceremony, provided that the ceremony organizer has allowed the registry's \counciladapter and has authorized the account creating each process; all of them share the ceremony's key. \paragraph{Sequencer mode.} When the organizer accepts a weaker trust model, a single sequencer acts as the only \keywarden. Before creating the process, the organizer requests from a sequencer the key for the (predictable) identifier \processid. The sequencer derives the secret key from a master secret, \[ \sk = \mathsf{HMAC}\text{-}\Sha\bigl(\mathsf{master},\ \texttt{"davinci-election-key-v1"} \conc \texttt{chainID} \conc \texttt{registry} \conc \processid\bigr), \]@@ -121,7 +121,7 @@ \end{enumerate}
Accepted votes are queued, one queue per slot, and their status becomes \emph{pending}; a vote then moves through the states of Fig.~\ref{fig:vote-lifecycle}.\\ \begin{figure}[h] - \centerline{\includegraphics[width=0.9\textwidth,draft=false]{\figs/vote-lifecycle.pdf}} + \centerline{\includegraphics[width=\textwidth,draft=false]{\figs/vote-lifecycle.pdf}} \setlength{\abovecaptionskip}{5pt} \caption{Lifecycle of a vote in a sequencer. A batch that loses a settlement race, or that the registry refuses while the election is paused, returns its votes to the queue; votes still queued when the grace window closes, or that the program rejects, end in error.} \label{fig:vote-lifecycle}@@ -130,7 +130,7 @@
\noi \textbf{(c) Vote batching.} A sequencer seals a batch from the queue when it holds enough votes, when its oldest vote has waited long enough, or when the end of the voting period approaches. Waiting for several distinct slots before sealing mixes the votes of different voters in one transition; each wait carries a random jitter, so the settlement time of a batch reveals little about when its votes were cast. The batch takes the oldest vote of each slot, in arrival order, and is sized so that its proof and settlement fit before the deadline of the election, that it respects \maxvoters, and that its blobs fit the limit of the settlement mode. To build the batch, the sequencer: \begin{enumerate} \item Draws a fresh secret $\seed$ and a uniformly random refresh set $\mathcal{R}$ of occupied slots not written by the batch, of the size required by the batch program, from the operating system's random number generator. Both exist only in memory, for this batch, and are never logged or stored. - \item Reencrypts every ballot along the scalar chain of the seed and the refreshed ballots after them (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). + \item Re-encrypts every ballot along the scalar chain of the seed and the refreshed ballots after them (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). \item Applies the batch to a copy of its state tree, producing the chains of tree transitions, the new results accumulator, and the new root. \item Lays out the blob cells, computes the \ac{KZG} commitment $\blobcom_b$ of each blob, the evaluation point $z_b$, the value $y_b = p_b(z_b)$, and the opening proof $\openproof_b$ (see Section~\ref{sec:vocdoni-protocol:circuits:blobs}). \item Computes the public values it expects the batch program to output.@@ -141,12 +141,12 @@ \noi \textbf{(d) Proving and settlement.}
\label{sec:vocdoni-protocol:flow:settlement} The sequencer sends the private inputs of the batch to its prover and obtains the batch proof, \begin{align*} - (\publicvalues, \batchproof) = {} & \hlget{\VMProve}\bigl(\hlget{\batchprogram},\\ & \witness = (\text{ballot proofs, state transition, eligibility, reencryption, blobs})\bigr). + (\publicvalues, \batchproof) = {} & \hlget{\VMProve}\bigl(\hlget{\batchprogram},\\ & \witness = (\text{ballot proofs, state transition, eligibility, re-encryption, blobs})\bigr). \end{align*} Before using it, the sequencer checks that the proof is valid under the pinned program key and setup, that $\okflag = 1$, and that every public value equals the value it computed itself. It then settles the batch in one of the two data availability modes of the registry. \begin{itemize} - \item \emph{Blob mode} (registry on Ethereum). The sequencer sends a single blob-carrying transaction that carries the $\nblobs \le 6$ blobs of the batch and calls + \item \emph{Blob mode} (registry on a chain with native blob transactions, such as Ethereum). The sequencer sends a single blob-carrying transaction that carries the $\nblobs \le 6$ blobs of the batch and calls \begin{align*} \fn{submitStateTransition}\bigl(&\processid, \publicvalues, \batchproof,\\ &\{\blobcom_b\}, \{y_b\}, \{\openproof_b\}\bigr), \end{align*} where $\openproof_b$ is the \ac{KZG} opening proof of blob $b$ at $z_b$. The registry reads the versioned hashes of the blobs of its own transaction.@@ -163,7 +163,7 @@ \item $\stateroot^\old$ equals the latest state root of the process.
\item \censusroot is accepted for the census origin of the process (Table~\ref{tab:census-models}); for an on-chain census, the registry asks the census contract for the last block at which the root was current, and requires it to be between the creation block of the process and the current block. \item \occupiedbefore equals the process's \voterscount, the number of distinct slots written so far. \item The batch adds at least one vote, and $\voterscount + (\numvotes - \numoverwrites) \le \maxvoters$. - \item There are exactly \nblobs commitments, evaluations, and opening proofs, $\nblobs \ge 1$, and as many versioned hashes: in blob mode, the transaction carries no blob beyond the first \nblobs; in L1-blob mode, the L1 proof yields exactly \nblobs versioned hashes. + \item There are exactly \nblobs commitments, evaluations, and opening proofs, $\nblobs \ge 1$, each commitment and opening proof is 48 bytes long, and there are as many non-zero versioned hashes: in blob mode, the transaction carries no blob beyond the first \nblobs; in L1-blob mode, the L1 proof yields exactly \nblobs versioned hashes. \item The digest of the $(\blobcom_b, y_b)$ pairs equals \blobsdigest. \item The ZisK verifier accepts the proof: \[\hlget{\ziskverifier}.\fn{verifySnarkProof}(\texttt{batchProgramVK}, \rootc, \publicvalues, \batchproof).\]@@ -198,7 +198,7 @@ \label{fig:grace-window}
\end{figure} \begin{figure}[h] - \centerline{\includegraphics[width=0.85\textwidth,draft=false]{\figs/process-status.pdf}} + \centerline{\includegraphics[width=\textwidth,draft=false]{\figs/process-status.pdf}} \setlength{\abovecaptionskip}{5pt} \caption{Statuses of a process in the registry. Solid transitions are made by the organizer; dashed transitions are made by the registry when results are requested or published.} \label{fig:process-status}@@ -211,7 +211,7 @@ \label{sec:vocdoni-protocol:tally}
After the grace window closes, the \hlget{\processregistry} smart contract stops accepting new state updates, fixing the final state root and thus the aggregated encrypted results $\encresults$. Every sequencer that follows the election holds $\encresults$ in its own state tree, and the results can only be requested or published from this point on, which guarantees that the decrypted tally is that of the final state. How the tally is decrypted depends on the key mode. -\paragraph{Threshold decryption (\ac{DKG} and council modes).} Any sequencer with a signing key submits the final accumulator $\encresults$, together with its inclusion proof $\merkleInclusionPf^{\encresults}$ under the latest state root, by calling \fn{requestResultsDecryption}. The registry checks that every coordinate of $\encresults$ is canonical, that $\Sha(\encresults)$ is the value of leaf \texttt{0x4} under the latest state root, moves the process to the ended status, and submits the ciphertext of every active field to the key-management contract through its adapter. Fields whose ciphertext is the identity decrypt to zero under any key and are recorded as zero without being submitted. A threshold of $t$ out of $n$ \keywardens\ then cooperate to decrypt each submitted ciphertext $(C_1, C_2)$: rather than reconstructing the election secret key, each participating warden $i$ publishes a partial decryption $D_i = s_i \cdot C_1$, where $s_i$ is its key share, together with a Groth16 proof that $D_i$ is consistent with its committed share. Once $t$ valid partial decryptions are available, anyone combines them by Lagrange interpolation, $M = C_2 - \sum_i \lambda_i D_i$, recovers the plaintext $m$ with $M = m \cdot \BJ{G}$ by a bounded discrete-logarithm search, and submits it; the key-management contract checks that $m$ is the correct combination (with a \ac{ZK} proof in the \ac{DKG} network, and by direct computation in the council) before storing it. In the locked mode, partial decryptions are only accepted after the organizer reveals $\sk_{\mathsf{org}}$, and the combination also removes its contribution. In the council mode, they are only accepted once the ceremony's decryption gate has opened. Because only the aggregated results are decrypted and never the individual ballots, voter privacy is preserved throughout the election, and the secret key is never reconstructed by any single party. Moving the process to the ended status when the decryption is requested matters: the plaintexts become public on the key-management contract before the registry records them, and an organizer that could still cancel the process could otherwise veto a tally after reading it. +\paragraph{Threshold decryption (\ac{DKG} and council modes).} Any sequencer with a signing key submits the final accumulator $\encresults$, together with its inclusion proof $\merkleInclusionPf^{\encresults}$ under the latest state root, by calling \fn{requestResultsDecryption}. The registry checks that every coordinate of $\encresults$ is canonical, that $\Sha(\encresults)$ is the value of leaf \texttt{0x4} under the latest state root, moves the process to the ended status, and submits the ciphertext of every active field to the key-management contract through its adapter. Fields whose ciphertext is the identity decrypt to zero under any key and are recorded as zero without being submitted. A threshold of $\theta$ out of $\nu$ \keywardens\ then cooperate to decrypt each submitted ciphertext $(C_1, C_2)$: rather than reconstructing the election secret key, each participating warden $i$ publishes a partial decryption $D_i = \mathsf{sh}_i \cdot C_1$, where $\mathsf{sh}_i$ is its key share, together with a Groth16 proof that $D_i$ is consistent with its committed share. Once $\theta$ valid partial decryptions are available, anyone combines them by Lagrange interpolation, $M = C_2 - \sum_i \lambda_i D_i$, recovers the plaintext $m$ with $M = m \cdot \BJ{G}$ by a bounded discrete-logarithm search, and submits it; the key-management contract checks that $m$ is the correct combination (with a \ac{ZK} proof in the \ac{DKG} network, and by direct computation in the council) before storing it. In the locked mode, partial decryptions are only accepted after the organizer reveals $\sk_{\mathsf{org}}$, and the combination also removes its contribution. In the council mode, they are only accepted once the ceremony's decryption gate has opened. Because only the aggregated results are decrypted and never the individual ballots, voter privacy is preserved throughout the election, and the secret key is never reconstructed by any single party. Moving the process to the ended status when the decryption is requested matters: the plaintexts become public on the key-management contract before the registry records them, and an organizer that could still cancel the process could otherwise veto a tally after reading it. \paragraph{Sequencer decryption (sequencer mode).} The sequencer that holds $\sk$ decrypts each field $j$ of $\encresults$ as $M_j = C_{2,j} - \sk \cdot C_{1,j}$, recovers $\text{results}_j$ with $M_j = \text{results}_j \cdot \BJ{G}$ by a baby-step giant-step search bounded by $\maxvoters \cdot \maxvalue$, and produces a Chaum--Pedersen proof $\pi^{\mathrm{dec}}_j$ that $\log_{\BJ{G}} \epk = \log_{C_{1,j}} M_j$ (see Appendix~\ref{sec:cryptographic-primitives:encryption}). It can do so during the grace window, once nothing is pending, and submit the result as soon as the window closes, provided that the root has not changed.@@ -219,7 +219,14 @@ \subsubsection{Election finalization}
\label{sec:vocdoni-protocol:finalization} \label{sec:vocdoni-protocol:flow:results} -In this final phase, the election results are published on-chain, together with the evidence of their correct computation. +In this final phase, the election results are published on-chain, together with the evidence of their correct computation. Fig.~\ref{fig:protocol-flow-results} shows the messages of both finalization paths. + +\begin{figure}[h] + \centerline{\includegraphics[width=0.85\textwidth,draft=false]{\figs/protocol-flow-results.pdf}} + \setlength{\abovecaptionskip}{5pt} + \caption{Message flow of an election: decryption and finalization. The path depends on who holds the election key.} + \label{fig:protocol-flow-results} +\end{figure} \paragraph{Sequencer mode.} The key holder proceeds as follows: \begin{enumerate}
@@ -27,8 +27,8 @@ To ensure privacy, votes are encrypted using the election's encryption public key. Additionally, voters compute a unique vote identifier that will allow them to verify that their vote has been included in the final result. Alongside the encrypted vote and the vote identifier, each voter must also provide the following data: a proof of valid voting, demonstrating that the vote complies with the election rules; a proof of eligibility, verifying that they are registered in the census; and a proof of identity ownership, in the form of a digital signature, confirming that they are the legitimate voter and are not impersonating someone else. To mitigate coercion and vote-buying, the protocol allows voters to overwrite their vote any number of times during the voting phase; only the last ballot counts. \\
% \item \label{sec:protocol-intuition:vote-batching} \textit{Vote batching}. During this phase, sequencers collect encrypted votes from multiple voters along with their corresponding proofs, and verify the validity of these submissions. That is, sequencers - verify the signatures, to ensure the votes were cast by legitimate voters; they verify the proof of compliance, confirming that each vote adheres to the election voting rules; and they verify the census membership proofs against the commitment to the census data that was originally registered in the process registry. Valid votes are grouped into batches. For each batch, the sequencer reencrypts the votes, so that voters can no longer decrypt or recognize their own ballots, and also reencrypts a random sample of the ballots already stored in the state, so that an observer cannot tell a voter who overwrote a ballot from one whose ballot was merely refreshed. While this process does not alter the final tally, it prevents voters from proving their choice to third parties, which mitigates vote selling and coercion. The sequencer then updates the election state and the encrypted tally, and publishes the data of the batch in Ethereum data blobs. - Instead of submitting individual verifications for each vote, the sequencer generates a single \ac{ZK} proof that attests to the correctness of the whole batch: every verification, every reencryption, the state update, and the published data. Finally, the sequencer submits the proof and the new state root to the process registry, which verifies the proof and the blobs and accepts the new state. Settlement is permissionless: any sequencer may submit the next state transition, and the first valid one to land advances the election.\\ + verify the signatures, to ensure the votes were cast by legitimate voters; they verify the proof of compliance, confirming that each vote adheres to the election voting rules; and they verify the census membership proofs against the commitment to the census data that was originally registered in the process registry. Valid votes are grouped into batches. For each batch, the sequencer re-encrypts the votes, so that voters can no longer decrypt or recognize their own ballots, and also re-encrypts a random sample of the ballots already stored in the state, so that an observer cannot tell a voter who overwrote a ballot from one whose ballot was merely refreshed. While this process does not alter the final tally, it prevents voters from proving their choice to third parties, which mitigates vote selling and coercion. The sequencer then updates the election state and the encrypted tally, and publishes the data of the batch in Ethereum data blobs. + Instead of submitting individual verifications for each vote, the sequencer generates a single \ac{ZK} proof that attests to the correctness of the whole batch: every verification, every re-encryption, the state update, and the published data. Finally, the sequencer submits the proof and the new state root to the process registry, which verifies the proof and the blobs and accepts the new state. Settlement is permissionless: any sequencer may submit the next state transition, and the first valid one to land advances the election.\\ \end{enumerate} \item \textit{Tally decryption}.
@@ -35,6 +35,7 @@ \keymode, \texttt{dkgEpochId}, \texttt{dkgAid} & Who holds the election key, and the identifiers of the key in the \ac{DKG} or council manager. \\
\texttt{latestStateRoot} & Root of the state tree after the last settled transition. \\ \voterscount, \overwrittencount & Number of distinct ballot slots written, and number of overwrites. \\ \texttt{batchNumber}, \lastvoteat & Number of settled transitions, and time of the last one. \\ + \texttt{creationBlock} & Block of creation; lower bound for the roots an on-chain census may use. \\ \grace & Idle window during which transitions keep settling after the end. \\ \metadatauri, \texttt{metadataHash} & Location and SHA-256 digest of the metadata document. \\ \texttt{result} & Decrypted tally, one value per ballot field. \\
@@ -52,11 +52,11 @@ \slot(\address) &= (\configmax + 1) + \bigl(\mathsf{BE64}(h_{[0..8]}) \bmod (N - \configmax - 1)\bigr),
\end{aligned} \label{eq:slot} \end{equation} -where the first eight bytes of the digest $h$ are read as a big-endian integer. For a \ac{CSP} census, the slot is $(\configmax + 1) + \idx$, where $\idx$ is the index signed by the \ac{CSP}. In both cases, the result lies in the ballot namespace. The value stored at a slot is the SHA-256 digest of the voter's latest encrypted ballot, after reencryption by the sequencer; the ciphertexts themselves are published in the data blobs (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). +where the first eight bytes of the digest $h$ are read as a big-endian integer. For a \ac{CSP} census, the slot is $(\configmax + 1) + \idx$, where $\idx$ is the index signed by the \ac{CSP}. In both cases, the result lies in the ballot namespace. The value stored at a slot is the SHA-256 digest of the voter's latest encrypted ballot, after re-encryption by the sequencer; the ciphertexts themselves are published in the data blobs (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). This construction assigns each eligible voter a unique, reserved leaf in the state tree. Because the address is authenticated by the voter's signature and bound to the census proof (or the index is authenticated by the \ac{CSP}'s signature), a voter can only write to their own slot. Deriving the slot from the address rather than from the voter's position in the census also keeps slots stable when the census grows, and avoids relying on the position of a leaf in a lean \ac{IMT}, which a membership proof does not pin (see Section~\ref{sec:background:mt}). This enables efficient \emph{last-vote-wins} semantics: if a voter overwrites their ballot, the new ciphertext replaces the previous one at the same slot, while the tally is updated by subtracting the old contribution and adding the new one. The uniqueness of slots among the members of a census is discussed in Section~\ref{sec:vocdoni-protocol:census}. -Besides the slots written by votes, every state transition also rewrites a random sample of already occupied slots with fresh reencryptions of the ballots they hold (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). As a consequence, a change in the value of a slot does not reveal whether its voter cast a new ballot. Only the first write to a slot, which turns an empty leaf into an occupied one, is distinguishable, and it reveals that the voter participated, not how. +Besides the slots written by votes, every state transition also rewrites a random sample of already occupied slots with fresh re-encryptions of the ballots they hold (see Section~\ref{sec:vocdoni-protocol:circuits:batch}). As a consequence, a change in the value of a slot does not reveal whether its voter cast a new ballot. Only the first write to a slot, which turns an empty leaf into an occupied one, is distinguishable, and it reveals that the voter participated, not how. \paragraph{Vote identifier namespace.}@@ -67,12 +67,12 @@ \label{eq:voteid}
\end{equation} where $k$ is the secret randomness of the voter's ballot encryption. The value stored under a vote identifier is zero: the leaf only records that the identifier has been used. The ballot circuit enforces this derivation, and the batch program enforces that $N \le \voteid < 2^D$ and that each vote identifier is inserted into an empty leaf, guaranteeing that vote identifiers cannot overlap with configuration entries or ballot storage and cannot be reused. -Unlike classical nullifiers, vote identifiers are not used to prevent duplicate voting directly: duplicate voting is prevented by the slot, which a voter can only overwrite. Instead, a vote identifier is a receipt of inclusion that does not reveal the slot. Since the vote identifier depends on a fresh random value $k$, if a collision occurs (i.e., the computed leaf is already occupied), the sequencer rejects the ballot, and the batch program would reject any transition that inserted it. In that case, the voter must resample $k$, reencrypt the ballot, and recompute a new vote identifier until an unused leaf is obtained. +Unlike classical nullifiers, vote identifiers are not used to prevent duplicate voting directly: duplicate voting is prevented by the slot, which a voter can only overwrite. Instead, a vote identifier is a receipt of inclusion that does not reveal the slot. Since the vote identifier depends on a fresh random value $k$, if a collision occurs (i.e., the computed leaf is already occupied), the sequencer rejects the ballot, and the batch program would reject any transition that inserted it. In that case, the voter must resample $k$, re-encrypt the ballot, and recompute a new vote identifier until an unused leaf is obtained. As a result, collisions do not compromise correctness or liveness, but merely require retrying the identifier derivation. Note that the maximum number of vote identifiers that can be stored is bounded by the size of this namespace ($2^{D-1}$), which upper-bounds the total number of votes and overwrites that can be processed throughout the election. This capacity is orders of magnitude larger than any realistic election workload: historical elections peak at $\approx 10^{9}$ votes~\cite{reuters2024india}, ensuring that identifier exhaustion is practically impossible and that collisions are exceptionally rare -\footnote{Based on the birthday paradox, the probability of at least one collision occurring is given by $P=1 - e^{-n^2/2d}$, where $n$ is the number of vote identifiers and $d = 2^{D-1}$. For a large-scale national election of $10^8$ votes emitted, this probability is vanishingly small ($\approx0.054\%$), and for an extreme workload of $10^9$ votes, the probability of a single collision is only $\approx5.4\%$, meaning that the need to resample $k$ remains highly improbable.}. +\footnote{Based on the birthday paradox, the probability of at least one collision occurring is given by $P=1 - e^{-n^2/2d}$, where $n$ is the number of vote identifiers and $d = 2^{D-1}$. For a large-scale national election of $10^8$ votes emitted, this probability is vanishingly small ($\approx0.054\%$), and for an extreme workload of $10^9$ votes, the probability of a single collision is only $\approx5.3\%$, meaning that the need to resample $k$ remains highly improbable.}. Together, the state tree provides a compact and tamper-proof commitment to the current status of the election. At the end of the election, the final state root together with the on-chain verification of all transitions serves as a complete cryptographic record of the election, encapsulating both the tally and the integrity of the entire voting procedure.