% !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 Ethereum 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 trees. In Section~\ref{sec:vocdoni-protocol:circuits}, we present the \ac{ZK} circuits used to enforce vote validity, authentication, aggregation, state transitions, and results computation. 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} \label{sec:vocdoni-protocol:circuits} \input{\secs/circuits.tex} \subsection{Protocol flow} \label{sec:vocdoni-protocol:flow} \input{\secs/protocol-flow.tex}