mirror of
https://github.com/lux-apps/papers.git
synced 2026-11-03 05:07:46 +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.
46 lines
1.3 KiB
TeX
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.
|
|
|