scalus.cardano.ledger.DRep
See theDRep companion enum
object DRep
Attributes
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
- Self type
-
given_Decoder_DRep.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
- Self type
-
given_Encoder_DRep.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
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
In this article