ProtocolParams

scalus.cardano.ledger.ProtocolParams
See theProtocolParams companion class

Attributes

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

Members list

Type members

Classlikes

case class ParamDiff(field: String, expected: String, actual: String)

A single field difference between two ProtocolParams

A single field difference between two ProtocolParams

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def diff(expected: ProtocolParams, actual: ProtocolParams): Seq[ParamDiff]

Compare two ProtocolParams and return all field-level differences. Returns empty Seq if they are equal. Uses productElementNames/productIterator for automatic field enumeration.

Compare two ProtocolParams and return all field-level differences. Returns empty Seq if they are equal. Uses productElementNames/productIterator for automatic field enumeration.

Attributes

def fromBlockfrostJson(json: String): ProtocolParams

Reads ProtocolParams from JSON string in Blockfrost format

Reads ProtocolParams from JSON string in Blockfrost format

Attributes

def fromBlockfrostJson(json: InputStream): ProtocolParams

Reads ProtocolParams from JSON string in Blockfrost format

Reads ProtocolParams from JSON string in Blockfrost format

Attributes

def fromCardanoCliJson(json: String): ProtocolParams

Reads ProtocolParams from JSON string in Cardano CLI format

Reads ProtocolParams from JSON string in Cardano CLI format

Attributes

def fromCardanoCliJson(json: InputStream): ProtocolParams

Reads ProtocolParams from JSON string in Cardano CLI format

Reads ProtocolParams from JSON string in Cardano CLI format

Attributes

Concrete fields