Files
papers/lux-zchain/sections/05-privacy-preserving-defi.tex
zeekay abf99d05fc papers: reorganize into per-paper dirs, add Antje Worring as co-author
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.
2026-04-18 21:50:07 -07:00

46 lines
1.3 KiB
TeX

\section{Privacy-Preserving DeFi}
\subsection{Shielded DEX}
\textbf{Private Token Swap Protocol}:
\begin{enumerate}
\item User deposits tokens $A$ into shielded pool (generates commitment $C_A$)
\item User submits swap order $(C_A, B_{\text{amount}}, \text{price})$ via zkSNARK
\item DEX matches orders off-chain
\item User withdraws tokens $B$ via proof $\pi_B$:
\begin{equation}
\pi_B \leftarrow \text{Prove}\left(\text{OwnsCommitment}(C_A) \land \text{ValidSwap}(A \to B)\right)
\end{equation}
\end{enumerate}
\textbf{Advantages}:
\begin{itemize}[leftmargin=1.1em]
\item Order book hidden (prevents front-running)
\item Trading volume private (hides whale activity)
\item Slippage protected (encrypted order matching)
\end{itemize}
\subsection{Private Lending}
\textbf{Confidential Loan Protocol}:
\begin{table}[h]
\centering
\begin{tabular}{ll}
\toprule
Action & Privacy Level \\
\midrule
Collateral deposit & Shielded (zk-SNARK) \\
Loan amount & Encrypted (FHE) \\
Interest rate & Public (on-chain) \\
Liquidation threshold & Encrypted (FHE) \\
\bottomrule
\end{tabular}
\caption{Privacy levels in Z-Chain lending protocol}
\end{table}
\textbf{Key Feature}: Liquidations occur via encrypted threshold checks (FHE-based), preserving collateral privacy until liquidation event.