% !TeX root = ../build/main.tex This section outlines the \davinci voting protocol. First, we introduce the parties involved in the process in Section~\ref{sec:vocdoni-protocol:parties}. In Section~\ref{sec:vocdoni-protocol:smart-contracts} we present the smart contracts that rule the \davinci protocol. Then, 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. In 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}. Finally, 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. \subsection{Parties involved} \label{sec:vocdoni-protocol:parties} \input{\secs/parties.tex} \subsection{Smart contracts} \label{sec:vocdoni-protocol:smart-contracts} \input{\secs/smart-contracts.tex} \subsection{Census} \label{sec:vocdoni-protocol:census} \input{\secs/census.tex} \subsection{State tree} \label{sec:vocdoni-protocol:state-tree} \input{\secs/state-tree.tex} \subsection{Circuits and zkVM programs} \label{sec:vocdoni-protocol:circuits} \input{\secs/circuits.tex} \subsection{Protocol flow} \label{sec:vocdoni-protocol:flow} \input{\secs/protocol-flow.tex}