hydra-node-0.16.0: The Hydra node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Crypto

Description

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

Cardano Key interface

class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where #

Associated Types

data VerificationKey keyrole #

data SigningKey keyrole #

Instances

Instances details
Key ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data VerificationKey ByronKey #

data SigningKey ByronKey #

Methods

getVerificationKey :: SigningKey ByronKey -> VerificationKey ByronKey #

deterministicSigningKey :: AsType ByronKey -> Seed -> SigningKey ByronKey #

deterministicSigningKeySeedSize :: AsType ByronKey -> Word #

verificationKeyHash :: VerificationKey ByronKey -> Hash ByronKey #

Key ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

Associated Types

data VerificationKey ByronKeyLegacy #

data SigningKey ByronKeyLegacy #

Methods

getVerificationKey :: SigningKey ByronKeyLegacy -> VerificationKey ByronKeyLegacy #

deterministicSigningKey :: AsType ByronKeyLegacy -> Seed -> SigningKey ByronKeyLegacy #

deterministicSigningKeySeedSize :: AsType ByronKeyLegacy -> Word #

verificationKeyHash :: VerificationKey ByronKeyLegacy -> Hash ByronKeyLegacy #

Key KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey KesKey #

data SigningKey KesKey #

Key VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

Associated Types

data VerificationKey VrfKey #

data SigningKey VrfKey #

Key CommitteeColdExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey CommitteeColdExtendedKey #

data SigningKey CommitteeColdExtendedKey #

Methods

getVerificationKey :: SigningKey CommitteeColdExtendedKey -> VerificationKey CommitteeColdExtendedKey #

deterministicSigningKey :: AsType CommitteeColdExtendedKey -> Seed -> SigningKey CommitteeColdExtendedKey #

deterministicSigningKeySeedSize :: AsType CommitteeColdExtendedKey -> Word #

verificationKeyHash :: VerificationKey CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey #

Key CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey CommitteeColdKey #

data SigningKey CommitteeColdKey #

Methods

getVerificationKey :: SigningKey CommitteeColdKey -> VerificationKey CommitteeColdKey #

deterministicSigningKey :: AsType CommitteeColdKey -> Seed -> SigningKey CommitteeColdKey #

deterministicSigningKeySeedSize :: AsType CommitteeColdKey -> Word #

verificationKeyHash :: VerificationKey CommitteeColdKey -> Hash CommitteeColdKey #

Key CommitteeHotExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey CommitteeHotExtendedKey #

data SigningKey CommitteeHotExtendedKey #

Methods

getVerificationKey :: SigningKey CommitteeHotExtendedKey -> VerificationKey CommitteeHotExtendedKey #

deterministicSigningKey :: AsType CommitteeHotExtendedKey -> Seed -> SigningKey CommitteeHotExtendedKey #

deterministicSigningKeySeedSize :: AsType CommitteeHotExtendedKey -> Word #

verificationKeyHash :: VerificationKey CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey #

Key CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey CommitteeHotKey #

data SigningKey CommitteeHotKey #

Methods

getVerificationKey :: SigningKey CommitteeHotKey -> VerificationKey CommitteeHotKey #

deterministicSigningKey :: AsType CommitteeHotKey -> Seed -> SigningKey CommitteeHotKey #

deterministicSigningKeySeedSize :: AsType CommitteeHotKey -> Word #

verificationKeyHash :: VerificationKey CommitteeHotKey -> Hash CommitteeHotKey #

Key DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey DRepExtendedKey #

data SigningKey DRepExtendedKey #

Methods

getVerificationKey :: SigningKey DRepExtendedKey -> VerificationKey DRepExtendedKey #

deterministicSigningKey :: AsType DRepExtendedKey -> Seed -> SigningKey DRepExtendedKey #

deterministicSigningKeySeedSize :: AsType DRepExtendedKey -> Word #

verificationKeyHash :: VerificationKey DRepExtendedKey -> Hash DRepExtendedKey #

Key DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey DRepKey #

data SigningKey DRepKey #

Key GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey GenesisDelegateExtendedKey #

data SigningKey GenesisDelegateExtendedKey #

Methods

getVerificationKey :: SigningKey GenesisDelegateExtendedKey -> VerificationKey GenesisDelegateExtendedKey #

deterministicSigningKey :: AsType GenesisDelegateExtendedKey -> Seed -> SigningKey GenesisDelegateExtendedKey #

deterministicSigningKeySeedSize :: AsType GenesisDelegateExtendedKey -> Word #

verificationKeyHash :: VerificationKey GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey #

Key GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey GenesisDelegateKey #

data SigningKey GenesisDelegateKey #

Methods

getVerificationKey :: SigningKey GenesisDelegateKey -> VerificationKey GenesisDelegateKey #

deterministicSigningKey :: AsType GenesisDelegateKey -> Seed -> SigningKey GenesisDelegateKey #

deterministicSigningKeySeedSize :: AsType GenesisDelegateKey -> Word #

verificationKeyHash :: VerificationKey GenesisDelegateKey -> Hash GenesisDelegateKey #

Key GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey GenesisExtendedKey #

data SigningKey GenesisExtendedKey #

Methods

getVerificationKey :: SigningKey GenesisExtendedKey -> VerificationKey GenesisExtendedKey #

deterministicSigningKey :: AsType GenesisExtendedKey -> Seed -> SigningKey GenesisExtendedKey #

deterministicSigningKeySeedSize :: AsType GenesisExtendedKey -> Word #

verificationKeyHash :: VerificationKey GenesisExtendedKey -> Hash GenesisExtendedKey #

Key GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey GenesisKey #

data SigningKey GenesisKey #

Methods

getVerificationKey :: SigningKey GenesisKey -> VerificationKey GenesisKey #

deterministicSigningKey :: AsType GenesisKey -> Seed -> SigningKey GenesisKey #

deterministicSigningKeySeedSize :: AsType GenesisKey -> Word #

verificationKeyHash :: VerificationKey GenesisKey -> Hash GenesisKey #

Key GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey GenesisUTxOKey #

data SigningKey GenesisUTxOKey #

Methods

getVerificationKey :: SigningKey GenesisUTxOKey -> VerificationKey GenesisUTxOKey #

deterministicSigningKey :: AsType GenesisUTxOKey -> Seed -> SigningKey GenesisUTxOKey #

deterministicSigningKeySeedSize :: AsType GenesisUTxOKey -> Word #

verificationKeyHash :: VerificationKey GenesisUTxOKey -> Hash GenesisUTxOKey #

Key PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey PaymentExtendedKey #

data SigningKey PaymentExtendedKey #

Methods

getVerificationKey :: SigningKey PaymentExtendedKey -> VerificationKey PaymentExtendedKey #

deterministicSigningKey :: AsType PaymentExtendedKey -> Seed -> SigningKey PaymentExtendedKey #

deterministicSigningKeySeedSize :: AsType PaymentExtendedKey -> Word #

verificationKeyHash :: VerificationKey PaymentExtendedKey -> Hash PaymentExtendedKey #

Key PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey PaymentKey #

data SigningKey PaymentKey #

Methods

getVerificationKey :: SigningKey PaymentKey -> VerificationKey PaymentKey #

deterministicSigningKey :: AsType PaymentKey -> Seed -> SigningKey PaymentKey #

deterministicSigningKeySeedSize :: AsType PaymentKey -> Word #

verificationKeyHash :: VerificationKey PaymentKey -> Hash PaymentKey #

Key StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey StakeExtendedKey #

data SigningKey StakeExtendedKey #

Methods

getVerificationKey :: SigningKey StakeExtendedKey -> VerificationKey StakeExtendedKey #

deterministicSigningKey :: AsType StakeExtendedKey -> Seed -> SigningKey StakeExtendedKey #

deterministicSigningKeySeedSize :: AsType StakeExtendedKey -> Word #

verificationKeyHash :: VerificationKey StakeExtendedKey -> Hash StakeExtendedKey #

Key StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey StakeKey #

data SigningKey StakeKey #

Methods

getVerificationKey :: SigningKey StakeKey -> VerificationKey StakeKey #

deterministicSigningKey :: AsType StakeKey -> Seed -> SigningKey StakeKey #

deterministicSigningKeySeedSize :: AsType StakeKey -> Word #

verificationKeyHash :: VerificationKey StakeKey -> Hash StakeKey #

Key StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

Associated Types

data VerificationKey StakePoolKey #

data SigningKey StakePoolKey #

Methods

getVerificationKey :: SigningKey StakePoolKey -> VerificationKey StakePoolKey #

deterministicSigningKey :: AsType StakePoolKey -> Seed -> SigningKey StakePoolKey #

deterministicSigningKeySeedSize :: AsType StakePoolKey -> Word #

verificationKeyHash :: VerificationKey StakePoolKey -> Hash StakePoolKey #

Key HydraKey Source # 
Instance details

Defined in Hydra.Crypto

Associated Types

data VerificationKey HydraKey #

data SigningKey HydraKey #

Hydra specifics

data family Hash keyrole #

Instances

Instances details
Arbitrary (Hash PaymentKey) 
Instance details

Defined in Hydra.Ledger.Cardano

Methods

arbitrary :: Gen (Hash PaymentKey)

shrink :: Hash PaymentKey -> [Hash PaymentKey]

FromJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader)

parseJSONList :: Value -> Parser [Hash BlockHeader]

omittedField :: Maybe (Hash BlockHeader)

FromJSON (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash DRepKey)

parseJSONList :: Value -> Parser [Hash DRepKey]

omittedField :: Maybe (Hash DRepKey)

FromJSON (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash GenesisKey)

parseJSONList :: Value -> Parser [Hash GenesisKey]

omittedField :: Maybe (Hash GenesisKey)

FromJSON (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash PaymentKey)

parseJSONList :: Value -> Parser [Hash PaymentKey]

omittedField :: Maybe (Hash PaymentKey)

FromJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey)

parseJSONList :: Value -> Parser [Hash StakePoolKey]

omittedField :: Maybe (Hash StakePoolKey)

FromJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData)

parseJSONList :: Value -> Parser [Hash ScriptData]

omittedField :: Maybe (Hash ScriptData)

FromJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

toJSON :: Hash BlockHeader -> Value

toEncoding :: Hash BlockHeader -> Encoding

toJSONList :: [Hash BlockHeader] -> Value

toEncodingList :: [Hash BlockHeader] -> Encoding

omitField :: Hash BlockHeader -> Bool

ToJSON (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash DRepKey -> Value

toEncoding :: Hash DRepKey -> Encoding

toJSONList :: [Hash DRepKey] -> Value

toEncodingList :: [Hash DRepKey] -> Encoding

omitField :: Hash DRepKey -> Bool

ToJSON (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash GenesisKey -> Value

toEncoding :: Hash GenesisKey -> Encoding

toJSONList :: [Hash GenesisKey] -> Value

toEncodingList :: [Hash GenesisKey] -> Encoding

omitField :: Hash GenesisKey -> Bool

ToJSON (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash PaymentKey -> Value

toEncoding :: Hash PaymentKey -> Encoding

toJSONList :: [Hash PaymentKey] -> Value

toEncodingList :: [Hash PaymentKey] -> Encoding

omitField :: Hash PaymentKey -> Bool

ToJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSON :: Hash StakePoolKey -> Value

toEncoding :: Hash StakePoolKey -> Encoding

toJSONList :: [Hash StakePoolKey] -> Value

toEncodingList :: [Hash StakePoolKey] -> Encoding

omitField :: Hash StakePoolKey -> Bool

ToJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSON :: Hash ScriptData -> Value

toEncoding :: Hash ScriptData -> Encoding

toJSONList :: [Hash ScriptData] -> Value

toEncodingList :: [Hash ScriptData] -> Encoding

omitField :: Hash ScriptData -> Bool

ToJSONKey (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

IsString (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

fromString :: String -> Hash BlockHeader Source #

IsString (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Methods

fromString :: String -> Hash GovernancePoll Source #

IsString (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromString :: String -> Hash ByronKey Source #

IsString (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromString :: String -> Hash ByronKeyLegacy Source #

IsString (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromString :: String -> Hash KesKey Source #

IsString (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromString :: String -> Hash VrfKey Source #

IsString (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash CommitteeColdExtendedKey Source #

IsString (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash CommitteeColdKey Source #

IsString (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash CommitteeHotExtendedKey Source #

IsString (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash CommitteeHotKey Source #

IsString (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash DRepExtendedKey Source #

IsString (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash DRepKey Source #

IsString (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash GenesisDelegateExtendedKey Source #

IsString (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash GenesisDelegateKey Source #

IsString (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash GenesisExtendedKey Source #

IsString (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash GenesisKey Source #

IsString (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash GenesisUTxOKey Source #

IsString (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash PaymentExtendedKey Source #

IsString (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash PaymentKey Source #

IsString (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash StakeExtendedKey Source #

IsString (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash StakeKey Source #

IsString (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromString :: String -> Hash StakePoolKey Source #

IsString (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

fromString :: String -> Hash ScriptData Source #

Show (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

showsPrec :: Int -> Hash BlockHeader -> ShowS Source #

show :: Hash BlockHeader -> String Source #

showList :: [Hash BlockHeader] -> ShowS Source #

Show (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

Methods

showsPrec :: Int -> Hash DRepMetadata -> ShowS Source #

show :: Hash DRepMetadata -> String Source #

showList :: [Hash DRepMetadata] -> ShowS Source #

Show (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Methods

showsPrec :: Int -> Hash GovernancePoll -> ShowS Source #

show :: Hash GovernancePoll -> String Source #

showList :: [Hash GovernancePoll] -> ShowS Source #

Show (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

showsPrec :: Int -> Hash ByronKey -> ShowS Source #

show :: Hash ByronKey -> String Source #

showList :: [Hash ByronKey] -> ShowS Source #

Show (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

showsPrec :: Int -> Hash ByronKeyLegacy -> ShowS Source #

show :: Hash ByronKeyLegacy -> String Source #

showList :: [Hash ByronKeyLegacy] -> ShowS Source #

Show (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

showsPrec :: Int -> Hash KesKey -> ShowS Source #

show :: Hash KesKey -> String Source #

showList :: [Hash KesKey] -> ShowS Source #

Show (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

showsPrec :: Int -> Hash VrfKey -> ShowS Source #

show :: Hash VrfKey -> String Source #

showList :: [Hash VrfKey] -> ShowS Source #

Show (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash CommitteeColdExtendedKey -> ShowS Source #

show :: Hash CommitteeColdExtendedKey -> String Source #

showList :: [Hash CommitteeColdExtendedKey] -> ShowS Source #

Show (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash CommitteeColdKey -> ShowS Source #

show :: Hash CommitteeColdKey -> String Source #

showList :: [Hash CommitteeColdKey] -> ShowS Source #

Show (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash CommitteeHotExtendedKey -> ShowS Source #

show :: Hash CommitteeHotExtendedKey -> String Source #

showList :: [Hash CommitteeHotExtendedKey] -> ShowS Source #

Show (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash CommitteeHotKey -> ShowS Source #

show :: Hash CommitteeHotKey -> String Source #

showList :: [Hash CommitteeHotKey] -> ShowS Source #

Show (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash DRepExtendedKey -> ShowS Source #

show :: Hash DRepExtendedKey -> String Source #

showList :: [Hash DRepExtendedKey] -> ShowS Source #

Show (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash DRepKey -> ShowS Source #

show :: Hash DRepKey -> String Source #

showList :: [Hash DRepKey] -> ShowS Source #

Show (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash GenesisDelegateExtendedKey -> ShowS Source #

show :: Hash GenesisDelegateExtendedKey -> String Source #

showList :: [Hash GenesisDelegateExtendedKey] -> ShowS Source #

Show (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash GenesisDelegateKey -> ShowS Source #

show :: Hash GenesisDelegateKey -> String Source #

showList :: [Hash GenesisDelegateKey] -> ShowS Source #

Show (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash GenesisExtendedKey -> ShowS Source #

show :: Hash GenesisExtendedKey -> String Source #

showList :: [Hash GenesisExtendedKey] -> ShowS Source #

Show (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash GenesisKey -> ShowS Source #

show :: Hash GenesisKey -> String Source #

showList :: [Hash GenesisKey] -> ShowS Source #

Show (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash GenesisUTxOKey -> ShowS Source #

show :: Hash GenesisUTxOKey -> String Source #

showList :: [Hash GenesisUTxOKey] -> ShowS Source #

Show (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash PaymentExtendedKey -> ShowS Source #

show :: Hash PaymentExtendedKey -> String Source #

showList :: [Hash PaymentExtendedKey] -> ShowS Source #

Show (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash PaymentKey -> ShowS Source #

show :: Hash PaymentKey -> String Source #

showList :: [Hash PaymentKey] -> ShowS Source #

Show (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash StakeExtendedKey -> ShowS Source #

show :: Hash StakeExtendedKey -> String Source #

showList :: [Hash StakeExtendedKey] -> ShowS Source #

Show (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash StakeKey -> ShowS Source #

show :: Hash StakeKey -> String Source #

showList :: [Hash StakeKey] -> ShowS Source #

Show (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

showsPrec :: Int -> Hash StakePoolKey -> ShowS Source #

show :: Hash StakePoolKey -> String Source #

showList :: [Hash StakePoolKey] -> ShowS Source #

Show (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

showsPrec :: Int -> Hash ScriptData -> ShowS Source #

show :: Hash ScriptData -> String Source #

showList :: [Hash ScriptData] -> ShowS Source #

Show (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

showsPrec :: Int -> Hash StakePoolMetadata -> ShowS Source #

show :: Hash StakePoolMetadata -> String Source #

showList :: [Hash StakePoolMetadata] -> ShowS Source #

Show (Hash HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

HasTypeProxy a => HasTypeProxy (Hash a) 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) #

Methods

proxyToAsType :: Proxy (Hash a) -> AsType (Hash a)

SerialiseAsBech32 (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

bech32PrefixFor :: Hash CommitteeColdKey -> Text

bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [Text]

SerialiseAsBech32 (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

bech32PrefixFor :: Hash CommitteeHotKey -> Text

bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [Text]

SerialiseAsBech32 (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

bech32PrefixFor :: Hash DRepKey -> Text

bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [Text]

SerialiseAsBech32 (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

bech32PrefixFor :: Hash StakePoolKey -> Text

bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [Text]

SerialiseAsCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToCBOR :: Hash ByronKey -> ByteString

deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey)

SerialiseAsCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString

deserialiseFromCBOR :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either DecoderError (Hash ByronKeyLegacy)

SerialiseAsCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash KesKey -> ByteString

deserialiseFromCBOR :: AsType (Hash KesKey) -> ByteString -> Either DecoderError (Hash KesKey)

SerialiseAsCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToCBOR :: Hash VrfKey -> ByteString

deserialiseFromCBOR :: AsType (Hash VrfKey) -> ByteString -> Either DecoderError (Hash VrfKey)

SerialiseAsCBOR (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash CommitteeColdExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash CommitteeColdExtendedKey) -> ByteString -> Either DecoderError (Hash CommitteeColdExtendedKey)

SerialiseAsCBOR (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash CommitteeColdKey -> ByteString

deserialiseFromCBOR :: AsType (Hash CommitteeColdKey) -> ByteString -> Either DecoderError (Hash CommitteeColdKey)

SerialiseAsCBOR (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash CommitteeHotExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash CommitteeHotExtendedKey) -> ByteString -> Either DecoderError (Hash CommitteeHotExtendedKey)

SerialiseAsCBOR (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash CommitteeHotKey -> ByteString

deserialiseFromCBOR :: AsType (Hash CommitteeHotKey) -> ByteString -> Either DecoderError (Hash CommitteeHotKey)

SerialiseAsCBOR (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash DRepExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash DRepExtendedKey) -> ByteString -> Either DecoderError (Hash DRepExtendedKey)

SerialiseAsCBOR (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash DRepKey -> ByteString

deserialiseFromCBOR :: AsType (Hash DRepKey) -> ByteString -> Either DecoderError (Hash DRepKey)

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisDelegateExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash GenesisDelegateExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateExtendedKey)

SerialiseAsCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisDelegateKey -> ByteString

deserialiseFromCBOR :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateKey)

SerialiseAsCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisExtendedKey)

SerialiseAsCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisKey -> ByteString

deserialiseFromCBOR :: AsType (Hash GenesisKey) -> ByteString -> Either DecoderError (Hash GenesisKey)

SerialiseAsCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash GenesisUTxOKey -> ByteString

deserialiseFromCBOR :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either DecoderError (Hash GenesisUTxOKey)

SerialiseAsCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash PaymentExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either DecoderError (Hash PaymentExtendedKey)

SerialiseAsCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash PaymentKey -> ByteString

deserialiseFromCBOR :: AsType (Hash PaymentKey) -> ByteString -> Either DecoderError (Hash PaymentKey)

SerialiseAsCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakeExtendedKey -> ByteString

deserialiseFromCBOR :: AsType (Hash StakeExtendedKey) -> ByteString -> Either DecoderError (Hash StakeExtendedKey)

SerialiseAsCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakeKey -> ByteString

deserialiseFromCBOR :: AsType (Hash StakeKey) -> ByteString -> Either DecoderError (Hash StakeKey)

SerialiseAsCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToCBOR :: Hash StakePoolKey -> ByteString

deserialiseFromCBOR :: AsType (Hash StakePoolKey) -> ByteString -> Either DecoderError (Hash StakePoolKey)

SerialiseAsRawBytes (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

serialiseToRawBytes :: Hash BlockHeader -> ByteString

deserialiseFromRawBytes :: AsType (Hash BlockHeader) -> ByteString -> Either SerialiseAsRawBytesError (Hash BlockHeader)

SerialiseAsRawBytes (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

Methods

serialiseToRawBytes :: Hash DRepMetadata -> ByteString

deserialiseFromRawBytes :: AsType (Hash DRepMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepMetadata)

SerialiseAsRawBytes (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Methods

serialiseToRawBytes :: Hash GovernancePoll -> ByteString

deserialiseFromRawBytes :: AsType (Hash GovernancePoll) -> ByteString -> Either SerialiseAsRawBytesError (Hash GovernancePoll)

SerialiseAsRawBytes (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToRawBytes :: Hash ByronKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKey)

SerialiseAsRawBytes (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

serialiseToRawBytes :: Hash ByronKeyLegacy -> ByteString

deserialiseFromRawBytes :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKeyLegacy)

SerialiseAsRawBytes (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToRawBytes :: Hash KesKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash KesKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash KesKey)

SerialiseAsRawBytes (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

serialiseToRawBytes :: Hash VrfKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash VrfKey)

SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash CommitteeColdExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash CommitteeColdExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeColdExtendedKey)

SerialiseAsRawBytes (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash CommitteeColdKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash CommitteeColdKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeColdKey)

SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash CommitteeHotExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash CommitteeHotExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeHotExtendedKey)

SerialiseAsRawBytes (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash CommitteeHotKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash CommitteeHotKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeHotKey)

SerialiseAsRawBytes (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash DRepExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepExtendedKey)

SerialiseAsRawBytes (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash DRepKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepKey)

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash GenesisDelegateExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash GenesisDelegateExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisDelegateExtendedKey)

SerialiseAsRawBytes (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash GenesisDelegateKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisDelegateKey)

SerialiseAsRawBytes (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash GenesisExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisExtendedKey)

SerialiseAsRawBytes (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash GenesisKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash GenesisKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisKey)

SerialiseAsRawBytes (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash GenesisUTxOKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisUTxOKey)

SerialiseAsRawBytes (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash PaymentExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentExtendedKey)

SerialiseAsRawBytes (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash PaymentKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash PaymentKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentKey)

SerialiseAsRawBytes (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash StakeExtendedKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash StakeExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeExtendedKey)

SerialiseAsRawBytes (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash StakeKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash StakeKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeKey)

SerialiseAsRawBytes (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

serialiseToRawBytes :: Hash StakePoolKey -> ByteString

deserialiseFromRawBytes :: AsType (Hash StakePoolKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolKey)

SerialiseAsRawBytes (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

serialiseToRawBytes :: Hash ScriptData -> ByteString

deserialiseFromRawBytes :: AsType (Hash ScriptData) -> ByteString -> Either SerialiseAsRawBytesError (Hash ScriptData)

SerialiseAsRawBytes (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

serialiseToRawBytes :: Hash StakePoolMetadata -> ByteString

deserialiseFromRawBytes :: AsType (Hash StakePoolMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolMetadata)

SerialiseAsRawBytes (Hash HydraKey) 
Instance details

Defined in Hydra.Crypto

FromCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKey)

label :: Proxy (Hash ByronKey) -> Text

FromCBOR (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

fromCBOR :: Decoder s (Hash ByronKeyLegacy)

label :: Proxy (Hash ByronKeyLegacy) -> Text

FromCBOR (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash KesKey)

label :: Proxy (Hash KesKey) -> Text

FromCBOR (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromCBOR :: Decoder s (Hash VrfKey)

label :: Proxy (Hash VrfKey) -> Text

FromCBOR (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeColdExtendedKey)

label :: Proxy (Hash CommitteeColdExtendedKey) -> Text

FromCBOR (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeColdKey)

label :: Proxy (Hash CommitteeColdKey) -> Text

FromCBOR (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeHotExtendedKey)

label :: Proxy (Hash CommitteeHotExtendedKey) -> Text

FromCBOR (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash CommitteeHotKey)

label :: Proxy (Hash CommitteeHotKey) -> Text

FromCBOR (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash DRepExtendedKey)

label :: Proxy (Hash DRepExtendedKey) -> Text

FromCBOR (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash DRepKey)

label :: Proxy (Hash DRepKey) -> Text

FromCBOR (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisDelegateExtendedKey)

label :: Proxy (Hash GenesisDelegateExtendedKey) -> Text

FromCBOR (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisDelegateKey)

label :: Proxy (Hash GenesisDelegateKey) -> Text

FromCBOR (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisExtendedKey)

label :: Proxy (Hash GenesisExtendedKey) -> Text

FromCBOR (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisKey)

label :: Proxy (Hash GenesisKey) -> Text

FromCBOR (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash GenesisUTxOKey)

label :: Proxy (Hash GenesisUTxOKey) -> Text

FromCBOR (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentExtendedKey)

label :: Proxy (Hash PaymentExtendedKey) -> Text

FromCBOR (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash PaymentKey)

label :: Proxy (Hash PaymentKey) -> Text

FromCBOR (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeExtendedKey)

label :: Proxy (Hash StakeExtendedKey) -> Text

FromCBOR (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakeKey)

label :: Proxy (Hash StakeKey) -> Text

FromCBOR (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromCBOR :: Decoder s (Hash StakePoolKey)

label :: Proxy (Hash StakePoolKey) -> Text

ToCBOR (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Block

Methods

(==) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source #

(/=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source #

Eq (Hash DRepMetadata) 
Instance details

Defined in Cardano.Api.DRepMetadata

Methods

(==) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source #

(/=) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source #

Eq (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

Methods

(==) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source #

(/=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source #

Eq (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

(==) :: Hash ByronKey -> Hash ByronKey -> Bool Source #

(/=) :: Hash ByronKey -> Hash ByronKey -> Bool Source #

Eq (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

(==) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source #

(/=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source #

Eq (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

(==) :: Hash KesKey -> Hash KesKey -> Bool Source #

(/=) :: Hash KesKey -> Hash KesKey -> Bool Source #

Eq (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

(==) :: Hash VrfKey -> Hash VrfKey -> Bool Source #

(/=) :: Hash VrfKey -> Hash VrfKey -> Bool Source #

Eq (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source #

(/=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source #

Eq (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source #

(/=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source #

Eq (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source #

(/=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source #

Eq (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source #

(/=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source #

Eq (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

(/=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source #

Eq (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash DRepKey -> Hash DRepKey -> Bool Source #

(/=) :: Hash DRepKey -> Hash DRepKey -> Bool Source #

Eq (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source #

(/=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source #

Eq (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source #

(/=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source #

Eq (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source #

(/=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source #

Eq (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source #

(/=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source #

Eq (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source #

(/=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source #

Eq (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source #

(/=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source #

Eq (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source #

(/=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source #

Eq (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source #

(/=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source #

Eq (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash StakeKey -> Hash StakeKey -> Bool Source #

(/=) :: Hash StakeKey -> Hash StakeKey -> Bool Source #

Eq (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

(==) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source #

(/=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source #

Eq (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

(==) :: Hash ScriptData -> Hash ScriptData -> Bool Source #

(/=) :: Hash ScriptData -> Hash ScriptData -> Bool Source #

Eq (Hash StakePoolMetadata) 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

(==) :: Hash StakePoolMetadata -> Hash StakePoolMetadata -> Bool Source #

(/=) :: Hash StakePoolMetadata -> Hash StakePoolMetadata -> Bool Source #

Eq (Hash HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Ord (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

Methods

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) 
Instance details

Defined in Cardano.Api.Governance.Poll

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Byron

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

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 #

max :: Hash KesKey -> Hash KesKey -> Hash KesKey Source #

min :: Hash KesKey -> Hash KesKey -> Hash KesKey Source #

Ord (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

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 #

max :: Hash VrfKey -> Hash VrfKey -> Hash VrfKey Source #

min :: Hash VrfKey -> Hash VrfKey -> Hash VrfKey Source #

Ord (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

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) 
Instance details

Defined in Cardano.Api.ScriptData

Methods

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 # 
Instance details

Defined in Hydra.Crypto

newtype Hash BlockHeader 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader = HeaderHash ShortByteString
newtype Hash DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

newtype Hash DRepMetadata = DRepMetadataHash (Hash StandardCrypto ByteString)
newtype Hash GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

newtype Hash GovernancePoll = GovernancePollHash {}
newtype Hash ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype Hash ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

newtype Hash ByronKeyLegacy = ByronKeyHashLegacy KeyHash
newtype Hash KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype Hash VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype Hash CommitteeColdExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeColdExtendedKey = CommitteeColdExtendedKeyHash {}
newtype Hash CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeColdKey = CommitteeColdKeyHash {}
newtype Hash CommitteeHotExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeHotExtendedKey = CommitteeHotExtendedKeyHash {}
newtype Hash CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash CommitteeHotKey = CommitteeHotKeyHash {}
newtype Hash DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash DRepExtendedKey = DRepExtendedKeyHash {}
newtype Hash DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash DRepKey = DRepKeyHash {}
newtype Hash GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash {}
newtype Hash GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash {}
newtype Hash GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash {}
newtype Hash GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisKey = GenesisKeyHash {}
newtype Hash GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash {}
newtype Hash PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash {}
newtype Hash PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash PaymentKey = PaymentKeyHash {}
newtype Hash StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeExtendedKey = StakeExtendedKeyHash {}
newtype Hash StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakeKey = StakeKeyHash {}
newtype Hash StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

newtype Hash StakePoolKey = StakePoolKeyHash {}
newtype Hash ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

newtype Hash ScriptData = ScriptDataHash (DataHash StandardCrypto)
newtype Hash StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)
newtype Hash HydraKey Source #

Hashes of Hydra keys

Instance details

Defined in Hydra.Crypto

newtype Hash HydraKey = HydraKeyHash (Hash Blake2b_256 (VerificationKey HydraKey))
data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

data family AsType t #

Instances

Instances details
data AsType AddressAny 
Instance details

Defined in Cardano.Api.Address

data AsType AddressAny = AsAddressAny
data AsType ByronAddr 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr = AsByronAddr
data AsType ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr = AsShelleyAddr
data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress = AsStakeAddress
data AsType BlockHeader 
Instance details

Defined in Cardano.Api.Block

data AsType BlockHeader = AsBlockHeader
data AsType DRepMetadata 
Instance details

Defined in Cardano.Api.DRepMetadata

data AsType DRepMetadata = AsDRepMetadata
data AsType AllegraEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType AllegraEra = AsAllegraEra
data AsType AlonzoEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType AlonzoEra = AsAlonzoEra
data AsType BabbageEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType BabbageEra = AsBabbageEra
data AsType ByronEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType ByronEra = AsByronEra
data AsType ConwayEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType ConwayEra = AsConwayEra
data AsType MaryEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType MaryEra = AsMaryEra
data AsType ShelleyEra 
Instance details

Defined in Cardano.Api.Eras.Core

data AsType ShelleyEra = AsShelleyEra
data AsType GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Poll

data AsType GovernancePoll = AsGovernancePoll
data AsType GovernancePollAnswer 
Instance details

Defined in Cardano.Api.Governance.Poll

data AsType GovernancePollAnswer = AsGovernancePollAnswer
data AsType ByronKey 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType ByronKey = AsByronKey
data AsType ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Keys.Byron

data AsType ByronKeyLegacy = AsByronKeyLegacy
data AsType KesKey 
Instance details

Defined in Cardano.Api.Keys.Praos

data AsType KesKey = AsKesKey
data AsType VrfKey 
Instance details

Defined in Cardano.Api.Keys.Praos

data AsType VrfKey = AsVrfKey
data AsType CommitteeColdExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType CommitteeColdExtendedKey = AsCommitteeColdExtendedKey
data AsType CommitteeColdKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType CommitteeColdKey = AsCommitteeColdKey
data AsType CommitteeHotExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType CommitteeHotExtendedKey = AsCommitteeHotExtendedKey
data AsType CommitteeHotKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType CommitteeHotKey = AsCommitteeHotKey
data AsType DRepExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType DRepExtendedKey = AsDRepExtendedKey
data AsType DRepKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType DRepKey = AsDRepKey
data AsType GenesisDelegateExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateExtendedKey = AsGenesisDelegateExtendedKey
data AsType GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisDelegateKey = AsGenesisDelegateKey
data AsType GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisExtendedKey = AsGenesisExtendedKey
data AsType GenesisKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisKey = AsGenesisKey
data AsType GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType GenesisUTxOKey = AsGenesisUTxOKey
data AsType PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentExtendedKey = AsPaymentExtendedKey
data AsType PaymentKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType PaymentKey = AsPaymentKey
data AsType StakeExtendedKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeExtendedKey = AsStakeExtendedKey
data AsType StakeKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakeKey = AsStakeKey
data AsType StakePoolKey 
Instance details

Defined in Cardano.Api.Keys.Shelley

data AsType StakePoolKey = AsStakePoolKey
data AsType OperationalCertificate 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificate = AsOperationalCertificate
data AsType OperationalCertificateIssueCounter 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter = AsOperationalCertificateIssueCounter
data AsType PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType PraosNonce = AsPraosNonce
data AsType UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal = AsUpdateProposal
data AsType PlutusScriptV1 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV1 = AsPlutusScriptV1
data AsType PlutusScriptV2 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV2 = AsPlutusScriptV2
data AsType PlutusScriptV3 
Instance details

Defined in Cardano.Api.Script

data AsType PlutusScriptV3 = AsPlutusScriptV3
data AsType ScriptHash 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptHash = AsScriptHash
data AsType ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptInAnyLang = AsScriptInAnyLang
data AsType SimpleScript' 
Instance details

Defined in Cardano.Api.Script

data AsType SimpleScript' = AsSimpleScript
data AsType HashableScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType HashableScriptData = AsHashableScriptData
data AsType ScriptData 
Instance details

Defined in Cardano.Api.ScriptData

data AsType ScriptData = AsScriptData
data AsType TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

data AsType TextEnvelope = AsTextEnvelope
data AsType ByronUpdateProposal 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType ByronUpdateProposal = AsByronUpdateProposal
data AsType ByronVote 
Instance details

Defined in Cardano.Api.SpecialByron

data AsType ByronVote = AsByronVote
data AsType StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType StakePoolMetadata = AsStakePoolMetadata
data AsType TxId 
Instance details

Defined in Cardano.Api.TxIn

data AsType TxId = AsTxId
data AsType TxMetadata 
Instance details

Defined in Cardano.Api.TxMetadata

data AsType TxMetadata = AsTxMetadata
data AsType AssetName 
Instance details

Defined in Cardano.Api.Value

data AsType AssetName = AsAssetName
data AsType PolicyId 
Instance details

Defined in Cardano.Api.Value

data AsType PolicyId = AsPolicyId
data AsType HydraKey Source # 
Instance details

Defined in Hydra.Crypto

data AsType HeadId Source # 
Instance details

Defined in Hydra.HeadId

data AsType HeadSeed Source # 
Instance details

Defined in Hydra.HeadId

data AsType OnChainId Source # 
Instance details

Defined in Hydra.OnChainId

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)
data AsType (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

data AsType (AddressInEra era) = AsAddressInEra (AsType era)
data AsType (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate

data AsType (Certificate era) = AsCertificate
data AsType (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Actions.ProposalProcedure

data AsType (Proposal era) = AsProposal
data AsType (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

data AsType (VotingProcedure era) = AsVote
data AsType (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

data AsType (VotingProcedures era) = AsVotingProcedures
data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Keys.Class

data AsType (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Script

data AsType (PlutusScript lang) = AsPlutusScript (AsType lang)
data AsType (Script lang) 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) = AsScript (AsType lang)
data AsType (ScriptInEra era) 
Instance details

Defined in Cardano.Api.Script

data AsType (ScriptInEra era) = AsScriptInEra (AsType era)
data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx.Sign

data AsType (KeyWitness era) = AsKeyWitness (AsType era)
data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Tx.Sign

data AsType (Tx era) = AsTx (AsType era)
data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.Tx.Sign

data AsType (TxBody era) = AsTxBody (AsType era)

newtype MultiSignature a Source #

Naiively aggregated multi-signatures.

Constructors

HydraMultiSignature 

Fields

Instances

Instances details
(Arbitrary a, SignableRepresentation a) => Arbitrary (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

FromJSON a => FromJSON (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

parseJSON :: Value -> Parser (MultiSignature a)

parseJSONList :: Value -> Parser [MultiSignature a]

omittedField :: Maybe (MultiSignature a)

ToJSON a => ToJSON (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

toJSON :: MultiSignature a -> Value

toEncoding :: MultiSignature a -> Encoding

toJSONList :: [MultiSignature a] -> Value

toEncodingList :: [MultiSignature a] -> Encoding

omitField :: MultiSignature a -> Bool

Monoid (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

Semigroup (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

Generic (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

Associated Types

type Rep (MultiSignature a) :: Type -> Type Source #

Show (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

Eq (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

type Rep (MultiSignature a) Source # 
Instance details

Defined in Hydra.Crypto

type Rep (MultiSignature a) = D1 ('MetaData "MultiSignature" "Hydra.Crypto" "hydra-node-0.16.0-C0XGScKIquG5I6dPp21445" 'True) (C1 ('MetaCons "HydraMultiSignature" 'PrefixI 'True) (S1 ('MetaSel ('Just "multiSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Signature a])))

data HydraKey Source #

Hydra keys (keyrole) which can be used to sign and verify messages, as well as aggregate multi-signatures.

Instances

Instances details
HasTypeProxy HydraKey Source # 
Instance details

Defined in Hydra.Crypto

Associated Types

data AsType HydraKey #

Key HydraKey Source # 
Instance details

Defined in Hydra.Crypto

Associated Types

data VerificationKey HydraKey #

data SigningKey HydraKey #

Arbitrary (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Arbitrary (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

FromJSON (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

ToJSON (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Show (Hash HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Show (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Show (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

SerialiseAsCBOR (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

SerialiseAsCBOR (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

SerialiseAsRawBytes (Hash HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

SerialiseAsRawBytes (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

SerialiseAsRawBytes (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

HasTextEnvelope (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Methods

textEnvelopeType :: AsType (SigningKey HydraKey) -> TextEnvelopeType

textEnvelopeDefaultDescr :: SigningKey HydraKey -> TextEnvelopeDescr

HasTextEnvelope (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

FromCBOR (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

FromCBOR (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

ToCBOR (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Methods

toCBOR :: SigningKey HydraKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey HydraKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey HydraKey] -> Size

ToCBOR (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Methods

toCBOR :: VerificationKey HydraKey -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerificationKey HydraKey) -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerificationKey HydraKey] -> Size

Eq (Hash HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Eq (SigningKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Eq (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

Ord (Hash HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

(TypeError ('Text "Ord not supported for verification keys, use the hash instead") :: Constraint) => Ord (VerificationKey HydraKey) Source # 
Instance details

Defined in Hydra.Crypto

data AsType HydraKey Source # 
Instance details

Defined in Hydra.Crypto

newtype Hash HydraKey Source #

Hashes of Hydra keys

Instance details

Defined in Hydra.Crypto

newtype Hash HydraKey = HydraKeyHash (Hash Blake2b_256 (VerificationKey HydraKey))
newtype SigningKey HydraKey Source # 
Instance details

Defined in Hydra.Crypto

newtype SigningKey HydraKey = HydraSigningKey (SignKeyDSIGN Ed25519DSIGN)
newtype VerificationKey HydraKey Source # 
Instance details

Defined in Hydra.Crypto

newtype VerificationKey HydraKey = HydraVerificationKey (VerKeyDSIGN Ed25519DSIGN)

newtype Signature a Source #

Signature of a, not containing the actual payload.

Constructors

HydraSignature (SigDSIGN Ed25519DSIGN) 

Instances

Instances details
(Arbitrary a, SignableRepresentation a) => Arbitrary (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

arbitrary :: Gen (Signature a)

shrink :: Signature a -> [Signature a]

FromJSON a => FromJSON (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

parseJSON :: Value -> Parser (Signature a)

parseJSONList :: Value -> Parser [Signature a]

omittedField :: Maybe (Signature a)

ToJSON a => ToJSON (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

toJSON :: Signature a -> Value

toEncoding :: Signature a -> Encoding

toJSONList :: [Signature a] -> Value

toEncodingList :: [Signature a] -> Encoding

omitField :: Signature a -> Bool

Show (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

(Typeable a, Typeable k) => FromCBOR (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

fromCBOR :: Decoder s (Signature a)

label :: Proxy (Signature a) -> Text

(Typeable a, Typeable k) => ToCBOR (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

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 # 
Instance details

Defined in Hydra.Crypto

Hashable (Signature a) Source # 
Instance details

Defined in Hydra.Crypto

Methods

hashWithSalt :: Int -> Signature a -> Int

hash :: Signature a -> Int

data Verified Source #

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

Instances details
FromJSON Verified Source # 
Instance details

Defined in Hydra.Crypto

Methods

parseJSON :: Value -> Parser Verified

parseJSONList :: Value -> Parser [Verified]

omittedField :: Maybe Verified

ToJSON Verified Source # 
Instance details

Defined in Hydra.Crypto

Methods

toJSON :: Verified -> Value

toEncoding :: Verified -> Encoding

toJSONList :: [Verified] -> Value

toEncodingList :: [Verified] -> Encoding

omitField :: Verified -> Bool

Generic Verified Source # 
Instance details

Defined in Hydra.Crypto

Associated Types

type Rep Verified :: Type -> Type Source #

Show Verified Source # 
Instance details

Defined in Hydra.Crypto

Eq Verified Source # 
Instance details

Defined in Hydra.Crypto

type Rep Verified Source # 
Instance details

Defined in Hydra.Crypto

type Rep Verified = D1 ('MetaData "Verified" "Hydra.Crypto" "hydra-node-0.16.0-C0XGScKIquG5I6dPp21445" '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 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.

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.

verify :: SignableRepresentation a => VerificationKey HydraKey -> Signature a -> a -> Bool Source #

Verify a given 'Signature a' and value a using provided VerificationKey.

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!