davinci-paper/v2/sections/vocdoni-protocol.tex
v2/sections/vocdoni-protocol.texRaw
1% !TeX root = ../build/main.tex
2
3This section outlines the \davinci voting protocol.
4First, we introduce the parties involved in the process in Section~\ref{sec:vocdoni-protocol:parties}.
5In Section~\ref{sec:vocdoni-protocol:smart-contracts} we present the smart contracts that rule the \davinci protocol.
6Then, in Section~\ref{sec:vocdoni-protocol:census}, we describe the census data structures and in Section~\ref{sec:vocdoni-protocol:state-tree} the state Merkle tree.
7In Section~\ref{sec:vocdoni-protocol:circuits}, we present the proof statements that enforce the protocol: the ballot circuit proven by voters, and the batch and results programs proven by sequencers in a \ac{zkVM}.
8Finally, in Section~\ref{sec:vocdoni-protocol:flow}, we detail the full protocol flow step by step, from the voting setup to the results validation and process finalization.
9
10\subsection{Parties involved}
11\label{sec:vocdoni-protocol:parties}
12\input{\secs/parties.tex}
13
14\subsection{Smart contracts}
15\label{sec:vocdoni-protocol:smart-contracts}
16\input{\secs/smart-contracts.tex}
17
18\subsection{Census}
19\label{sec:vocdoni-protocol:census}
20\input{\secs/census.tex}
21
22\subsection{State tree}
23\label{sec:vocdoni-protocol:state-tree}
24\input{\secs/state-tree.tex}
25
26\subsection{Circuits and zkVM programs}
27\label{sec:vocdoni-protocol:circuits}
28\input{\secs/circuits.tex}
29
30\subsection{Protocol flow}
31\label{sec:vocdoni-protocol:flow}
32\input{\secs/protocol-flow.tex}