Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getBabbageSupplementalDataHashes ∷ BabbageEraTxBody era ⇒ UTxO era → TxBody era → Set (DataHash (EraCrypto era))
- 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 (EraCrypto era)) → Map (ScriptHash (EraCrypto era)) (Script era)
- getReferenceScriptsNonDistinct ∷ BabbageEraTxOut era ⇒ UTxO era → Set (TxIn (EraCrypto era)) → [(ScriptHash (EraCrypto era), Script era)]
Documentation
getBabbageSupplementalDataHashes ∷ BabbageEraTxBody era ⇒ UTxO era → TxBody era → Set (DataHash (EraCrypto era)) 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 (EraCrypto era)) → Map (ScriptHash (EraCrypto era)) (Script era) Source #
Collect all the reference scripts found in the TxOuts, pointed to by some input.
getReferenceScriptsNonDistinct ∷ BabbageEraTxOut era ⇒ UTxO era → Set (TxIn (EraCrypto era)) → [(ScriptHash (EraCrypto era), Script era)] Source #