Skip to main content

hypercall_runtime_api/
boundary.rs

1//! Runtime ports shared between the API server and downstream services.
2//!
3//! These trait definitions are the canonical homes. They live in
4//! `hypercall-runtime-api` so admin/operator surfaces can depend on them
5//! without reaching into `hypercall-api` internals.
6
7pub mod engine;
8pub mod market_inputs;
9pub mod read_models;
10
11pub use engine::{
12    EngineJournalReader, EngineStateDigest, EngineStateDigestProvider, TransactionRequestJournal,
13};
14pub use market_inputs::{GreeksCacheReader, InstrumentsCacheReader, MarketStatsCacheReader};
15pub use read_models::{
16    BalanceLedgerSyncSnapshot, BalanceProvider, EngineBalanceSnapshotProvider, MarginInfo,
17    MmpCacheApi, PmRiskGridData, PortfolioCacheApi, PortfolioSummary, PositionSummary,
18    TierCacheApi, WalletMarginSnapshot,
19};