Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hydra multi-signature credentials and cryptographic primitives used to sign and verify snapshots (or any messages) within the Hydra protocol.
We are re-using the Key
interface of 'cardano-api' for a consistent
representation. For example: Cardano credentials are 'VerificationKey
PaymentKey', Hydra credentials are 'VerificationKey HydraKey'.
Currently MultiSignature
interface is only supporting naiive, concatenated
multi-signatures and will change when we adopt aggregated multi-signatures
including aggregate keys.
Synopsis
- class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where
- data VerificationKey keyrole
- data SigningKey keyrole
- getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole
- deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole
- deterministicSigningKeySeedSize :: AsType keyrole -> Word
- verificationKeyHash :: VerificationKey keyrole -> Hash keyrole
- data family Hash keyrole
- data family AsType t
- newtype MultiSignature a = HydraMultiSignature {
- multiSignature :: [Signature a]
- data HydraKey
- newtype Signature a = HydraSignature (SigDSIGN Ed25519DSIGN)
- data Verified
- = Verified
- | FailedKeys { }
- | KeyNumberMismatch
- pattern HydraKeyHash :: Hash Blake2b_256 (VerificationKey HydraKey) -> Hash HydraKey
- pattern AsHydraKey :: AsType HydraKey
- pattern HydraVerificationKey :: VerKeyDSIGN Ed25519DSIGN -> VerificationKey HydraKey
- pattern HydraSigningKey :: SignKeyDSIGN Ed25519DSIGN -> SigningKey HydraKey
- sign :: SignableRepresentation a => SigningKey HydraKey -> a -> Signature a
- toPlutusSignatures :: MultiSignature a -> [Signature]
- aggregate :: [Signature a] -> MultiSignature a
- generateSigningKey :: ByteString -> SigningKey HydraKey
- verify :: SignableRepresentation a => VerificationKey HydraKey -> Signature a -> a -> Bool
- aggregateInOrder :: Ord k => Map k (Signature a) -> [k] -> MultiSignature a
- verifyMultiSignature :: SignableRepresentation a => [VerificationKey HydraKey] -> MultiSignature a -> a -> Verified
Cardano Key interface
class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where #
data VerificationKey keyrole #
data SigningKey keyrole #
getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole #
deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole #
deterministicSigningKeySeedSize :: AsType keyrole -> Word #
verificationKeyHash :: VerificationKey keyrole -> Hash keyrole #
Instances
Key ByronKey | |
Defined in Cardano.Api.Keys.Byron data VerificationKey ByronKey # data SigningKey ByronKey # getVerificationKey :: SigningKey ByronKey -> VerificationKey ByronKey # deterministicSigningKey :: AsType ByronKey -> Seed -> SigningKey ByronKey # deterministicSigningKeySeedSize :: AsType ByronKey -> Word # verificationKeyHash :: VerificationKey ByronKey -> Hash ByronKey # | |
Key ByronKeyLegacy | |
Defined in Cardano.Api.Keys.Byron data VerificationKey ByronKeyLegacy # data SigningKey ByronKeyLegacy # getVerificationKey :: SigningKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy # deterministicSigningKey :: AsType ByronKeyLegacy -> Seed -> SigningKey ByronKeyLegacy # deterministicSigningKeySeedSize :: AsType ByronKeyLegacy -> Word # verificationKeyHash :: VerificationKey ByronKeyLegacy -> Hash ByronKeyLegacy # | |
Key KesKey | |
Defined in Cardano.Api.Keys.Praos data VerificationKey KesKey # data SigningKey KesKey # getVerificationKey :: SigningKey KesKey -> VerificationKey KesKey # deterministicSigningKey :: AsType KesKey -> Seed -> SigningKey KesKey # deterministicSigningKeySeedSize :: AsType KesKey -> Word # verificationKeyHash :: VerificationKey KesKey -> Hash KesKey # | |
Key VrfKey | |
Defined in Cardano.Api.Keys.Praos data VerificationKey VrfKey # data SigningKey VrfKey # getVerificationKey :: SigningKey VrfKey -> VerificationKey VrfKey # deterministicSigningKey :: AsType VrfKey -> Seed -> SigningKey VrfKey # deterministicSigningKeySeedSize :: AsType VrfKey -> Word # verificationKeyHash :: VerificationKey VrfKey -> Hash VrfKey # | |
Key CommitteeColdExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey CommitteeColdExtendedKey # data SigningKey CommitteeColdExtendedKey # getVerificationKey :: SigningKey CommitteeColdExtendedKey -> VerificationKey CommitteeColdExtendedKey # deterministicSigningKey :: AsType CommitteeColdExtendedKey -> Seed -> SigningKey CommitteeColdExtendedKey # deterministicSigningKeySeedSize :: AsType CommitteeColdExtendedKey -> Word # verificationKeyHash :: VerificationKey CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey # | |
Key CommitteeColdKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey CommitteeColdKey # data SigningKey CommitteeColdKey # getVerificationKey :: SigningKey CommitteeColdKey -> VerificationKey CommitteeColdKey # deterministicSigningKey :: AsType CommitteeColdKey -> Seed -> SigningKey CommitteeColdKey # deterministicSigningKeySeedSize :: AsType CommitteeColdKey -> Word # verificationKeyHash :: VerificationKey CommitteeColdKey -> Hash CommitteeColdKey # | |
Key CommitteeHotExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey CommitteeHotExtendedKey # data SigningKey CommitteeHotExtendedKey # getVerificationKey :: SigningKey CommitteeHotExtendedKey -> VerificationKey CommitteeHotExtendedKey # deterministicSigningKey :: AsType CommitteeHotExtendedKey -> Seed -> SigningKey CommitteeHotExtendedKey # deterministicSigningKeySeedSize :: AsType CommitteeHotExtendedKey -> Word # verificationKeyHash :: VerificationKey CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey # | |
Key CommitteeHotKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey CommitteeHotKey # data SigningKey CommitteeHotKey # getVerificationKey :: SigningKey CommitteeHotKey -> VerificationKey CommitteeHotKey # deterministicSigningKey :: AsType CommitteeHotKey -> Seed -> SigningKey CommitteeHotKey # deterministicSigningKeySeedSize :: AsType CommitteeHotKey -> Word # verificationKeyHash :: VerificationKey CommitteeHotKey -> Hash CommitteeHotKey # | |
Key DRepExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey DRepExtendedKey # data SigningKey DRepExtendedKey # getVerificationKey :: SigningKey DRepExtendedKey -> VerificationKey DRepExtendedKey # deterministicSigningKey :: AsType DRepExtendedKey -> Seed -> SigningKey DRepExtendedKey # deterministicSigningKeySeedSize :: AsType DRepExtendedKey -> Word # verificationKeyHash :: VerificationKey DRepExtendedKey -> Hash DRepExtendedKey # | |
Key DRepKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey DRepKey # data SigningKey DRepKey # getVerificationKey :: SigningKey DRepKey -> VerificationKey DRepKey # deterministicSigningKey :: AsType DRepKey -> Seed -> SigningKey DRepKey # deterministicSigningKeySeedSize :: AsType DRepKey -> Word # verificationKeyHash :: VerificationKey DRepKey -> Hash DRepKey # | |
Key GenesisDelegateExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey GenesisDelegateExtendedKey # data SigningKey GenesisDelegateExtendedKey # getVerificationKey :: SigningKey GenesisDelegateExtendedKey -> VerificationKey GenesisDelegateExtendedKey # deterministicSigningKey :: AsType GenesisDelegateExtendedKey -> Seed -> SigningKey GenesisDelegateExtendedKey # deterministicSigningKeySeedSize :: AsType GenesisDelegateExtendedKey -> Word # verificationKeyHash :: VerificationKey GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey # | |
Key GenesisDelegateKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey GenesisDelegateKey # data SigningKey GenesisDelegateKey # getVerificationKey :: SigningKey GenesisDelegateKey -> VerificationKey GenesisDelegateKey # deterministicSigningKey :: AsType GenesisDelegateKey -> Seed -> SigningKey GenesisDelegateKey # deterministicSigningKeySeedSize :: AsType GenesisDelegateKey -> Word # verificationKeyHash :: VerificationKey GenesisDelegateKey -> Hash GenesisDelegateKey # | |
Key GenesisExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey GenesisExtendedKey # data SigningKey GenesisExtendedKey # getVerificationKey :: SigningKey GenesisExtendedKey -> VerificationKey GenesisExtendedKey # deterministicSigningKey :: AsType GenesisExtendedKey -> Seed -> SigningKey GenesisExtendedKey # deterministicSigningKeySeedSize :: AsType GenesisExtendedKey -> Word # verificationKeyHash :: VerificationKey GenesisExtendedKey -> Hash GenesisExtendedKey # | |
Key GenesisKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey GenesisKey # data SigningKey GenesisKey # getVerificationKey :: SigningKey GenesisKey -> VerificationKey GenesisKey # deterministicSigningKey :: AsType GenesisKey -> Seed -> SigningKey GenesisKey # deterministicSigningKeySeedSize :: AsType GenesisKey -> Word # verificationKeyHash :: VerificationKey GenesisKey -> Hash GenesisKey # | |
Key GenesisUTxOKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey GenesisUTxOKey # data SigningKey GenesisUTxOKey # getVerificationKey :: SigningKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey # deterministicSigningKey :: AsType GenesisUTxOKey -> Seed -> SigningKey GenesisUTxOKey # deterministicSigningKeySeedSize :: AsType GenesisUTxOKey -> Word # verificationKeyHash :: VerificationKey GenesisUTxOKey -> Hash GenesisUTxOKey # | |
Key PaymentExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey PaymentExtendedKey # data SigningKey PaymentExtendedKey # getVerificationKey :: SigningKey PaymentExtendedKey -> VerificationKey PaymentExtendedKey # deterministicSigningKey :: AsType PaymentExtendedKey -> Seed -> SigningKey PaymentExtendedKey # deterministicSigningKeySeedSize :: AsType PaymentExtendedKey -> Word # verificationKeyHash :: VerificationKey PaymentExtendedKey -> Hash PaymentExtendedKey # | |
Key PaymentKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey PaymentKey # data SigningKey PaymentKey # getVerificationKey :: SigningKey PaymentKey -> VerificationKey PaymentKey # deterministicSigningKey :: AsType PaymentKey -> Seed -> SigningKey PaymentKey # deterministicSigningKeySeedSize :: AsType PaymentKey -> Word # verificationKeyHash :: VerificationKey PaymentKey -> Hash PaymentKey # | |
Key StakeExtendedKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey StakeExtendedKey # data SigningKey StakeExtendedKey # getVerificationKey :: SigningKey StakeExtendedKey -> VerificationKey StakeExtendedKey # deterministicSigningKey :: AsType StakeExtendedKey -> Seed -> SigningKey StakeExtendedKey # deterministicSigningKeySeedSize :: AsType StakeExtendedKey -> Word # verificationKeyHash :: VerificationKey StakeExtendedKey -> Hash StakeExtendedKey # | |
Key StakeKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey StakeKey # data SigningKey StakeKey # getVerificationKey :: SigningKey StakeKey -> VerificationKey StakeKey # deterministicSigningKey :: AsType StakeKey -> Seed -> SigningKey StakeKey # deterministicSigningKeySeedSize :: AsType StakeKey -> Word # verificationKeyHash :: VerificationKey StakeKey -> Hash StakeKey # | |
Key StakePoolKey | |
Defined in Cardano.Api.Keys.Shelley data VerificationKey StakePoolKey # data SigningKey StakePoolKey # getVerificationKey :: SigningKey StakePoolKey -> VerificationKey StakePoolKey # deterministicSigningKey :: AsType StakePoolKey -> Seed -> SigningKey StakePoolKey # deterministicSigningKeySeedSize :: AsType StakePoolKey -> Word # verificationKeyHash :: VerificationKey StakePoolKey -> Hash StakePoolKey # | |
Key HydraKey Source # | |
Defined in Hydra.Tx.Crypto data VerificationKey HydraKey # data SigningKey HydraKey # |
Hydra specifics
Instances
FromJSON (Hash BlockHeader) | |
Defined in Cardano.Api.Block parseJSON :: Value -> Parser (Hash BlockHeader) parseJSONList :: Value -> Parser [Hash BlockHeader] omittedField :: Maybe (Hash BlockHeader) | |
FromJSON (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley parseJSON :: Value -> Parser (Hash DRepKey) parseJSONList :: Value -> Parser [Hash DRepKey] omittedField :: Maybe (Hash DRepKey) | |
FromJSON (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley parseJSON :: Value -> Parser (Hash GenesisKey) parseJSONList :: Value -> Parser [Hash GenesisKey] omittedField :: Maybe (Hash GenesisKey) | |
FromJSON (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley parseJSON :: Value -> Parser (Hash PaymentKey) parseJSONList :: Value -> Parser [Hash PaymentKey] omittedField :: Maybe (Hash PaymentKey) | |
FromJSON (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley parseJSON :: Value -> Parser (Hash StakePoolKey) parseJSONList :: Value -> Parser [Hash StakePoolKey] omittedField :: Maybe (Hash StakePoolKey) | |
FromJSON (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData parseJSON :: Value -> Parser (Hash ScriptData) parseJSONList :: Value -> Parser [Hash ScriptData] omittedField :: Maybe (Hash ScriptData) | |
FromJSONKey (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData fromJSONKey :: FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData] | |
ToJSON (Hash BlockHeader) | |
Defined in Cardano.Api.Block toJSON :: Hash BlockHeader -> Value toEncoding :: Hash BlockHeader -> Encoding toJSONList :: [Hash BlockHeader] -> Value toEncodingList :: [Hash BlockHeader] -> Encoding | |
ToJSON (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley toJSON :: Hash DRepKey -> Value toEncoding :: Hash DRepKey -> Encoding toJSONList :: [Hash DRepKey] -> Value toEncodingList :: [Hash DRepKey] -> Encoding | |
ToJSON (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley toJSON :: Hash GenesisKey -> Value toEncoding :: Hash GenesisKey -> Encoding toJSONList :: [Hash GenesisKey] -> Value toEncodingList :: [Hash GenesisKey] -> Encoding | |
ToJSON (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley toJSON :: Hash PaymentKey -> Value toEncoding :: Hash PaymentKey -> Encoding toJSONList :: [Hash PaymentKey] -> Value toEncodingList :: [Hash PaymentKey] -> Encoding | |
ToJSON (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley toJSON :: Hash StakePoolKey -> Value toEncoding :: Hash StakePoolKey -> Encoding toJSONList :: [Hash StakePoolKey] -> Value toEncodingList :: [Hash StakePoolKey] -> Encoding | |
ToJSON (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData toJSON :: Hash ScriptData -> Value toEncoding :: Hash ScriptData -> Encoding toJSONList :: [Hash ScriptData] -> Value toEncodingList :: [Hash ScriptData] -> Encoding | |
ToJSONKey (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley toJSONKey :: ToJSONKeyFunction (Hash DRepKey) toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey] | |
ToJSONKey (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley toJSONKey :: ToJSONKeyFunction (Hash GenesisKey) toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey] | |
ToJSONKey (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley toJSONKey :: ToJSONKeyFunction (Hash PaymentKey) toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey] | |
ToJSONKey (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey) toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey] | |
ToJSONKey (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData toJSONKey :: ToJSONKeyFunction (Hash ScriptData) toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData] | |
IsString (Hash BlockHeader) | |
Defined in Cardano.Api.Block fromString :: String -> Hash BlockHeader Source # | |
IsString (Hash GovernancePoll) | |
Defined in Cardano.Api.Governance.Poll fromString :: String -> Hash GovernancePoll Source # | |
IsString (Hash ByronKey) | |
Defined in Cardano.Api.Keys.Byron fromString :: String -> Hash ByronKey Source # | |
IsString (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Keys.Byron fromString :: String -> Hash ByronKeyLegacy Source # | |
IsString (Hash KesKey) | |
Defined in Cardano.Api.Keys.Praos fromString :: String -> Hash KesKey Source # | |
IsString (Hash VrfKey) | |
Defined in Cardano.Api.Keys.Praos fromString :: String -> Hash VrfKey Source # | |
IsString (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash CommitteeColdExtendedKey Source # | |
IsString (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash CommitteeColdKey Source # | |
IsString (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash CommitteeHotExtendedKey Source # | |
IsString (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash CommitteeHotKey Source # | |
IsString (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash DRepExtendedKey Source # | |
IsString (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash DRepKey Source # | |
IsString (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash GenesisDelegateExtendedKey Source # | |
IsString (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash GenesisDelegateKey Source # | |
IsString (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash GenesisExtendedKey Source # | |
IsString (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash GenesisKey Source # | |
IsString (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash GenesisUTxOKey Source # | |
IsString (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash PaymentExtendedKey Source # | |
IsString (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash PaymentKey Source # | |
IsString (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash StakeExtendedKey Source # | |
IsString (Hash StakeKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash StakeKey Source # | |
IsString (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley fromString :: String -> Hash StakePoolKey Source # | |
IsString (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData fromString :: String -> Hash ScriptData Source # | |
Show (Hash BlockHeader) | |
Show (Hash DRepMetadata) | |
Show (Hash GovernancePoll) | |
Show (Hash ByronKey) | |
Show (Hash ByronKeyLegacy) | |
Show (Hash KesKey) | |
Show (Hash VrfKey) | |
Show (Hash CommitteeColdExtendedKey) | |
Show (Hash CommitteeColdKey) | |
Show (Hash CommitteeHotExtendedKey) | |
Show (Hash CommitteeHotKey) | |
Show (Hash DRepExtendedKey) | |
Show (Hash DRepKey) | |
Show (Hash GenesisDelegateExtendedKey) | |
Show (Hash GenesisDelegateKey) | |
Show (Hash GenesisExtendedKey) | |
Show (Hash GenesisKey) | |
Show (Hash GenesisUTxOKey) | |
Show (Hash PaymentExtendedKey) | |
Show (Hash PaymentKey) | |
Show (Hash StakeExtendedKey) | |
Show (Hash StakeKey) | |
Show (Hash StakePoolKey) | |
Show (Hash ScriptData) | |
Show (Hash StakePoolMetadata) | |
Show (Hash HydraKey) Source # | |
HasTypeProxy a => HasTypeProxy (Hash a) | |
Defined in Cardano.Api.Hash proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) | |
SerialiseAsBech32 (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Keys.Shelley bech32PrefixFor :: Hash CommitteeColdKey -> Text bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [Text] | |
SerialiseAsBech32 (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Keys.Shelley bech32PrefixFor :: Hash CommitteeHotKey -> Text bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [Text] | |
SerialiseAsBech32 (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley bech32PrefixFor :: Hash DRepKey -> Text bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [Text] | |
SerialiseAsBech32 (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley bech32PrefixFor :: Hash StakePoolKey -> Text bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [Text] | |
SerialiseAsCBOR (Hash ByronKey) | |
Defined in Cardano.Api.Keys.Byron serialiseToCBOR :: Hash ByronKey -> ByteString deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey) | |
SerialiseAsCBOR (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Keys.Byron serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString deserialiseFromCBOR :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either DecoderError (Hash ByronKeyLegacy) | |
SerialiseAsCBOR (Hash KesKey) | |
Defined in Cardano.Api.Keys.Praos serialiseToCBOR :: Hash KesKey -> ByteString deserialiseFromCBOR :: AsType (Hash KesKey) -> ByteString -> Either DecoderError (Hash KesKey) | |
SerialiseAsCBOR (Hash VrfKey) | |
Defined in Cardano.Api.Keys.Praos serialiseToCBOR :: Hash VrfKey -> ByteString deserialiseFromCBOR :: AsType (Hash VrfKey) -> ByteString -> Either DecoderError (Hash VrfKey) | |
SerialiseAsCBOR (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash CommitteeColdExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeColdExtendedKey) -> ByteString -> Either DecoderError (Hash CommitteeColdExtendedKey) | |
SerialiseAsCBOR (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash CommitteeColdKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeColdKey) -> ByteString -> Either DecoderError (Hash CommitteeColdKey) | |
SerialiseAsCBOR (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash CommitteeHotExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeHotExtendedKey) -> ByteString -> Either DecoderError (Hash CommitteeHotExtendedKey) | |
SerialiseAsCBOR (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash CommitteeHotKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeHotKey) -> ByteString -> Either DecoderError (Hash CommitteeHotKey) | |
SerialiseAsCBOR (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash DRepExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash DRepExtendedKey) -> ByteString -> Either DecoderError (Hash DRepExtendedKey) | |
SerialiseAsCBOR (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash DRepKey -> ByteString deserialiseFromCBOR :: AsType (Hash DRepKey) -> ByteString -> Either DecoderError (Hash DRepKey) | |
SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash GenesisDelegateExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisDelegateExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateExtendedKey) | |
SerialiseAsCBOR (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash GenesisDelegateKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateKey) | |
SerialiseAsCBOR (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash GenesisExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisExtendedKey) | |
SerialiseAsCBOR (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash GenesisKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisKey) -> ByteString -> Either DecoderError (Hash GenesisKey) | |
SerialiseAsCBOR (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash GenesisUTxOKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either DecoderError (Hash GenesisUTxOKey) | |
SerialiseAsCBOR (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash PaymentExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either DecoderError (Hash PaymentExtendedKey) | |
SerialiseAsCBOR (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash PaymentKey -> ByteString deserialiseFromCBOR :: AsType (Hash PaymentKey) -> ByteString -> Either DecoderError (Hash PaymentKey) | |
SerialiseAsCBOR (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash StakeExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash StakeExtendedKey) -> ByteString -> Either DecoderError (Hash StakeExtendedKey) | |
SerialiseAsCBOR (Hash StakeKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash StakeKey -> ByteString deserialiseFromCBOR :: AsType (Hash StakeKey) -> ByteString -> Either DecoderError (Hash StakeKey) | |
SerialiseAsCBOR (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToCBOR :: Hash StakePoolKey -> ByteString deserialiseFromCBOR :: AsType (Hash StakePoolKey) -> ByteString -> Either DecoderError (Hash StakePoolKey) | |
SerialiseAsRawBytes (Hash BlockHeader) | |
Defined in Cardano.Api.Block serialiseToRawBytes :: Hash BlockHeader -> ByteString deserialiseFromRawBytes :: AsType (Hash BlockHeader) -> ByteString -> Either SerialiseAsRawBytesError (Hash BlockHeader) | |
SerialiseAsRawBytes (Hash DRepMetadata) | |
Defined in Cardano.Api.DRepMetadata serialiseToRawBytes :: Hash DRepMetadata -> ByteString deserialiseFromRawBytes :: AsType (Hash DRepMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepMetadata) | |
SerialiseAsRawBytes (Hash GovernancePoll) | |
Defined in Cardano.Api.Governance.Poll serialiseToRawBytes :: Hash GovernancePoll -> ByteString deserialiseFromRawBytes :: AsType (Hash GovernancePoll) -> ByteString -> Either SerialiseAsRawBytesError (Hash GovernancePoll) | |
SerialiseAsRawBytes (Hash ByronKey) | |
Defined in Cardano.Api.Keys.Byron serialiseToRawBytes :: Hash ByronKey -> ByteString deserialiseFromRawBytes :: AsType (Hash ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKey) | |
SerialiseAsRawBytes (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Keys.Byron serialiseToRawBytes :: Hash ByronKeyLegacy -> ByteString deserialiseFromRawBytes :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKeyLegacy) | |
SerialiseAsRawBytes (Hash KesKey) | |
Defined in Cardano.Api.Keys.Praos serialiseToRawBytes :: Hash KesKey -> ByteString deserialiseFromRawBytes :: AsType (Hash KesKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash KesKey) | |
SerialiseAsRawBytes (Hash VrfKey) | |
Defined in Cardano.Api.Keys.Praos serialiseToRawBytes :: Hash VrfKey -> ByteString deserialiseFromRawBytes :: AsType (Hash VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash VrfKey) | |
SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash CommitteeColdExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeColdExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeColdExtendedKey) | |
SerialiseAsRawBytes (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash CommitteeColdKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeColdKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeColdKey) | |
SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash CommitteeHotExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeHotExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeHotExtendedKey) | |
SerialiseAsRawBytes (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash CommitteeHotKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeHotKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeHotKey) | |
SerialiseAsRawBytes (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash DRepExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepExtendedKey) | |
SerialiseAsRawBytes (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash DRepKey -> ByteString deserialiseFromRawBytes :: AsType (Hash DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepKey) | |
SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash GenesisDelegateExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisDelegateExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisDelegateExtendedKey) | |
SerialiseAsRawBytes (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash GenesisDelegateKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisDelegateKey) | |
SerialiseAsRawBytes (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash GenesisExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisExtendedKey) | |
SerialiseAsRawBytes (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash GenesisKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisKey) | |
SerialiseAsRawBytes (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash GenesisUTxOKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisUTxOKey) | |
SerialiseAsRawBytes (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash PaymentExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentExtendedKey) | |
SerialiseAsRawBytes (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash PaymentKey -> ByteString deserialiseFromRawBytes :: AsType (Hash PaymentKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentKey) | |
SerialiseAsRawBytes (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash StakeExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakeExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeExtendedKey) | |
SerialiseAsRawBytes (Hash StakeKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash StakeKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakeKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeKey) | |
SerialiseAsRawBytes (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley serialiseToRawBytes :: Hash StakePoolKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakePoolKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolKey) | |
SerialiseAsRawBytes (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData serialiseToRawBytes :: Hash ScriptData -> ByteString deserialiseFromRawBytes :: AsType (Hash ScriptData) -> ByteString -> Either SerialiseAsRawBytesError (Hash ScriptData) | |
SerialiseAsRawBytes (Hash StakePoolMetadata) | |
Defined in Cardano.Api.StakePoolMetadata serialiseToRawBytes :: Hash StakePoolMetadata -> ByteString deserialiseFromRawBytes :: AsType (Hash StakePoolMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolMetadata) | |
SerialiseAsRawBytes (Hash HydraKey) | |
Defined in Hydra.Tx.Crypto serialiseToRawBytes :: Hash HydraKey -> ByteString deserialiseFromRawBytes :: AsType (Hash HydraKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash HydraKey) | |
FromCBOR (Hash ByronKey) | |
FromCBOR (Hash ByronKeyLegacy) | |
FromCBOR (Hash KesKey) | |
FromCBOR (Hash VrfKey) | |
FromCBOR (Hash CommitteeColdExtendedKey) | |
FromCBOR (Hash CommitteeColdKey) | |
FromCBOR (Hash CommitteeHotExtendedKey) | |
FromCBOR (Hash CommitteeHotKey) | |
FromCBOR (Hash DRepExtendedKey) | |
FromCBOR (Hash DRepKey) | |
FromCBOR (Hash GenesisDelegateExtendedKey) | |
FromCBOR (Hash GenesisDelegateKey) | |
FromCBOR (Hash GenesisExtendedKey) | |
FromCBOR (Hash GenesisKey) | |
FromCBOR (Hash GenesisUTxOKey) | |
FromCBOR (Hash PaymentExtendedKey) | |
FromCBOR (Hash PaymentKey) | |
FromCBOR (Hash StakeExtendedKey) | |
FromCBOR (Hash StakeKey) | |
FromCBOR (Hash StakePoolKey) | |
ToCBOR (Hash ByronKey) | |
Defined in Cardano.Api.Keys.Byron toCBOR :: Hash ByronKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size | |
ToCBOR (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Keys.Byron toCBOR :: Hash ByronKeyLegacy -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKeyLegacy) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKeyLegacy] -> Size | |
ToCBOR (Hash KesKey) | |
Defined in Cardano.Api.Keys.Praos toCBOR :: Hash KesKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size | |
ToCBOR (Hash VrfKey) | |
Defined in Cardano.Api.Keys.Praos toCBOR :: Hash VrfKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size | |
ToCBOR (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash CommitteeColdExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdExtendedKey] -> Size | |
ToCBOR (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash CommitteeColdKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdKey] -> Size | |
ToCBOR (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash CommitteeHotExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotExtendedKey] -> Size | |
ToCBOR (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash CommitteeHotKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotKey] -> Size | |
ToCBOR (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash DRepExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepExtendedKey] -> Size | |
ToCBOR (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash DRepKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepKey] -> Size | |
ToCBOR (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size | |
ToCBOR (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash GenesisDelegateKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateKey] -> Size | |
ToCBOR (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash GenesisExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisExtendedKey] -> Size | |
ToCBOR (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash GenesisKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisKey] -> Size | |
ToCBOR (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash GenesisUTxOKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisUTxOKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisUTxOKey] -> Size | |
ToCBOR (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash PaymentExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentExtendedKey] -> Size | |
ToCBOR (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash PaymentKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentKey] -> Size | |
ToCBOR (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash StakeExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeExtendedKey] -> Size | |
ToCBOR (Hash StakeKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash StakeKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size | |
ToCBOR (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley toCBOR :: Hash StakePoolKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakePoolKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakePoolKey] -> Size | |
Eq (Hash BlockHeader) | |
Eq (Hash DRepMetadata) | |
Eq (Hash GovernancePoll) | |
Eq (Hash ByronKey) | |
Eq (Hash ByronKeyLegacy) | |
Eq (Hash KesKey) | |
Eq (Hash VrfKey) | |
Eq (Hash CommitteeColdExtendedKey) | |
Eq (Hash CommitteeColdKey) | |
Eq (Hash CommitteeHotExtendedKey) | |
Eq (Hash CommitteeHotKey) | |
Eq (Hash DRepExtendedKey) | |
Eq (Hash DRepKey) | |
Eq (Hash GenesisDelegateExtendedKey) | |
Eq (Hash GenesisDelegateKey) | |
Eq (Hash GenesisExtendedKey) | |
Eq (Hash GenesisKey) | |
Eq (Hash GenesisUTxOKey) | |
Eq (Hash PaymentExtendedKey) | |
Eq (Hash PaymentKey) | |
Eq (Hash StakeExtendedKey) | |
Eq (Hash StakeKey) | |
Eq (Hash StakePoolKey) | |
Eq (Hash ScriptData) | |
Eq (Hash StakePoolMetadata) | |
Eq (Hash HydraKey) Source # | |
Ord (Hash BlockHeader) | |
Defined in Cardano.Api.Block compare :: Hash BlockHeader -> Hash BlockHeader -> Ordering Source # (<) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (<=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # max :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # min :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # | |
Ord (Hash GovernancePoll) | |
Defined in Cardano.Api.Governance.Poll compare :: Hash GovernancePoll -> Hash GovernancePoll -> Ordering Source # (<) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (<=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # max :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # min :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # | |
Ord (Hash ByronKey) | |
Defined in Cardano.Api.Keys.Byron compare :: Hash ByronKey -> Hash ByronKey -> Ordering Source # (<) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (<=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # max :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # min :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # | |
Ord (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Keys.Byron compare :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Ordering Source # (<) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (<=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # max :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # min :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # | |
Ord (Hash KesKey) | |
Defined in Cardano.Api.Keys.Praos compare :: Hash KesKey -> Hash KesKey -> Ordering Source # (<) :: Hash KesKey -> Hash KesKey -> Bool Source # (<=) :: Hash KesKey -> Hash KesKey -> Bool Source # (>) :: Hash KesKey -> Hash KesKey -> Bool Source # (>=) :: Hash KesKey -> Hash KesKey -> Bool Source # | |
Ord (Hash VrfKey) | |
Defined in Cardano.Api.Keys.Praos compare :: Hash VrfKey -> Hash VrfKey -> Ordering Source # (<) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (<=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # | |
Ord (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Ordering Source # (<) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (<=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # max :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # min :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # | |
Ord (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Ordering Source # (<) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (<=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # max :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # min :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # | |
Ord (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Ordering Source # (<) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (<=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # max :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # min :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # | |
Ord (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Ordering Source # (<) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (<=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # max :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # min :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # | |
Ord (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Ordering Source # (<) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (<=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (>) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (>=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # max :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source # min :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source # | |
Ord (Hash DRepKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash DRepKey -> Hash DRepKey -> Ordering Source # (<) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (<=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # max :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # min :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # | |
Ord (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Ordering Source # (<) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (<=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # max :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # min :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # | |
Ord (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Ordering Source # (<) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (<=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # max :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # min :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # | |
Ord (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Ordering Source # (<) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (<=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # max :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # min :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # | |
Ord (Hash GenesisKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash GenesisKey -> Hash GenesisKey -> Ordering Source # (<) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (<=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # max :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # min :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # | |
Ord (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Ordering Source # (<) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (<=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # max :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # min :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # | |
Ord (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Ordering Source # (<) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (<=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # max :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # min :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # | |
Ord (Hash PaymentKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash PaymentKey -> Hash PaymentKey -> Ordering Source # (<) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (<=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # max :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # min :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # | |
Ord (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Ordering Source # (<) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (<=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # max :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # min :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # | |
Ord (Hash StakeKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash StakeKey -> Hash StakeKey -> Ordering Source # (<) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (<=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # max :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # min :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # | |
Ord (Hash StakePoolKey) | |
Defined in Cardano.Api.Keys.Shelley compare :: Hash StakePoolKey -> Hash StakePoolKey -> Ordering Source # (<) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (<=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # max :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # min :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # | |
Ord (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData compare :: Hash ScriptData -> Hash ScriptData -> Ordering Source # (<) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (<=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # max :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # min :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # | |
Ord (Hash HydraKey) Source # | |
Defined in Hydra.Tx.Crypto compare :: Hash HydraKey -> Hash HydraKey -> Ordering Source # (<) :: Hash HydraKey -> Hash HydraKey -> Bool Source # (<=) :: Hash HydraKey -> Hash HydraKey -> Bool Source # (>) :: Hash HydraKey -> Hash HydraKey -> Bool Source # (>=) :: Hash HydraKey -> Hash HydraKey -> Bool Source # max :: Hash HydraKey -> Hash HydraKey -> Hash HydraKey Source # min :: Hash HydraKey -> Hash HydraKey -> Hash HydraKey Source # | |
newtype Hash BlockHeader | |
Defined in Cardano.Api.Block | |
newtype Hash DRepMetadata | |
Defined in Cardano.Api.DRepMetadata | |
newtype Hash GovernancePoll | |
Defined in Cardano.Api.Governance.Poll newtype Hash GovernancePoll = GovernancePollHash {
| |
newtype Hash ByronKey | |
Defined in Cardano.Api.Keys.Byron | |
newtype Hash ByronKeyLegacy | |
Defined in Cardano.Api.Keys.Byron | |
newtype Hash KesKey | |
Defined in Cardano.Api.Keys.Praos | |
newtype Hash VrfKey | |
Defined in Cardano.Api.Keys.Praos | |
newtype Hash CommitteeColdExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash CommitteeColdExtendedKey = CommitteeColdExtendedKeyHash {
| |
newtype Hash CommitteeColdKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash CommitteeColdKey = CommitteeColdKeyHash {
| |
newtype Hash CommitteeHotExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash CommitteeHotExtendedKey = CommitteeHotExtendedKeyHash {
| |
newtype Hash CommitteeHotKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash CommitteeHotKey = CommitteeHotKeyHash {
| |
newtype Hash DRepExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash DRepExtendedKey = DRepExtendedKeyHash {
| |
newtype Hash DRepKey | |
Defined in Cardano.Api.Keys.Shelley | |
newtype Hash GenesisDelegateExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash {
| |
newtype Hash GenesisDelegateKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash {
| |
newtype Hash GenesisExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash {
| |
newtype Hash GenesisKey | |
Defined in Cardano.Api.Keys.Shelley | |
newtype Hash GenesisUTxOKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash {
| |
newtype Hash PaymentExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash {
| |
newtype Hash PaymentKey | |
Defined in Cardano.Api.Keys.Shelley | |
newtype Hash StakeExtendedKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash StakeExtendedKey = StakeExtendedKeyHash {
| |
newtype Hash StakeKey | |
Defined in Cardano.Api.Keys.Shelley | |
newtype Hash StakePoolKey | |
Defined in Cardano.Api.Keys.Shelley newtype Hash StakePoolKey = StakePoolKeyHash {
| |
newtype Hash ScriptData | |
Defined in Cardano.Api.ScriptData | |
newtype Hash StakePoolMetadata | |
Defined in Cardano.Api.StakePoolMetadata | |
newtype Hash HydraKey Source # | Hashes of Hydra keys |
Defined in Hydra.Tx.Crypto | |
data AsType (Hash a) | |
Defined in Cardano.Api.Hash |
Instances
data AsType AddressAny | |
Defined in Cardano.Api.Address | |
data AsType ByronAddr | |
Defined in Cardano.Api.Address | |
data AsType ShelleyAddr | |
Defined in Cardano.Api.Address | |
data AsType StakeAddress | |
Defined in Cardano.Api.Address | |
data AsType BlockHeader | |
Defined in Cardano.Api.Block | |
data AsType DRepMetadata | |
Defined in Cardano.Api.DRepMetadata | |
data AsType AllegraEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType AlonzoEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType BabbageEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType ByronEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType ConwayEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType MaryEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType ShelleyEra | |
Defined in Cardano.Api.Eras.Core | |
data AsType GovernancePoll | |
Defined in Cardano.Api.Governance.Poll | |
data AsType GovernancePollAnswer | |
Defined in Cardano.Api.Governance.Poll | |
data AsType ByronKey | |
Defined in Cardano.Api.Keys.Byron | |
data AsType ByronKeyLegacy | |
Defined in Cardano.Api.Keys.Byron | |
data AsType KesKey | |
Defined in Cardano.Api.Keys.Praos | |
data AsType VrfKey | |
Defined in Cardano.Api.Keys.Praos | |
data AsType CommitteeColdExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType CommitteeColdKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType CommitteeHotExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType CommitteeHotKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType DRepExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType DRepKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType GenesisDelegateExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType GenesisDelegateKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType GenesisExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType GenesisKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType GenesisUTxOKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType PaymentExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType PaymentKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType StakeExtendedKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType StakeKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType StakePoolKey | |
Defined in Cardano.Api.Keys.Shelley | |
data AsType OperationalCertificate | |
Defined in Cardano.Api.OperationalCertificate | |
data AsType OperationalCertificateIssueCounter | |
Defined in Cardano.Api.OperationalCertificate | |
data AsType PraosNonce | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType UpdateProposal | |
Defined in Cardano.Api.ProtocolParameters | |
data AsType PlutusScriptV1 | |
Defined in Cardano.Api.Script | |
data AsType PlutusScriptV2 | |
Defined in Cardano.Api.Script | |
data AsType PlutusScriptV3 | |
Defined in Cardano.Api.Script | |
data AsType ScriptHash | |
Defined in Cardano.Api.Script | |
data AsType ScriptInAnyLang | |
Defined in Cardano.Api.Script | |
data AsType SimpleScript' | |
Defined in Cardano.Api.Script | |
data AsType HashableScriptData | |
Defined in Cardano.Api.ScriptData | |
data AsType ScriptData | |
Defined in Cardano.Api.ScriptData | |
data AsType TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope | |
data AsType ByronUpdateProposal | |
Defined in Cardano.Api.SpecialByron | |
data AsType ByronVote | |
Defined in Cardano.Api.SpecialByron | |
data AsType StakePoolMetadata | |
Defined in Cardano.Api.StakePoolMetadata | |
data AsType TxId | |
Defined in Cardano.Api.TxIn | |
data AsType TxMetadata | |
Defined in Cardano.Api.TxMetadata | |
data AsType AssetName | |
Defined in Cardano.Api.Value | |
data AsType PolicyId | |
Defined in Cardano.Api.Value | |
data AsType HydraKey Source # | |
Defined in Hydra.Tx.Crypto | |
data AsType HeadId Source # | |
Defined in Hydra.Tx.HeadId | |
data AsType HeadSeed Source # | |
Defined in Hydra.Tx.HeadId | |
data AsType OnChainId Source # | |
Defined in Hydra.Tx.OnChainId | |
data AsType (Address addrtype) | |
Defined in Cardano.Api.Address | |
data AsType (AddressInEra era) | |
Defined in Cardano.Api.Address | |
data AsType (Certificate era) | |
Defined in Cardano.Api.Certificate | |
data AsType (Proposal era) | |
data AsType (VotingProcedure era) | |
data AsType (VotingProcedures era) | |
data AsType (Hash a) | |
Defined in Cardano.Api.Hash | |
data AsType (SigningKey a) | |
Defined in Cardano.Api.Keys.Class | |
data AsType (VerificationKey a) | |
Defined in Cardano.Api.Keys.Class | |
data AsType (PlutusScript lang) | |
Defined in Cardano.Api.Script | |
data AsType (Script lang) | |
Defined in Cardano.Api.Script | |
data AsType (ScriptInEra era) | |
Defined in Cardano.Api.Script | |
data AsType (KeyWitness era) | |
Defined in Cardano.Api.Tx.Sign | |
data AsType (Tx era) | |
Defined in Cardano.Api.Tx.Sign | |
data AsType (TxBody era) | |
Defined in Cardano.Api.Tx.Sign |
newtype MultiSignature a Source #
Naiively aggregated multi-signatures.
Instances
Hydra keys (keyrole) which can be used to sign
and verify
messages, as
well as aggregate
multi-signatures.
Instances
Signature of a
, not containing the actual payload.
HydraSignature (SigDSIGN Ed25519DSIGN) |
Instances
(Arbitrary a, SignableRepresentation a) => Arbitrary (Signature a) Source # | |
FromJSON a => FromJSON (Signature a) Source # | |
Defined in Hydra.Tx.Crypto parseJSON :: Value -> Parser (Signature a) parseJSONList :: Value -> Parser [Signature a] omittedField :: Maybe (Signature a) | |
ToJSON a => ToJSON (Signature a) Source # | |
Defined in Hydra.Tx.Crypto toJSON :: Signature a -> Value toEncoding :: Signature a -> Encoding toJSONList :: [Signature a] -> Value toEncodingList :: [Signature a] -> Encoding | |
Show (Signature a) Source # | |
(Typeable a, Typeable k) => FromCBOR (Signature a) Source # | |
(Typeable a, Typeable k) => ToCBOR (Signature a) Source # | |
Defined in Hydra.Tx.Crypto toCBOR :: Signature a -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Signature a) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Signature a] -> Size | |
Eq (Signature a) Source # | |
Hashable (Signature a) Source # | |
Defined in Hydra.Tx.Crypto |
A result type for multisigs verification providing some information in case of failure.
This type is of course structurally equivalent to `Maybe [VerificationKey HydraKey]` but it's much more explicit.
Instances
FromJSON Verified Source # | |
Defined in Hydra.Tx.Crypto parseJSON :: Value -> Parser Verified parseJSONList :: Value -> Parser [Verified] | |
ToJSON Verified Source # | |
Defined in Hydra.Tx.Crypto toEncoding :: Verified -> Encoding toJSONList :: [Verified] -> Value toEncodingList :: [Verified] -> Encoding | |
Generic Verified Source # | |
Show Verified Source # | |
Eq Verified Source # | |
type Rep Verified Source # | |
Defined in Hydra.Tx.Crypto type Rep Verified = D1 ('MetaData "Verified" "Hydra.Tx.Crypto" "hydra-tx-0.19.0-CNt37yoHV6SLHPMLDZKDue" 'False) (C1 ('MetaCons "Verified" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FailedKeys" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [VerificationKey HydraKey])) :+: C1 ('MetaCons "KeyNumberMismatch" 'PrefixI 'False) (U1 :: Type -> Type))) |
pattern HydraKeyHash :: Hash Blake2b_256 (VerificationKey HydraKey) -> Hash HydraKey Source #
pattern AsHydraKey :: AsType HydraKey Source #
pattern HydraVerificationKey :: VerKeyDSIGN Ed25519DSIGN -> VerificationKey HydraKey Source #
pattern HydraSigningKey :: SignKeyDSIGN Ed25519DSIGN -> SigningKey HydraKey Source #
sign :: SignableRepresentation a => SigningKey HydraKey -> a -> Signature a Source #
Sign some value a
with the provided SigningKey
.
toPlutusSignatures :: MultiSignature a -> [Signature] Source #
aggregate :: [Signature a] -> MultiSignature a Source #
Combine multiple signatures of a
into a 'MultiSignature a'.
generateSigningKey :: ByteString -> SigningKey HydraKey Source #
Create a new SigningKey
from a ByteString
seed. The created keys are
not random and insecure, so don't use this in production code!
verify :: SignableRepresentation a => VerificationKey HydraKey -> Signature a -> a -> Bool Source #
Verify a given 'Signature a' and value a
using provided VerificationKey
.
aggregateInOrder :: Ord k => Map k (Signature a) -> [k] -> MultiSignature a Source #
Like aggregate, but use order of given list of keys instead. FIXME(AB): This function exists solely because the order of signatures matters on-chain, and it should match the order of parties as declared in the initTx. This should disappear once we use a proper multisignature scheme
verifyMultiSignature :: SignableRepresentation a => [VerificationKey HydraKey] -> MultiSignature a -> a -> Verified Source #
Verify a given 'MultiSignature a' and value a
provided a list of
VerificationKey
.
Note that order of keys is relevant and that length of signature and multisignature list needs to be the same.