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.
38 lines
1.1 KiB
TeX
38 lines
1.1 KiB
TeX
\section{Appendix A: Yield Strategy Details}
|
|
|
|
|
|
\subsection{LUX Staking Strategy}
|
|
|
|
\begin{lstlisting}[language=Python, basicstyle=\footnotesize\ttfamily]
|
|
class LUXStakingStrategy:
|
|
def __init__(self):
|
|
self.validator_fee = 0.02 # 2% commission
|
|
self.base_reward = 0.142 # 14.2% base APY
|
|
|
|
def calculate_apy(self, stake_amount, duration_days):
|
|
# Base rewards
|
|
base_return = stake_amount * self.base_reward * (duration_days / 365)
|
|
|
|
# Compound monthly
|
|
monthly_rate = self.base_reward / 12
|
|
compounds = duration_days / 30
|
|
compound_return = stake_amount * ((1 + monthly_rate) ** compounds - 1)
|
|
|
|
# Subtract validator fee
|
|
net_return = compound_return * (1 - self.validator_fee)
|
|
|
|
return net_return / stake_amount
|
|
\end{lstlisting}
|
|
|
|
\subsection{Liquidity Mining Optimization}
|
|
|
|
\textbf{Pool Selection Criteria:}
|
|
\begin{enumerate}
|
|
\item APY > 15\% minimum
|
|
\item Liquidity > \$1M minimum
|
|
\item Impermanent loss < 5\% historical
|
|
\item Protocol TVL > \$10M
|
|
\item Audit status: Verified
|
|
\end{enumerate}
|
|
|