ProtocolParamUpdate

scalus.cardano.ledger.ProtocolParamUpdate
See theProtocolParamUpdate companion class

Attributes

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

Members list

Type members

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

Givens

Givens

CBOR Decoder for ProtocolParamUpdate. Decodes from a map with integer keys and corresponding values.

CBOR Decoder for ProtocolParamUpdate. Decodes from a map with integer keys and corresponding values.

Attributes

CBOR Encoder for ProtocolParamUpdate. Encodes as a map with integer keys and corresponding values for each set parameter.

CBOR Encoder for ProtocolParamUpdate. Encodes as a map with integer keys and corresponding values for each set parameter.

Attributes

Converts Plutus Data representation back to ProtocolParamUpdate.

Converts Plutus Data representation back to ProtocolParamUpdate.

According to the Cardano ledger specification, protocol parameter updates are represented as a Data.Map with integer keys (0-33) mapping to their respective parameter values. This decodes the map back to a ProtocolParamUpdate instance.

Attributes

Converts ProtocolParamUpdate to Plutus Data representation.

Converts ProtocolParamUpdate to Plutus Data representation.

According to the Cardano ledger specification, protocol parameter updates are represented as a Data.Map with integer keys (0-33) mapping to their respective parameter values. Only non-None fields are included in the map.

The mapping follows the CDDL specification: key -> Int key 0 -> minFeeA key 1 -> minFeeB key 2 -> maxBlockBodySize ... key 33 -> minFeeRefScriptCoinsPerByte

Attributes