Files
zeekay abf99d05fc papers: reorganize into per-paper dirs, add Antje Worring as co-author
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.
2026-04-18 21:50:07 -07:00

45 lines
1.8 KiB
TeX

\section{Message Envelope}
Every cross-chain message is encoded as a typed envelope with 13 mandatory fields:
\begin{center}
\begin{tabular}{rlll}
\toprule
\textbf{\#} & \textbf{Field} & \textbf{Type} & \textbf{Purpose} \\
\midrule
1 & \texttt{version} & \texttt{uint8} & Protocol version (currently 1) \\
2 & \texttt{type} & \texttt{uint8} & Message type (DEPOSIT/BURN/RELEASE/BACKING) \\
3 & \texttt{srcChain} & \texttt{uint256} & Source chain identifier \\
4 & \texttt{dstChain} & \texttt{uint256} & Destination chain identifier \\
5 & \texttt{router} & \texttt{address} & Source chain router contract \\
6 & \texttt{asset} & \texttt{bytes32} & Canonical asset identifier \\
7 & \texttt{nonce} & \texttt{uint256} & Per-router monotonic sequence number \\
8 & \texttt{amount} & \texttt{uint256} & Transfer amount \\
9 & \texttt{recipient} & \texttt{bytes32} & Destination address (chain-agnostic) \\
10 & \texttt{expiry} & \texttt{uint64} & Message expiry (Unix timestamp) \\
11 & \texttt{originTxHash} & \texttt{bytes32} & Source chain transaction hash \\
12 & \texttt{payloadHash} & \texttt{bytes32} & SHA-256 of additional payload data \\
13 & \texttt{domainSeparator} & \texttt{bytes32} & See Section~\ref{sec:domain} \\
\bottomrule
\end{tabular}
\end{center}
No field is optional. Missing or zero-valued fields cause immediate rejection.
\subsection{Message Types}
\begin{center}
\begin{tabular}{lll}
\toprule
\textbf{Type} & \textbf{Direction} & \textbf{Semantics} \\
\midrule
\texttt{DEPOSIT} & User $\to$ Source chain & Lock assets in source vault \\
\texttt{BURN} & Source chain $\to$ MPC & Notify MPC of locked assets \\
\texttt{RELEASE} & MPC $\to$ Destination chain & Release wrapped/native assets \\
\texttt{BACKING} & MPC $\to$ Source chain & Confirm backing (monotonic attestation) \\
\bottomrule
\end{tabular}
\end{center}