Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- findRedeemerSpending :: FromData a => Tx Era -> TxIn -> Maybe a
- findRedeemerMinting :: FromData a => Tx Era -> PolicyId -> Maybe a
- findScriptMinting :: forall lang. Tx Era -> PolicyId -> Maybe (PlutusScript lang)
- lookupRedeemer :: FromData a => PlutusPurpose AsIx LedgerEra -> TxBodyScriptData Era -> Maybe a
Documentation
findRedeemerSpending :: FromData a => Tx Era -> TxIn -> Maybe a Source #
Find and deserialise from ScriptData
, a redeemer from the transaction
associated to the given input.
findScriptMinting :: forall lang. Tx Era -> PolicyId -> Maybe (PlutusScript lang) Source #
lookupRedeemer :: FromData a => PlutusPurpose AsIx LedgerEra -> TxBodyScriptData Era -> Maybe a Source #