fmgp.prism

package fmgp.prism

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class CardanoMetadataCBOR(index: Int, tx: String, cbor: String) extends CardanoMetadata

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CardanoMetadataJson(index: Int, tx: String, content: Json) extends CardanoMetadata

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CardanoPrismEntry(index: Int, tx: String, content: PrismObject)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CardanoTransactionMetadataPrismCBOR(version: Int, protoBytes: Array[Byte])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CreateDidOP(publicKeys: Seq[PrismPublicKey], services: Seq[MyService], context: Seq[String]) extends OP

Value parameters

context

(4) The list of @ context values to consider on JSON-LD representations

publicKeys

(2) The keys that belong to this DID Document.

services

(3) The list of services that belong to this DID Document.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all
object CreateDidOP

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CreateStorageEntryOP(value: String) extends OP

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object CrytoUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CrytoUtil.type
case class DeactivateDidOP(previousOperationHash: String, id: String) extends OP

Value parameters

id

(2) - DID Suffix of the DID to be deactivated

previous_operation_hash

(1) - The hash of the most recent operation that was used to create or update the DID.

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Indexer extends ZIOAppDefault

Attributes

Supertypes
trait ZIOAppDefault
trait ZIOApp
class Object
trait Matchable
class Any
Self type
Indexer.type
case class IndexerConfig(apiKey: Option[String], workdir: String, network: String)

Value parameters

apiKey

blockfrost API key

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class InvalidPrismObject(tx: String, b: Int, reason: String) extends MaybeOperation[Nothing], PrismBlockIndex

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait MaybeOperation[Nothing]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class InvalidSignedPrismOperation(tx: String, b: Int, o: Int, reason: String) extends MaybeOperation[Nothing], PrismOperationIndex

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait MaybeOperation[Nothing]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class IssueCredentialBatchOP(value: String) extends OP

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait MaybeOperation[+T <: OP]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class MyService(id: String, `type`: String, serviceEndpoint: String)

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MyService.type
case class MySignedPrismOperation[+T <: OP](tx: String, b: Int, o: Int, signedWith: String, signature: Array[Byte], operation: T, protobuf: PrismOperation) extends MaybeOperation[T], PrismOperationIndex

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait MaybeOperation[T]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait OP

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object OP

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
OP.type
case class OpId(b: Int, o: Int, opHash: String)

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
OpId.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PrismKeyUsage

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait PrismPublicKey

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ProtocolVersionUpdateOP(value: String) extends OP

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class RevokeCredentialsOP(value: String) extends OP

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SSI(did: String, latestHash: Option[String], keys: Seq[UncompressedECKey | CompressedECKey], services: Seq[MyService], context: Seq[String], disabled: Boolean)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
SSI
object SSI

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SSI.type
object SharedCryto

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object State

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
State.type
case class State(opHash2op: Map[String, MySignedPrismOperation[OP]], tx2opId: Map[String, Seq[OpId]], ssi2opId: Map[String, Seq[OpId]])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UpdateDidOP(previousOperationHash: String, id: String, actions: Seq[Action]) extends OP

Value parameters

actions

(3) The actual updates to perform on the DID.

id

(2) - exclude TODO: To be redefined after we start using this operation.

previous_operation_hash

(1) - The hash of the most recent operation that was used to create or update the DID.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all
object UpdateDidOP

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class UpdateStorageEntryOP(value: String) extends OP

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class VoidOP(reason: String) extends OP

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait OP
class Object
trait Matchable
class Any
Show all