PrismStateFS
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PrismStateReadclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Returns
-
EventCursor of the latest Event
Gets a specific event by its EventHash.
Returns every event whose (b, o) is strictly greater than from, each carrying its rootRef, sorted ascending by (b, o).
Returns every event whose (b, o) is strictly greater than from, each carrying its rootRef, sorted ascending by (b, o).
Used for incremental tooling (e.g. exporters that resume from a .cursor file).
The default implementation walks all SSI/VDR refs and fetches each matching event individually — backends with a native query (e.g. MongoDB) should override for efficiency.
Value parameters
- from
-
Lower-exclusive bound. Pass EventCursor.init to fetch everything.
Attributes
- Definition Classes
Fetches all events in the chain for the given DID.
Fetches all events in the chain for the given DID.
Attributes
- Returns
-
ZIO effect that may fail with
Throwable(RuntimeException if event hash missing or type validation fails) and succeeds with sequence of DID-related fmgp.did.method.prism.proto.MySignedPrismEvent - Definition Classes
Fetches all events in the chain for the given VDR reference.
Fetches all events in the chain for the given VDR reference.
Value parameters
- refVDR
-
The VDR reference to query
Attributes
- Returns
-
ZIO effect that may fail with
Throwable(RuntimeException if event hash missing or type validation fails) and succeeds with sequence of storage-related fmgp.did.method.prism.proto.MySignedPrismEvent - Definition Classes
Returns event references for a specific SSI DID.
Returns event references for a specific SSI DID.
Attributes
Returns event references for a specific VDR.
Returns event references for a specific VDR.
Attributes
Returns mapping of all SSI DIDs to their event references.
Returns mapping of all SSI DIDs to their event references.
Attributes
- Note
-
TODO: make it a Stream of (DIDSubject, Seq[EventRef])
Returns mapping of all VDRs to their event references.
Returns mapping of all VDRs to their event references.
Attributes
- Note
-
TODO: make it a Stream of (RefVDR, Seq[EventRef])
Inherited methods
Gets the current SSI state.
Gets the full SSIHistory for a SSI.
Gets the VDR state with full ownership validation.
Returns the last synced block timestamp.
Returns the last synced block timestamp.
Attributes
- Returns
-
Tuple of (epoch seconds, nanoseconds)
- Note
-
Current implementation returns current time (FIXME: should track actual sync state)
- Inherited from:
- PrismStateRead
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Returns count of SSI DIDs in the state.
Returns count of SSI DIDs in the state.
Attributes
- Note
-
TODO: improve in specific implementations for better performance
- Inherited from:
- PrismStateRead
Returns count of VDRs in the state.
Returns count of VDRs in the state.
Attributes
- Note
-
TODO: improve in specific implementations for better performance
- Inherited from:
- PrismStateRead