Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.Internal.Script
Synopsis
- data SimpleScript'
- data PlutusScriptV1
- data PlutusScriptV2
- data PlutusScriptV3
- data ScriptLanguage lang where
- SimpleScriptLanguage :: ScriptLanguage SimpleScript'
- PlutusScriptLanguage :: forall lang. IsPlutusScriptLanguage lang => PlutusScriptVersion lang -> ScriptLanguage lang
- data PlutusScriptVersion lang where
- data AnyScriptLanguage where
- AnyScriptLanguage :: forall lang. ScriptLanguage lang -> AnyScriptLanguage
- data AnyPlutusScriptVersion where
- AnyPlutusScriptVersion :: forall lang. IsPlutusScriptLanguage lang => PlutusScriptVersion lang -> AnyPlutusScriptVersion
- class IsScriptLanguage lang => IsPlutusScriptLanguage lang where
- class HasTypeProxy lang => IsScriptLanguage lang where
- scriptLanguage :: ScriptLanguage lang
- type family ToLedgerPlutusLanguage lang :: Language where ...
- data Script lang where
- SimpleScript :: !SimpleScript -> Script SimpleScript'
- PlutusScript :: forall lang. IsPlutusScriptLanguage lang => !(PlutusScriptVersion lang) -> !(PlutusScript lang) -> Script lang
- data PlutusScriptInEra era lang where
- PlutusScriptInEra :: forall lang era. PlutusScript lang -> PlutusScriptInEra era lang
- data ScriptInAnyLang where
- ScriptInAnyLang :: forall lang. ScriptLanguage lang -> Script lang -> ScriptInAnyLang
- toScriptInAnyLang :: Script lang -> ScriptInAnyLang
- removePlutusScriptDoubleEncoding :: ByteString -> ByteString
- data ScriptInEra era where
- ScriptInEra :: forall lang era. ScriptLanguageInEra lang era -> Script lang -> ScriptInEra era
- toScriptInEra :: ShelleyBasedEra era -> ScriptInAnyLang -> Maybe (ScriptInEra era)
- eraOfScriptInEra :: ScriptInEra era -> ShelleyBasedEra era
- class HasScriptLanguageInEra lang era where
- scriptLanguageInEra :: ScriptLanguageInEra lang era
- class ToAlonzoScript lang era where
- toLedgerScript :: PlutusScript lang -> AlonzoScript (ShelleyLedgerEra era)
- data ReferenceScript era where
- ReferenceScript :: forall era. BabbageEraOnwards era -> ScriptInAnyLang -> ReferenceScript era
- ReferenceScriptNone :: forall era. ReferenceScript era
- refScriptToShelleyScript :: ShelleyBasedEra era -> ReferenceScript era -> StrictMaybe (Script (ShelleyLedgerEra era))
- data WitCtxTxIn
- data WitCtxMint
- data WitCtxStake
- data WitCtx witctx where
- data ScriptWitness witctx era where
- SimpleScriptWitness :: forall era witctx. ScriptLanguageInEra SimpleScript' era -> SimpleScriptOrReferenceInput SimpleScript' -> ScriptWitness witctx era
- PlutusScriptWitness :: forall lang era witctx. IsPlutusScriptLanguage lang => ScriptLanguageInEra lang era -> PlutusScriptVersion lang -> PlutusScriptOrReferenceInput lang -> ScriptDatum witctx -> ScriptRedeemer -> ExecutionUnits -> ScriptWitness witctx era
- getScriptWitnessReferenceInput :: ScriptWitness witctx era -> Maybe TxIn
- getScriptWitnessScript :: ScriptWitness witctx era -> Maybe (ScriptInEra era)
- getScriptWitnessReferenceInputOrScript :: ScriptWitness witctx era -> Either (ScriptInEra era) TxIn
- data Witness witctx era where
- KeyWitness :: forall witctx era. KeyWitnessInCtx witctx -> Witness witctx era
- ScriptWitness :: forall witctx era. ScriptWitnessInCtx witctx -> ScriptWitness witctx era -> Witness witctx era
- data KeyWitnessInCtx witctx where
- data ScriptWitnessInCtx witctx where
- class IsScriptWitnessInCtx ctx where
- data ScriptDatum witctx where
- type ScriptRedeemer = HashableScriptData
- data ScriptLanguageInEra lang era where
- SimpleScriptInShelley :: ScriptLanguageInEra SimpleScript' ShelleyEra
- SimpleScriptInAllegra :: ScriptLanguageInEra SimpleScript' AllegraEra
- SimpleScriptInMary :: ScriptLanguageInEra SimpleScript' MaryEra
- SimpleScriptInAlonzo :: ScriptLanguageInEra SimpleScript' AlonzoEra
- SimpleScriptInBabbage :: ScriptLanguageInEra SimpleScript' BabbageEra
- SimpleScriptInConway :: ScriptLanguageInEra SimpleScript' ConwayEra
- PlutusScriptV1InAlonzo :: ScriptLanguageInEra PlutusScriptV1 AlonzoEra
- PlutusScriptV1InBabbage :: ScriptLanguageInEra PlutusScriptV1 BabbageEra
- PlutusScriptV1InConway :: ScriptLanguageInEra PlutusScriptV1 ConwayEra
- PlutusScriptV2InBabbage :: ScriptLanguageInEra PlutusScriptV2 BabbageEra
- PlutusScriptV2InConway :: ScriptLanguageInEra PlutusScriptV2 ConwayEra
- PlutusScriptV3InConway :: ScriptLanguageInEra PlutusScriptV3 ConwayEra
- scriptLanguageSupportedInEra :: ShelleyBasedEra era -> ScriptLanguage lang -> Maybe (ScriptLanguageInEra lang era)
- sbeToSimpleScriptLanguageInEra :: ShelleyBasedEra era -> ScriptLanguageInEra SimpleScript' era
- languageOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ScriptLanguage lang
- eraOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ShelleyBasedEra era
- data SimpleScript
- data SimpleScriptOrReferenceInput lang
- data PlutusScript lang where
- PlutusScriptSerialised :: forall lang. ShortByteString -> PlutusScript lang
- data PlutusScriptOrReferenceInput lang
- = PScript (PlutusScript lang)
- | PReferenceScript TxIn
- examplePlutusScriptAlwaysSucceeds :: WitCtx witctx -> PlutusScript PlutusScriptV1
- examplePlutusScriptAlwaysFails :: WitCtx witctx -> PlutusScript PlutusScriptV1
- data ScriptData
- data ExecutionUnits = ExecutionUnits {}
- newtype ScriptHash = ScriptHash (ScriptHash StandardCrypto)
- hashScript :: Script lang -> ScriptHash
- toShelleyScript :: ScriptInEra era -> Script (ShelleyLedgerEra era)
- fromShelleyBasedScript :: ShelleyBasedEra era -> Script (ShelleyLedgerEra era) -> ScriptInEra era
- toShelleyMultiSig :: SimpleScript -> Either MultiSigError (MultiSig (ShelleyLedgerEra ShelleyEra))
- fromShelleyMultiSig :: MultiSig (ShelleyLedgerEra ShelleyEra) -> SimpleScript
- toAllegraTimelock :: (AllegraEraScript era, EraCrypto era ~ StandardCrypto, NativeScript era ~ Timelock era) => SimpleScript -> NativeScript era
- fromAllegraTimelock :: (AllegraEraScript era, EraCrypto era ~ StandardCrypto) => NativeScript era -> SimpleScript
- toAlonzoExUnits :: ExecutionUnits -> ExUnits
- fromAlonzoExUnits :: ExUnits -> ExecutionUnits
- toShelleyScriptHash :: ScriptHash -> ScriptHash StandardCrypto
- fromShelleyScriptHash :: ScriptHash StandardCrypto -> ScriptHash
- toPlutusData :: ScriptData -> Data
- fromPlutusData :: Data -> ScriptData
- toAlonzoData :: Era ledgerera => HashableScriptData -> Data ledgerera
- fromAlonzoData :: Data ledgerera -> HashableScriptData
- toAlonzoLanguage :: AnyPlutusScriptVersion -> Language
- fromAlonzoLanguage :: Language -> AnyPlutusScriptVersion
- fromShelleyScriptToReferenceScript :: ShelleyBasedEra era -> Script (ShelleyLedgerEra era) -> ReferenceScript era
- scriptInEraToRefScript :: ScriptInEra era -> ReferenceScript era
- data family AsType t
- data family Hash keyrole
Languages
data SimpleScript' Source #
Instances
HasTypeProxy SimpleScript' Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy SimpleScript' -> AsType SimpleScript' Source # | |||||
IsScriptLanguage SimpleScript' Source # | |||||
Defined in Cardano.Api.Internal.Script Methods | |||||
data AsType SimpleScript' Source # | |||||
Defined in Cardano.Api.Internal.Script |
data PlutusScriptV1 Source #
The original simple script language which supports
- require a signature from a given key (by verification key hash)
- n-way and combinator
- n-way or combinator
- m-of-n combinator
This version of the language was introduced in the ShelleyEra
.
The second version of the simple script language. It has all the features of the original simple script language plus new atomic predicates:
- require the time be before a given slot number
- require the time be after a given slot number
This version of the language was introduced in the AllegraEra
.
However we opt for a single type level tag SimpleScript'
as the second version of
of the language introduced in the Allegra era is a superset of the language introduced
in the Shelley era.
Place holder type to show what the pattern is to extend to multiple languages, not just multiple versions of a single language.
Instances
data PlutusScriptV2 Source #
Instances
HasTypeProxy PlutusScriptV2 Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy PlutusScriptV2 -> AsType PlutusScriptV2 Source # | |||||
IsPlutusScriptLanguage PlutusScriptV2 Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
IsScriptLanguage PlutusScriptV2 Source # | |||||
Defined in Cardano.Api.Internal.Script Methods | |||||
HasScriptLanguageInEra PlutusScriptV2 BabbageEra Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
HasScriptLanguageInEra PlutusScriptV2 ConwayEra Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
ToAlonzoScript PlutusScriptV2 BabbageEra Source # | |||||
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV2 -> AlonzoScript (ShelleyLedgerEra BabbageEra) Source # | |||||
ToAlonzoScript PlutusScriptV2 ConwayEra Source # | |||||
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV2 -> AlonzoScript (ShelleyLedgerEra ConwayEra) Source # | |||||
data AsType PlutusScriptV2 Source # | |||||
Defined in Cardano.Api.Internal.Script |
data PlutusScriptV3 Source #
Instances
HasTypeProxy PlutusScriptV3 Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy PlutusScriptV3 -> AsType PlutusScriptV3 Source # | |||||
IsPlutusScriptLanguage PlutusScriptV3 Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
IsScriptLanguage PlutusScriptV3 Source # | |||||
Defined in Cardano.Api.Internal.Script Methods | |||||
HasScriptLanguageInEra PlutusScriptV3 ConwayEra Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
ToAlonzoScript PlutusScriptV3 ConwayEra Source # | |||||
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV3 -> AlonzoScript (ShelleyLedgerEra ConwayEra) Source # | |||||
data AsType PlutusScriptV3 Source # | |||||
Defined in Cardano.Api.Internal.Script |
data ScriptLanguage lang where Source #
Constructors
SimpleScriptLanguage :: ScriptLanguage SimpleScript' | |
PlutusScriptLanguage :: forall lang. IsPlutusScriptLanguage lang => PlutusScriptVersion lang -> ScriptLanguage lang |
Instances
TestEquality ScriptLanguage Source # | |
Defined in Cardano.Api.Internal.Script Methods testEquality :: ScriptLanguage a -> ScriptLanguage b -> Maybe (a :~: b) Source # | |
Show (ScriptLanguage lang) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (ScriptLanguage lang) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptLanguage lang -> ScriptLanguage lang -> Bool Source # (/=) :: ScriptLanguage lang -> ScriptLanguage lang -> Bool Source # |
data PlutusScriptVersion lang where Source #
Constructors
PlutusScriptV1 :: PlutusScriptVersion PlutusScriptV1 | |
PlutusScriptV2 :: PlutusScriptVersion PlutusScriptV2 | |
PlutusScriptV3 :: PlutusScriptVersion PlutusScriptV3 |
Instances
TestEquality PlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods testEquality :: PlutusScriptVersion a -> PlutusScriptVersion b -> Maybe (a :~: b) Source # | |
Show (PlutusScriptVersion lang) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (PlutusScriptVersion lang) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: PlutusScriptVersion lang -> PlutusScriptVersion lang -> Bool Source # (/=) :: PlutusScriptVersion lang -> PlutusScriptVersion lang -> Bool Source # |
data AnyScriptLanguage where Source #
Constructors
AnyScriptLanguage :: forall lang. ScriptLanguage lang -> AnyScriptLanguage |
Instances
Bounded AnyScriptLanguage Source # | |
Defined in Cardano.Api.Internal.Script | |
Enum AnyScriptLanguage Source # | |
Defined in Cardano.Api.Internal.Script Methods succ :: AnyScriptLanguage -> AnyScriptLanguage Source # pred :: AnyScriptLanguage -> AnyScriptLanguage Source # toEnum :: Int -> AnyScriptLanguage Source # fromEnum :: AnyScriptLanguage -> Int Source # enumFrom :: AnyScriptLanguage -> [AnyScriptLanguage] Source # enumFromThen :: AnyScriptLanguage -> AnyScriptLanguage -> [AnyScriptLanguage] Source # enumFromTo :: AnyScriptLanguage -> AnyScriptLanguage -> [AnyScriptLanguage] Source # enumFromThenTo :: AnyScriptLanguage -> AnyScriptLanguage -> AnyScriptLanguage -> [AnyScriptLanguage] Source # | |
Show AnyScriptLanguage Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq AnyScriptLanguage Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: AnyScriptLanguage -> AnyScriptLanguage -> Bool Source # (/=) :: AnyScriptLanguage -> AnyScriptLanguage -> Bool Source # | |
Ord AnyScriptLanguage Source # | |
Defined in Cardano.Api.Internal.Script Methods compare :: AnyScriptLanguage -> AnyScriptLanguage -> Ordering Source # (<) :: AnyScriptLanguage -> AnyScriptLanguage -> Bool Source # (<=) :: AnyScriptLanguage -> AnyScriptLanguage -> Bool Source # (>) :: AnyScriptLanguage -> AnyScriptLanguage -> Bool Source # (>=) :: AnyScriptLanguage -> AnyScriptLanguage -> Bool Source # max :: AnyScriptLanguage -> AnyScriptLanguage -> AnyScriptLanguage Source # min :: AnyScriptLanguage -> AnyScriptLanguage -> AnyScriptLanguage Source # |
data AnyPlutusScriptVersion where Source #
Constructors
AnyPlutusScriptVersion :: forall lang. IsPlutusScriptLanguage lang => PlutusScriptVersion lang -> AnyPlutusScriptVersion |
Instances
FromJSON AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods parseJSON :: Value -> Parser AnyPlutusScriptVersion parseJSONList :: Value -> Parser [AnyPlutusScriptVersion] | |
FromJSONKey AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods fromJSONKey :: FromJSONKeyFunction AnyPlutusScriptVersion fromJSONKeyList :: FromJSONKeyFunction [AnyPlutusScriptVersion] | |
ToJSON AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods toJSON :: AnyPlutusScriptVersion -> Value toEncoding :: AnyPlutusScriptVersion -> Encoding toJSONList :: [AnyPlutusScriptVersion] -> Value toEncodingList :: [AnyPlutusScriptVersion] -> Encoding | |
ToJSONKey AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods toJSONKey :: ToJSONKeyFunction AnyPlutusScriptVersion toJSONKeyList :: ToJSONKeyFunction [AnyPlutusScriptVersion] | |
Bounded AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script | |
Enum AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods succ :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion Source # pred :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion Source # toEnum :: Int -> AnyPlutusScriptVersion Source # fromEnum :: AnyPlutusScriptVersion -> Int Source # enumFrom :: AnyPlutusScriptVersion -> [AnyPlutusScriptVersion] Source # enumFromThen :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> [AnyPlutusScriptVersion] Source # enumFromTo :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> [AnyPlutusScriptVersion] Source # enumFromThenTo :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> [AnyPlutusScriptVersion] Source # | |
Show AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script | |
FromCBOR AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script | |
ToCBOR AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods toCBOR :: AnyPlutusScriptVersion -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy AnyPlutusScriptVersion -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [AnyPlutusScriptVersion] -> Size Source # | |
Eq AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Bool Source # (/=) :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Bool Source # | |
Ord AnyPlutusScriptVersion Source # | |
Defined in Cardano.Api.Internal.Script Methods compare :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Ordering Source # (<) :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Bool Source # (<=) :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Bool Source # (>) :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Bool Source # (>=) :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> Bool Source # max :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> AnyPlutusScriptVersion Source # min :: AnyPlutusScriptVersion -> AnyPlutusScriptVersion -> AnyPlutusScriptVersion Source # |
class IsScriptLanguage lang => IsPlutusScriptLanguage lang where Source #
Methods
Instances
class HasTypeProxy lang => IsScriptLanguage lang where Source #
Methods
scriptLanguage :: ScriptLanguage lang Source #
Instances
IsScriptLanguage PlutusScriptV1 Source # | |
Defined in Cardano.Api.Internal.Script Methods | |
IsScriptLanguage PlutusScriptV2 Source # | |
Defined in Cardano.Api.Internal.Script Methods | |
IsScriptLanguage PlutusScriptV3 Source # | |
Defined in Cardano.Api.Internal.Script Methods | |
IsScriptLanguage SimpleScript' Source # | |
Defined in Cardano.Api.Internal.Script Methods |
type family ToLedgerPlutusLanguage lang :: Language where ... Source #
Scripts in a specific language
data Script lang where Source #
A script in a particular language.
See also ScriptInAnyLang
for a script in any of the known languages.
See also ScriptInEra
for a script in a language that is available within
a particular era.
Note that some but not all scripts have an external JSON syntax, hence this
type has no JSON serialisation instances. The SimpleScript
family of
languages do have a JSON syntax and thus have ToJSON
/FromJSON
instances.
Constructors
SimpleScript :: !SimpleScript -> Script SimpleScript' | |
PlutusScript :: forall lang. IsPlutusScriptLanguage lang => !(PlutusScriptVersion lang) -> !(PlutusScript lang) -> Script lang |
Instances
Show (Script lang) Source # | |||||
HasTypeProxy lang => HasTypeProxy (Script lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
| |||||
IsScriptLanguage lang => SerialiseAsCBOR (Script lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods serialiseToCBOR :: Script lang -> ByteString Source # deserialiseFromCBOR :: AsType (Script lang) -> ByteString -> Either DecoderError (Script lang) Source # | |||||
IsScriptLanguage lang => HasTextEnvelope (Script lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods textEnvelopeType :: AsType (Script lang) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: Script lang -> TextEnvelopeDescr Source # | |||||
Eq (Script lang) Source # | |||||
data AsType (Script lang) Source # | |||||
Defined in Cardano.Api.Internal.Script |
data PlutusScriptInEra era lang where Source #
Constructors
PlutusScriptInEra :: forall lang era. PlutusScript lang -> PlutusScriptInEra era lang |
Instances
Show (PlutusScriptInEra era lang) Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
(HasTypeProxy era, HasTypeProxy lang) => HasTypeProxy (PlutusScriptInEra era lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy (PlutusScriptInEra era lang) -> AsType (PlutusScriptInEra era lang) Source # | |||||
(Era (ShelleyLedgerEra era), HasTypeProxy (PlutusScriptInEra era lang), PlutusLanguage (ToLedgerPlutusLanguage lang)) => SerialiseAsCBOR (PlutusScriptInEra era lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods serialiseToCBOR :: PlutusScriptInEra era lang -> ByteString Source # deserialiseFromCBOR :: AsType (PlutusScriptInEra era lang) -> ByteString -> Either DecoderError (PlutusScriptInEra era lang) Source # | |||||
Eq (PlutusScriptInEra era lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods (==) :: PlutusScriptInEra era lang -> PlutusScriptInEra era lang -> Bool Source # (/=) :: PlutusScriptInEra era lang -> PlutusScriptInEra era lang -> Bool Source # | |||||
data AsType (PlutusScriptInEra era lang) Source # | |||||
Defined in Cardano.Api.Internal.Script |
Scripts in any language
data ScriptInAnyLang where Source #
Sometimes it is necessary to handle all languages without making static type distinctions between languages. For example, when reading external input, or before the era context is known.
Use toScriptInEra
to convert to a script in the context of an era.
Constructors
ScriptInAnyLang :: forall lang. ScriptLanguage lang -> Script lang -> ScriptInAnyLang |
Instances
FromJSON ScriptInAnyLang Source # | |||||
Defined in Cardano.Api.Internal.Script Methods parseJSON :: Value -> Parser ScriptInAnyLang parseJSONList :: Value -> Parser [ScriptInAnyLang] | |||||
ToJSON ScriptInAnyLang Source # | |||||
Defined in Cardano.Api.Internal.Script Methods toJSON :: ScriptInAnyLang -> Value toEncoding :: ScriptInAnyLang -> Encoding toJSONList :: [ScriptInAnyLang] -> Value toEncodingList :: [ScriptInAnyLang] -> Encoding omitField :: ScriptInAnyLang -> Bool | |||||
Show ScriptInAnyLang Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
HasTypeProxy ScriptInAnyLang Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy ScriptInAnyLang -> AsType ScriptInAnyLang Source # | |||||
Eq ScriptInAnyLang Source # | |||||
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptInAnyLang -> ScriptInAnyLang -> Bool Source # (/=) :: ScriptInAnyLang -> ScriptInAnyLang -> Bool Source # | |||||
data AsType ScriptInAnyLang Source # | |||||
Defined in Cardano.Api.Internal.Script |
toScriptInAnyLang :: Script lang -> ScriptInAnyLang Source #
Convert a script in a specific statically-known language to a
ScriptInAnyLang
.
No inverse to this is provided, just do case analysis on the ScriptLanguage
field within the ScriptInAnyLang
constructor.
removePlutusScriptDoubleEncoding :: ByteString -> ByteString Source #
Previously we were double encoding the plutus script bytes. This function removes a layer of encoding to return the original plutus script bytes if it exists.
Scripts in an era
data ScriptInEra era where Source #
Constructors
ScriptInEra :: forall lang era. ScriptLanguageInEra lang era -> Script lang -> ScriptInEra era |
Instances
Show (ScriptInEra era) Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
HasTypeProxy era => HasTypeProxy (ScriptInEra era) Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy (ScriptInEra era) -> AsType (ScriptInEra era) Source # | |||||
Eq (ScriptInEra era) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptInEra era -> ScriptInEra era -> Bool Source # (/=) :: ScriptInEra era -> ScriptInEra era -> Bool Source # | |||||
data AsType (ScriptInEra era) Source # | |||||
Defined in Cardano.Api.Internal.Script |
toScriptInEra :: ShelleyBasedEra era -> ScriptInAnyLang -> Maybe (ScriptInEra era) Source #
Given a target era and a script in some language, check if the language is
supported in that era, and if so return a ScriptInEra
.
eraOfScriptInEra :: ScriptInEra era -> ShelleyBasedEra era Source #
class HasScriptLanguageInEra lang era where Source #
Smart-constructor for ScriptLanguageInEra
to write functions
manipulating scripts that do not commit to a particular era.
Methods
scriptLanguageInEra :: ScriptLanguageInEra lang era Source #
Instances
HasScriptLanguageInEra PlutusScriptV1 AlonzoEra Source # | |
Defined in Cardano.Api.Internal.Script | |
HasScriptLanguageInEra PlutusScriptV1 BabbageEra Source # | |
Defined in Cardano.Api.Internal.Script | |
HasScriptLanguageInEra PlutusScriptV1 ConwayEra Source # | |
Defined in Cardano.Api.Internal.Script | |
HasScriptLanguageInEra PlutusScriptV2 BabbageEra Source # | |
Defined in Cardano.Api.Internal.Script | |
HasScriptLanguageInEra PlutusScriptV2 ConwayEra Source # | |
Defined in Cardano.Api.Internal.Script | |
HasScriptLanguageInEra PlutusScriptV3 ConwayEra Source # | |
Defined in Cardano.Api.Internal.Script |
class ToAlonzoScript lang era where Source #
Methods
toLedgerScript :: PlutusScript lang -> AlonzoScript (ShelleyLedgerEra era) Source #
Instances
ToAlonzoScript PlutusScriptV1 BabbageEra Source # | |
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV1 -> AlonzoScript (ShelleyLedgerEra BabbageEra) Source # | |
ToAlonzoScript PlutusScriptV1 ConwayEra Source # | |
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV1 -> AlonzoScript (ShelleyLedgerEra ConwayEra) Source # | |
ToAlonzoScript PlutusScriptV2 BabbageEra Source # | |
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV2 -> AlonzoScript (ShelleyLedgerEra BabbageEra) Source # | |
ToAlonzoScript PlutusScriptV2 ConwayEra Source # | |
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV2 -> AlonzoScript (ShelleyLedgerEra ConwayEra) Source # | |
ToAlonzoScript PlutusScriptV3 ConwayEra Source # | |
Defined in Cardano.Api.Internal.Script Methods toLedgerScript :: PlutusScript PlutusScriptV3 -> AlonzoScript (ShelleyLedgerEra ConwayEra) Source # |
Reference scripts
data ReferenceScript era where Source #
A reference scripts is a script that can exist at a transaction output. This greatly reduces the size of transactions that use scripts as the script no longer has to be added to the transaction, they can now be referenced via a transaction output.
Constructors
ReferenceScript :: forall era. BabbageEraOnwards era -> ScriptInAnyLang -> ReferenceScript era | |
ReferenceScriptNone :: forall era. ReferenceScript era |
Instances
IsCardanoEra era => FromJSON (ReferenceScript era) Source # | |
Defined in Cardano.Api.Internal.Script Methods parseJSON :: Value -> Parser (ReferenceScript era) parseJSONList :: Value -> Parser [ReferenceScript era] omittedField :: Maybe (ReferenceScript era) | |
IsCardanoEra era => ToJSON (ReferenceScript era) Source # | |
Defined in Cardano.Api.Internal.Script Methods toJSON :: ReferenceScript era -> Value toEncoding :: ReferenceScript era -> Encoding toJSONList :: [ReferenceScript era] -> Value toEncodingList :: [ReferenceScript era] -> Encoding omitField :: ReferenceScript era -> Bool | |
Show (ReferenceScript era) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (ReferenceScript era) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ReferenceScript era -> ReferenceScript era -> Bool Source # (/=) :: ReferenceScript era -> ReferenceScript era -> Bool Source # |
refScriptToShelleyScript :: ShelleyBasedEra era -> ReferenceScript era -> StrictMaybe (Script (ShelleyLedgerEra era)) Source #
Use of a script in an era as a witness
data WitCtxTxIn Source #
A tag type for the context in which a script is used in a transaction.
This type tags the context as being to witness a transaction input.
Instances
IsScriptWitnessInCtx WitCtxTxIn Source # | |
Defined in Cardano.Api.Internal.Script Methods scriptWitnessInCtx :: ScriptWitnessInCtx WitCtxTxIn Source # |
data WitCtxMint Source #
A tag type for the context in which a script is used in a transaction.
This type tags the context as being to witness minting.
Instances
IsScriptWitnessInCtx WitCtxMint Source # | |
Defined in Cardano.Api.Internal.Script Methods scriptWitnessInCtx :: ScriptWitnessInCtx WitCtxMint Source # |
data WitCtxStake Source #
A tag type for the context in which a script is used in a transaction.
This type tags the context as being to witness the use of stake addresses in certificates, withdrawals, voting and proposals.
Instances
IsScriptWitnessInCtx WitCtxStake Source # | |
Defined in Cardano.Api.Internal.Script Methods scriptWitnessInCtx :: ScriptWitnessInCtx WitCtxStake Source # |
data WitCtx witctx where Source #
This GADT provides a value-level representation of all the witness contexts. This enables pattern matching on the context to allow them to be treated in a non-uniform way.
Constructors
WitCtxTxIn :: WitCtx WitCtxTxIn | |
WitCtxMint :: WitCtx WitCtxMint | |
WitCtxStake :: WitCtx WitCtxStake |
data ScriptWitness witctx era where Source #
A use of a script within a transaction body to witness that something is being used in an authorised manner. That can be
- spending a transaction input
- minting tokens
- using a certificate (stake address certs specifically)
- withdrawing from a reward account
For simple script languages, the use of the script is the same in all contexts. For Plutus scripts, using a script involves supplying a redeemer. In addition, Plutus scripts used for spending inputs must also supply the datum value used when originally creating the TxOut that is now being spent.
Constructors
SimpleScriptWitness :: forall era witctx. ScriptLanguageInEra SimpleScript' era -> SimpleScriptOrReferenceInput SimpleScript' -> ScriptWitness witctx era | |
PlutusScriptWitness :: forall lang era witctx. IsPlutusScriptLanguage lang => ScriptLanguageInEra lang era -> PlutusScriptVersion lang -> PlutusScriptOrReferenceInput lang -> ScriptDatum witctx -> ScriptRedeemer -> ExecutionUnits -> ScriptWitness witctx era |
Instances
Show (ScriptWitness witctx era) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (ScriptWitness witctx era) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptWitness witctx era -> ScriptWitness witctx era -> Bool Source # (/=) :: ScriptWitness witctx era -> ScriptWitness witctx era -> Bool Source # |
getScriptWitnessReferenceInput :: ScriptWitness witctx era -> Maybe TxIn Source #
getScriptWitnessScript :: ScriptWitness witctx era -> Maybe (ScriptInEra era) Source #
getScriptWitnessReferenceInputOrScript :: ScriptWitness witctx era -> Either (ScriptInEra era) TxIn Source #
We cannot always extract a script from a script witness due to reference scripts.
Reference scripts exist in the UTxO, so without access to the UTxO we cannot
retrieve the script.
So in the cases for script reference, the result contains Right TxIn
.
data Witness witctx era where Source #
Constructors
KeyWitness :: forall witctx era. KeyWitnessInCtx witctx -> Witness witctx era | |
ScriptWitness :: forall witctx era. ScriptWitnessInCtx witctx -> ScriptWitness witctx era -> Witness witctx era |
data KeyWitnessInCtx witctx where Source #
Constructors
KeyWitnessForSpending :: KeyWitnessInCtx WitCtxTxIn | |
KeyWitnessForStakeAddr :: KeyWitnessInCtx WitCtxStake |
Instances
Show (KeyWitnessInCtx witctx) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (KeyWitnessInCtx witctx) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: KeyWitnessInCtx witctx -> KeyWitnessInCtx witctx -> Bool Source # (/=) :: KeyWitnessInCtx witctx -> KeyWitnessInCtx witctx -> Bool Source # |
data ScriptWitnessInCtx witctx where Source #
Constructors
ScriptWitnessForSpending :: ScriptWitnessInCtx WitCtxTxIn | |
ScriptWitnessForMinting :: ScriptWitnessInCtx WitCtxMint | |
ScriptWitnessForStakeAddr :: ScriptWitnessInCtx WitCtxStake |
Instances
Show (ScriptWitnessInCtx witctx) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (ScriptWitnessInCtx witctx) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptWitnessInCtx witctx -> ScriptWitnessInCtx witctx -> Bool Source # (/=) :: ScriptWitnessInCtx witctx -> ScriptWitnessInCtx witctx -> Bool Source # |
class IsScriptWitnessInCtx ctx where Source #
Methods
Instances
IsScriptWitnessInCtx WitCtxMint Source # | |
Defined in Cardano.Api.Internal.Script Methods scriptWitnessInCtx :: ScriptWitnessInCtx WitCtxMint Source # | |
IsScriptWitnessInCtx WitCtxStake Source # | |
Defined in Cardano.Api.Internal.Script Methods scriptWitnessInCtx :: ScriptWitnessInCtx WitCtxStake Source # | |
IsScriptWitnessInCtx WitCtxTxIn Source # | |
Defined in Cardano.Api.Internal.Script Methods scriptWitnessInCtx :: ScriptWitnessInCtx WitCtxTxIn Source # |
data ScriptDatum witctx where Source #
Constructors
ScriptDatumForTxIn :: Maybe HashableScriptData -> ScriptDatum WitCtxTxIn | |
InlineScriptDatum :: ScriptDatum WitCtxTxIn | |
NoScriptDatumForMint :: ScriptDatum WitCtxMint | |
NoScriptDatumForStake :: ScriptDatum WitCtxStake |
Instances
Show (ScriptDatum witctx) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (ScriptDatum witctx) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptDatum witctx -> ScriptDatum witctx -> Bool Source # (/=) :: ScriptDatum witctx -> ScriptDatum witctx -> Bool Source # |
type ScriptRedeemer = HashableScriptData Source #
Languages supported in each era
data ScriptLanguageInEra lang era where Source #
Constructors
SimpleScriptInShelley :: ScriptLanguageInEra SimpleScript' ShelleyEra | |
SimpleScriptInAllegra :: ScriptLanguageInEra SimpleScript' AllegraEra | |
SimpleScriptInMary :: ScriptLanguageInEra SimpleScript' MaryEra | |
SimpleScriptInAlonzo :: ScriptLanguageInEra SimpleScript' AlonzoEra | |
SimpleScriptInBabbage :: ScriptLanguageInEra SimpleScript' BabbageEra | |
SimpleScriptInConway :: ScriptLanguageInEra SimpleScript' ConwayEra | |
PlutusScriptV1InAlonzo :: ScriptLanguageInEra PlutusScriptV1 AlonzoEra | |
PlutusScriptV1InBabbage :: ScriptLanguageInEra PlutusScriptV1 BabbageEra | |
PlutusScriptV1InConway :: ScriptLanguageInEra PlutusScriptV1 ConwayEra | |
PlutusScriptV2InBabbage :: ScriptLanguageInEra PlutusScriptV2 BabbageEra | |
PlutusScriptV2InConway :: ScriptLanguageInEra PlutusScriptV2 ConwayEra | |
PlutusScriptV3InConway :: ScriptLanguageInEra PlutusScriptV3 ConwayEra |
Instances
ToJSON (ScriptLanguageInEra lang era) Source # | |
Defined in Cardano.Api.Internal.Script Methods toJSON :: ScriptLanguageInEra lang era -> Value toEncoding :: ScriptLanguageInEra lang era -> Encoding toJSONList :: [ScriptLanguageInEra lang era] -> Value toEncodingList :: [ScriptLanguageInEra lang era] -> Encoding omitField :: ScriptLanguageInEra lang era -> Bool | |
Show (ScriptLanguageInEra lang era) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (ScriptLanguageInEra lang era) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source # (/=) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source # | |
Ord (ScriptLanguageInEra lang era) Source # | |
Defined in Cardano.Api.Internal.Script Methods compare :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Ordering Source # (<) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source # (<=) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source # (>) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source # (>=) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool Source # max :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era Source # min :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era Source # |
scriptLanguageSupportedInEra :: ShelleyBasedEra era -> ScriptLanguage lang -> Maybe (ScriptLanguageInEra lang era) Source #
Check if a given script language is supported in a given era, and if so return the evidence.
sbeToSimpleScriptLanguageInEra :: ShelleyBasedEra era -> ScriptLanguageInEra SimpleScript' era Source #
languageOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ScriptLanguage lang Source #
eraOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ShelleyBasedEra era Source #
The simple script language
data SimpleScript Source #
Constructors
RequireSignature !(Hash PaymentKey) | |
RequireTimeBefore !SlotNo | |
RequireTimeAfter !SlotNo | |
RequireAllOf ![SimpleScript] | |
RequireAnyOf ![SimpleScript] | |
RequireMOf !Int ![SimpleScript] |
Instances
FromJSON SimpleScript Source # | |
Defined in Cardano.Api.Internal.Script | |
ToJSON SimpleScript Source # | |
Defined in Cardano.Api.Internal.Script Methods toJSON :: SimpleScript -> Value toEncoding :: SimpleScript -> Encoding toJSONList :: [SimpleScript] -> Value toEncodingList :: [SimpleScript] -> Encoding omitField :: SimpleScript -> Bool | |
Show SimpleScript Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq SimpleScript Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: SimpleScript -> SimpleScript -> Bool Source # (/=) :: SimpleScript -> SimpleScript -> Bool Source # |
data SimpleScriptOrReferenceInput lang Source #
Constructors
SScript SimpleScript | |
SReferenceScript TxIn |
Instances
Show (SimpleScriptOrReferenceInput lang) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (SimpleScriptOrReferenceInput lang) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: SimpleScriptOrReferenceInput lang -> SimpleScriptOrReferenceInput lang -> Bool Source # (/=) :: SimpleScriptOrReferenceInput lang -> SimpleScriptOrReferenceInput lang -> Bool Source # |
The Plutus script language
data PlutusScript lang where Source #
Plutus scripts.
Note that Plutus scripts have a binary serialisation but no JSON serialisation.
Constructors
PlutusScriptSerialised :: forall lang. ShortByteString -> PlutusScript lang |
Instances
Show (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
HasTypeProxy lang => HasTypeProxy (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy (PlutusScript lang) -> AsType (PlutusScript lang) Source # | |||||
HasTypeProxy lang => SerialiseAsCBOR (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods serialiseToCBOR :: PlutusScript lang -> ByteString Source # deserialiseFromCBOR :: AsType (PlutusScript lang) -> ByteString -> Either DecoderError (PlutusScript lang) Source # | |||||
HasTypeProxy lang => SerialiseAsRawBytes (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods serialiseToRawBytes :: PlutusScript lang -> ByteString Source # deserialiseFromRawBytes :: AsType (PlutusScript lang) -> ByteString -> Either SerialiseAsRawBytesError (PlutusScript lang) Source # | |||||
IsPlutusScriptLanguage lang => HasTextEnvelope (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods textEnvelopeType :: AsType (PlutusScript lang) -> TextEnvelopeType Source # textEnvelopeDefaultDescr :: PlutusScript lang -> TextEnvelopeDescr Source # | |||||
Eq (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods (==) :: PlutusScript lang -> PlutusScript lang -> Bool Source # (/=) :: PlutusScript lang -> PlutusScript lang -> Bool Source # | |||||
Ord (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script Methods compare :: PlutusScript lang -> PlutusScript lang -> Ordering Source # (<) :: PlutusScript lang -> PlutusScript lang -> Bool Source # (<=) :: PlutusScript lang -> PlutusScript lang -> Bool Source # (>) :: PlutusScript lang -> PlutusScript lang -> Bool Source # (>=) :: PlutusScript lang -> PlutusScript lang -> Bool Source # max :: PlutusScript lang -> PlutusScript lang -> PlutusScript lang Source # min :: PlutusScript lang -> PlutusScript lang -> PlutusScript lang Source # | |||||
data AsType (PlutusScript lang) Source # | |||||
Defined in Cardano.Api.Internal.Script |
data PlutusScriptOrReferenceInput lang Source #
Scripts can now exist in the UTxO at a transaction output. We can reference these scripts via specification of a reference transaction input in order to witness spending inputs, withdrawals, certificates or to mint tokens. This datatype encapsulates this concept.
Constructors
PScript (PlutusScript lang) | |
PReferenceScript TxIn |
Instances
Show (PlutusScriptOrReferenceInput lang) Source # | |
Defined in Cardano.Api.Internal.Script | |
Eq (PlutusScriptOrReferenceInput lang) Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: PlutusScriptOrReferenceInput lang -> PlutusScriptOrReferenceInput lang -> Bool Source # (/=) :: PlutusScriptOrReferenceInput lang -> PlutusScriptOrReferenceInput lang -> Bool Source # |
examplePlutusScriptAlwaysSucceeds :: WitCtx witctx -> PlutusScript PlutusScriptV1 Source #
An example Plutus script that always succeeds, irrespective of inputs.
For example, if one were to use this for a payment address then it would allow anyone to spend from it.
The exact script depends on the context in which it is to be used.
examplePlutusScriptAlwaysFails :: WitCtx witctx -> PlutusScript PlutusScriptV1 Source #
An example Plutus script that always fails, irrespective of inputs.
For example, if one were to use this for a payment address then it would be impossible for anyone to ever spend from it.
The exact script depends on the context in which it is to be used.
Script data
data ScriptData Source #
Constructors
ScriptDataConstructor | |
Fields
| |
ScriptDataMap [(ScriptData, ScriptData)] | Key value pairs |
ScriptDataList [ScriptData] | Elements |
ScriptDataNumber Integer | |
ScriptDataBytes ByteString |
Instances
Show ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData | |||||
HasTypeProxy ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Associated Types
Methods proxyToAsType :: Proxy ScriptData -> AsType ScriptData Source # | |||||
SerialiseAsCBOR ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods serialiseToCBOR :: ScriptData -> ByteString Source # deserialiseFromCBOR :: AsType ScriptData -> ByteString -> Either DecoderError ScriptData Source # | |||||
FromCBOR ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData | |||||
ToCBOR ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods toCBOR :: ScriptData -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ScriptData -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptData] -> Size Source # | |||||
Eq ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods (==) :: ScriptData -> ScriptData -> Bool Source # (/=) :: ScriptData -> ScriptData -> Bool Source # | |||||
Ord ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods compare :: ScriptData -> ScriptData -> Ordering Source # (<) :: ScriptData -> ScriptData -> Bool Source # (<=) :: ScriptData -> ScriptData -> Bool Source # (>) :: ScriptData -> ScriptData -> Bool Source # (>=) :: ScriptData -> ScriptData -> Bool Source # max :: ScriptData -> ScriptData -> ScriptData Source # min :: ScriptData -> ScriptData -> ScriptData Source # | |||||
FromJSON (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods parseJSON :: Value -> Parser (Hash ScriptData) parseJSONList :: Value -> Parser [Hash ScriptData] omittedField :: Maybe (Hash ScriptData) | |||||
FromJSONKey (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods fromJSONKey :: FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData] | |||||
ToJSON (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.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 ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods toJSONKey :: ToJSONKeyFunction (Hash ScriptData) toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData] | |||||
IsString (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods fromString :: String -> Hash ScriptData Source # | |||||
Show (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData | |||||
SerialiseAsRawBytes (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods serialiseToRawBytes :: Hash ScriptData -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash ScriptData) -> ByteString -> Either SerialiseAsRawBytesError (Hash ScriptData) Source # | |||||
Eq (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods (==) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (/=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # | |||||
Ord (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods compare :: Hash ScriptData -> Hash ScriptData -> Ordering Source # (<) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (<=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # max :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # min :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # | |||||
data AsType ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData | |||||
newtype Hash ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData |
Script execution units
data ExecutionUnits Source #
The units for how long a script executes for and how much memory it uses. This is used to declare the resources used by a particular use of a script.
This type is also used to describe the limits for the maximum overall execution units per transaction or per block.
Constructors
ExecutionUnits | |
Fields
|
Instances
FromJSON ExecutionUnits Source # | |
Defined in Cardano.Api.Internal.Script | |
ToJSON ExecutionUnits Source # | |
Defined in Cardano.Api.Internal.Script Methods toJSON :: ExecutionUnits -> Value toEncoding :: ExecutionUnits -> Encoding toJSONList :: [ExecutionUnits] -> Value toEncodingList :: [ExecutionUnits] -> Encoding omitField :: ExecutionUnits -> Bool | |
Show ExecutionUnits Source # | |
Defined in Cardano.Api.Internal.Script | |
FromCBOR ExecutionUnits Source # | |
Defined in Cardano.Api.Internal.Script | |
ToCBOR ExecutionUnits Source # | |
Defined in Cardano.Api.Internal.Script Methods toCBOR :: ExecutionUnits -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ExecutionUnits -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ExecutionUnits] -> Size Source # | |
Eq ExecutionUnits Source # | |
Defined in Cardano.Api.Internal.Script Methods (==) :: ExecutionUnits -> ExecutionUnits -> Bool Source # (/=) :: ExecutionUnits -> ExecutionUnits -> Bool Source # |
Script hashes
newtype ScriptHash Source #
We have this type separate from the Hash
type to avoid the script
hash type being parametrised by the era. The representation is era
independent, and there are many places where we want to use a script
hash where we don't want things to be era-parametrised.
Constructors
ScriptHash (ScriptHash StandardCrypto) |
Instances
FromJSON ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
ToJSON ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script Methods toJSON :: ScriptHash -> Value toEncoding :: ScriptHash -> Encoding toJSONList :: [ScriptHash] -> Value toEncodingList :: [ScriptHash] -> Encoding omitField :: ScriptHash -> Bool | |||||
IsString ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script Methods fromString :: String -> ScriptHash Source # | |||||
Show ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
HasTypeProxy ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script Associated Types
Methods proxyToAsType :: Proxy ScriptHash -> AsType ScriptHash Source # | |||||
SerialiseAsRawBytes ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script | |||||
Eq ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script Methods (==) :: ScriptHash -> ScriptHash -> Bool Source # (/=) :: ScriptHash -> ScriptHash -> Bool Source # | |||||
Ord ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script Methods compare :: ScriptHash -> ScriptHash -> Ordering Source # (<) :: ScriptHash -> ScriptHash -> Bool Source # (<=) :: ScriptHash -> ScriptHash -> Bool Source # (>) :: ScriptHash -> ScriptHash -> Bool Source # (>=) :: ScriptHash -> ScriptHash -> Bool Source # max :: ScriptHash -> ScriptHash -> ScriptHash Source # min :: ScriptHash -> ScriptHash -> ScriptHash Source # | |||||
data AsType ScriptHash Source # | |||||
Defined in Cardano.Api.Internal.Script |
hashScript :: Script lang -> ScriptHash Source #
Internal conversion functions
toShelleyScript :: ScriptInEra era -> Script (ShelleyLedgerEra era) Source #
fromShelleyBasedScript :: ShelleyBasedEra era -> Script (ShelleyLedgerEra era) -> ScriptInEra era Source #
toShelleyMultiSig :: SimpleScript -> Either MultiSigError (MultiSig (ShelleyLedgerEra ShelleyEra)) Source #
Conversion for the MultiSig
language used by the Shelley era.
fromShelleyMultiSig :: MultiSig (ShelleyLedgerEra ShelleyEra) -> SimpleScript Source #
Conversion for the MultiSig
language used by the Shelley era.
toAllegraTimelock :: (AllegraEraScript era, EraCrypto era ~ StandardCrypto, NativeScript era ~ Timelock era) => SimpleScript -> NativeScript era Source #
Conversion for the Timelock
language that is shared between the
Allegra and Mary eras.
fromAllegraTimelock :: (AllegraEraScript era, EraCrypto era ~ StandardCrypto) => NativeScript era -> SimpleScript Source #
Conversion for the Timelock
language that is shared between the
Allegra and Mary eras.
toPlutusData :: ScriptData -> Data Source #
fromPlutusData :: Data -> ScriptData Source #
toAlonzoData :: Era ledgerera => HashableScriptData -> Data ledgerera Source #
fromAlonzoData :: Data ledgerera -> HashableScriptData Source #
fromShelleyScriptToReferenceScript :: ShelleyBasedEra era -> Script (ShelleyLedgerEra era) -> ReferenceScript era Source #
scriptInEraToRefScript :: ScriptInEra era -> ReferenceScript era Source #
Data family instances
A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.
Values of this type are passed to deserialisation functions for example.
Instances
data AsType AddressAny Source # | |
Defined in Cardano.Api.Internal.Address | |
data AsType ByronAddr Source # | |
Defined in Cardano.Api.Internal.Address | |
data AsType ShelleyAddr Source # | |
Defined in Cardano.Api.Internal.Address | |
data AsType StakeAddress Source # | |
Defined in Cardano.Api.Internal.Address | |
data AsType BlockHeader Source # | |
Defined in Cardano.Api.Internal.Block | |
data AsType DRepMetadata Source # | |
Defined in Cardano.Api.Internal.DRepMetadata | |
data AsType AllegraEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType AlonzoEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType BabbageEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType ByronEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType ConwayEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType MaryEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType ShelleyEra Source # | |
Defined in Cardano.Api.Internal.Eras.Core | |
data AsType GovernancePoll Source # | |
Defined in Cardano.Api.Internal.Governance.Poll | |
data AsType GovernancePollAnswer Source # | |
Defined in Cardano.Api.Internal.Governance.Poll | |
data AsType ByronKey Source # | |
Defined in Cardano.Api.Internal.Keys.Byron | |
data AsType ByronKeyLegacy Source # | |
Defined in Cardano.Api.Internal.Keys.Byron | |
data AsType KesKey Source # | |
Defined in Cardano.Api.Internal.Keys.Praos | |
data AsType VrfKey Source # | |
Defined in Cardano.Api.Internal.Keys.Praos | |
data AsType CommitteeColdExtendedKey Source # | |
data AsType CommitteeColdKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType CommitteeHotExtendedKey Source # | |
data AsType CommitteeHotKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType DRepExtendedKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType DRepKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType GenesisDelegateExtendedKey Source # | |
data AsType GenesisDelegateKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType GenesisExtendedKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType GenesisKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType GenesisUTxOKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType PaymentExtendedKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType PaymentKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType StakeExtendedKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType StakeKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType StakePoolKey Source # | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
data AsType OperationalCertificate Source # | |
data AsType OperationalCertificateIssueCounter Source # | |
data AsType PraosNonce Source # | |
Defined in Cardano.Api.Internal.ProtocolParameters | |
data AsType UpdateProposal Source # | |
Defined in Cardano.Api.Internal.ProtocolParameters | |
data AsType PlutusScriptV1 Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType PlutusScriptV2 Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType PlutusScriptV3 Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType ScriptHash Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType ScriptInAnyLang Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType SimpleScript' Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType HashableScriptData Source # | |
Defined in Cardano.Api.Internal.ScriptData | |
data AsType ScriptData Source # | |
Defined in Cardano.Api.Internal.ScriptData | |
data AsType TextEnvelope Source # | |
Defined in Cardano.Api.Internal.SerialiseTextEnvelope | |
data AsType ByronUpdateProposal Source # | |
Defined in Cardano.Api.Internal.SpecialByron | |
data AsType ByronVote Source # | |
Defined in Cardano.Api.Internal.SpecialByron | |
data AsType StakePoolMetadata Source # | |
Defined in Cardano.Api.Internal.StakePoolMetadata | |
data AsType TxId Source # | |
Defined in Cardano.Api.Internal.TxIn | |
data AsType TxMetadata Source # | |
Defined in Cardano.Api.Internal.TxMetadata | |
data AsType AssetName Source # | |
Defined in Cardano.Api.Internal.Value | |
data AsType PolicyId Source # | |
Defined in Cardano.Api.Internal.Value | |
data AsType (Address addrtype) Source # | |
Defined in Cardano.Api.Internal.Address | |
data AsType (AddressInEra era) Source # | |
Defined in Cardano.Api.Internal.Address | |
data AsType (Certificate era) Source # | |
Defined in Cardano.Api.Internal.Certificate | |
data AsType (Proposal era) Source # | |
data AsType (VotingProcedure era) Source # | |
data AsType (VotingProcedures era) Source # | |
data AsType (Hash a) Source # | |
Defined in Cardano.Api.Internal.Hash | |
data AsType (SigningKey a) Source # | |
Defined in Cardano.Api.Internal.Keys.Class | |
data AsType (VerificationKey a) Source # | |
Defined in Cardano.Api.Internal.Keys.Class | |
data AsType (PlutusScript lang) Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType (Script lang) Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType (ScriptInEra era) Source # | |
Defined in Cardano.Api.Internal.Script | |
data AsType (KeyWitness era) Source # | |
Defined in Cardano.Api.Internal.Tx.Sign | |
data AsType (Tx era) Source # | |
Defined in Cardano.Api.Internal.Tx.Sign | |
data AsType (TxBody era) Source # | |
Defined in Cardano.Api.Internal.Tx.Sign | |
data AsType (PlutusScriptInEra era lang) Source # | |
Defined in Cardano.Api.Internal.Script |
data family Hash keyrole Source #
Instances
FromJSON (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block Methods parseJSON :: Value -> Parser (Hash BlockHeader) parseJSONList :: Value -> Parser [Hash BlockHeader] omittedField :: Maybe (Hash BlockHeader) | |||||
FromJSON (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash DRepKey) parseJSONList :: Value -> Parser [Hash DRepKey] omittedField :: Maybe (Hash DRepKey) | |||||
FromJSON (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash GenesisKey) parseJSONList :: Value -> Parser [Hash GenesisKey] omittedField :: Maybe (Hash GenesisKey) | |||||
FromJSON (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash PaymentKey) parseJSONList :: Value -> Parser [Hash PaymentKey] omittedField :: Maybe (Hash PaymentKey) | |||||
FromJSON (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash StakePoolKey) parseJSONList :: Value -> Parser [Hash StakePoolKey] | |||||
FromJSON (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods parseJSON :: Value -> Parser (Hash ScriptData) parseJSONList :: Value -> Parser [Hash ScriptData] omittedField :: Maybe (Hash ScriptData) | |||||
FromJSONKey (Hash ScriptData) | |||||
Defined in Cardano.Api.Internal.ScriptData Methods fromJSONKey :: FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData] | |||||
ToJSON (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block Methods toJSON :: Hash BlockHeader -> Value toEncoding :: Hash BlockHeader -> Encoding toJSONList :: [Hash BlockHeader] -> Value toEncodingList :: [Hash BlockHeader] -> Encoding omitField :: Hash BlockHeader -> Bool | |||||
ToJSON (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToJSON (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash GenesisKey -> Value toEncoding :: Hash GenesisKey -> Encoding toJSONList :: [Hash GenesisKey] -> Value toEncodingList :: [Hash GenesisKey] -> Encoding omitField :: Hash GenesisKey -> Bool | |||||
ToJSON (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash PaymentKey -> Value toEncoding :: Hash PaymentKey -> Encoding toJSONList :: [Hash PaymentKey] -> Value toEncodingList :: [Hash PaymentKey] -> Encoding omitField :: Hash PaymentKey -> Bool | |||||
ToJSON (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash StakePoolKey -> Value toEncoding :: Hash StakePoolKey -> Encoding toJSONList :: [Hash StakePoolKey] -> Value toEncodingList :: [Hash StakePoolKey] -> Encoding omitField :: Hash StakePoolKey -> Bool | |||||
ToJSON (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.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) | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToJSONKey (Hash GenesisKey) | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash GenesisKey) toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey] | |||||
ToJSONKey (Hash PaymentKey) | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash PaymentKey) toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey] | |||||
ToJSONKey (Hash StakePoolKey) | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey) toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey] | |||||
ToJSONKey (Hash ScriptData) | |||||
Defined in Cardano.Api.Internal.ScriptData Methods toJSONKey :: ToJSONKeyFunction (Hash ScriptData) toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData] | |||||
IsString (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block Methods fromString :: String -> Hash BlockHeader Source # | |||||
IsString (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Internal.Governance.Poll Methods fromString :: String -> Hash GovernancePoll Source # | |||||
IsString (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
IsString (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods fromString :: String -> Hash ByronKeyLegacy Source # | |||||
IsString (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos | |||||
IsString (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos | |||||
IsString (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeColdExtendedKey Source # | |||||
IsString (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeColdKey Source # | |||||
IsString (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeHotExtendedKey Source # | |||||
IsString (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeHotKey Source # | |||||
IsString (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash DRepExtendedKey Source # | |||||
IsString (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
IsString (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisDelegateExtendedKey Source # | |||||
IsString (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods | |||||
IsString (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods | |||||
IsString (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisKey Source # | |||||
IsString (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisUTxOKey Source # | |||||
IsString (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods | |||||
IsString (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash PaymentKey Source # | |||||
IsString (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash StakeExtendedKey Source # | |||||
IsString (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
IsString (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash StakePoolKey Source # | |||||
IsString (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods fromString :: String -> Hash ScriptData Source # | |||||
Show (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block | |||||
Show (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.Internal.DRepMetadata | |||||
Show (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Internal.Governance.Poll | |||||
Show (Hash ByronKey) Source # | |||||
Show (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
Show (Hash KesKey) Source # | |||||
Show (Hash VrfKey) Source # | |||||
Show (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash DRepKey) Source # | |||||
Show (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash StakeKey) Source # | |||||
Show (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Show (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData | |||||
Show (Hash StakePoolMetadata) Source # | |||||
Defined in Cardano.Api.Internal.StakePoolMetadata | |||||
HasTypeProxy a => HasTypeProxy (Hash a) Source # | |||||
Defined in Cardano.Api.Internal.Hash Associated Types
| |||||
SerialiseAsBech32 (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash CommitteeColdKey -> Text bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [Text] | |||||
SerialiseAsBech32 (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash CommitteeHotKey -> Text bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [Text] | |||||
SerialiseAsBech32 (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash DRepKey -> Text bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [Text] | |||||
SerialiseAsBech32 (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash StakePoolKey -> Text bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [Text] | |||||
SerialiseAsCBOR (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToCBOR :: Hash ByronKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey) Source # | |||||
SerialiseAsCBOR (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString Source # deserialiseFromCBOR :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either DecoderError (Hash ByronKeyLegacy) Source # | |||||
SerialiseAsCBOR (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToCBOR :: Hash KesKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash KesKey) -> ByteString -> Either DecoderError (Hash KesKey) Source # | |||||
SerialiseAsCBOR (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToCBOR :: Hash VrfKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash VrfKey) -> ByteString -> Either DecoderError (Hash VrfKey) Source # | |||||
SerialiseAsCBOR (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsCBOR (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash CommitteeColdKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash CommitteeColdKey) -> ByteString -> Either DecoderError (Hash CommitteeColdKey) Source # | |||||
SerialiseAsCBOR (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsCBOR (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash CommitteeHotKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash CommitteeHotKey) -> ByteString -> Either DecoderError (Hash CommitteeHotKey) Source # | |||||
SerialiseAsCBOR (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash DRepExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash DRepExtendedKey) -> ByteString -> Either DecoderError (Hash DRepExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash DRepKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash DRepKey) -> ByteString -> Either DecoderError (Hash DRepKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisDelegateKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisKey) -> ByteString -> Either DecoderError (Hash GenesisKey) Source # | |||||
SerialiseAsCBOR (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisUTxOKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either DecoderError (Hash GenesisUTxOKey) Source # | |||||
SerialiseAsCBOR (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash PaymentExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either DecoderError (Hash PaymentExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash PaymentKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash PaymentKey) -> ByteString -> Either DecoderError (Hash PaymentKey) Source # | |||||
SerialiseAsCBOR (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash StakeExtendedKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash StakeExtendedKey) -> ByteString -> Either DecoderError (Hash StakeExtendedKey) Source # | |||||
SerialiseAsCBOR (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash StakeKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash StakeKey) -> ByteString -> Either DecoderError (Hash StakeKey) Source # | |||||
SerialiseAsCBOR (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash StakePoolKey -> ByteString Source # deserialiseFromCBOR :: AsType (Hash StakePoolKey) -> ByteString -> Either DecoderError (Hash StakePoolKey) Source # | |||||
SerialiseAsRawBytes (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block Methods serialiseToRawBytes :: Hash BlockHeader -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash BlockHeader) -> ByteString -> Either SerialiseAsRawBytesError (Hash BlockHeader) Source # | |||||
SerialiseAsRawBytes (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.Internal.DRepMetadata Methods serialiseToRawBytes :: Hash DRepMetadata -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash DRepMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepMetadata) Source # | |||||
SerialiseAsRawBytes (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Internal.Governance.Poll | |||||
SerialiseAsRawBytes (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToRawBytes :: Hash ByronKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKey) Source # | |||||
SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
SerialiseAsRawBytes (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToRawBytes :: Hash KesKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash KesKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash KesKey) Source # | |||||
SerialiseAsRawBytes (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToRawBytes :: Hash VrfKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash VrfKey) Source # | |||||
SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) Source # | |||||
SerialiseAsRawBytes (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) Source # | |||||
SerialiseAsRawBytes (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash DRepKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepKey) Source # | |||||
SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # | |||||
SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash GenesisKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash GenesisKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisKey) Source # | |||||
SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash PaymentKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash PaymentKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentKey) Source # | |||||
SerialiseAsRawBytes (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
SerialiseAsRawBytes (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash StakeKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash StakeKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeKey) Source # | |||||
SerialiseAsRawBytes (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash StakePoolKey -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash StakePoolKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolKey) Source # | |||||
SerialiseAsRawBytes (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods serialiseToRawBytes :: Hash ScriptData -> ByteString Source # deserialiseFromRawBytes :: AsType (Hash ScriptData) -> ByteString -> Either SerialiseAsRawBytesError (Hash ScriptData) Source # | |||||
SerialiseAsRawBytes (Hash StakePoolMetadata) Source # | |||||
FromCBOR (Hash ByronKey) Source # | |||||
FromCBOR (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
FromCBOR (Hash KesKey) Source # | |||||
FromCBOR (Hash VrfKey) Source # | |||||
FromCBOR (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash DRepKey) Source # | |||||
FromCBOR (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
FromCBOR (Hash StakeKey) Source # | |||||
FromCBOR (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash ByronKey) Source # | |||||
ToCBOR (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
ToCBOR (Hash KesKey) Source # | |||||
ToCBOR (Hash VrfKey) Source # | |||||
ToCBOR (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash CommitteeColdExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdExtendedKey] -> Size Source # | |||||
ToCBOR (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash CommitteeHotExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotExtendedKey] -> Size Source # | |||||
ToCBOR (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash DRepKey) Source # | |||||
ToCBOR (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size Source # | |||||
ToCBOR (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
ToCBOR (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
Eq (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block Methods (==) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (/=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # | |||||
Eq (Hash DRepMetadata) Source # | |||||
Defined in Cardano.Api.Internal.DRepMetadata Methods (==) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # (/=) :: Hash DRepMetadata -> Hash DRepMetadata -> Bool Source # | |||||
Eq (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Internal.Governance.Poll Methods (==) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (/=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # | |||||
Eq (Hash ByronKey) Source # | |||||
Eq (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods (==) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (/=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # | |||||
Eq (Hash KesKey) Source # | |||||
Eq (Hash VrfKey) Source # | |||||
Eq (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (/=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # | |||||
Eq (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (/=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # | |||||
Eq (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (/=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # | |||||
Eq (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (/=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # | |||||
Eq (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (/=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # | |||||
Eq (Hash DRepKey) Source # | |||||
Eq (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (/=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # | |||||
Eq (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (/=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # | |||||
Eq (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (/=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # | |||||
Eq (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (/=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # | |||||
Eq (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (/=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # | |||||
Eq (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (/=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # | |||||
Eq (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (/=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # | |||||
Eq (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (/=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # | |||||
Eq (Hash StakeKey) Source # | |||||
Eq (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods (==) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (/=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # | |||||
Eq (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods (==) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (/=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # | |||||
Eq (Hash StakePoolMetadata) Source # | |||||
Defined in Cardano.Api.Internal.StakePoolMetadata Methods (==) :: Hash StakePoolMetadata -> Hash StakePoolMetadata -> Bool Source # (/=) :: Hash StakePoolMetadata -> Hash StakePoolMetadata -> Bool Source # | |||||
Ord (Hash BlockHeader) Source # | |||||
Defined in Cardano.Api.Internal.Block Methods compare :: Hash BlockHeader -> Hash BlockHeader -> Ordering Source # (<) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (<=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # max :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # min :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # | |||||
Ord (Hash GovernancePoll) Source # | |||||
Defined in Cardano.Api.Internal.Governance.Poll Methods compare :: Hash GovernancePoll -> Hash GovernancePoll -> Ordering Source # (<) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (<=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # max :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # min :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # | |||||
Ord (Hash ByronKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods compare :: Hash ByronKey -> Hash ByronKey -> Ordering Source # (<) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (<=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # max :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # min :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # | |||||
Ord (Hash ByronKeyLegacy) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron Methods compare :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Ordering Source # (<) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (<=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # max :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # min :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # | |||||
Ord (Hash KesKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos Methods compare :: Hash KesKey -> Hash KesKey -> Ordering Source # (<) :: Hash KesKey -> Hash KesKey -> Bool Source # (<=) :: Hash KesKey -> Hash KesKey -> Bool Source # (>) :: Hash KesKey -> Hash KesKey -> Bool Source # (>=) :: Hash KesKey -> Hash KesKey -> Bool Source # | |||||
Ord (Hash VrfKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos Methods compare :: Hash VrfKey -> Hash VrfKey -> Ordering Source # (<) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (<=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # | |||||
Ord (Hash CommitteeColdExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Ordering Source # (<) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (<=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # max :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # min :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # | |||||
Ord (Hash CommitteeColdKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Ordering Source # (<) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (<=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # max :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # min :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # | |||||
Ord (Hash CommitteeHotExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Ordering Source # (<) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (<=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # max :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # min :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # | |||||
Ord (Hash CommitteeHotKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Ordering Source # (<) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (<=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # max :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # min :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # | |||||
Ord (Hash DRepExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Ordering Source # (<) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (<=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (>) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (>=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # max :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source # min :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source # | |||||
Ord (Hash DRepKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash DRepKey -> Hash DRepKey -> Ordering Source # (<) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (<=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # max :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # min :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # | |||||
Ord (Hash GenesisDelegateExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Ordering Source # (<) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (<=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # max :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # min :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # | |||||
Ord (Hash GenesisDelegateKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Ordering Source # (<) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (<=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # max :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # min :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # | |||||
Ord (Hash GenesisExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Ordering Source # (<) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (<=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # max :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # min :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # | |||||
Ord (Hash GenesisKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisKey -> Hash GenesisKey -> Ordering Source # (<) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (<=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # max :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # min :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # | |||||
Ord (Hash GenesisUTxOKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Ordering Source # (<) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (<=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # max :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # min :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # | |||||
Ord (Hash PaymentExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Ordering Source # (<) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (<=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # max :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # min :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # | |||||
Ord (Hash PaymentKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash PaymentKey -> Hash PaymentKey -> Ordering Source # (<) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (<=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # max :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # min :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # | |||||
Ord (Hash StakeExtendedKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Ordering Source # (<) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (<=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # max :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # min :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # | |||||
Ord (Hash StakeKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakeKey -> Hash StakeKey -> Ordering Source # (<) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (<=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # max :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # min :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # | |||||
Ord (Hash StakePoolKey) Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakePoolKey -> Hash StakePoolKey -> Ordering Source # (<) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (<=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # max :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # min :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # | |||||
Ord (Hash ScriptData) Source # | |||||
Defined in Cardano.Api.Internal.ScriptData Methods compare :: Hash ScriptData -> Hash ScriptData -> Ordering Source # (<) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (<=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # max :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # min :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # | |||||
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. | ||||
Defined in Cardano.Api.Internal.Block | |||||
newtype Hash DRepMetadata Source # | |||||
Defined in Cardano.Api.Internal.DRepMetadata | |||||
newtype Hash GovernancePoll Source # | |||||
Defined in Cardano.Api.Internal.Governance.Poll | |||||
newtype Hash ByronKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
newtype Hash ByronKeyLegacy Source # | |||||
Defined in Cardano.Api.Internal.Keys.Byron | |||||
newtype Hash KesKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos | |||||
newtype Hash VrfKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Praos | |||||
newtype Hash CommitteeColdExtendedKey Source # | |||||
newtype Hash CommitteeColdKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash CommitteeHotExtendedKey Source # | |||||
newtype Hash CommitteeHotKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash DRepExtendedKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash DRepKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash GenesisDelegateExtendedKey Source # | |||||
newtype Hash GenesisDelegateKey Source # | |||||
newtype Hash GenesisExtendedKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash GenesisKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash GenesisUTxOKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash PaymentExtendedKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash PaymentKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash StakeExtendedKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash StakeKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash StakePoolKey Source # | |||||
Defined in Cardano.Api.Internal.Keys.Shelley | |||||
newtype Hash ScriptData Source # | |||||
Defined in Cardano.Api.Internal.ScriptData | |||||
newtype Hash StakePoolMetadata Source # | |||||
Defined in Cardano.Api.Internal.StakePoolMetadata | |||||
data AsType (Hash a) Source # | |||||
Defined in Cardano.Api.Internal.Hash |