DRep

scalus.cardano.ledger.DRep
See theDRep companion enum
object DRep

Attributes

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

Members list

Type members

Classlikes

object given_Decoder_DRep extends Decoder[DRep]

CBOR Decoder for DRep. Decodes from a tagged array:

CBOR Decoder for DRep. Decodes from a tagged array:

  • [0, keyHash] for KeyHash
  • [1, scriptHash] for ScriptHash
  • [2] for AlwaysAbstain
  • [3] for AlwaysNoConfidence

Attributes

Supertypes
trait Decoder[DRep]
class Object
trait Matchable
class Any
Self type
object given_Encoder_DRep extends Encoder[DRep]

CBOR Encoder for DRep. Encodes as a tagged array:

CBOR Encoder for DRep. Encodes as a tagged array:

  • [0, keyHash] for KeyHash
  • [1, scriptHash] for ScriptHash
  • [2] for AlwaysAbstain
  • [3] for AlwaysNoConfidence

Attributes

Supertypes
trait Encoder[DRep]
class Object
trait Matchable
class Any
Self type

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 DRep. Decodes from a tagged array:

CBOR Decoder for DRep. Decodes from a tagged array:

  • [0, keyHash] for KeyHash
  • [1, scriptHash] for ScriptHash
  • [2] for AlwaysAbstain
  • [3] for AlwaysNoConfidence

Attributes

CBOR Encoder for DRep. Encodes as a tagged array:

CBOR Encoder for DRep. Encodes as a tagged array:

  • [0, keyHash] for KeyHash
  • [1, scriptHash] for ScriptHash
  • [2] for AlwaysAbstain
  • [3] for AlwaysNoConfidence

Attributes