cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Byron

Description

This module provides a library interface that is intended to be the complete API for Byron covering everything, including exposing constructors for the lower level types.

Synopsis

Documentation

data family Hash keyrole Source #

Instances

Instances details
FromJSON (Hash BlockHeader) Source # 
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) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash DRepKey) #

parseJSONList :: Value -> Parser [Hash DRepKey] #

omittedField :: Maybe (Hash DRepKey) #

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash GenesisKey) #

parseJSONList :: Value -> Parser [Hash GenesisKey] #

omittedField :: Maybe (Hash GenesisKey) #

FromJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash PaymentKey) #

parseJSONList :: Value -> Parser [Hash PaymentKey] #

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

omittedField :: Maybe (Hash StakePoolKey) #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

omittedField :: Maybe (Hash ScriptData) #

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash DRepKey -> Value #

toEncoding :: Hash DRepKey -> Encoding #

toJSONList :: [Hash DRepKey] -> Value #

toEncodingList :: [Hash DRepKey] -> Encoding #

omitField :: Hash DRepKey -> Bool #

ToJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash GenesisKey -> Value #

toEncoding :: Hash GenesisKey -> Encoding #

toJSONList :: [Hash GenesisKey] -> Value #

toEncodingList :: [Hash GenesisKey] -> Encoding #

omitField :: Hash GenesisKey -> Bool #

ToJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.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) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolExtendedKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolExtendedKey]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Show (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Show (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

HasTypeProxy a => HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

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

Methods

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

SerialiseAsBech32 (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash CommitteeColdKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash CommitteeHotKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash StakePoolKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

SerialiseAsRawBytes (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

FromCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

toCBOR :: Hash ByronKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size Source #

ToCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toCBOR :: Hash DRepKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepKey] -> Size Source #

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toCBOR :: Hash StakeKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size Source #

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

toCBOR :: Hash KesKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size Source #

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Eq (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Eq (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Ord (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Ord (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Pretty (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

pretty :: Hash ByronKey -> Doc ann #

prettyList :: [Hash ByronKey] -> Doc ann #

Pretty (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Pretty (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash DRepKey -> Doc ann #

prettyList :: [Hash DRepKey] -> Doc ann #

Pretty (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash GenesisKey -> Doc ann #

prettyList :: [Hash GenesisKey] -> Doc ann #

Pretty (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash PaymentKey -> Doc ann #

prettyList :: [Hash PaymentKey] -> Doc ann #

Pretty (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash StakeKey -> Doc ann #

prettyList :: [Hash StakeKey] -> Doc ann #

Pretty (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

pretty :: Hash KesKey -> Doc ann #

prettyList :: [Hash KesKey] -> Doc ann #

Pretty (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

pretty :: Hash VrfKey -> Doc ann #

prettyList :: [Hash VrfKey] -> Doc ann #

Pretty (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

pretty :: Hash ScriptData -> Doc ann #

prettyList :: [Hash ScriptData] -> Doc ann #

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

newtype Hash GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

newtype Hash CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype Hash ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

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

data TxBody era where Source #

Constructors

ShelleyTxBody 

Fields

Bundled Patterns

pattern TxBody :: TxBodyContent ViewTx era -> TxBody era

Deprecated: Use getTxBodyContent $ getTxBody instead

Instances

Instances details
Show (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Methods

showsPrec :: Int -> TxBody era -> ShowS Source #

show :: TxBody era -> String Source #

showList :: [TxBody era] -> ShowS Source #

HasTypeProxy era => HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Associated Types

data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

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

Methods

proxyToAsType :: Proxy (TxBody era) -> AsType (TxBody era) Source #

IsShelleyBasedEra era => SerialiseAsCBOR (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

IsShelleyBasedEra era => HasTextEnvelope (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Eq (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Methods

(==) :: TxBody era -> TxBody era -> Bool Source #

(/=) :: TxBody era -> TxBody era -> Bool Source #

data AsType (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

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

newtype TxId Source #

Instances

Instances details
FromJSON TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxId #

parseJSONList :: Value -> Parser [TxId] #

omittedField :: Maybe TxId #

FromJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

fromJSONKey :: FromJSONKeyFunction TxId

fromJSONKeyList :: FromJSONKeyFunction [TxId]

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

toJSON :: TxId -> Value #

toEncoding :: TxId -> Encoding #

toJSONList :: [TxId] -> Value #

toEncodingList :: [TxId] -> Encoding #

omitField :: TxId -> Bool #

ToJSONKey TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

toJSONKey :: ToJSONKeyFunction TxId

toJSONKeyList :: ToJSONKeyFunction [TxId]

Show TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

HasTypeProxy TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Associated Types

data AsType TxId 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

SerialiseAsRawBytes TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Eq TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

(==) :: TxId -> TxId -> Bool Source #

(/=) :: TxId -> TxId -> Bool Source #

Ord TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Pretty TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

pretty :: TxId -> Doc ann #

prettyList :: [TxId] -> Doc ann #

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

getTxId :: TxBody era -> TxId Source #

Calculate the transaction identifier for a TxBody.

data family VerificationKey keyrole Source #

The type of cryptographic verification key, for each key role.

Instances

Instances details
Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: VerificationKey DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: VerificationKey KesKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey KesKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: VerificationKey VrfKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey VrfKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype VerificationKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data family SigningKey keyrole Source #

The type of cryptographic signing key, for each key role.

Instances

Instances details
Show (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy a => HasTypeProxy (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey PaymentKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey StakeKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey StakePoolKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: SigningKey KesKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: SigningKey VrfKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype SigningKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype SigningKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data family VerificationKey keyrole Source #

The type of cryptographic verification key, for each key role.

Instances

Instances details
Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: VerificationKey DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: VerificationKey KesKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey KesKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: VerificationKey VrfKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey VrfKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype VerificationKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data family SigningKey keyrole Source #

The type of cryptographic signing key, for each key role.

Instances

Instances details
Show (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy a => HasTypeProxy (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey PaymentKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey StakeKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey StakePoolKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: SigningKey KesKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: SigningKey VrfKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype SigningKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype SigningKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data Value Source #

Instances

Instances details
FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser Value #

parseJSONList :: Value -> Parser [Value] #

omittedField :: Maybe Value #

ToJSON Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

toJSON :: Value -> Value #

toEncoding :: Value -> Encoding #

toJSONList :: [Value] -> Value #

toEncodingList :: [Value] -> Encoding #

omitField :: Value -> Bool #

Monoid Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Semigroup Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

IsList Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Associated Types

type Item Value 
Instance details

Defined in Cardano.Api.Value.Internal

Show Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Eq Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

(==) :: Value -> Value -> Bool Source #

(/=) :: Value -> Value -> Bool Source #

type Item Value Source # 
Instance details

Defined in Cardano.Api.Value.Internal

newtype TxIx Source #

Constructors

TxIx Word 

Instances

Instances details
FromJSON TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

parseJSON :: Value -> Parser TxIx #

parseJSONList :: Value -> Parser [TxIx] #

omittedField :: Maybe TxIx #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

toJSON :: TxIx -> Value #

toEncoding :: TxIx -> Encoding #

toJSONList :: [TxIx] -> Value #

toEncodingList :: [TxIx] -> Encoding #

omitField :: TxIx -> Bool #

Enum TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Show TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Eq TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

(==) :: TxIx -> TxIx -> Bool Source #

(/=) :: TxIx -> TxIx -> Bool Source #

Ord TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Pretty TxIx Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Methods

pretty :: TxIx -> Doc ann #

prettyList :: [TxIx] -> Doc ann #

newtype Coin Source #

The amount of value held by a transaction output.

Constructors

Coin 

Fields

Instances

Instances details
FromJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser Coin #

parseJSONList :: Value -> Parser [Coin] #

omittedField :: Maybe Coin #

ToJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toJSON :: Coin -> Value #

toEncoding :: Coin -> Encoding #

toJSONList :: [Coin] -> Value #

toEncodingList :: [Coin] -> Encoding #

omitField :: Coin -> Bool #

Monoid Coin 
Instance details

Defined in Cardano.Ledger.Coin

Semigroup Coin 
Instance details

Defined in Cardano.Ledger.Coin

Enum Coin 
Instance details

Defined in Cardano.Ledger.Coin

Generic Coin 
Instance details

Defined in Cardano.Ledger.Coin

Associated Types

type Rep Coin 
Instance details

Defined in Cardano.Ledger.Coin

type Rep Coin = D1 ('MetaData "Coin" "Cardano.Ledger.Coin" "cardano-ledger-core-1.17.0.0-40627e0716da6172631bf6ceeb209e86ad7229267c6cb5633ce2346182bbd59c" 'True) (C1 ('MetaCons "Coin" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCoin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))

Methods

from :: Coin -> Rep Coin x Source #

to :: Rep Coin x -> Coin Source #

Num Coin Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Misc

Integral Coin Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Misc

Real Coin Source #

These instances originally existed on the Lovelace type. As the Lovelace type is deleted and we use L.Coin instead, these instances are added to L.Coin. The instances are purely for the convenience of writing expressions involving L.Coin but be aware that not all uses of these typeclasses are valid.

Instance details

Defined in Cardano.Api.Internal.Orphans.Misc

Show Coin 
Instance details

Defined in Cardano.Ledger.Coin

FromCBOR Coin 
Instance details

Defined in Cardano.Ledger.Coin

ToCBOR Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

toCBOR :: Coin -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Coin -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Coin] -> Size Source #

DecCBOR Coin 
Instance details

Defined in Cardano.Ledger.Coin

EncCBOR Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

encCBOR :: Coin -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Coin -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Coin] -> Size Source #

HasZero Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

isZero :: Coin -> Bool Source #

Compactible Coin 
Instance details

Defined in Cardano.Ledger.Coin

Associated Types

newtype CompactForm Coin 
Instance details

Defined in Cardano.Ledger.Coin

ToPlutusData Coin 
Instance details

Defined in Cardano.Ledger.Plutus.ToPlutusData

Val Coin 
Instance details

Defined in Cardano.Ledger.Val

NFData Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

rnf :: Coin -> () Source #

Eq Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

(==) :: Coin -> Coin -> Bool Source #

(/=) :: Coin -> Coin -> Bool Source #

Ord Coin 
Instance details

Defined in Cardano.Ledger.Coin

Abelian Coin 
Instance details

Defined in Cardano.Ledger.Coin

Group Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

invert :: Coin -> Coin

(~~) :: Coin -> Coin -> Coin

pow :: Integral x => Coin -> x -> Coin

HeapWords Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

heapWords :: Coin -> Int

NoThunks Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

noThunks :: Context -> Coin -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> Coin -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy Coin -> String #

PartialOrd Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

(<=) :: Coin -> Coin -> Bool

(>=) :: Coin -> Coin -> Bool

(==) :: Coin -> Coin -> Bool

(/=) :: Coin -> Coin -> Bool

(<) :: Coin -> Coin -> Bool

(>) :: Coin -> Coin -> Bool

compare :: Coin -> Coin -> Maybe Ordering

Pretty Coin Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

pretty :: Coin -> Doc ann #

prettyList :: [Coin] -> Doc ann #

Uniform Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

uniformM :: StatefulGen g m => g -> m Coin

UniformRange Coin 
Instance details

Defined in Cardano.Ledger.Coin

Methods

uniformRM :: StatefulGen g m => (Coin, Coin) -> g -> m Coin

Inject Coin DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Inject Coin MaryValue 
Instance details

Defined in Cardano.Ledger.Mary.Value

FromJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

parseJSON :: Value -> Parser (CompactForm Coin) #

parseJSONList :: Value -> Parser [CompactForm Coin] #

omittedField :: Maybe (CompactForm Coin) #

ToJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Monoid (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Semigroup (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Show (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

ToCBOR (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

DecCBOR (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

EncCBOR (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

NFData (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

rnf :: CompactForm Coin -> () Source #

Eq (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Ord (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Abelian (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Group (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

HeapWords (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

MemPack (CompactForm Coin)

This instance prefixes with a 0 Tag for binary compatibility with compact form of multiassets.

Instance details

Defined in Cardano.Ledger.Coin

Methods

typeName :: String #

packedByteCount :: CompactForm Coin -> Int #

packM :: CompactForm Coin -> Pack s () #

unpackM :: Buffer b => Unpack b (CompactForm Coin) #

NoThunks (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

noThunks :: Context -> CompactForm Coin -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> CompactForm Coin -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy (CompactForm Coin) -> String #

Prim (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Uniform (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

uniformM :: StatefulGen g m => g -> m (CompactForm Coin)

UniformRange (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

Methods

uniformRM :: StatefulGen g m => (CompactForm Coin, CompactForm Coin) -> g -> m (CompactForm Coin)

type Rep Coin 
Instance details

Defined in Cardano.Ledger.Coin

type Rep Coin = D1 ('MetaData "Coin" "Cardano.Ledger.Coin" "cardano-ledger-core-1.17.0.0-40627e0716da6172631bf6ceeb209e86ad7229267c6cb5633ce2346182bbd59c" 'True) (C1 ('MetaCons "Coin" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCoin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))
newtype CompactForm Coin 
Instance details

Defined in Cardano.Ledger.Coin

data ATxAux a Source #

Constructors

ATxAux 

Fields

Instances

Instances details
Functor ATxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

fmap :: (a -> b) -> ATxAux a -> ATxAux b Source #

(<$) :: a -> ATxAux b -> ATxAux a Source #

FromCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

ToCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toCBOR :: TxAux -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxAux -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxAux] -> Size Source #

DecCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

EncCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

encCBOR :: TxAux -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy TxAux -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [TxAux] -> Size Source #

Buildable TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

build :: TxAux -> Builder

ToJSON a => ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSON :: ATxAux a -> Value #

toEncoding :: ATxAux a -> Encoding #

toJSONList :: [ATxAux a] -> Value #

toEncodingList :: [ATxAux a] -> Encoding #

omitField :: ATxAux a -> Bool #

Generic (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Associated Types

type Rep (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

type Rep (ATxAux a) = D1 ('MetaData "ATxAux" "Cardano.Chain.UTxO.TxAux" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ATxAux" 'PrefixI 'True) (S1 ('MetaSel ('Just "aTaTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated Tx a)) :*: (S1 ('MetaSel ('Just "aTaWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated TxWitness a)) :*: S1 ('MetaSel ('Just "aTaAnnotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a))))

Methods

from :: ATxAux a -> Rep (ATxAux a) x Source #

to :: Rep (ATxAux a) x -> ATxAux a Source #

Show a => Show (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

FromCBOR (ATxAux ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Decoded (ATxAux ByteString) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Associated Types

type BaseType (ATxAux ByteString) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

DecCBOR (ATxAux ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

NFData a => NFData (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

rnf :: ATxAux a -> () Source #

Eq a => Eq (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

(==) :: ATxAux a -> ATxAux a -> Bool Source #

(/=) :: ATxAux a -> ATxAux a -> Bool Source #

type Rep (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

type Rep (ATxAux a) = D1 ('MetaData "ATxAux" "Cardano.Chain.UTxO.TxAux" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ATxAux" 'PrefixI 'True) (S1 ('MetaSel ('Just "aTaTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated Tx a)) :*: (S1 ('MetaSel ('Just "aTaWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated TxWitness a)) :*: S1 ('MetaSel ('Just "aTaAnnotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a))))
type BaseType (ATxAux ByteString) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

valueFromList :: [(AssetId, Quantity)] -> Value Source #

Deprecated: Use fromList instead.

newtype AssetName Source #

Instances

Instances details
FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser AssetName #

parseJSONList :: Value -> Parser [AssetName] #

omittedField :: Maybe AssetName #

FromJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

fromJSONKey :: FromJSONKeyFunction AssetName

fromJSONKeyList :: FromJSONKeyFunction [AssetName]

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

toJSON :: AssetName -> Value #

toEncoding :: AssetName -> Encoding #

toJSONList :: [AssetName] -> Value #

toEncodingList :: [AssetName] -> Encoding #

omitField :: AssetName -> Bool #

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

toJSONKey :: ToJSONKeyFunction AssetName

toJSONKeyList :: ToJSONKeyFunction [AssetName]

Show AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

HasTypeProxy AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Associated Types

data AsType AssetName 
Instance details

Defined in Cardano.Api.Value.Internal

SerialiseAsRawBytes AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Eq AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Ord AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType BabbageEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ConwayEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType EraHistory Source # 
Instance details

Defined in Cardano.Api.Query.Internal.Type.QueryInMode

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType GovActionId Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType Term Source # 
Instance details

Defined in Cardano.Api.Serialise.Cbor.Canonical

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.Address

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal

data AsType (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.ProposalProcedure

data AsType (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

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

Defined in Cardano.Api.Key.Internal.Class

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

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

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

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

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (Credential 'ColdCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'DRepRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'HotCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType BabbageEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ConwayEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType EraHistory Source # 
Instance details

Defined in Cardano.Api.Query.Internal.Type.QueryInMode

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType GovActionId Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType Term Source # 
Instance details

Defined in Cardano.Api.Serialise.Cbor.Canonical

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.Address

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal

data AsType (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.ProposalProcedure

data AsType (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

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

Defined in Cardano.Api.Key.Internal.Class

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

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

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

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

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (Credential 'ColdCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'DRepRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'HotCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data KeyWitness era where Source #

Instances

Instances details
Show (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

HasTypeProxy era => HasTypeProxy (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Associated Types

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

IsCardanoEra era => HasTextEnvelope (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Eq (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Methods

(==) :: KeyWitness era -> KeyWitness era -> Bool Source #

(/=) :: KeyWitness era -> KeyWitness era -> Bool Source #

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data WitnessNetworkIdOrByronAddress Source #

Either a network ID or a Byron address to be used in constructing a Shelley bootstrap witness.

Constructors

WitnessNetworkId !NetworkId

Network ID.

If this value is used in the construction of a Shelley bootstrap witness, the result will not consist of a derivation path. If that is required, specify a WitnessByronAddress value instead.

WitnessByronAddress !(Address ByronAddr)

Byron address.

If this value is used in the construction of a Shelley bootstrap witness, both the network ID and derivation path will be extracted from the address and used in the construction of the witness.

mkTxCertificates :: Applicative (BuildTxWith build) => ShelleyBasedEra era -> [(Certificate era, Maybe (ScriptWitness WitCtxStake era))] -> TxCertificates build era Source #

Create TxCertificates. Note that 'Certificate era' will be deduplicated. Only Certificates with a stake credential will be in the result.

Note that, when building a transaction in Conway era, a witness is not required for staking credential registration, but this is only the case during the transitional period of Conway era and only for staking credential registration certificates without a deposit. Future eras will require a witness for registration certificates, because the one without a deposit will be removed.

data TextEnvelopeCddlError Source #

Instances

Instances details
Data TextEnvelopeCddlError Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TextEnvelopeCddlError -> c TextEnvelopeCddlError Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TextEnvelopeCddlError Source #

toConstr :: TextEnvelopeCddlError -> Constr Source #

dataTypeOf :: TextEnvelopeCddlError -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TextEnvelopeCddlError) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TextEnvelopeCddlError) Source #

gmapT :: (forall b. Data b => b -> b) -> TextEnvelopeCddlError -> TextEnvelopeCddlError Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TextEnvelopeCddlError -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TextEnvelopeCddlError -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> TextEnvelopeCddlError -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TextEnvelopeCddlError -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TextEnvelopeCddlError -> m TextEnvelopeCddlError Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TextEnvelopeCddlError -> m TextEnvelopeCddlError Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TextEnvelopeCddlError -> m TextEnvelopeCddlError Source #

Show TextEnvelopeCddlError Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl

Error TextEnvelopeCddlError Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl

Eq TextEnvelopeCddlError Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl

data FromSomeTypeCDDL c b where Source #

This GADT allows us to deserialise a tx or key witness without having to provide the era.

Constructors

FromCDDLTx 

Fields

FromCDDLWitness 

Fields

writeTxFileTextEnvelopeCanonicalCddl :: ShelleyBasedEra era -> File content 'Out -> Tx era -> IO (Either (FileError ()) ()) Source #

Write transaction in the text envelope format. The CBOR will be in canonical format according to RFC 7049. It is also a requirement of CIP-21, which is not fully implemented.

  1. RFC 7049: https://datatracker.ietf.org/doc/html/rfc7049#section-3.9
  2. CIP-21: https://github.com/cardano-foundation/CIPs/blob/master/CIP-0021/README.md#canonical-cbor-serialization-format

createAndValidateTransactionBody :: ShelleyBasedEra era -> TxBodyContent BuildTx era -> Either TxBodyError (TxBody era) Source #

Deprecated: Use createTransactionBody instead

data TxBodyContent build era Source #

Instances

Instances details
IsShelleyBasedEra era => Show (TxBodyContent build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

showsPrec :: Int -> TxBodyContent build era -> ShowS Source #

show :: TxBodyContent build era -> String Source #

showList :: [TxBodyContent build era] -> ShowS Source #

IsShelleyBasedEra era => Eq (TxBodyContent build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxBodyContent build era -> TxBodyContent build era -> Bool Source #

(/=) :: TxBodyContent build era -> TxBodyContent build era -> Bool Source #

setTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era Source #

modTxIns :: (TxIns build era -> TxIns build era) -> TxBodyContent build era -> TxBodyContent build era Source #

addTxIn :: (TxIn, BuildTxWith build (Witness WitCtxTxIn era)) -> TxBodyContent build era -> TxBodyContent build era Source #

addTxIns :: TxIns build era -> TxBodyContent build era -> TxBodyContent build era Source #

setTxInsReference :: TxInsReference build era -> TxBodyContent build era -> TxBodyContent build era Source #

modTxInsReference :: (TxInsReference build era -> TxInsReference build era) -> TxBodyContent build era -> TxBodyContent build era Source #

setTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era Source #

modTxOuts :: ([TxOut CtxTx era] -> [TxOut CtxTx era]) -> TxBodyContent build era -> TxBodyContent build era Source #

addTxOut :: TxOut CtxTx era -> TxBodyContent build era -> TxBodyContent build era Source #

addTxOuts :: [TxOut CtxTx era] -> TxBodyContent build era -> TxBodyContent build era Source #

setTxFee :: TxFee era -> TxBodyContent build era -> TxBodyContent build era Source #

modTxFee :: (TxFee era -> TxFee era) -> TxBodyContent build era -> TxBodyContent build era Source #

modTxAuxScripts :: (TxAuxScripts era -> TxAuxScripts era) -> TxBodyContent build era -> TxBodyContent build era Source #

setTxWithdrawals :: TxWithdrawals build era -> TxBodyContent build era -> TxBodyContent build era Source #

modTxWithdrawals :: (TxWithdrawals build era -> TxWithdrawals build era) -> TxBodyContent build era -> TxBodyContent build era Source #

setTxCertificates :: TxCertificates build era -> TxBodyContent build era -> TxBodyContent build era Source #

modTxCertificates :: (TxCertificates build era -> TxCertificates build era) -> TxBodyContent build era -> TxBodyContent build era Source #

setTxMintValue :: TxMintValue build era -> TxBodyContent build era -> TxBodyContent build era Source #

modTxMintValue :: (TxMintValue build era -> TxMintValue build era) -> TxBodyContent build era -> TxBodyContent build era Source #

subtractTxMintValue :: IsMaryBasedEra era => Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxBodyContent build era -> TxBodyContent build era Source #

Adds the negation of the provided assets and quantities to the txMintValue field of the TxBodyContent.

data TxScriptValidity era where Source #

A representation of whether the era supports tx script validity.

The Alonzo and subsequent eras support script validity.

Constructors

TxScriptValidityNone :: forall era. TxScriptValidity era 
TxScriptValidity :: forall era. AlonzoEraOnwards era -> ScriptValidity -> TxScriptValidity era

Tx script validity is supported in transactions in the Alonzo era onwards.

Instances

Instances details
Show (TxScriptValidity era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Eq (TxScriptValidity era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data ScriptValidity Source #

Indicates whether a script is expected to fail or pass validation.

Constructors

ScriptInvalid

Script is expected to fail validation. Transactions marked as such can include scripts that fail validation. Such transactions may be submitted to the chain, in which case the collateral will be taken upon on chain script validation failure.

ScriptValid

Script is expected to pass validation. Transactions marked as such cannot include scripts that fail validation.

type TxIns build era = [(TxIn, BuildTxWith build (Witness WitCtxTxIn era))] Source #

indexTxIns :: TxIns BuildTx era -> [(ScriptWitnessIndex, TxIn, Witness WitCtxTxIn era)] Source #

Index transaction inputs ordered by TxIn Please note that the result can contain also KeyWitnesses. See section 4.1 of https://github.com/intersectmbo/cardano-ledger/releases/latest/download/alonzo-ledger.pdf

genesisUTxOPseudoTxIn :: NetworkId -> Hash GenesisUTxOKey -> TxIn Source #

Compute the TxIn of the initial UTxO pseudo-transaction corresponding to the given address in the genesis initial funds.

The Shelley initial UTxO is constructed from the sgInitialFunds which is not a full UTxO but just a map from addresses to coin values.

This gets turned into a UTxO by making a pseudo-transaction for each address, with the 0th output being the coin value. So to spend from the initial UTxO we need this same TxIn to use as an input to the spending transaction.

getReferenceInputsSizeForTxIds :: ShelleyLedgerEra era ~ ledgerera => BabbageEraOnwards era -> UTxO ledgerera -> Set TxIn -> Int Source #

Calculate the reference inputs size in bytes for provided set of transaction IDs and UTXOs.

data CtxTx Source #

The context is a transaction body

Instances

Instances details
IsShelleyBasedEra era => FromJSON (TxOut CtxTx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

parseJSON :: Value -> Parser (TxOut CtxTx era) #

parseJSONList :: Value -> Parser [TxOut CtxTx era] #

omittedField :: Maybe (TxOut CtxTx era) #

data CtxUTxO Source #

The context is the UTxO

Instances

Instances details
IsShelleyBasedEra era => FromJSON (TxOut CtxUTxO era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

parseJSON :: Value -> Parser (TxOut CtxUTxO era) #

parseJSONList :: Value -> Parser [TxOut CtxUTxO era] #

omittedField :: Maybe (TxOut CtxUTxO era) #

data TxOutValue era where Source #

Instances

Instances details
IsShelleyBasedEra era => FromJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

parseJSON :: Value -> Parser (TxOutValue era) #

parseJSONList :: Value -> Parser [TxOutValue era] #

omittedField :: Maybe (TxOutValue era) #

IsCardanoEra era => ToJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

toJSON :: TxOutValue era -> Value #

toEncoding :: TxOutValue era -> Encoding #

toJSONList :: [TxOutValue era] -> Value #

toEncodingList :: [TxOutValue era] -> Encoding #

omitField :: TxOutValue era -> Bool #

Show (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Eq (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

(==) :: TxOutValue era -> TxOutValue era -> Bool Source #

(/=) :: TxOutValue era -> TxOutValue era -> Bool Source #

data TxOutDatum ctx era where Source #

Constructors

TxOutDatumNone :: forall ctx era. TxOutDatum ctx era 
TxOutDatumHash :: forall era ctx. AlonzoEraOnwards era -> Hash ScriptData -> TxOutDatum ctx era

A transaction output that only specifies the hash of the datum, but not the full datum value.

TxOutSupplementalDatum :: forall era. AlonzoEraOnwards era -> HashableScriptData -> TxOutDatum CtxTx era

A transaction output that specifies the whole datum value. This can only be used in the context of the transaction body (i.e this is a supplemental datum), and does not occur in the UTxO. The UTxO only contains the datum hash.

TxOutDatumInline :: forall era ctx. BabbageEraOnwards era -> HashableScriptData -> TxOutDatum ctx era

A transaction output that specifies the whole datum instead of the datum hash. Note that the datum map will not be updated with this datum, it only exists at the transaction output.

Instances

Instances details
Show (TxOutDatum ctx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

showsPrec :: Int -> TxOutDatum ctx era -> ShowS Source #

show :: TxOutDatum ctx era -> String Source #

showList :: [TxOutDatum ctx era] -> ShowS Source #

Eq (TxOutDatum ctx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Methods

(==) :: TxOutDatum ctx era -> TxOutDatum ctx era -> Bool Source #

(/=) :: TxOutDatum ctx era -> TxOutDatum ctx era -> Bool Source #

txOutInAnyEra :: CardanoEra era -> TxOut CtxTx era -> TxOutInAnyEra Source #

Convenience constructor for TxOutInAnyEra

data TxInsCollateral era where Source #

Constructors

TxInsCollateralNone :: forall era. TxInsCollateral era 
TxInsCollateral :: forall era. AlonzoEraOnwards era -> [TxIn] -> TxInsCollateral era 

Instances

Instances details
Show (TxInsCollateral era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxInsCollateral era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

data TxInsReference build era where Source #

Constructors

TxInsReferenceNone :: forall build era. TxInsReference build era 
TxInsReference 

Fields

  • :: forall era build. BabbageEraOnwards era
     
  • -> [TxIn]

    A list of reference inputs

  • -> TxInsReferenceDatums build

    A set of public key inputs resolved datums, whose hashes are referenced in UTXO of reference inputs. Those datums will be inserted to the datum map available to the scripts. Note that inserting a datum with hash not present in the reference input will result in an error on transaction submission.

  • -> TxInsReference build era
     

Instances

Instances details
Show (TxInsReference build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

showsPrec :: Int -> TxInsReference build era -> ShowS Source #

show :: TxInsReference build era -> String Source #

showList :: [TxInsReference build era] -> ShowS Source #

Eq (TxInsReference build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxInsReference build era -> TxInsReference build era -> Bool Source #

(/=) :: TxInsReference build era -> TxInsReference build era -> Bool Source #

type TxInsReferenceDatums build = BuildTxWith build (Set HashableScriptData) Source #

The public key inputs' resolved datums, referenced by hash in the transaction reference inputs.

data TxReturnCollateral ctx era where Source #

Constructors

TxReturnCollateralNone :: forall ctx era. TxReturnCollateral ctx era 
TxReturnCollateral :: forall era ctx. BabbageEraOnwards era -> TxOut ctx era -> TxReturnCollateral ctx era 

Instances

Instances details
Show (TxReturnCollateral ctx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxReturnCollateral ctx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

data TxTotalCollateral era where Source #

Constructors

TxTotalCollateralNone :: forall era. TxTotalCollateral era 
TxTotalCollateral :: forall era. BabbageEraOnwards era -> Coin -> TxTotalCollateral era 

data TxFee era where Source #

Constructors

TxFeeExplicit :: forall era. ShelleyBasedEra era -> Coin -> TxFee era 

Instances

Instances details
Show (TxFee era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

showsPrec :: Int -> TxFee era -> ShowS Source #

show :: TxFee era -> String Source #

showList :: [TxFee era] -> ShowS Source #

Eq (TxFee era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxFee era -> TxFee era -> Bool Source #

(/=) :: TxFee era -> TxFee era -> Bool Source #

data TxValidityUpperBound era where Source #

This was formerly known as the TTL.

Constructors

TxValidityUpperBound :: forall era. ShelleyBasedEra era -> Maybe SlotNo -> TxValidityUpperBound era 

data TxMetadataInEra era where Source #

Constructors

TxMetadataNone :: forall era. TxMetadataInEra era 
TxMetadataInEra :: forall era. ShelleyBasedEra era -> TxMetadata -> TxMetadataInEra era 

Instances

Instances details
Show (TxMetadataInEra era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxMetadataInEra era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

data TxAuxScripts era where Source #

Constructors

TxAuxScriptsNone :: forall era. TxAuxScripts era 
TxAuxScripts :: forall era. AllegraEraOnwards era -> [ScriptInEra era] -> TxAuxScripts era 

Instances

Instances details
Show (TxAuxScripts era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxAuxScripts era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

data TxWithdrawals build era where Source #

Constructors

TxWithdrawalsNone :: forall build era. TxWithdrawals build era 
TxWithdrawals :: forall era build. ShelleyBasedEra era -> [(StakeAddress, Coin, BuildTxWith build (Witness WitCtxStake era))] -> TxWithdrawals build era 

Instances

Instances details
Show (TxWithdrawals build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

showsPrec :: Int -> TxWithdrawals build era -> ShowS Source #

show :: TxWithdrawals build era -> String Source #

showList :: [TxWithdrawals build era] -> ShowS Source #

Eq (TxWithdrawals build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool Source #

(/=) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool Source #

data TxCertificates build era where Source #

Constructors

TxCertificatesNone :: forall build era. TxCertificates build era

No certificates

TxCertificates :: forall era build. ShelleyBasedEra era -> OMap (Certificate era) (BuildTxWith build (Maybe (StakeCredential, Witness WitCtxStake era))) -> TxCertificates build era

Represents certificates present in transaction. Prefer using mkTxCertificates to constructing this type with a constructor

Instances

Instances details
Show (TxCertificates build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

showsPrec :: Int -> TxCertificates build era -> ShowS Source #

show :: TxCertificates build era -> String Source #

showList :: [TxCertificates build era] -> ShowS Source #

Eq (TxCertificates build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxCertificates build era -> TxCertificates build era -> Bool Source #

(/=) :: TxCertificates build era -> TxCertificates build era -> Bool Source #

indexTxCertificates :: TxCertificates BuildTx era -> [(ScriptWitnessIndex, Certificate era, StakeCredential, Witness WitCtxStake era)] Source #

Index certificates with witnesses by the order they appear in the list (in the transaction). See section 4.1 of https://github.com/intersectmbo/cardano-ledger/releases/latest/download/alonzo-ledger.pdf

data TxUpdateProposal era where Source #

Constructors

TxUpdateProposalNone :: forall era. TxUpdateProposal era 
TxUpdateProposal :: forall era. ShelleyToBabbageEra era -> UpdateProposal -> TxUpdateProposal era 

Instances

Instances details
Show (TxUpdateProposal era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxUpdateProposal era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

data TxMintValue build era where Source #

Constructors

TxMintNone :: forall build era. TxMintValue build era 
TxMintValue :: forall era build. MaryEraOnwards era -> Map PolicyId (PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era)) -> TxMintValue build era 

Instances

Instances details
Monoid (TxMintValue build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

mempty :: TxMintValue build era Source #

mappend :: TxMintValue build era -> TxMintValue build era -> TxMintValue build era Source #

mconcat :: [TxMintValue build era] -> TxMintValue build era Source #

Semigroup (TxMintValue build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(<>) :: TxMintValue build era -> TxMintValue build era -> TxMintValue build era Source #

sconcat :: NonEmpty (TxMintValue build era) -> TxMintValue build era Source #

stimes :: Integral b => b -> TxMintValue build era -> TxMintValue build era Source #

Show (TxMintValue build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

showsPrec :: Int -> TxMintValue build era -> ShowS Source #

show :: TxMintValue build era -> String Source #

showList :: [TxMintValue build era] -> ShowS Source #

Eq (TxMintValue build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxMintValue build era -> TxMintValue build era -> Bool Source #

(/=) :: TxMintValue build era -> TxMintValue build era -> Bool Source #

mkTxMintValue :: MaryEraOnwards era -> [(PolicyId, PolicyAssets, BuildTxWith build (ScriptWitness WitCtxMint era))] -> TxMintValue build era Source #

A helper function for building TxMintValue with present witnesses. Only the first witness in the argument will be used for each policy id.

txMintValueToValue :: TxMintValue build era -> Value Source #

Convert TxMintValue to a more handy Value.

data TxVotingProcedures build era where Source #

Constructors

TxVotingProceduresNone :: forall build era. TxVotingProcedures build era 
TxVotingProcedures :: forall era build. VotingProcedures (ShelleyLedgerEra era) -> BuildTxWith build (Map Voter (ScriptWitness WitCtxStake era)) -> TxVotingProcedures build era 

Instances

Instances details
Show (TxVotingProcedures build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxVotingProcedures build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxVotingProcedures build era -> TxVotingProcedures build era -> Bool Source #

(/=) :: TxVotingProcedures build era -> TxVotingProcedures build era -> Bool Source #

mkTxVotingProcedures :: Applicative (BuildTxWith build) => [(VotingProcedures era, Maybe (ScriptWitness WitCtxStake era))] -> Either (VotesMergingConflict era) (TxVotingProcedures build era) Source #

Create voting procedures from map of voting procedures and optional witnesses. Validates the function argument, to make sure the list of votes is legal. See mergeVotingProcedures for validation rules.

indexTxVotingProcedures :: TxVotingProcedures BuildTx era -> [(ScriptWitnessIndex, Voter, ScriptWitness WitCtxStake era)] Source #

Index voting procedures by the order of the votes (Ord).

data TxProposalProcedures build era where Source #

Constructors

TxProposalProceduresNone :: forall build era. TxProposalProcedures build era

No proposals in transaction..

TxProposalProcedures :: forall era build. EraPParams (ShelleyLedgerEra era) => OMap (ProposalProcedure (ShelleyLedgerEra era)) (BuildTxWith build (Maybe (ScriptWitness WitCtxStake era))) -> TxProposalProcedures build era

Represents proposal procedures present in transaction.

Instances

Instances details
Show (TxProposalProcedures build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (TxProposalProcedures build era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Methods

(==) :: TxProposalProcedures build era -> TxProposalProcedures build era -> Bool Source #

(/=) :: TxProposalProcedures build era -> TxProposalProcedures build era -> Bool Source #

mkTxProposalProcedures :: forall era build. (Applicative (BuildTxWith build), IsShelleyBasedEra era) => [(ProposalProcedure (ShelleyLedgerEra era), Maybe (ScriptWitness WitCtxStake era))] -> TxProposalProcedures build era Source #

A smart constructor for TxProposalProcedures. It makes sure that the value produced is consistent - the witnessed proposals are also present in the first constructor parameter.

indexTxProposalProcedures :: TxProposalProcedures BuildTx era -> [(ScriptWitnessIndex, ProposalProcedure (ShelleyLedgerEra era), ScriptWitness WitCtxStake era)] Source #

Index proposal procedures by their order (Ord). | and filter out the ones that do not have a witness.

data BuildTxWith build a where Source #

Constructors

ViewTx :: forall a. BuildTxWith ViewTx a 
BuildTxWith :: forall a. a -> BuildTxWith BuildTx a 

Instances

Instances details
Applicative (BuildTxWith BuildTx) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Applicative (BuildTxWith ViewTx) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Functor (BuildTxWith build) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Methods

fmap :: (a -> b) -> BuildTxWith build a -> BuildTxWith build b Source #

(<$) :: a -> BuildTxWith build b -> BuildTxWith build a Source #

(Applicative (BuildTxWith build), Monoid a) => Monoid (BuildTxWith build a) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Methods

mempty :: BuildTxWith build a Source #

mappend :: BuildTxWith build a -> BuildTxWith build a -> BuildTxWith build a Source #

mconcat :: [BuildTxWith build a] -> BuildTxWith build a Source #

Semigroup a => Semigroup (BuildTxWith build a) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Methods

(<>) :: BuildTxWith build a -> BuildTxWith build a -> BuildTxWith build a Source #

sconcat :: NonEmpty (BuildTxWith build a) -> BuildTxWith build a Source #

stimes :: Integral b => b -> BuildTxWith build a -> BuildTxWith build a Source #

Show a => Show (BuildTxWith build a) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Methods

showsPrec :: Int -> BuildTxWith build a -> ShowS Source #

show :: BuildTxWith build a -> String Source #

showList :: [BuildTxWith build a] -> ShowS Source #

Eq a => Eq (BuildTxWith build a) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.BuildTxWith

Methods

(==) :: BuildTxWith build a -> BuildTxWith build a -> Bool Source #

(/=) :: BuildTxWith build a -> BuildTxWith build a -> Bool Source #

data AnyScriptWitness era where Source #

A ScriptWitness in any WitCtx. This lets us handle heterogeneous collections of script witnesses from multiple contexts.

Constructors

AnyScriptWitness :: forall witctx era. Typeable witctx => ScriptWitness witctx era -> AnyScriptWitness era 

Instances

Instances details
Show (AnyScriptWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Eq (AnyScriptWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

data ScriptWitnessIndex Source #

Identify the location of a ScriptWitness within the context of a TxBody. These are indexes of the objects within the transaction that need or can use script witnesses: inputs, minted assets, withdrawals and certificates. These are simple numeric indices, enumerated from zero. Thus the indices are not stable if the transaction body is modified.

Constructors

ScriptWitnessIndexTxIn !Word32

The n'th transaction input, in the order of the TxIds.

ScriptWitnessIndexMint !Word32

The n'th minting PolicyId, in the order of the PolicyIds.

ScriptWitnessIndexCertificate !Word32

The n'th certificate, in the list order of the certificates.

ScriptWitnessIndexWithdrawal !Word32

The n'th withdrawal, in the order of the StakeAddresss.

ScriptWitnessIndexVoting !Word32

The n'th vote, in the order of the votes.

ScriptWitnessIndexProposing !Word32

The n'th proposal, in the order of the proposals.

scriptDataToInlineDatum :: Era ledgerera => HashableScriptData -> Datum ledgerera Source #

Conversion of ScriptData to binary data which allows for the storage of data onchain within a transaction output.

convScripts :: ShelleyLedgerEra era ~ ledgerera => [(ScriptWitnessIndex, AnyScriptWitness era)] -> [Script ledgerera] Source #

convTxOuts :: forall ctx era ledgerera. (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> [TxOut ctx era] -> StrictSeq (TxOut ledgerera) Source #

convTxUpdateProposal Source #

Arguments

:: ShelleyBasedEra era 
-> TxUpdateProposal era 
-> Either TxBodyError (StrictMaybe (Update (ShelleyLedgerEra era)))

Left when there's protocol params conversion error, Right otherwise, 'Right SNothing' means that there's no update proposal

Convert transaction update proposal into ledger update proposal

mkCommonTxBody :: HasCallStack => ShelleyBasedEra era -> TxIns BuildTx era -> [TxOut ctx era] -> TxFee era -> TxWithdrawals build era -> Maybe (TxAuxData (ShelleyLedgerEra era)) -> LedgerTxBody era Source #

A helper function that constructs a TxBody with all of the fields that are common for all eras

toAuxiliaryData :: ShelleyBasedEra era -> TxMetadataInEra era -> TxAuxScripts era -> Maybe (TxAuxData (ShelleyLedgerEra era)) Source #

In the Allegra and Mary eras the auxiliary data consists of the tx metadata and the axiliary scripts. In the Alonzo and later eras the auxiliary data consists of the tx metadata and the axiliary scripts, and the axiliary script data.

toShelleyTxIn :: TxIn -> TxIn Source #

This function may overflow on the transaction index. Call sites must ensure that all uses of this function are appropriately guarded.

toShelleyTxOut :: (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut CtxUTxO era -> TxOut ledgerera Source #

toShelleyTxOutAny :: forall ctx era ledgerera. (HasCallStack, ShelleyLedgerEra era ~ ledgerera) => ShelleyBasedEra era -> TxOut ctx era -> TxOut ledgerera Source #

A variant of 'toShelleyTxOutAny that is used only internally to this module that works with a TxOut in any context (including CtxTx) by ignoring embedded datums (taking only their hash).

getTxBody :: Tx era -> TxBody era Source #

data ShelleySigningKey Source #

We support making key witnesses with both normal and extended signing keys.

Constructors

ShelleyNormalSigningKey (SignKeyDSIGN DSIGN)

A normal ed25519 signing key

ShelleyExtendedSigningKey XPrv

An extended ed25519 signing key

newtype Quantity Source #

Constructors

Quantity Integer 

Instances

Instances details
FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser Quantity #

parseJSONList :: Value -> Parser [Quantity] #

omittedField :: Maybe Quantity #

ToJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

toJSON :: Quantity -> Value #

toEncoding :: Quantity -> Encoding #

toJSONList :: [Quantity] -> Value #

toEncodingList :: [Quantity] -> Encoding #

omitField :: Quantity -> Bool #

Data Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Quantity -> c Quantity Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Quantity Source #

toConstr :: Quantity -> Constr Source #

dataTypeOf :: Quantity -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Quantity) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Quantity) Source #

gmapT :: (forall b. Data b => b -> b) -> Quantity -> Quantity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Quantity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Quantity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Quantity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Quantity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Quantity -> m Quantity Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Quantity -> m Quantity Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Quantity -> m Quantity Source #

Monoid Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Semigroup Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Num Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Show Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Eq Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Ord Quantity Source # 
Instance details

Defined in Cardano.Api.Value.Internal

parseQuantity :: Parser Quantity Source #

Quantity (word64) parser. Only accepts positive quantities.

newtype PolicyId Source #

Constructors

PolicyId 

Instances

Instances details
FromJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser PolicyId #

parseJSONList :: Value -> Parser [PolicyId] #

omittedField :: Maybe PolicyId #

ToJSON PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

toJSON :: PolicyId -> Value #

toEncoding :: PolicyId -> Encoding #

toJSONList :: [PolicyId] -> Value #

toEncodingList :: [PolicyId] -> Encoding #

omitField :: PolicyId -> Bool #

Show PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

HasTypeProxy PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Associated Types

data AsType PolicyId 
Instance details

Defined in Cardano.Api.Value.Internal

SerialiseAsRawBytes PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Eq PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Ord PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

parsePolicyId :: Parser PolicyId Source #

Policy ID parser.

parseAssetName :: Parser AssetName Source #

Asset name parser.

parseAssetId :: Parser AssetId Source #

Asset ID parser.

valueToList :: Value -> [(AssetId, Quantity)] Source #

Deprecated: Use toList instead.

allPositive :: Value -> Bool Source #

Check if the Value consists of only positive quantities.

negateValue :: Value -> Value Source #

This lets you write a - b as a <> negateValue b.

calcMinimumDeposit :: Value -> Lovelace -> Lovelace Source #

Calculate cost of making a UTxO entry for a given Value and mininimum UTxO value derived from the ProtocolParameters

newtype PolicyAssets Source #

Map of non-ADA assets with their quantity, for a single policy

Instances

Instances details
Monoid PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Semigroup PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

IsList PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Associated Types

type Item PolicyAssets 
Instance details

Defined in Cardano.Api.Value.Internal

Show PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Eq PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

MonoFunctor PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

omap :: (Element PolicyAssets -> Element PolicyAssets) -> PolicyAssets -> PolicyAssets

type Item PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

type Element PolicyAssets Source # 
Instance details

Defined in Cardano.Api.Value.Internal

type Element PolicyAssets = Quantity

valueToPolicyAssets :: Value -> Map PolicyId PolicyAssets Source #

Converts Value to PolicyAssets. Discards any ADA value stored in Value.

valueToLovelace :: Value -> Maybe Lovelace Source #

Check if the Value consists of only Lovelace and no other assets, and if so then return the Lovelace

See also selectLovelace to select the Lovelace quantity from the Value, ignoring other assets.

newtype ValueNestedRep Source #

An alternative nested representation for Value that groups assets that share a PolicyId.

Instances

Instances details
FromJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Methods

parseJSON :: Value -> Parser ValueNestedRep #

parseJSONList :: Value -> Parser [ValueNestedRep] #

omittedField :: Maybe ValueNestedRep #

ToJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Show ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Eq ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Ord ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value.Internal

renderValue :: Value -> Text Source #

Render a textual representation of a Value.

renderValuePretty :: Value -> Text Source #

Render a "prettified" textual representation of a Value.

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType BabbageEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ConwayEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType EraHistory Source # 
Instance details

Defined in Cardano.Api.Query.Internal.Type.QueryInMode

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType GovActionId Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType Term Source # 
Instance details

Defined in Cardano.Api.Serialise.Cbor.Canonical

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

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

Defined in Cardano.Api.Address

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal

data AsType (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.ProposalProcedure

data AsType (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

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

Defined in Cardano.Api.Key.Internal.Class

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

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

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

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

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (Credential 'ColdCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'DRepRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'HotCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Cryptographic key interface

data family VerificationKey keyrole Source #

The type of cryptographic verification key, for each key role.

Instances

Instances details
Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

SerialiseAsBech32 (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: VerificationKey DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: VerificationKey KesKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey KesKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: VerificationKey VrfKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (VerificationKey VrfKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype VerificationKey KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype VerificationKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data family SigningKey keyrole Source #

The type of cryptographic signing key, for each key role.

Instances

Instances details
Show (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy a => HasTypeProxy (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey PaymentKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey StakeKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: SigningKey StakePoolKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: SigningKey KesKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

bech32PrefixFor :: SigningKey VrfKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Pretty (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype SigningKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype SigningKey KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype SigningKey VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data ByronKey Source #

Byron-era payment keys. Used for Byron addresses and witnessing transactions that spend from these addresses.

These use Ed25519 but with a 32byte "chaincode" used in HD derivation. The inclusion of the chaincode is a design mistake but one that cannot be corrected for the Byron era. The Shelley era PaymentKeys do not include a chaincode. It is safe to use a zero or random chaincode for new Byron keys.

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Associated Types

data AsType ByronKey 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Key ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

CastVerificationKeyRole ByronKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

CastVerificationKeyRole ByronKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

CastVerificationKeyRole ByronKeyLegacy ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

toCBOR :: Hash ByronKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size Source #

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

pretty :: Hash ByronKey -> Doc ann #

prettyList :: [Hash ByronKey] -> Doc ann #

Pretty (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data ByronKeyLegacy Source #

Instances

Instances details
HasTypeProxy ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Associated Types

data AsType ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Key ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

CastVerificationKeyRole ByronKeyLegacy ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype SigningKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Hashes

data family Hash keyrole Source #

Instances

Instances details
FromJSON (Hash BlockHeader) Source # 
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) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash DRepKey) #

parseJSONList :: Value -> Parser [Hash DRepKey] #

omittedField :: Maybe (Hash DRepKey) #

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash GenesisKey) #

parseJSONList :: Value -> Parser [Hash GenesisKey] #

omittedField :: Maybe (Hash GenesisKey) #

FromJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash PaymentKey) #

parseJSONList :: Value -> Parser [Hash PaymentKey] #

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

omittedField :: Maybe (Hash StakePoolKey) #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

omittedField :: Maybe (Hash ScriptData) #

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash DRepKey -> Value #

toEncoding :: Hash DRepKey -> Encoding #

toJSONList :: [Hash DRepKey] -> Value #

toEncodingList :: [Hash DRepKey] -> Encoding #

omitField :: Hash DRepKey -> Bool #

ToJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash GenesisKey -> Value #

toEncoding :: Hash GenesisKey -> Encoding #

toJSONList :: [Hash GenesisKey] -> Value #

toEncodingList :: [Hash GenesisKey] -> Encoding #

omitField :: Hash GenesisKey -> Bool #

ToJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.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) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolExtendedKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolExtendedKey]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Show (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Show (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

HasTypeProxy a => HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

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

Methods

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

SerialiseAsBech32 (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash CommitteeColdKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash CommitteeHotKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash StakePoolKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

SerialiseAsRawBytes (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

FromCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

toCBOR :: Hash ByronKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size Source #

ToCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toCBOR :: Hash DRepKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepKey] -> Size Source #

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toCBOR :: Hash StakeKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size Source #

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

toCBOR :: Hash KesKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size Source #

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Eq (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Eq (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Ord (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Ord (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Pretty (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

pretty :: Hash ByronKey -> Doc ann #

prettyList :: [Hash ByronKey] -> Doc ann #

Pretty (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Pretty (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash DRepKey -> Doc ann #

prettyList :: [Hash DRepKey] -> Doc ann #

Pretty (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash GenesisKey -> Doc ann #

prettyList :: [Hash GenesisKey] -> Doc ann #

Pretty (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash PaymentKey -> Doc ann #

prettyList :: [Hash PaymentKey] -> Doc ann #

Pretty (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash StakeKey -> Doc ann #

prettyList :: [Hash StakeKey] -> Doc ann #

Pretty (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

pretty :: Hash KesKey -> Doc ann #

prettyList :: [Hash KesKey] -> Doc ann #

Pretty (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

pretty :: Hash VrfKey -> Doc ann #

prettyList :: [Hash VrfKey] -> Doc ann #

Pretty (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

pretty :: Hash ScriptData -> Doc ann #

prettyList :: [Hash ScriptData] -> Doc ann #

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

newtype Hash GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

newtype Hash CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype Hash ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

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

Network identifier

Signing transactions

Incremental signing and separate witnesses

data KeyWitness era where Source #

Instances

Instances details
Show (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

HasTypeProxy era => HasTypeProxy (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Associated Types

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

IsCardanoEra era => SerialiseAsCBOR (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

IsCardanoEra era => HasTextEnvelope (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Eq (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Methods

(==) :: KeyWitness era -> KeyWitness era -> Bool Source #

(/=) :: KeyWitness era -> KeyWitness era -> Bool Source #

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data WitnessNetworkIdOrByronAddress Source #

Either a network ID or a Byron address to be used in constructing a Shelley bootstrap witness.

Constructors

WitnessNetworkId !NetworkId

Network ID.

If this value is used in the construction of a Shelley bootstrap witness, the result will not consist of a derivation path. If that is required, specify a WitnessByronAddress value instead.

WitnessByronAddress !(Address ByronAddr)

Byron address.

If this value is used in the construction of a Shelley bootstrap witness, both the network ID and derivation path will be extracted from the address and used in the construction of the witness.

Errors

class Error e where Source #

Methods

prettyError :: e -> Doc ann Source #

Instances

Instances details
Error IOException Source # 
Instance details

Defined in Cardano.Api.Error

Error AnchorDataFromCertificateError Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal

Error OperationalCertIssueError Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

Error StakePoolMetadataValidationError Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Error ErrorAsException Source # 
Instance details

Defined in Cardano.Api.Error

Error MnemonicToSigningKeyError Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Mnemonic

Error FoldBlocksError Source # 
Instance details

Defined in Cardano.Api.LedgerState

Error GenesisConfigError Source # 
Instance details

Defined in Cardano.Api.LedgerState

Error InitialLedgerStateError Source # 
Instance details

Defined in Cardano.Api.LedgerState

Error LeadershipError Source # 
Instance details

Defined in Cardano.Api.LedgerState

Error LedgerStateError Source # 
Instance details

Defined in Cardano.Api.LedgerState

Error ScriptDataJsonBytesError Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Error ScriptDataJsonError Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Error ScriptDataJsonSchemaError Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Error ScriptDataRangeError Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Error ProtocolParametersConversionError Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Error ProtocolParametersError Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Error Bech32DecodeError Source # 
Instance details

Defined in Cardano.Api.Serialise.Bech32

Error InputDecodeError Source # 
Instance details

Defined in Cardano.Api.Serialise.DeserialiseAnyOf

Error JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.Serialise.Json

Error RawBytesHexError Source # 
Instance details

Defined in Cardano.Api.Serialise.Raw

Error TextEnvelopeError Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

Error TextEnvelopeCddlError Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal.Cddl

Error TxBodyError Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Body

Error ScriptExecutionError Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Fee

Error TxOutputError Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Output

Error TxMetadataJsonError Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

Error TxMetadataJsonSchemaError Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

Error TxMetadataRangeError Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

Error DecoderError Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Misc

Error ScriptDecodeError Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Misc

Error () Source # 
Instance details

Defined in Cardano.Api.Error

Methods

prettyError :: () -> Doc ann Source #

Error e => Error (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Methods

prettyError :: FileError e -> Doc ann Source #

Error (AutoBalanceError era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Fee

Methods

prettyError :: AutoBalanceError era -> Doc ann Source #

Error (TransactionValidityError era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Fee

Error (TxBodyErrorAutoBalance era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Fee

Error (TxFeeEstimationError era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Fee

data FileError e Source #

Instances

Instances details
Functor FileError Source # 
Instance details

Defined in Cardano.Api.Error

Methods

fmap :: (a -> b) -> FileError a -> FileError b Source #

(<$) :: a -> FileError b -> FileError a Source #

Show e => Show (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Error e => Error (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Methods

prettyError :: FileError e -> Doc ann Source #

Eq e => Eq (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Low level protocol interaction with a Cardano node

data LocalNodeClientProtocols block point tip slot tx txid txerr (query :: Type -> Type) (m :: Type -> Type) Source #

The protocols we can use with a local node. Use in conjunction with connectToLocalNode.

These protocols use the types from the rest of this API. The conversion to/from the types used by the underlying wire formats is handled by connectToLocalNode.

Constructors

LocalNodeClientProtocols (LocalChainSyncClient block point tip m) (Maybe (LocalTxSubmissionClient tx txerr m ())) (Maybe (LocalStateQueryClient block point query m ())) (Maybe (LocalTxMonitorClient txid tx slot m ())) 

Chain sync protocol

newtype ChainSyncClient header point tip (m :: Type -> Type) a Source #

A chain sync protocol client, on top of some effect m. The first choice of request is within that m.

Constructors

ChainSyncClient 

Fields

Local tx submission

newtype LocalTxSubmissionClient tx reject (m :: Type -> Type) a Source #

Constructors

LocalTxSubmissionClient (m (LocalTxClientStIdle tx reject m a)) 

Local state query

newtype LocalStateQueryClient block point (query :: Type -> Type) (m :: Type -> Type) a Source #

Constructors

LocalStateQueryClient 

Fields

Update Proposal

newtype ByronUpdateProposal Source #

Byron era update proposal

data ByronProtocolParametersUpdate Source #

Constructors

ByronProtocolParametersUpdate 

Fields

Vote

Hardcoded configuration parameters

applicationName :: ApplicationName Source #

An application name. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.

applicationVersion :: NumSoftwareVersion Source #

An application version. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.

softwareVersion :: SoftwareVersion Source #

A software version composed of applicationVersion and applicationName. It has no functional impact in the Shelley eras onwards and therefore it is hardcoded.

Byron ledger re-exports

Address components

data AddrAttributes Source #

Additional information stored along with address. It's intended to be put into Attributes data type to make it extensible with softfork.

Instances

Instances details
ToJSON AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Generic AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Associated Types

type Rep AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

type Rep AddrAttributes = D1 ('MetaData "AddrAttributes" "Cardano.Chain.Common.AddrAttributes" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "AddrAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "aaVKDerivationPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HDAddressPayload)) :*: S1 ('MetaSel ('Just "aaNetworkMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NetworkMagic)))
Show AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

NFData AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

rnf :: AddrAttributes -> () Source #

Buildable AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Eq AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Ord AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

HeapWords AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

NoThunks AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

noThunks :: Context -> AddrAttributes -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> AddrAttributes -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy AddrAttributes -> String #

FromCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

ToCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

DecCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

EncCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

type Rep AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

type Rep AddrAttributes = D1 ('MetaData "AddrAttributes" "Cardano.Chain.Common.AddrAttributes" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "AddrAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "aaVKDerivationPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HDAddressPayload)) :*: S1 ('MetaSel ('Just "aaNetworkMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NetworkMagic)))

data Address Source #

Address is where you can send Lovelace

Instances

Instances details
ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON :: Address -> Value #

toEncoding :: Address -> Encoding #

toJSONList :: [Address] -> Value #

toEncodingList :: [Address] -> Encoding #

omitField :: Address -> Bool #

Generic Address 
Instance details

Defined in Cardano.Chain.Common.Address

Associated Types

type Rep Address 
Instance details

Defined in Cardano.Chain.Common.Address

type Rep Address = D1 ('MetaData "Address" "Cardano.Chain.Common.Address" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "Address" 'PrefixI 'True) (S1 ('MetaSel ('Just "addrRoot") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 (AddressHash Address')) :*: (S1 ('MetaSel ('Just "addrAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Attributes AddrAttributes)) :*: S1 ('MetaSel ('Just "addrType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AddrType))))
Show Address 
Instance details

Defined in Cardano.Chain.Common.Address

FromCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

ToCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toCBOR :: Address -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Address -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Address] -> Size Source #

DecCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

EncCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

encCBOR :: Address -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Address -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Address] -> Size Source #

NFData Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

rnf :: Address -> () Source #

Buildable Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

build :: Address -> Builder

Eq Address 
Instance details

Defined in Cardano.Chain.Common.Address

Ord Address 
Instance details

Defined in Cardano.Chain.Common.Address

HeapWords Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

heapWords :: Address -> Int

NoThunks Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

noThunks :: Context -> Address -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> Address -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy Address -> String #

MonadError SchemaError m => FromJSON m Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

fromJSON :: JSValue -> m Address

MonadError SchemaError m => FromObjectKey m Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

fromObjectKey :: JSString -> m (Maybe Address)

Monad m => ToJSON m Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON :: Address -> m JSValue

Monad m => ToObjectKey m Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toObjectKey :: Address -> m JSString

Buildable [Address] 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

build :: [Address] -> Builder

type Rep Address 
Instance details

Defined in Cardano.Chain.Common.Address

type Rep Address = D1 ('MetaData "Address" "Cardano.Chain.Common.Address" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "Address" 'PrefixI 'True) (S1 ('MetaSel ('Just "addrRoot") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 (AddressHash Address')) :*: (S1 ('MetaSel ('Just "addrAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Attributes AddrAttributes)) :*: S1 ('MetaSel ('Just "addrType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AddrType))))

data KeyHash Source #

A KeyHash refers to a VerificationKey

Instances

Instances details
ToJSON KeyHash Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSON :: KeyHash -> Value #

toEncoding :: KeyHash -> Encoding #

toJSONList :: [KeyHash] -> Value #

toEncodingList :: [KeyHash] -> Encoding #

omitField :: KeyHash -> Bool #

Show KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

DecCBOR KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

EncCBOR KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

encCBOR :: KeyHash -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy KeyHash -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [KeyHash] -> Size Source #

NFData KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

rnf :: KeyHash -> () Source #

Buildable KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

build :: KeyHash -> Builder

Eq KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Ord KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

HeapWords KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

heapWords :: KeyHash -> Int

NoThunks KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

noThunks :: Context -> KeyHash -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> KeyHash -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy KeyHash -> String #

MonadError SchemaError m => FromObjectKey m KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

fromObjectKey :: JSString -> m (Maybe KeyHash)

Monad m => ToObjectKey m KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

toObjectKey :: KeyHash -> m JSString

addressDetailedF :: Format r (Address -> r) Source #

A formatter showing guts of an Address

addressF :: Format r (Address -> r) Source #

Specialized formatter for Address

checkVerKeyAddress :: VerificationKey -> Address -> Bool Source #

Check if given Address is created from given VerificationKey

decodeAddressBase58 :: Text -> Either DecoderError Address Source #

Decode an address from Base58 encoded Text.

Lovelace handling

data Lovelace Source #

Lovelace is the least possible unit of currency

Instances

Instances details
ToJSON Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toJSON :: Lovelace -> Value #

toEncoding :: Lovelace -> Encoding #

toJSONList :: [Lovelace] -> Value #

toEncodingList :: [Lovelace] -> Encoding #

omitField :: Lovelace -> Bool #

Data Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Lovelace -> c Lovelace Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Lovelace Source #

toConstr :: Lovelace -> Constr Source #

dataTypeOf :: Lovelace -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Lovelace) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Lovelace) Source #

gmapT :: (forall b. Data b => b -> b) -> Lovelace -> Lovelace Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Lovelace -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Lovelace -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Lovelace -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Lovelace -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Lovelace -> m Lovelace Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Lovelace -> m Lovelace Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Lovelace -> m Lovelace Source #

Bounded Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Generic Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Associated Types

type Rep Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

type Rep Lovelace = D1 ('MetaData "Lovelace" "Cardano.Chain.Common.Lovelace" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "Lovelace" 'PrefixI 'True) (S1 ('MetaSel ('Just "unLovelace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
Show Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

FromCBOR Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

ToCBOR Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toCBOR :: Lovelace -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Lovelace -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Lovelace] -> Size Source #

DecCBOR Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

EncCBOR Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

encCBOR :: Lovelace -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Lovelace -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Lovelace] -> Size Source #

NFData Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

rnf :: Lovelace -> () Source #

Buildable Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

build :: Lovelace -> Builder

Eq Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Ord Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

NoThunks Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

noThunks :: Context -> Lovelace -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> Lovelace -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy Lovelace -> String #

ReportSchemaErrors m => FromJSON m Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

fromJSON :: JSValue -> m Lovelace

Monad m => ToJSON m Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toJSON :: Lovelace -> m JSValue

type Rep Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

type Rep Lovelace = D1 ('MetaData "Lovelace" "Cardano.Chain.Common.Lovelace" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "Lovelace" 'PrefixI 'True) (S1 ('MetaSel ('Just "unLovelace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

data LovelacePortion Source #

LovelacePortion is a legacy Byron type that we keep only for compatibility. It was originally intended to represent a fraction of stake in the system. It is used only for the thresholds used in the update system rules, most of which are now themselves unused. The remaining case is no longer interpreted as a fraction of all stake, but as a fraction of the number of genesis keys.

It has enormous precision, due to the fact that it was originally intended to represent a fraction of all stake and can cover the precision of all the Lovelace in the system.

It is represented as a rational nominator with a fixed implicit denominator of 1e15. So the nominator must be in the range [0..1e15]. This is also the representation used on-chain (in update proposals) and in the JSON genesis file.

It is interpreted as a Rational via the provided conversion functions.

Instances

Instances details
ToJSON LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Generic LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Associated Types

type Rep LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

type Rep LovelacePortion = D1 ('MetaData "LovelacePortion" "Cardano.Chain.Common.LovelacePortion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "LovelacePortion" 'PrefixI 'True) (S1 ('MetaSel ('Just "unLovelacePortion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
Show LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

FromCBOR LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

ToCBOR LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

DecCBOR LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

EncCBOR LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

NFData LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

rnf :: LovelacePortion -> () Source #

Buildable LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Eq LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Ord LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

HeapWords LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

NoThunks LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

noThunks :: Context -> LovelacePortion -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> LovelacePortion -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy LovelacePortion -> String #

MonadError SchemaError m => FromJSON m LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

fromJSON :: JSValue -> m LovelacePortion

Monad m => ToJSON m LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

toJSON :: LovelacePortion -> m JSValue

type Rep LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

type Rep LovelacePortion = D1 ('MetaData "LovelacePortion" "Cardano.Chain.Common.LovelacePortion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "LovelacePortion" 'PrefixI 'True) (S1 ('MetaSel ('Just "unLovelacePortion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

mkKnownLovelace :: forall (n :: Nat). (KnownNat n, n <= 45000000000000000) => Lovelace Source #

Construct a Lovelace from a KnownNat, known to be less than maxLovelaceVal

rationalToLovelacePortion :: Rational -> LovelacePortion Source #

Make a LovelacePortion from a Rational which must be in the range [0..1].

Genesis configuration and AVVM

data Config Source #

Constructors

Config 

Fields

Instances

Instances details
Generic Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Associated Types

type Rep Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

type Rep Config = D1 ('MetaData "Config" "Cardano.Chain.Genesis.Config" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "Config" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configGenesisData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisData) :*: S1 ('MetaSel ('Just "configGenesisHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 GenesisHash)) :*: (S1 ('MetaSel ('Just "configReqNetMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RequiresNetworkMagic) :*: S1 ('MetaSel ('Just "configUTxOConfiguration") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 UTxOConfiguration))))
Show Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

FromCBOR Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

ToCBOR Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Methods

toCBOR :: Config -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Config -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Config] -> Size Source #

DecCBOR Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

EncCBOR Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Methods

encCBOR :: Config -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Config -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Config] -> Size Source #

Eq Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

NoThunks Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Methods

noThunks :: Context -> Config -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> Config -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy Config -> String #

type Rep Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

type Rep Config = D1 ('MetaData "Config" "Cardano.Chain.Genesis.Config" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "Config" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configGenesisData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisData) :*: S1 ('MetaSel ('Just "configGenesisHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 GenesisHash)) :*: (S1 ('MetaSel ('Just "configReqNetMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RequiresNetworkMagic) :*: S1 ('MetaSel ('Just "configUTxOConfiguration") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 UTxOConfiguration))))

data FakeAvvmOptions Source #

These options determines balances of fake AVVM nodes which didn't really go through vending, but pretend they did

Constructors

FakeAvvmOptions 

Instances

Instances details
Generic FakeAvvmOptions 
Instance details

Defined in Cardano.Chain.Genesis.Initializer

Associated Types

type Rep FakeAvvmOptions 
Instance details

Defined in Cardano.Chain.Genesis.Initializer

type Rep FakeAvvmOptions = D1 ('MetaData "FakeAvvmOptions" "Cardano.Chain.Genesis.Initializer" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "FakeAvvmOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "faoCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word) :*: S1 ('MetaSel ('Just "faoOneBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace)))
Show FakeAvvmOptions 
Instance details

Defined in Cardano.Chain.Genesis.Initializer

Eq FakeAvvmOptions 
Instance details

Defined in Cardano.Chain.Genesis.Initializer

type Rep FakeAvvmOptions 
Instance details

Defined in Cardano.Chain.Genesis.Initializer

type Rep FakeAvvmOptions = D1 ('MetaData "FakeAvvmOptions" "Cardano.Chain.Genesis.Initializer" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "FakeAvvmOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "faoCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word) :*: S1 ('MetaSel ('Just "faoOneBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace)))

data GeneratedSecrets Source #

Valuable secrets which can unlock genesis data.

Constructors

GeneratedSecrets 

Fields

Instances

Instances details
Generic GeneratedSecrets 
Instance details

Defined in Cardano.Chain.Genesis.Generate

Associated Types

type Rep GeneratedSecrets 
Instance details

Defined in Cardano.Chain.Genesis.Generate

type Rep GeneratedSecrets = D1 ('MetaData "GeneratedSecrets" "Cardano.Chain.Genesis.Generate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "GeneratedSecrets" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gsDlgIssuersSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SigningKey]) :*: S1 ('MetaSel ('Just "gsRichSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SigningKey])) :*: (S1 ('MetaSel ('Just "gsPoorSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [PoorSecret]) :*: S1 ('MetaSel ('Just "gsFakeAvvmSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RedeemSigningKey]))))
NoThunks GeneratedSecrets 
Instance details

Defined in Cardano.Chain.Genesis.Generate

Methods

noThunks :: Context -> GeneratedSecrets -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> GeneratedSecrets -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy GeneratedSecrets -> String #

type Rep GeneratedSecrets 
Instance details

Defined in Cardano.Chain.Genesis.Generate

type Rep GeneratedSecrets = D1 ('MetaData "GeneratedSecrets" "Cardano.Chain.Genesis.Generate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "GeneratedSecrets" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gsDlgIssuersSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SigningKey]) :*: S1 ('MetaSel ('Just "gsRichSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SigningKey])) :*: (S1 ('MetaSel ('Just "gsPoorSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [PoorSecret]) :*: S1 ('MetaSel ('Just "gsFakeAvvmSecrets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RedeemSigningKey]))))

newtype GenesisAvvmBalances Source #

Predefined balances of AVVM (Ada Voucher Vending Machine) entries. People who purchased Ada at a pre-sale were issued a certificate during the pre-sale period. These certificates allow customers to redeem ADA.

Instances

Instances details
Semigroup GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

Show GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

FromCBOR GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

ToCBOR GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

DecCBOR GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

EncCBOR GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

Eq GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

NoThunks GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

Methods

noThunks :: Context -> GenesisAvvmBalances -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> GenesisAvvmBalances -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy GenesisAvvmBalances -> String #

MonadError SchemaError m => FromJSON m GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

Methods

fromJSON :: JSValue -> m GenesisAvvmBalances

Monad m => ToJSON m GenesisAvvmBalances 
Instance details

Defined in Cardano.Chain.Genesis.AvvmBalances

Methods

toJSON :: GenesisAvvmBalances -> m JSValue

data GenesisData Source #

Genesis data contains all data which determines consensus rules. It must be same for all nodes. It's used to initialize global state, slotting, etc.

Instances

Instances details
Generic GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

Associated Types

type Rep GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

type Rep GenesisData = D1 ('MetaData "GenesisData" "Cardano.Chain.Genesis.Data" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "GenesisData" 'PrefixI 'True) (((S1 ('MetaSel ('Just "gdGenesisKeyHashes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisKeyHashes) :*: S1 ('MetaSel ('Just "gdHeavyDelegation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisDelegation)) :*: (S1 ('MetaSel ('Just "gdStartTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "gdNonAvvmBalances") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisNonAvvmBalances))) :*: ((S1 ('MetaSel ('Just "gdProtocolParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters) :*: S1 ('MetaSel ('Just "gdK") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 BlockCount)) :*: (S1 ('MetaSel ('Just "gdProtocolMagicId") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ProtocolMagicId) :*: S1 ('MetaSel ('Just "gdAvvmDistr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisAvvmBalances)))))
Show GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

FromCBOR GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

ToCBOR GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

DecCBOR GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

EncCBOR GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

Eq GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

NoThunks GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

Methods

noThunks :: Context -> GenesisData -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> GenesisData -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy GenesisData -> String #

MonadError SchemaError m => FromJSON m GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

Methods

fromJSON :: JSValue -> m GenesisData

Monad m => ToJSON m GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

Methods

toJSON :: GenesisData -> m JSValue

type Rep GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

type Rep GenesisData = D1 ('MetaData "GenesisData" "Cardano.Chain.Genesis.Data" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "GenesisData" 'PrefixI 'True) (((S1 ('MetaSel ('Just "gdGenesisKeyHashes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisKeyHashes) :*: S1 ('MetaSel ('Just "gdHeavyDelegation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisDelegation)) :*: (S1 ('MetaSel ('Just "gdStartTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "gdNonAvvmBalances") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisNonAvvmBalances))) :*: ((S1 ('MetaSel ('Just "gdProtocolParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters) :*: S1 ('MetaSel ('Just "gdK") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 BlockCount)) :*: (S1 ('MetaSel ('Just "gdProtocolMagicId") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ProtocolMagicId) :*: S1 ('MetaSel ('Just "gdAvvmDistr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisAvvmBalances)))))

newtype GenesisDelegation Source #

This type contains genesis state of heavyweight delegation. It wraps a map where keys are issuers and values are delegation certificates. There are some invariants:

  1. In each pair delegate must differ from issuer, i. e. no revocations.
  2. PSKs must be consistent with keys in the map, i. e. issuer's ID must be equal to the key in the map.
  3. Delegates can't be issuers, i. e. transitive delegation is not supported. It's not needed in genesis, it can always be reduced.

Instances

Instances details
Show GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

FromCBOR GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

ToCBOR GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

DecCBOR GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

EncCBOR GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

Eq GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

NoThunks GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

Methods

noThunks :: Context -> GenesisDelegation -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> GenesisDelegation -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy GenesisDelegation -> String #

MonadError SchemaError m => FromJSON m GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

Methods

fromJSON :: JSValue -> m GenesisDelegation

Monad m => ToJSON m GenesisDelegation 
Instance details

Defined in Cardano.Chain.Genesis.Delegation

Methods

toJSON :: GenesisDelegation -> m JSValue

newtype GenesisHash Source #

Constructors

GenesisHash 

Instances

Instances details
ToJSON GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

toJSON :: GenesisHash -> Value #

toEncoding :: GenesisHash -> Encoding #

toJSONList :: [GenesisHash] -> Value #

toEncodingList :: [GenesisHash] -> Encoding #

omitField :: GenesisHash -> Bool #

Generic GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Associated Types

type Rep GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

type Rep GenesisHash = D1 ('MetaData "GenesisHash" "Cardano.Chain.Genesis.Hash" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "GenesisHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGenesisHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash Raw))))
Show GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

DecCBOR GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

EncCBOR GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

NFData GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

rnf :: GenesisHash -> () Source #

Eq GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

NoThunks GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

noThunks :: Context -> GenesisHash -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> GenesisHash -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy GenesisHash -> String #

type Rep GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

type Rep GenesisHash = D1 ('MetaData "GenesisHash" "Cardano.Chain.Genesis.Hash" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "GenesisHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGenesisHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash Raw))))

data GenesisInitializer Source #

Options determining generated genesis stakes, balances, and delegation

Constructors

GenesisInitializer 

Fields

data GenesisSpec Source #

Specification how to generate full GenesisData

Constructors

UnsafeGenesisSpec 

Fields

Instances

Instances details
Generic GenesisSpec 
Instance details

Defined in Cardano.Chain.Genesis.Spec

Associated Types

type Rep GenesisSpec 
Instance details

Defined in Cardano.Chain.Genesis.Spec

type Rep GenesisSpec = D1 ('MetaData "GenesisSpec" "Cardano.Chain.Genesis.Spec" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeGenesisSpec" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gsAvvmDistr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisAvvmBalances) :*: (S1 ('MetaSel ('Just "gsHeavyDelegation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisDelegation) :*: S1 ('MetaSel ('Just "gsProtocolParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters))) :*: (S1 ('MetaSel ('Just "gsK") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 BlockCount) :*: (S1 ('MetaSel ('Just "gsProtocolMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolMagic) :*: S1 ('MetaSel ('Just "gsInitializer") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisInitializer)))))
Show GenesisSpec 
Instance details

Defined in Cardano.Chain.Genesis.Spec

Eq GenesisSpec 
Instance details

Defined in Cardano.Chain.Genesis.Spec

type Rep GenesisSpec 
Instance details

Defined in Cardano.Chain.Genesis.Spec

type Rep GenesisSpec = D1 ('MetaData "GenesisSpec" "Cardano.Chain.Genesis.Spec" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeGenesisSpec" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gsAvvmDistr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisAvvmBalances) :*: (S1 ('MetaSel ('Just "gsHeavyDelegation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisDelegation) :*: S1 ('MetaSel ('Just "gsProtocolParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters))) :*: (S1 ('MetaSel ('Just "gsK") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 BlockCount) :*: (S1 ('MetaSel ('Just "gsProtocolMagic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolMagic) :*: S1 ('MetaSel ('Just "gsInitializer") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GenesisInitializer)))))

data NetworkMagic Source #

Instances

Instances details
ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toJSON :: NetworkMagic -> Value #

toEncoding :: NetworkMagic -> Encoding #

toJSONList :: [NetworkMagic] -> Value #

toEncodingList :: [NetworkMagic] -> Encoding #

omitField :: NetworkMagic -> Bool #

Generic NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Associated Types

type Rep NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Cardano.Chain.Common.NetworkMagic" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "NetworkMainOrStage" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NetworkTestnet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Word32)))
Show NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

FromCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

ToCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

DecCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

EncCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

NFData NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

rnf :: NetworkMagic -> () Source #

Buildable NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Eq NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Ord NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

HeapWords NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

NoThunks NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

noThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy NetworkMagic -> String #

type Rep NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Cardano.Chain.Common.NetworkMagic" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "NetworkMainOrStage" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NetworkTestnet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Word32)))

newtype PoorSecret Source #

Poor node secret

Constructors

PoorSecret 

Instances

Instances details
Generic PoorSecret 
Instance details

Defined in Cardano.Chain.Genesis.Generate

Associated Types

type Rep PoorSecret 
Instance details

Defined in Cardano.Chain.Genesis.Generate

type Rep PoorSecret = D1 ('MetaData "PoorSecret" "Cardano.Chain.Genesis.Generate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "PoorSecret" 'PrefixI 'True) (S1 ('MetaSel ('Just "poorSecretToKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigningKey)))
NoThunks PoorSecret 
Instance details

Defined in Cardano.Chain.Genesis.Generate

Methods

noThunks :: Context -> PoorSecret -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> PoorSecret -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy PoorSecret -> String #

type Rep PoorSecret 
Instance details

Defined in Cardano.Chain.Genesis.Generate

type Rep PoorSecret = D1 ('MetaData "PoorSecret" "Cardano.Chain.Genesis.Generate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "PoorSecret" 'PrefixI 'True) (S1 ('MetaSel ('Just "poorSecretToKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigningKey)))

data TestnetBalanceOptions Source #

These options determine balances of nodes specific for testnet

Constructors

TestnetBalanceOptions 

Fields

data TxFeePolicy Source #

Transaction fee policy represents a formula to compute the minimal allowed Fee for a transaction. Transactions with lesser fees won't be accepted. The Minimal fee may depend on the properties of a transaction (for example, its Size in bytes), so the policy can't be represented simply as a number.

Recall that a transaction fee is the difference between the sum of its Inputs and the sum of its outputs. The transaction is accepted when minimal_fee(tx) <= fee(tx), where minimal_fee is the function defined By the policy.

The policy can change during the lifetime of the blockchain (using the Update mechanism). At the moment we have just one policy type (a linear Equation on the transaction size), but in the future other policies may Be added. To make this future-proof, we also have an "unknown" policy used By older node versions (the ones that haven't updated yet).

Instances

Instances details
ToJSON TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toJSON :: TxFeePolicy -> Value #

toEncoding :: TxFeePolicy -> Encoding #

toJSONList :: [TxFeePolicy] -> Value #

toEncodingList :: [TxFeePolicy] -> Encoding #

omitField :: TxFeePolicy -> Bool #

Generic TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Associated Types

type Rep TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

type Rep TxFeePolicy = D1 ('MetaData "TxFeePolicy" "Cardano.Chain.Common.TxFeePolicy" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxFeePolicyTxSizeLinear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxSizeLinear)))
Show TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

FromCBOR TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

ToCBOR TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

DecCBOR TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

EncCBOR TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

NFData TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

rnf :: TxFeePolicy -> () Source #

Buildable TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Eq TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Ord TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

NoThunks TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

noThunks :: Context -> TxFeePolicy -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> TxFeePolicy -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy TxFeePolicy -> String #

MonadError SchemaError m => FromJSON m TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

fromJSON :: JSValue -> m TxFeePolicy

Monad m => ToJSON m TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toJSON :: TxFeePolicy -> m JSValue

type Rep TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

type Rep TxFeePolicy = D1 ('MetaData "TxFeePolicy" "Cardano.Chain.Common.TxFeePolicy" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxFeePolicyTxSizeLinear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxSizeLinear)))

data TxSizeLinear Source #

A linear equation on the transaction size. Represents the s -> a + b*s function where s is the transaction size in bytes, a and b are constant coefficients.

Instances

Instances details
ToJSON TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

toJSON :: TxSizeLinear -> Value #

toEncoding :: TxSizeLinear -> Encoding #

toJSONList :: [TxSizeLinear] -> Value #

toEncodingList :: [TxSizeLinear] -> Encoding #

omitField :: TxSizeLinear -> Bool #

Generic TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Associated Types

type Rep TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

type Rep TxSizeLinear = D1 ('MetaData "TxSizeLinear" "Cardano.Chain.Common.TxSizeLinear" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxSizeLinear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Rational)))
Show TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

FromCBOR TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

ToCBOR TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

DecCBOR TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

EncCBOR TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

NFData TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

rnf :: TxSizeLinear -> () Source #

Buildable TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Eq TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Ord TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

NoThunks TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

noThunks :: Context -> TxSizeLinear -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> TxSizeLinear -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy TxSizeLinear -> String #

type Rep TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

type Rep TxSizeLinear = D1 ('MetaData "TxSizeLinear" "Cardano.Chain.Common.TxSizeLinear" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxSizeLinear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Rational)))

generateGenesisData :: UTCTime -> GenesisSpec -> ExceptT GenesisDataGenerationError IO (GenesisData, GeneratedSecrets) Source #

Generate a genesis GenesisData and GeneratedSecrets from a GenesisSpec. This is used only for tests blockhains. For a real blockcain you must use the external key generation tool so that each stakeholder can generate their keys privately.

readGenesisData :: (MonadError GenesisDataError m, MonadIO m) => FilePath -> m (GenesisData, GenesisHash) Source #

Parse GenesisData from a JSON file and annotate with Canonical JSON hash

Updates

newtype ApplicationName Source #

Constructors

ApplicationName 

Instances

Instances details
ToJSON ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

ToJSONKey ApplicationName Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Methods

toJSONKey :: ToJSONKeyFunction ApplicationName

toJSONKeyList :: ToJSONKeyFunction [ApplicationName]

Generic ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Associated Types

type Rep ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

type Rep ApplicationName = D1 ('MetaData "ApplicationName" "Cardano.Chain.Update.ApplicationName" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "ApplicationName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unApplicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

FromCBOR ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

ToCBOR ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

DecCBOR ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

EncCBOR ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

NFData ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

rnf :: ApplicationName -> () Source #

Buildable ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Eq ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Ord ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

NoThunks ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

noThunks :: Context -> ApplicationName -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> ApplicationName -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy ApplicationName -> String #

type Rep ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

type Rep ApplicationName = D1 ('MetaData "ApplicationName" "Cardano.Chain.Update.ApplicationName" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "ApplicationName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unApplicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype InstallerHash Source #

The hash of the installer of the new application

Constructors

InstallerHash 

Instances

Instances details
ToJSON InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

toJSON :: InstallerHash -> Value #

toEncoding :: InstallerHash -> Encoding #

toJSONList :: [InstallerHash] -> Value #

toEncodingList :: [InstallerHash] -> Encoding #

omitField :: InstallerHash -> Bool #

Generic InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Associated Types

type Rep InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

type Rep InstallerHash = D1 ('MetaData "InstallerHash" "Cardano.Chain.Update.InstallerHash" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "InstallerHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInstallerHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash Raw))))
Show InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

FromCBOR InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

ToCBOR InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

DecCBOR InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

EncCBOR InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

NFData InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

rnf :: InstallerHash -> () Source #

Buildable InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Eq InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

NoThunks InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

noThunks :: Context -> InstallerHash -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> InstallerHash -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy InstallerHash -> String #

type Rep InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

type Rep InstallerHash = D1 ('MetaData "InstallerHash" "Cardano.Chain.Update.InstallerHash" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "InstallerHash" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInstallerHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash Raw))))

type NumSoftwareVersion = Word32 Source #

Numeric software version associated with ApplicationName

data ProtocolParameters Source #

Data which is associated with BlockVersion

Constructors

ProtocolParameters 

Fields

Instances

Instances details
Generic ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Associated Types

type Rep ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Chain.Update.ProtocolParameters" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ppScriptVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "ppSlotDuration") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMaxBlockSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural))) :*: ((S1 ('MetaSel ('Just "ppMaxHeaderSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMaxTxSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "ppMaxProposalSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMpcThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion)))) :*: ((S1 ('MetaSel ('Just "ppHeavyDelThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: (S1 ('MetaSel ('Just "ppUpdateVoteThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: S1 ('MetaSel ('Just "ppUpdateProposalThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion))) :*: ((S1 ('MetaSel ('Just "ppUpdateProposalTTL") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 SlotNumber) :*: S1 ('MetaSel ('Just "ppSoftforkRule") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SoftforkRule)) :*: (S1 ('MetaSel ('Just "ppTxFeePolicy") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 TxFeePolicy) :*: S1 ('MetaSel ('Just "ppUnlockStakeEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 EpochNumber))))))
Show ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

FromCBOR ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

ToCBOR ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

DecCBOR ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

EncCBOR ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

NFData ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Methods

rnf :: ProtocolParameters -> () Source #

Buildable ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Eq ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Ord ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

NoThunks ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Methods

noThunks :: Context -> ProtocolParameters -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> ProtocolParameters -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy ProtocolParameters -> String #

MonadError SchemaError m => FromJSON m ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Methods

fromJSON :: JSValue -> m ProtocolParameters

Monad m => ToJSON m ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Methods

toJSON :: ProtocolParameters -> m JSValue

type Rep ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Cardano.Chain.Update.ProtocolParameters" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ppScriptVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "ppSlotDuration") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMaxBlockSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural))) :*: ((S1 ('MetaSel ('Just "ppMaxHeaderSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMaxTxSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "ppMaxProposalSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "ppMpcThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion)))) :*: ((S1 ('MetaSel ('Just "ppHeavyDelThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: (S1 ('MetaSel ('Just "ppUpdateVoteThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: S1 ('MetaSel ('Just "ppUpdateProposalThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion))) :*: ((S1 ('MetaSel ('Just "ppUpdateProposalTTL") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 SlotNumber) :*: S1 ('MetaSel ('Just "ppSoftforkRule") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SoftforkRule)) :*: (S1 ('MetaSel ('Just "ppTxFeePolicy") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 TxFeePolicy) :*: S1 ('MetaSel ('Just "ppUnlockStakeEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 EpochNumber))))))

data ProtocolVersion Source #

Communication protocol version

Constructors

ProtocolVersion 

Fields

Instances

Instances details
ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Generic ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Associated Types

type Rep ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

type Rep ProtocolVersion = D1 ('MetaData "ProtocolVersion" "Cardano.Chain.Update.ProtocolVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ProtocolVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "pvMajor") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "pvMinor") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: S1 ('MetaSel ('Just "pvAlt") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word8))))
Show ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

FromCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

ToCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

DecCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

EncCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

NFData ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

rnf :: ProtocolVersion -> () Source #

Buildable ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Eq ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Ord ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

NoThunks ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

noThunks :: Context -> ProtocolVersion -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> ProtocolVersion -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy ProtocolVersion -> String #

type Rep ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

type Rep ProtocolVersion = D1 ('MetaData "ProtocolVersion" "Cardano.Chain.Update.ProtocolVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ProtocolVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "pvMajor") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "pvMinor") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word16) :*: S1 ('MetaSel ('Just "pvAlt") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word8))))

data SoftforkRule Source #

Values defining softfork resolution rule

If a proposal is confirmed at the s-th epoch, softfork resolution threshold at the t-th epoch will be 'max spMinThd (spInitThd - (t - s) * spThdDecrement)'.

Softfork resolution threshold is the portion of total stake such that if total stake of issuers of blocks with some block version is greater than this portion, this block version becomes adopted.

Constructors

SoftforkRule 

Fields

Instances

Instances details
ToJSON SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toJSON :: SoftforkRule -> Value #

toEncoding :: SoftforkRule -> Encoding #

toJSONList :: [SoftforkRule] -> Value #

toEncodingList :: [SoftforkRule] -> Encoding #

omitField :: SoftforkRule -> Bool #

Generic SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Associated Types

type Rep SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

type Rep SoftforkRule = D1 ('MetaData "SoftforkRule" "Cardano.Chain.Update.SoftforkRule" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftforkRule" 'PrefixI 'True) (S1 ('MetaSel ('Just "srInitThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: (S1 ('MetaSel ('Just "srMinThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: S1 ('MetaSel ('Just "srThdDecrement") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion))))
Show SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

FromCBOR SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

ToCBOR SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

DecCBOR SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

EncCBOR SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

NFData SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

rnf :: SoftforkRule -> () Source #

Buildable SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Eq SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Ord SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

NoThunks SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

noThunks :: Context -> SoftforkRule -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> SoftforkRule -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy SoftforkRule -> String #

MonadError SchemaError m => FromJSON m SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

fromJSON :: JSValue -> m SoftforkRule

Monad m => ToJSON m SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toJSON :: SoftforkRule -> m JSValue

type Rep SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

type Rep SoftforkRule = D1 ('MetaData "SoftforkRule" "Cardano.Chain.Update.SoftforkRule" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftforkRule" 'PrefixI 'True) (S1 ('MetaSel ('Just "srInitThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: (S1 ('MetaSel ('Just "srMinThd") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion) :*: S1 ('MetaSel ('Just "srThdDecrement") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 LovelacePortion))))

data SoftwareVersion Source #

Software version

Instances

Instances details
ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Generic SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Associated Types

type Rep SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

type Rep SoftwareVersion = D1 ('MetaData "SoftwareVersion" "Cardano.Chain.Update.SoftwareVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftwareVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "svAppName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ApplicationName) :*: S1 ('MetaSel ('Just "svNumber") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 NumSoftwareVersion)))
Show SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

FromCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

ToCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

DecCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

EncCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

NFData SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

rnf :: SoftwareVersion -> () Source #

Buildable SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Eq SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Ord SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

NoThunks SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

noThunks :: Context -> SoftwareVersion -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> SoftwareVersion -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy SoftwareVersion -> String #

type Rep SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

type Rep SoftwareVersion = D1 ('MetaData "SoftwareVersion" "Cardano.Chain.Update.SoftwareVersion" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "SoftwareVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "svAppName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ApplicationName) :*: S1 ('MetaSel ('Just "svNumber") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 NumSoftwareVersion)))

newtype SystemTag Source #

Tag of system for which update data is purposed, e.g. win64, mac32

Constructors

SystemTag 

Fields

Instances

Instances details
ToJSON SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSON :: SystemTag -> Value #

toEncoding :: SystemTag -> Encoding #

toJSONList :: [SystemTag] -> Value #

toEncodingList :: [SystemTag] -> Encoding #

omitField :: SystemTag -> Bool #

ToJSONKey SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSONKey :: ToJSONKeyFunction SystemTag

toJSONKeyList :: ToJSONKeyFunction [SystemTag]

Generic SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Associated Types

type Rep SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

type Rep SystemTag = D1 ('MetaData "SystemTag" "Cardano.Chain.Update.SystemTag" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "SystemTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "getSystemTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

FromCBOR SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

ToCBOR SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toCBOR :: SystemTag -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SystemTag -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SystemTag] -> Size Source #

DecCBOR SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

EncCBOR SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

NFData SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

rnf :: SystemTag -> () Source #

Buildable SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

build :: SystemTag -> Builder

Eq SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Ord SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

NoThunks SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

noThunks :: Context -> SystemTag -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> SystemTag -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy SystemTag -> String #

type Rep SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

type Rep SystemTag = D1 ('MetaData "SystemTag" "Cardano.Chain.Update.SystemTag" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "SystemTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "getSystemTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

type Vote = AVote () Source #

Blocks, slots, and epochs

newtype BlockCount Source #

Constructors

BlockCount 

Fields

Instances

Instances details
Enum BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Generic BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Associated Types

type Rep BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

type Rep BlockCount = D1 ('MetaData "BlockCount" "Cardano.Chain.Common.BlockCount" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "BlockCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
Read BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Show BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

FromCBOR BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

ToCBOR BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

DecCBOR BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

EncCBOR BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

NFData BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Methods

rnf :: BlockCount -> () Source #

Buildable BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Methods

build :: BlockCount -> Builder

Eq BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Ord BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

NoThunks BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Methods

noThunks :: Context -> BlockCount -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> BlockCount -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy BlockCount -> String #

type Rep BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

type Rep BlockCount = D1 ('MetaData "BlockCount" "Cardano.Chain.Common.BlockCount" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "BlockCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype EpochNumber Source #

Index of epoch.

Constructors

EpochNumber 

Instances

Instances details
ToJSON EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toJSON :: EpochNumber -> Value #

toEncoding :: EpochNumber -> Encoding #

toJSONList :: [EpochNumber] -> Value #

toEncodingList :: [EpochNumber] -> Encoding #

omitField :: EpochNumber -> Bool #

Data EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EpochNumber -> c EpochNumber Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EpochNumber Source #

toConstr :: EpochNumber -> Constr Source #

dataTypeOf :: EpochNumber -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EpochNumber) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EpochNumber) Source #

gmapT :: (forall b. Data b => b -> b) -> EpochNumber -> EpochNumber Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EpochNumber -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EpochNumber -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EpochNumber -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EpochNumber -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EpochNumber -> m EpochNumber Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EpochNumber -> m EpochNumber Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EpochNumber -> m EpochNumber Source #

Bounded EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Enum EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Generic EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Associated Types

type Rep EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

type Rep EpochNumber = D1 ('MetaData "EpochNumber" "Cardano.Chain.Slotting.EpochNumber" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "EpochNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "getEpochNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
Ix EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Num EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Integral EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Real EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Show EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

FromCBOR EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

ToCBOR EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

DecCBOR EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

EncCBOR EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

NFData EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

rnf :: EpochNumber -> () Source #

Buildable EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Eq EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Ord EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

NoThunks EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

noThunks :: Context -> EpochNumber -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> EpochNumber -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy EpochNumber -> String #

MonadError SchemaError m => FromJSON m EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

fromJSON :: JSValue -> m EpochNumber

Monad m => ToJSON m EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toJSON :: EpochNumber -> m JSValue

type Rep EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

type Rep EpochNumber = D1 ('MetaData "EpochNumber" "Cardano.Chain.Slotting.EpochNumber" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "EpochNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "getEpochNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype SlotNumber Source #

SlotNumber is an absolute slot number from the beginning of time

SlotNumber is held in a Word64. Assuming a slot every 20 seconds, Word64 is sufficient for slot indices for 10^13 years.

Constructors

SlotNumber 

Fields

Instances

Instances details
ToJSON SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toJSON :: SlotNumber -> Value #

toEncoding :: SlotNumber -> Encoding #

toJSONList :: [SlotNumber] -> Value #

toEncodingList :: [SlotNumber] -> Encoding #

omitField :: SlotNumber -> Bool #

Generic SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Associated Types

type Rep SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

type Rep SlotNumber = D1 ('MetaData "SlotNumber" "Cardano.Chain.Slotting.SlotNumber" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "SlotNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
Num SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Show SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

FromCBOR SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

ToCBOR SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

DecCBOR SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

EncCBOR SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

NFData SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

rnf :: SlotNumber -> () Source #

Buildable SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

build :: SlotNumber -> Builder

Eq SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Ord SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

NoThunks SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

noThunks :: Context -> SlotNumber -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> SlotNumber -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy SlotNumber -> String #

MonadError SchemaError m => FromJSON m SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

fromJSON :: JSValue -> m SlotNumber

Monad m => ToJSON m SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toJSON :: SlotNumber -> m JSValue

type Rep SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

type Rep SlotNumber = D1 ('MetaData "SlotNumber" "Cardano.Chain.Slotting.SlotNumber" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "SlotNumber" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

decCBORABlockOrBoundary :: EpochSlots -> Decoder s (ABlockOrBoundary ByteSpan) Source #

Decode a Block accounting for deprecated epoch boundary blocks

Previous versions of Cardano had an explicit boundary block between epochs. A Block was then represented as 'Either BoundaryBlock MainBlock'. We have now deprecated these explicit boundary blocks, but we still need to decode blocks in the old format. In the case that we find a boundary block, we drop it using dropBoundaryBlock and return a Nothing.

UTxO components

data ATxAux a Source #

Constructors

ATxAux 

Fields

Instances

Instances details
Functor ATxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

fmap :: (a -> b) -> ATxAux a -> ATxAux b Source #

(<$) :: a -> ATxAux b -> ATxAux a Source #

FromCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

ToCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toCBOR :: TxAux -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxAux -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxAux] -> Size Source #

DecCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

EncCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

encCBOR :: TxAux -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy TxAux -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [TxAux] -> Size Source #

Buildable TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

build :: TxAux -> Builder

ToJSON a => ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSON :: ATxAux a -> Value #

toEncoding :: ATxAux a -> Encoding #

toJSONList :: [ATxAux a] -> Value #

toEncodingList :: [ATxAux a] -> Encoding #

omitField :: ATxAux a -> Bool #

Generic (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Associated Types

type Rep (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

type Rep (ATxAux a) = D1 ('MetaData "ATxAux" "Cardano.Chain.UTxO.TxAux" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ATxAux" 'PrefixI 'True) (S1 ('MetaSel ('Just "aTaTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated Tx a)) :*: (S1 ('MetaSel ('Just "aTaWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated TxWitness a)) :*: S1 ('MetaSel ('Just "aTaAnnotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a))))

Methods

from :: ATxAux a -> Rep (ATxAux a) x Source #

to :: Rep (ATxAux a) x -> ATxAux a Source #

Show a => Show (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

FromCBOR (ATxAux ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Decoded (ATxAux ByteString) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Associated Types

type BaseType (ATxAux ByteString) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

DecCBOR (ATxAux ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

NFData a => NFData (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

rnf :: ATxAux a -> () Source #

Eq a => Eq (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

(==) :: ATxAux a -> ATxAux a -> Bool Source #

(/=) :: ATxAux a -> ATxAux a -> Bool Source #

type Rep (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

type Rep (ATxAux a) = D1 ('MetaData "ATxAux" "Cardano.Chain.UTxO.TxAux" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "ATxAux" 'PrefixI 'True) (S1 ('MetaSel ('Just "aTaTx") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated Tx a)) :*: (S1 ('MetaSel ('Just "aTaWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated TxWitness a)) :*: S1 ('MetaSel ('Just "aTaAnnotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a))))
type BaseType (ATxAux ByteString) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

data CompactTxIn Source #

A compact in-memory representation for a TxIn.

Convert using toCompactTxIn and fromCompactTxIn.

Instances

Instances details
Generic CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Associated Types

type Rep CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

type Rep CompactTxIn = D1 ('MetaData "CompactTxIn" "Cardano.Chain.UTxO.Compact" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "CompactTxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactTxId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Word16)))
Show CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

FromCBOR CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

ToCBOR CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

DecCBOR CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

EncCBOR CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

NFData CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

rnf :: CompactTxIn -> () Source #

Eq CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Ord CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

HeapWords CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

NoThunks CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

noThunks :: Context -> CompactTxIn -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> CompactTxIn -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy CompactTxIn -> String #

type Rep CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

type Rep CompactTxIn = D1 ('MetaData "CompactTxIn" "Cardano.Chain.UTxO.Compact" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "CompactTxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactTxId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Word16)))

data CompactTxOut Source #

A compact in-memory representation for a TxOut.

Convert using toCompactTxOut and fromCompactTxOut.

Instances

Instances details
Generic CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Associated Types

type Rep CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

type Rep CompactTxOut = D1 ('MetaData "CompactTxOut" "Cardano.Chain.UTxO.Compact" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "CompactTxOut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactAddress) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace)))
Show CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

FromCBOR CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

ToCBOR CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

DecCBOR CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

EncCBOR CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

NFData CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

rnf :: CompactTxOut -> () Source #

Eq CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Ord CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

HeapWords CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

NoThunks CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

noThunks :: Context -> CompactTxOut -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> CompactTxOut -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy CompactTxOut -> String #

type Rep CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

type Rep CompactTxOut = D1 ('MetaData "CompactTxOut" "Cardano.Chain.UTxO.Compact" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "CompactTxOut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 CompactAddress) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace)))

data Tx Source #

Transaction

NB: transaction witnesses are stored separately

Constructors

UnsafeTx 

Fields

Instances

Instances details
ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: Tx -> Value #

toEncoding :: Tx -> Encoding #

toJSONList :: [Tx] -> Value #

toEncodingList :: [Tx] -> Encoding #

omitField :: Tx -> Bool #

Generic Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Associated Types

type Rep Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

type Rep Tx = D1 ('MetaData "Tx" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "txInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxIn)) :*: (S1 ('MetaSel ('Just "txOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxOut)) :*: S1 ('MetaSel ('Just "txAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxAttributes))))

Methods

from :: Tx -> Rep Tx x Source #

to :: Rep Tx x -> Tx Source #

Show Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

FromCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

ToCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR :: Tx -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Tx -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Tx] -> Size Source #

DecCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

EncCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

encCBOR :: Tx -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy Tx -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [Tx] -> Size Source #

NFData Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

rnf :: Tx -> () Source #

Buildable Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

build :: Tx -> Builder

Eq Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

(==) :: Tx -> Tx -> Bool Source #

(/=) :: Tx -> Tx -> Bool Source #

Ord Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

compare :: Tx -> Tx -> Ordering Source #

(<) :: Tx -> Tx -> Bool Source #

(<=) :: Tx -> Tx -> Bool Source #

(>) :: Tx -> Tx -> Bool Source #

(>=) :: Tx -> Tx -> Bool Source #

max :: Tx -> Tx -> Tx Source #

min :: Tx -> Tx -> Tx Source #

type Rep Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

type Rep Tx = D1 ('MetaData "Tx" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "txInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxIn)) :*: (S1 ('MetaSel ('Just "txOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxOut)) :*: S1 ('MetaSel ('Just "txAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxAttributes))))

data TxIn Source #

Transaction arbitrary input

Constructors

TxInUtxo TxId Word16

TxId = Which transaction's output is used | Word16 = Index of the output in transaction's outputs

Instances

Instances details
ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxIn -> Value #

toEncoding :: TxIn -> Encoding #

toJSONList :: [TxIn] -> Value #

toEncodingList :: [TxIn] -> Encoding #

omitField :: TxIn -> Bool #

Generic TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Associated Types

type Rep TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

type Rep TxIn = D1 ('MetaData "TxIn" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16)))

Methods

from :: TxIn -> Rep TxIn x Source #

to :: Rep TxIn x -> TxIn Source #

Show TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

FromCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

ToCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR :: TxIn -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxIn -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxIn] -> Size Source #

DecCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

EncCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

encCBOR :: TxIn -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy TxIn -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [TxIn] -> Size Source #

NFData TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

rnf :: TxIn -> () Source #

Buildable TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

build :: TxIn -> Builder

Eq TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

(==) :: TxIn -> TxIn -> Bool Source #

(/=) :: TxIn -> TxIn -> Bool Source #

Ord TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

HeapWords TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

heapWords :: TxIn -> Int

type Rep TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

type Rep TxIn = D1 ('MetaData "TxIn" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16)))

data TxOut Source #

Transaction output

Constructors

TxOut 

Instances

Instances details
ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON :: TxOut -> Value #

toEncoding :: TxOut -> Encoding #

toJSONList :: [TxOut] -> Value #

toEncodingList :: [TxOut] -> Encoding #

omitField :: TxOut -> Bool #

Generic TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Associated Types

type Rep TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

type Rep TxOut = D1 ('MetaData "TxOut" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxOut" 'PrefixI 'True) (S1 ('MetaSel ('Just "txOutAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "txOutValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace)))

Methods

from :: TxOut -> Rep TxOut x Source #

to :: Rep TxOut x -> TxOut Source #

Show TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

FromCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

ToCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR :: TxOut -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxOut -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxOut] -> Size Source #

DecCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

EncCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

encCBOR :: TxOut -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy TxOut -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [TxOut] -> Size Source #

NFData TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

rnf :: TxOut -> () Source #

Buildable TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

build :: TxOut -> Builder

Eq TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

(==) :: TxOut -> TxOut -> Bool Source #

(/=) :: TxOut -> TxOut -> Bool Source #

Ord TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

HeapWords TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

heapWords :: TxOut -> Int

type Rep TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

type Rep TxOut = D1 ('MetaData "TxOut" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "TxOut" 'PrefixI 'True) (S1 ('MetaSel ('Just "txOutAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "txOutValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Lovelace)))

newtype UTxO Source #

Constructors

UTxO 

Instances

Instances details
Generic UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Associated Types

type Rep UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

type Rep UTxO = D1 ('MetaData "UTxO" "Cardano.Chain.UTxO.UTxO" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "UTxO" 'PrefixI 'True) (S1 ('MetaSel ('Just "unUTxO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CompactTxIn CompactTxOut))))

Methods

from :: UTxO -> Rep UTxO x Source #

to :: Rep UTxO x -> UTxO Source #

Show UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

FromCBOR UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

ToCBOR UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

toCBOR :: UTxO -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy UTxO -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [UTxO] -> Size Source #

DecCBOR UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

EncCBOR UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

encCBOR :: UTxO -> Encoding Source #

encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy UTxO -> Size Source #

encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [UTxO] -> Size Source #

NFData UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

rnf :: UTxO -> () Source #

Eq UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

(==) :: UTxO -> UTxO -> Bool Source #

(/=) :: UTxO -> UTxO -> Bool Source #

HeapWords UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

heapWords :: UTxO -> Int

NoThunks UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

noThunks :: Context -> UTxO -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> UTxO -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy UTxO -> String #

type Rep UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

type Rep UTxO = D1 ('MetaData "UTxO" "Cardano.Chain.UTxO.UTxO" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'True) (C1 ('MetaCons "UTxO" 'PrefixI 'True) (S1 ('MetaSel ('Just "unUTxO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CompactTxIn CompactTxOut))))

genesisUtxo :: Config -> UTxO Source #

Create initial UTxO from balances defined in the genesis config

Delegation

data ACertificate a Source #

Delegation certificate allowing the delegateVK to sign blocks on behalf of issuerVK

Each delegator can publish at most one Certificate per EpochNumber, and that EpochNumber must correspond to the current or next EpochNumber at the time of publishing

Constructors

UnsafeACertificate 

Fields

Instances

Instances details
Functor ACertificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

fmap :: (a -> b) -> ACertificate a -> ACertificate b Source #

(<$) :: a -> ACertificate b -> ACertificate a Source #

FromCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

ToCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

DecCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

EncCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

MonadError SchemaError m => FromJSON m Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

fromJSON :: JSValue -> m Certificate

Monad m => ToJSON m Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toJSON :: Certificate -> m JSValue

ToJSON a => ToJSON (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toJSON :: ACertificate a -> Value #

toEncoding :: ACertificate a -> Encoding #

toJSONList :: [ACertificate a] -> Value #

toEncodingList :: [ACertificate a] -> Encoding #

omitField :: ACertificate a -> Bool #

Generic (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Associated Types

type Rep (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

type Rep (ACertificate a) = D1 ('MetaData "ACertificate" "Cardano.Chain.Delegation.Certificate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeACertificate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated EpochNumber a)) :*: S1 ('MetaSel ('Just "issuerVK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VerificationKey)) :*: (S1 ('MetaSel ('Just "delegateVK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VerificationKey) :*: (S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Signature EpochNumber)) :*: S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))))
Show a => Show (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

FromCBOR (ACertificate ByteSpan) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Decoded (ACertificate ByteString) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

DecCBOR (ACertificate ByteSpan) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

NFData a => NFData (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

rnf :: ACertificate a -> () Source #

Buildable (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

build :: ACertificate a -> Builder

Eq a => Eq (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Ord a => Ord (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

NoThunks a => NoThunks (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

noThunks :: Context -> ACertificate a -> IO (Maybe ThunkInfo) #

wNoThunks :: Context -> ACertificate a -> IO (Maybe ThunkInfo) #

showTypeOf :: Proxy (ACertificate a) -> String #

type Rep (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

type Rep (ACertificate a) = D1 ('MetaData "ACertificate" "Cardano.Chain.Delegation.Certificate" "cardano-ledger-byron-1.1.0.0-7fb551a04b7ebd202180a636c363fd4c69d431c37908920ba820fedd2c0d0ade" 'False) (C1 ('MetaCons "UnsafeACertificate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Annotated EpochNumber a)) :*: S1 ('MetaSel ('Just "issuerVK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VerificationKey)) :*: (S1 ('MetaSel ('Just "delegateVK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VerificationKey) :*: (S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Signature EpochNumber)) :*: S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))))
type BaseType (ACertificate ByteString) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

signCertificate :: ProtocolMagicId -> VerificationKey -> EpochNumber -> SafeSigner -> Certificate Source #

Create a Certificate, signing it with the provided safe signer.