davinci-paper/v2/sections/token.tex
v2/sections/token.texRaw
1% !TeX root = ../build/main.tex
2
3{\color{blue}In this section, we describe/propose incentive mechanisms. However, this is not the only way. Additionally, we should change the word sequencer by key warden wherever applicable.}
4
5\subsection{The Vodoni token}
6
7\Davinci introduces the Vocdoni token (\token) as a key element of its decentralized voting ecosystem, playing a crucial role in the protocol's sustainability.
8The token serves multiple utility functions that align the incentives of all participants (organizer, key wardens, voters, and sequencers), ensuring the integrity, efficiency, and security of the system. In particular, the token has the following roles.
9
10\begin{itemize}
11 \item \emph{Collateral for sequencers.} Sequencers must stake \token tokens as collateral to participate. This serves as a safeguard to ensure responsible participation. Misbehavior or failure to meet obligations can result in penalties, including partial or total loss of the stake.
12 \item \emph{Incentive mechanism.} Sequencers earn rewards in \token tokens based on their contribution to processing valid votes and maintaining the network. Rewards are proportional to the number of valid votes successfully added to the shared state.
13 \item \emph{Payment for elections.} Organizers pay fees in \token tokens to create and manage elections. These fees depend on factors such as registry size, voting duration, and desired security level.
14 \item \emph{Governance.} Token holders can participate in the decentralized governance of the project, influencing protocol upgrades, ecosystem development, and other initiatives. This ensures that the project evolves in a transparent, community-driven manner.
15\end{itemize}
16
17\subsection{Economics for organizers}
18
19Organizers cover the costs of elections in \token tokens. The total cost combines four components:
20\[ \totalCost = \baseCost + \capacityCost + \durationCost + \securityCost, \]
21where
22%
23\begin{itemize}
24 \item $\baseCost$ is a fixed setup fee, independent of the election duration or security level. It is calculated as
25 \[
26 \baseCost = \fixedCost + \maxVotes \cdot p,
27 \]
28 where $\fixedCost$ is a protocol-defined fee, $\maxVotes$ the maximum number of votes{\color{blue}{ (votes or voters?)}}, and $p$ a linear factor. This portion is not reimbursable and always rewarded to sequencers.
29
30 \item $\capacityCost$ accounts for limited sequencer capacity. That is, is models the cost of reserving space for voting events relative to the number of available sequencers, number of voting events running, and the maximum number of voters. Costs rise non-linearly as available capacity decreases as
31 \[
32 k_1 \cdot \left( \frac{\totalVotingProcesses}{\totalSequencers - \usedSequencers + \epsilon} \cdot \maxVotes \right)^a
33 \]
34 with $k_1$ a scaling factor, $\totalVotingProcesses$ the number of elections running, $\totalSequencers$ the number of registered sequencers, $\usedSequencers$ the number of sequencers handling other elections, $\epsilon$ a small constant to avoid division by zero, and $a$ an exponent controlling non-linearity.
35
36 \item $\durationCost$ grows with the length of the voting period, scaled non-linearly with the formula
37 \[
38 k_2 \cdot \processDuration^b,
39 \]
40 where $\processDuration$ is measured in hours, $k_2$ is a scaling factor, and $b$ controls non-linear growth. Shorter elections are cost-efficient, while longer ones become increasingly expensive.
41
42 \item $\securityCost$ models the number of sequencers used, growing exponentially with diminishing returns:
43 \[
44 k_3 \cdot e^{c \left( \frac{\numSequencers}{\totalSequencers} \right)^d},
45 \]
46 where $k_3$ is a scaling factor, $c$ controls the steepness, $\numSequencers$ is the number of sequencers needed in the election, $\totalSequencers$ the number of available sequencers, and $d$ adjusts the non-linearity as the number of sequencers increases.\\
47 {\color{blue}Before $\totalSequencers$ was defined as the number of \textit{registered} sequencers and here it means the number of \textit{available} sequencers. Is it assumed to always be the same?}
48\end{itemize}
49
50\noi To avoid impractical scenarios, the following two constraints are enforced:
51\begin{itemize}
52 \item If $\processDuration > \maxDuration$, then $\totalCost = \infty$.
53 \item If $\numSequencers > \totalSequencers$, then $\totalCost = \infty$.
54\end{itemize}
55
56\paragraph{Reimbursements.} Organizers initially reserve resources for all eligible voters, assuming maximum turnout. Since this rarely occurs, unused portions may be reimbursed. The reimbursement is defined as
57\[
58\reimbursement = \totalCost - \totalReward - \baseCost,
59\]
60where $\totalReward$ is the actual amount distributed to sequencers based on their participation. This mechanism ensures organizers do not overpay for unused capacity, while sequencers are still compensated for committed resources.
61
62\subsection{Economics for sequencers}
63
64Sequencers must stake \token in the sequencer registry smart contract to participate. Rewards are based on:
65
66\begin{itemize}
67 \item The number of votes included in the shared state.
68 \item The number of vote rewrites (either overwrites or re-encryptions). Rewrites enhance receipt-freeness and are incentivized, though limited by protocol constants.
69 \item The ratio of processed to non-processed votes relative to the maximum allowed voters.
70\end{itemize}
71%
72The reward function for the $i$-th sequencer is
73\[
74\sequencerReward_i = R \cdot \left( \frac{\votes_i}{\maxVotes} \right) + W \cdot \left( \frac{\voteRewrites_i}{\totalRewrites} \right),
75\]
76subject to the constraints
77\[
78\frac{\voteRewrites_i}{\votes_i} \leq T, \quad \totalReward = R + W, \quad R > W,
79\]
80where $T$ is the maximum allowed ratio of rewrites to votes. Rewards prioritize new votes over rewrites, ensuring sequencers cannot maximize profits by simply re-encrypting existing ballots.
81
82\paragraph{Penalties.} Sequencers failing to provide required decryption shares or misbehaving face slashing penalties as
83\[
84\slashedAmount_i = s \cdot \stakedCollateral_i,
85\]
86where $0 \leq s \leq 1$ is a slashing coefficient. This ensures accountability and discourages free-riding.
87
88\subsection{Summary and remarks}
89
90The cost model combines four components: base, capacity, duration, and security. It ensures small elections are cost-efficient, large or resource-intensive elections incur higher costs, and impractical setups are excluded. Organizers aim to minimize costs, while sequencers seek to maximize rewards — a natural tension that can be modeled as a strategic game. Analyzing this equilibrium is left for future work. {\color{blue}Move this to Section~\ref{sec:token}?}