PrismStateInMemory

fmgp.did.method.prism.PrismStateInMemory
See thePrismStateInMemory companion object
case class PrismStateInMemory(ref: Ref[PrismStateInMemoryData]) extends PrismState

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait PrismState
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def addEvent(op: MySignedPrismEvent[OP]): ZIO[Any, Nothing, Unit]

We add/index events with out validating them.

We add/index events with out validating them.

Validation is then when it's been resolved.

Attributes

Definition Classes
def didDocuments: ZIO[Any, Nothing, Seq[DIDDocument]]
override def getEventsByHash(refHash: EventHash): ZIO[Any, Nothing, Option[MySignedPrismEvent[OP]]]

Attributes

Definition Classes
override def getEventsIdBySSI(ssi: DIDSubject): ZIO[Any, Nothing, Seq[EventRef]]

Attributes

Definition Classes
override def getEventsIdByVDR(id: RefVDR): ZIO[Any, Nothing, Seq[EventRef]]

Attributes

Definition Classes
def makeSSI: ZIO[Any, Nothing, Seq[SSI]]
override def ssi2eventsRef: ZIO[Any, Nothing, Map[DIDSubject, Seq[EventRef]]]

Attributes

Definition Classes
final def ssiFromPreviousEventHash(previousHash: String): ZIO[Any, Nothing, Option[String]]
override def vdr2eventsRef: ZIO[Any, Nothing, Map[RefVDR, Seq[EventRef]]]

Attributes

Definition Classes
final def vdrFromPreviousEventHash(previousHash: String): ZIO[Any, Nothing, Option[RefVDR]]

Inherited methods

def addMaybeEvent(maybeEvent: MaybeEvent[OP]): ZIO[Any, Exception, Unit]

Attributes

Inherited from:
PrismState
def getSSI(ssi: DIDSubject): ZIO[Any, Throwable, SSI]

Attributes

Inherited from:
PrismStateRead

Attributes

Inherited from:
PrismStateRead
def getVDR(ref: RefVDR): ZIO[Any, Throwable, VDR]

Attributes

Inherited from:
PrismStateRead

Attributes

Inherited from:
PrismStateRead

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def ssiCount: ZIO[Any, Nothing, Int]

Attributes

Inherited from:
PrismStateRead
def vdrCount: ZIO[Any, Nothing, Int]

Attributes

Inherited from:
PrismStateRead