Re-exports§
pub use apply::ApplyOutput;pub use apply::CommandEnvelope;pub use ledger::BalanceLedger;pub use ledger::BalanceProvider;pub use ledger::InMemoryLedger;pub use ledger::Ledger;pub use ledger::LedgerError;pub use margin_service::MarginService;pub use margin_service::SpanMarginService;pub use unified_engine::UnifiedEngine;
Modules§
- accepted_
state - apply
- State machine apply() interface for the unified engine.
- black_
scholes - bounded_
idempotence_ cache - Bounded idempotence cache for request_id deduplication.
- commitment_
store - engine_
deps - Shared dependency bundle for the UnifiedEngine and its sub-managers.
- engine_
snapshot - engine_
state_ snapshot - Persistent engine state snapshots for fast restart recovery.
- engine_
vol_ oracle - expiry_
manager - Expiry and settlement management.
- ledger
- Balance ledger types.
- liquidation_
manager - Pre-liquidation order blocking logic.
- margin_
manager - Margin checking logic for order admission.
- margin_
mode - margin_
service - Margin Service Module
- portfolio_
margin - Portfolio Margin (SPAN-style) account builders.
- restart_
components 🔒 - Concrete restart-owned state components wired to
hypercall-recovery. - unified_
engine
Enums§
- Engine
Command - Commands that mutate engine state.
- Margin
Mode - Per-wallet margin regime. Determines which margin engine path is used.