Skip to main content

Crate hypercall_runtime_api

Crate hypercall_runtime_api 

Source

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§

AgentAuthRequest
Agent authorization request sent by the API to approve or revoke agents through the engine’s command stream.
BuildInfo
Build/version metadata surfaced by health and recovery endpoints.
CashWithdrawalApplyReceipt
CashWithdrawalRequest
DepositRequest
Deposit request sent from faucet/admin handlers to update balance_ledger.
EngineQuiesceReport
Report returned after the engine crosses a quiesce or resume barrier.
EngineQuiesceRequest
Engine-level quiesce control for restart and blue/green drain barriers.
HypercoreEquityRequest
HyperCore equity update from the Hydromancer feed for PM margin.
LiquidationBonusRequest
Liquidation bonus request sent from the chain observer to update balance_ledger.
MarginModeUpdateRequest
Margin mode update request sent by the API to keep engine-owned admission state in sync with the tier cache.
MarketRequest
Market management request sent to the runtime engine task.
NonceCheckRequest
Nonce-only request sent by QP handshakes to advance the per-wallet nonce watermark through the engine command stream.
OptionDepositRequest
Option-token deposit request sent from the chain observer to update engine-owned option inventory.
OptionWithdrawalApplyReceipt
OptionWithdrawalRequest
PmSettlementAdminRequest
Journaled PM settlement admin mutation request.
QuoteSnapshot
RfqExecuteCommand
RfqExecuteLeg
RfqExecuteRequest
Request to execute an RFQ trade through the engine.
RuntimeOrderSummary
Runtime-owned summary of an open order from an engine snapshot.
Shutdown
Unified shutdown signal broadcaster.
SnapshotBookQuote
Per-symbol orderbook quote from an engine snapshot.
SystemCreditOptionDirective
TierUpdateRequest
Tier update sent from runtime handlers to refresh engine-owned admission state.
UnifiedEngineRequest
Request to the unified engine order path.

Enums§

BookSnapshotState
Snapshot readiness for book-based routing.
EngineQuiesceAction
Control action for an engine quiesce barrier.
RfqExecuteResult
StandbyPromoteOutcome
Outcome of promoting a standby engine to active.

Statics§

PENDING_ENGINE_REQUESTS 🔒
Global counter for pending engine requests.

Traits§

AgentAuthProvider
Read-only interface for checking agent authorization from an engine snapshot.
EngineEventPersistence
OrderSnapshotProvider
Read-only interface for accessing open orders from an engine snapshot.
QuoteProvider
Read-only interface for accessing orderbook quotes.
StandbyPromoter
Promotes a standby engine to active.

Functions§

decrement_pending_requests
encode_credit_option_action
get_pending_requests
increment_pending_requests

Type Aliases§

ShutdownRx
Receiver half for shutdown signals.