Files
zeekay 9504b4c3ef papers: cover-consistency + build pass on Lux Tier-2/3 catalogue
Sweep across the non-Tier-1 paper catalogue (Tier-1 owned by parallel
agent and excluded). All 113 processed papers already had luxcover
wired up; this commit fixes 14 build breakers and produces fresh
PDFs across the catalogue.

Fixes:
- lux-blockchain-scaling-laws: em-dash inside lstlisting -> --
- lux-corona-pq: stale \input pointing at 03-the-corona-scheme renamed
  to 03-the-corona-scheme (file already renamed on disk)
- lux-lattice-cryptography-primer: same Corona->Corona rename
- lux-formal-verification-lean4: Lean source uses unicode (×, ∀, ∃, ∈,
  ∧, ∨, ∩, ≠, ⟨, ⟩, ·, ¬) inside lstlistings. Added a literate map
  so listings render the math glyphs without UTF-8 fault.
- lux-id-did-specification: ✓/✗ in tabular replaced with \ding{51}
  / \ding{55} (pifont). Added pifont package.
- lux-ntt-simd-implementation: middle-dot in Go assembly listings;
  added literate {·}{\textperiodcentered}.
- lux-ntt-transform: μ, ×, –, — in regular text (no T1 fontenc).
  Replaced with $\mu$/$\times$/--/--- via unicode->latex sweep.
- lux-perpetuals-derivatives, lux-quantum-consensus,
  lux-quasar-consensus, lux-tee-computing-mesh: same unicode->latex
  sweep across body text. Also fixed broken math segment
  `$L_{avg} = 10$\times$$` -> `$L_{avg} = 10\times$`.
- lux-zchain: emoji glyphs in roadmap table replaced with
  parenthetical text.
- lux-triple-proof-consensus: dropped duplicate \usepackage{geometry}
  that clashed with luxcover (geometry option clash).
- pq: defined missing \Rq macro.

PDFs rebuilt for the full Tier-2/3 set.

Excluded (Tier-1, parallel agent): lp-073-pulsar, lp-stricte2epq,
dag-evm-formal, lp-010-quasar-stm-{3,4}, lp-020-quasar-consensus,
lux-institutional-custody, lux-nist-mptc-submission, pqsafe-il5,
pq-rns, plus shared/ and lps/.
2026-05-13 01:27:59 -07:00

50 lines
1.6 KiB
TeX

\section{Oracle Integration}
\subsection{Price Feed Requirements}
Oracles must satisfy:
\begin{itemize}
\item \textbf{Latency}: < 100ms update time
\item \textbf{Frequency}: Minimum 1 update per block
\item \textbf{Sources}: $\geq$ 3 independent price feeds
\item \textbf{Deviation}: < 1\% between sources
\end{itemize}
\subsection{Manipulation Resistance}
We implement multiple safeguards:
\begin{algorithm}
\caption{Oracle Price Validation}
\begin{algorithmic}[1]
\STATE \textbf{function} validatePrice($\text{token}$, $\text{newPrice}$)
\STATE $\text{lastPrice} \gets \text{prices}[\text{token}]$
\STATE $\text{deviation} \gets |\text{newPrice} - \text{lastPrice}| / \text{lastPrice}$
\IF{$\text{deviation} > \text{maxDeviation}$}
\STATE \text{requestAdditionalSources}()
\STATE $\text{medianPrice} \gets \text{getMedianPrice}(\text{allSources})$
\IF{$|\text{newPrice} - \text{medianPrice}| / \text{medianPrice} > \text{threshold}$}
\RETURN $\text{InvalidPrice}$
\ENDIF
\ENDIF
\STATE $\text{twap} \gets \text{calculateTWAP}(\text{token}, \text{window})$
\IF{$|\text{newPrice} - \text{twap}| / \text{twap} > \text{twapDeviation}$}
\STATE \text{flagSuspiciousActivity}()
\ENDIF
\RETURN $\text{ValidPrice}$
\end{algorithmic}
\end{algorithm}
\subsection{Fallback Mechanisms}
Multi-tier oracle hierarchy ensures availability:
\begin{enumerate}
\item Primary: Chainlink price feeds
\item Secondary: Band Protocol oracles
\item Tertiary: TWAP from DEX pools
\item Emergency: Last known good price with trading halt
\end{enumerate}