Expand description
Balance ledger types.
BalanceLedger is the engine-owned runtime source of truth for account
balances. Runtime cash movement must be reduced through BalanceUpdate
effects so replay, snapshots, and followers share one ordered contract.
Structs§
- Balance
Ledger - Engine-owned runtime balance ledger.
- InMemory
Ledger - In-memory test double for code that still exercises the async durable ledger trait.
- Ledger
Balance Provider - Mock
Balance Provider - Mock balance provider for tests – always returns zero balance.
Enums§
- Ledger
Error - Error type for ledger operations.
Traits§
- Balance
Provider - Read-only source for runtime account balances.
- Ledger
- Durable account balance persistence interface.