Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AlonzoTxAuxData era where
- pattern AlonzoTxAuxData ∷ ∀ era. (HasCallStack, AlonzoEraScript era) ⇒ Map Word64 Metadatum → StrictSeq (Timelock era) → Map Language (NonEmpty PlutusBinary) → AlonzoTxAuxData era
- pattern AlonzoTxAuxData' ∷ ∀ era. Map Word64 Metadatum → StrictSeq (Timelock era) → Map Language (NonEmpty PlutusBinary) → AlonzoTxAuxData era
- class AllegraEraTxAuxData era ⇒ AlonzoEraTxAuxData era where
- plutusScriptsTxAuxDataL ∷ Lens' (TxAuxData era) (Map Language (NonEmpty PlutusBinary))
- data AlonzoTxAuxDataRaw era
- mkAlonzoTxAuxData ∷ ∀ f era. (Foldable f, AlonzoEraScript era) ⇒ Map Word64 Metadatum → f (AlonzoScript era) → AlonzoTxAuxData era
- hashAlonzoTxAuxData ∷ HashAnnotated x EraIndependentTxAuxData ⇒ x → TxAuxDataHash
- validateAlonzoTxAuxData ∷ (AlonzoEraScript era, Script era ~ AlonzoScript era) ⇒ ProtVer → AlonzoTxAuxData era → Bool
- getAlonzoTxAuxDataScripts ∷ ∀ era. AlonzoEraScript era ⇒ AlonzoTxAuxData era → StrictSeq (AlonzoScript era)
- translateAlonzoTxAuxData ∷ (AlonzoEraScript era1, AlonzoEraScript era2) ⇒ AlonzoTxAuxData era1 → AlonzoTxAuxData era2
- metadataAlonzoTxAuxDataL ∷ Era era ⇒ Lens' (AlonzoTxAuxData era) (Map Word64 Metadatum)
- timelockScriptsAlonzoTxAuxDataL ∷ Era era ⇒ Lens' (AlonzoTxAuxData era) (StrictSeq (Timelock era))
- plutusScriptsAllegraTxAuxDataL ∷ Era era ⇒ Lens' (AlonzoTxAuxData era) (Map Language (NonEmpty PlutusBinary))
AlonzoTxAuxData
data AlonzoTxAuxData era where Source #
pattern AlonzoTxAuxData ∷ ∀ era. (HasCallStack, AlonzoEraScript era) ⇒ Map Word64 Metadatum → StrictSeq (Timelock era) → Map Language (NonEmpty PlutusBinary) → AlonzoTxAuxData era | Construct auxiliary data. Make sure not to supply plutus script versions that are not
supported in this era, because it will result in a runtime exception. Use
|
pattern AlonzoTxAuxData' ∷ ∀ era. Map Word64 Metadatum → StrictSeq (Timelock era) → Map Language (NonEmpty PlutusBinary) → AlonzoTxAuxData era |
Instances
class AllegraEraTxAuxData era ⇒ AlonzoEraTxAuxData era where Source #
plutusScriptsTxAuxDataL ∷ Lens' (TxAuxData era) (Map Language (NonEmpty PlutusBinary)) Source #
Instances
data AlonzoTxAuxDataRaw era Source #
Instances
mkAlonzoTxAuxData ∷ ∀ f era. (Foldable f, AlonzoEraScript era) ⇒ Map Word64 Metadatum → f (AlonzoScript era) → AlonzoTxAuxData era Source #
Helper function that will construct Auxiliary data from Metadatum map and a list of scripts.
Note that the relative order of same type scripts will be preserved.
hashAlonzoTxAuxData ∷ HashAnnotated x EraIndependentTxAuxData ⇒ x → TxAuxDataHash Source #
Deprecated: In favor of hashTxAuxData
validateAlonzoTxAuxData ∷ (AlonzoEraScript era, Script era ~ AlonzoScript era) ⇒ ProtVer → AlonzoTxAuxData era → Bool Source #
getAlonzoTxAuxDataScripts ∷ ∀ era. AlonzoEraScript era ⇒ AlonzoTxAuxData era → StrictSeq (AlonzoScript era) Source #
translateAlonzoTxAuxData ∷ (AlonzoEraScript era1, AlonzoEraScript era2) ⇒ AlonzoTxAuxData era1 → AlonzoTxAuxData era2 Source #
metadataAlonzoTxAuxDataL ∷ Era era ⇒ Lens' (AlonzoTxAuxData era) (Map Word64 Metadatum) Source #
timelockScriptsAlonzoTxAuxDataL ∷ Era era ⇒ Lens' (AlonzoTxAuxData era) (StrictSeq (Timelock era)) Source #
plutusScriptsAllegraTxAuxDataL ∷ Era era ⇒ Lens' (AlonzoTxAuxData era) (Map Language (NonEmpty PlutusBinary)) Source #