Re-exports§
pub use db_ports::ApiAsyncDb;pub use db_ports::ApiRsmStateDb;pub use db_ports::ApiSyncDb;pub use quote_provider_cache::QuoteProviderCache;pub use quote_provider_cache::QuoteProviderConfig;
Modules§
- boundary
- Runtime ports shared between the API server and downstream services.
- db_
ports - Persistence trait aliases used by the API runtime and admin surfaces.
- drain
- Shared drain-marker helpers.
- error
- quote_
provider_ cache - recovery_
safety - rpi_
monitor - sonic_
json - trading_
halt - valuation
Structs§
- Agent
Auth Request - Agent authorization request sent by the API to approve or revoke agents through the engine’s command stream.
- Build
Info - Build/version metadata surfaced by health and recovery endpoints.
- Cash
Withdrawal Apply Receipt - Cash
Withdrawal Request - Deposit
Request - Deposit request sent from faucet/admin handlers to update balance_ledger.
- Engine
Quiesce Report - Report returned after the engine crosses a quiesce or resume barrier.
- Engine
Quiesce Request - Engine-level quiesce control for restart and blue/green drain barriers.
- Hypercore
Equity Request - HyperCore equity update from the Hydromancer feed for PM margin.
- Liquidation
Bonus Request - Liquidation bonus request sent from the chain observer to update balance_ledger.
- Margin
Mode Update Request - Margin mode update request sent by the API to keep engine-owned admission state in sync with the tier cache.
- Market
Request - Market management request sent to the runtime engine task.
- Nonce
Check Request - Nonce-only request sent by QP handshakes to advance the per-wallet nonce watermark through the engine command stream.
- Option
Deposit Request - Option-token deposit request sent from the chain observer to update engine-owned option inventory.
- Option
Withdrawal Apply Receipt - Option
Withdrawal Request - PmSettlement
Admin Request - Journaled PM settlement admin mutation request.
- Quote
Snapshot - RfqExecute
Command - RfqExecute
Leg - RfqExecute
Request - Request to execute an RFQ trade through the engine.
- Runtime
Order Summary - Runtime-owned summary of an open order from an engine snapshot.
- Shutdown
- Unified shutdown signal broadcaster.
- Snapshot
Book Quote - Per-symbol orderbook quote from an engine snapshot.
- System
Credit Option Directive - Tier
Update Request - Tier update sent from runtime handlers to refresh engine-owned admission state.
- Unified
Engine Request - Request to the unified engine order path.
Enums§
- Book
Snapshot State - Snapshot readiness for book-based routing.
- Engine
Quiesce Action - Control action for an engine quiesce barrier.
- RfqExecute
Result - Standby
Promote Outcome - Outcome of promoting a standby engine to active.
Statics§
- PENDING_
ENGINE_ 🔒REQUESTS - Global counter for pending engine requests.
Traits§
- Agent
Auth Provider - Read-only interface for checking agent authorization from an engine snapshot.
- Engine
Event Persistence - Order
Snapshot Provider - Read-only interface for accessing open orders from an engine snapshot.
- Quote
Provider - Read-only interface for accessing orderbook quotes.
- Standby
Promoter - Promotes a standby engine to active.
Functions§
Type Aliases§
- Shutdown
Rx - Receiver half for shutdown signals.