mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Restructured from flat .tex/.pdf files into per-paper subdirectories. Added Antje Worring as co-author on all papers. Synced PDFs to pdfs/ for download site.
53 lines
1.9 KiB
TeX
53 lines
1.9 KiB
TeX
\section{Multi-Appchain Validator Economics}
|
|
\label{sec:multiappchain}
|
|
|
|
\subsection{Appchain Validation Cost-Benefit}
|
|
|
|
Validating additional appchains incurs marginal hardware costs but generates additional rewards:
|
|
|
|
\begin{definition}[Appchain Validation Profit]
|
|
The marginal profit of validator $v_i$ adding appchain $k$ is:
|
|
\begin{equation}
|
|
\Delta\pi_{i,k} = r_{i,k}^{\text{appchain}} - h_k^{\text{marginal}}
|
|
\end{equation}
|
|
where $h_k^{\text{marginal}}$ is the incremental hardware cost (CPU, storage, bandwidth) for running appchain $k$'s VM.
|
|
\end{definition}
|
|
|
|
\begin{table}[H]
|
|
\centering
|
|
\caption{Estimated marginal costs and rewards for appchain validation.}
|
|
\label{tab:appchain_economics}
|
|
\begin{tabular}{lrrr}
|
|
\toprule
|
|
\textbf{Appchain Type} & \textbf{Marginal Cost/epoch} & \textbf{Reward/epoch} & \textbf{Net Profit} \\
|
|
\midrule
|
|
EVM (light usage) & 0.5 LUX & 2.0 LUX & +1.5 LUX \\
|
|
EVM (heavy usage) & 2.0 LUX & 8.0 LUX & +6.0 LUX \\
|
|
Custom VM (gaming) & 3.0 LUX & 5.0 LUX & +2.0 LUX \\
|
|
Custom VM (DeFi) & 1.5 LUX & 10.0 LUX & +8.5 LUX \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\end{table}
|
|
|
|
\subsection{Optimal Appchain Portfolio}
|
|
|
|
\begin{algorithm}[H]
|
|
\caption{Optimal Appchain Selection for Validator $v_i$}
|
|
\label{alg:appchain_selection}
|
|
\begin{algorithmic}[1]
|
|
\Require Available appchains $\mathcal{K}$, hardware capacity $H_i^{\max}$
|
|
\State Sort appchains by $\Delta\pi_{i,k} / h_k^{\text{marginal}}$ (profit per cost)
|
|
\State $\mathcal{K}_i \gets \emptyset$; $H_{\text{used}} \gets h_{\text{primary}}$
|
|
\For{each appchain $k$ in sorted order}
|
|
\If{$H_{\text{used}} + h_k^{\text{marginal}} \leq H_i^{\max}$ and $\Delta\pi_{i,k} > 0$}
|
|
\State $\mathcal{K}_i \gets \mathcal{K}_i \cup \{k\}$
|
|
\State $H_{\text{used}} \gets H_{\text{used}} + h_k^{\text{marginal}}$
|
|
\EndIf
|
|
\EndFor
|
|
\State \Return $\mathcal{K}_i$
|
|
\end{algorithmic}
|
|
\end{algorithm}
|
|
|
|
This is a variant of the fractional knapsack problem, solvable in $O(|\mathcal{K}| \log |\mathcal{K}|)$ time.
|
|
|