arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v2/figures/circuits-flow.drawio
v2/figures/circuits-flow.drawioRaw
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=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="&lt;b&gt;Ballot circuit&lt;/b&gt;&lt;br&gt;&lt;div style='text-align:left;margin-top:4px;line-height:1.4'&gt;&amp;bull; &lt;b&gt;proof:&lt;/b&gt; Groth16&lt;br&gt;&amp;bull; &lt;b&gt;curve:&lt;/b&gt; BN254&lt;br&gt;&amp;bull; &lt;b&gt;tool:&lt;/b&gt; circom&lt;/div&gt;" 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="&lt;b&gt;Batch program&lt;/b&gt;&lt;br&gt;&lt;div style='text-align:left;margin-top:4px;line-height:1.4'&gt;&amp;bull; &lt;b&gt;proof:&lt;/b&gt; STARK+PlonK&lt;br&gt;&amp;bull; &lt;b&gt;zkVM:&lt;/b&gt; ZisK&lt;br&gt;&amp;bull; &lt;b&gt;tool:&lt;/b&gt; Rust&lt;/div&gt;" 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="&lt;b&gt;Results program&lt;/b&gt;&lt;br&gt;&lt;div style='text-align:left;margin-top:4px;line-height:1.4'&gt;&amp;bull; &lt;b&gt;proof:&lt;/b&gt; STARK+PlonK&lt;br&gt;&amp;bull; &lt;b&gt;zkVM:&lt;/b&gt; ZisK&lt;br&gt;&amp;bull; &lt;b&gt;used:&lt;/b&gt; sequencer key&lt;/div&gt;" 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="&lt;b&gt;ProcessRegistry&lt;/b&gt;&lt;br&gt;verifies proofs&lt;br&gt;with the ZisK&lt;br&gt;verifier and blob&lt;br&gt;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&lt;br&gt;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&lt;br&gt;proof,&lt;br&gt;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&lt;br&gt;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,&lt;br&gt;verified in batches&lt;br&gt;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>