Safe Haskell | None |
---|---|
Language | Haskell2010 |
DRep off-chain metadata
Synopsis
- newtype DRepMetadata = DRepMetadata {}
- hashDRepMetadata :: ByteString -> (DRepMetadata, Hash DRepMetadata)
- data family AsType t
- data family Hash keyrole
DRep off-chain metadata
newtype DRepMetadata Source #
A representation of the required fields for off-chain drep metadata.
Instances
Show DRepMetadata Source # | |||||
Defined in Cardano.Api.DRepMetadata | |||||
HasTypeProxy DRepMetadata Source # | |||||
Defined in Cardano.Api.DRepMetadata
| |||||
Eq DRepMetadata Source # | |||||
Defined in Cardano.Api.DRepMetadata (==) :: DRepMetadata -> DRepMetadata -> Bool Source # (/=) :: DRepMetadata -> DRepMetadata -> Bool Source # | |||||
Show (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.DRepMetadata | |||||
SerialiseAsRawBytes (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.DRepMetadata | |||||
Eq (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.DRepMetadata (==) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # (/=) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # | |||||
data AsType DRepMetadata Source # | |||||
Defined in Cardano.Api.DRepMetadata | |||||
newtype Hash DRepMetadata Source # | |||||
Defined in Cardano.Api.DRepMetadata |
hashDRepMetadata :: ByteString -> (DRepMetadata, Hash DRepMetadata) Source #
Return the decoded metadata and the hash of the original bytes.
Data family instances
A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.
Values of this type are passed to deserialisation functions for example.
Instances
data family Hash keyrole Source #