Skip to content
UMBRA
Terminal

Umbra Architecture

Executive view

Umbra separates five concerns: private identity/balances, sealed order intake, deterministic auction clearing, risk/margin accounting, and settlement to an external venue. These must be independently testable.

Logical flow

shieldsealed commitcommit rootWalletPrivate VaultPrivate Alias / Margin LedgerTrading TerminalAuction CoordinatorAuction HouseReveal / threshold decryptClearing EngineSettlementInternal matched fillsResidual external exec.External venueIndexer + Reconciliation

Component boundaries

  • Contracts own custody, authorization, epoch state, commitment uniqueness, settlement accounting and risk limits.
  • Off-chain services coordinate encrypted data, compute candidate clearing results, relay signed transactions and monitor external execution.
  • Client owns user keys, order construction and local decryption wherever practical.
  • Public APIs expose only fields approved by the privacy model.

Critical interfaces

  • ICommitmentVerifier: verifies commitment domain, signature and epoch.
  • IAuctionClearing: pure deterministic clearing function over normalized orders.
  • IMarginLedger: reserve, release, debit and credit.
  • ISettlementAdapter: settle internal fills and route residual net exposure.
  • IPrivacyVerifier: verifies shielded spend proofs.

Design principle

Never let an off-chain coordinator decide an outcome that cannot be recomputed or verified by an independent observer. If the coordinator proposes a clearing result, the contract or a verifiable proof must enforce the rules.

NextAuction mechanics→