Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- upgradeTxDats ∷ (Era era1, Era era2) ⇒ TxDats era1 → TxDats era2
- upgradeRedeemers ∷ (AlonzoEraScript (PreviousEra era), AlonzoEraScript era) ⇒ Redeemers (PreviousEra era) → Redeemers era
- data AlonzoTxWits era where
- pattern AlonzoTxWits ∷ AlonzoEraScript era ⇒ Set (WitVKey 'Witness) → Set BootstrapWitness → Map ScriptHash (Script era) → TxDats era → Redeemers era → AlonzoTxWits era
- pattern AlonzoTxWits' ∷ Era era ⇒ Set (WitVKey 'Witness) → Set BootstrapWitness → Map ScriptHash (Script era) → TxDats era → Redeemers era → AlonzoTxWits era
- class (EraTxWits era, AlonzoEraScript era) ⇒ AlonzoEraTxWits era where
- datsTxWitsL ∷ Lens' (TxWits era) (TxDats era)
- rdmrsTxWitsL ∷ Lens' (TxWits era) (Redeemers era)
Documentation
upgradeTxDats ∷ (Era era1, Era era2) ⇒ TxDats era1 → TxDats era2 Source #
Upgrade TxDats
from one era to another. The underlying data structure
will remain identical, but the memoised serialisation may change to reflect
the versioned serialisation of the new era.
upgradeRedeemers ∷ (AlonzoEraScript (PreviousEra era), AlonzoEraScript era) ⇒ Redeemers (PreviousEra era) → Redeemers era Source #
Upgrade redeemers from one era to another. The underlying data structure will remain identical, but the memoised serialisation may change to reflect the versioned serialisation of the new era.
data AlonzoTxWits era where Source #
pattern AlonzoTxWits ∷ AlonzoEraScript era ⇒ Set (WitVKey 'Witness) → Set BootstrapWitness → Map ScriptHash (Script era) → TxDats era → Redeemers era → AlonzoTxWits era | |
pattern AlonzoTxWits' ∷ Era era ⇒ Set (WitVKey 'Witness) → Set BootstrapWitness → Map ScriptHash (Script era) → TxDats era → Redeemers era → AlonzoTxWits era |
Instances
class (EraTxWits era, AlonzoEraScript era) ⇒ AlonzoEraTxWits era where Source #