Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getBabbageSupplementalDataHashes ∷ BabbageEraTxBody era ⇒ UTxO era → TxBody era → Set DataHash
- getBabbageSpendingDatum ∷ (AlonzoEraTx era, BabbageEraTxOut era) ⇒ UTxO era → Tx era → PlutusPurpose AsItem era → Maybe (Data era)
- getBabbageScriptsProvided ∷ (EraTx era, BabbageEraTxBody era) ⇒ UTxO era → Tx era → ScriptsProvided era
- getReferenceScripts ∷ BabbageEraTxOut era ⇒ UTxO era → Set TxIn → Map ScriptHash (Script era)
- getReferenceScriptsNonDistinct ∷ BabbageEraTxOut era ⇒ UTxO era → Set TxIn → [(ScriptHash, Script era)]
Documentation
getBabbageSupplementalDataHashes ∷ BabbageEraTxBody era ⇒ UTxO era → TxBody era → Set DataHash Source #
getBabbageSpendingDatum ∷ (AlonzoEraTx era, BabbageEraTxOut era) ⇒ UTxO era → Tx era → PlutusPurpose AsItem era → Maybe (Data era) Source #
Extract binary data either directly from the Tx
as an "inline datum"
or look it up in the witnesses by the hash.
getBabbageScriptsProvided ∷ (EraTx era, BabbageEraTxBody era) ⇒ UTxO era → Tx era → ScriptsProvided era Source #
getReferenceScripts ∷ BabbageEraTxOut era ⇒ UTxO era → Set TxIn → Map ScriptHash (Script era) Source #
Collect all the reference scripts found in the TxOuts, pointed to by some input.
getReferenceScriptsNonDistinct ∷ BabbageEraTxOut era ⇒ UTxO era → Set TxIn → [(ScriptHash, Script era)] Source #