Files
papers/lux-credit-lending/sections/02-protocol-architecture.tex
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

58 lines
2.1 KiB
TeX

\section{Protocol Architecture}
\subsection{Core Components}
\begin{figure}[h]
\centering
\begin{verbatim}
+------------------------------------------------------------+
| Lux Credit Architecture |
+----------------------+-------------------------------------+
| Collateral Layer | Yield Layer |
+----------------------+-------------------------------------+
| * LUX (11% APY) | * Staking rewards |
| * BTC via M-Chain | * DeFi yield |
| * ETH via Bridge | * Liquidity mining |
| * Stablecoins | * Protocol fees |
+----------------------+-------------------------------------+
v v
+------------------------------------------+
| Loan Management |
+------------------------------------------+
| * 90% LTV calculation |
| * Automated repayment |
| * Cross-chain verification |
| * MPC threshold signatures |
+------------------------------------------+
\end{verbatim}
\caption{Lux Credit system architecture}
\end{figure}
\subsection{Self-Repaying Loan Mechanism}
\begin{algorithm}[H]
\caption{Lux Credit Loan Lifecycle}
\begin{algorithmic}[1]
\Function{CreateLoan}{$collateral, amount$}
\State Verify $amount \leq collateral \times 0.90$ \Comment{90\% LTV}
\State Deposit $collateral$ into yield strategy
\State Mint $amount$ of luxUSD
\State Record $loan = \{collateral, amount, startTime\}$
\State \Return $loan.id$
\EndFunction
\Function{AutoRepay}{$loan.id$}
\While{$loan.debt > 0$}
\State $yield \gets$ HarvestYield($loan.collateral$)
\State $repayAmount \gets \min(yield, loan.debt)$
\State $loan.debt \gets loan.debt - repayAmount$
\State Burn $repayAmount$ of luxUSD
\State Emit LoanRepayment($loan.id, repayAmount$)
\EndWhile
\State Release $loan.collateral$ to owner
\EndFunction
\end{algorithmic}
\end{algorithm}