mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
A July commit removed eight papers on the premise "no license — DEX/non-custodial only". That premise is wrong: Lux operates an ATS, a broker-dealer, a transfer agent and a bank, and this material is resold at lux.financial. The merge that brought main in preserved the removal because the commit stated a reason, which is how a stale reason outlives the fact it rested on. Back, at the versions main carried — main never received the removal, so its copies are the later ones: the ATS architecture, the security-token standard, smart order routing, institutional custody, MPC custody, post-quantum securities, the SSB partnership and the CoinBridge brief. 83 files. Co-authored-by: Hanzo Dev <[email protected]>
73 lines
2.1 KiB
TeX
73 lines
2.1 KiB
TeX
\section{Settlement}
|
|
\label{sec:settlement}
|
|
|
|
\subsection{Atomic T+0 Settlement}
|
|
|
|
Settlement occurs atomically on Lux EVM. A settlement transaction bundles the securities transfer and the payment transfer into a single atomic operation:
|
|
|
|
\begin{lstlisting}[language=Solidity,caption={Atomic settlement contract.}]
|
|
contract AtomicSettlement {
|
|
function settle(
|
|
address securityToken,
|
|
address paymentToken,
|
|
address seller,
|
|
address buyer,
|
|
uint256 securityAmount,
|
|
uint256 paymentAmount,
|
|
bytes calldata mpcSignature
|
|
) external {
|
|
require(
|
|
verifyMPCSignature(
|
|
keccak256(abi.encodePacked(
|
|
securityToken, paymentToken,
|
|
seller, buyer,
|
|
securityAmount, paymentAmount
|
|
)),
|
|
mpcSignature
|
|
),
|
|
"invalid MPC signature"
|
|
);
|
|
|
|
IERC1400(securityToken).transferByPartition(
|
|
DEFAULT_PARTITION,
|
|
seller,
|
|
buyer,
|
|
securityAmount,
|
|
""
|
|
);
|
|
|
|
IERC20(paymentToken).transferFrom(
|
|
buyer, seller, paymentAmount
|
|
);
|
|
|
|
emit Settled(
|
|
securityToken, seller, buyer,
|
|
securityAmount, paymentAmount,
|
|
block.timestamp
|
|
);
|
|
}
|
|
}
|
|
\end{lstlisting}
|
|
|
|
\subsection{Settlement Finality}
|
|
|
|
Lux consensus provides probabilistic finality within 1--2 seconds. For securities settlement, the ATS waits for deterministic finality (block confirmation) before updating the settlement status. The settlement timeline comparison:
|
|
|
|
\begin{table}[H]
|
|
\centering
|
|
\caption{Settlement time comparison.}
|
|
\label{tab:settlement}
|
|
\begin{tabular}{lll}
|
|
\toprule
|
|
\textbf{System} & \textbf{Settlement Time} & \textbf{Counterparty Risk} \\
|
|
\midrule
|
|
Traditional equities (DTCC) & T+1 & Full during settlement period \\
|
|
tZERO & T+0 (claimed) & Custodial during settlement \\
|
|
Securitize Markets & T+1 to T+3 & Custodial during settlement \\
|
|
INX & T+0 to T+2 & Custodial during settlement \\
|
|
\textbf{Lux ATS} & \textbf{T+0 atomic} & \textbf{None (non-custodial)} \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\end{table}
|
|
|