Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- class ToTxContext f where
- toTxContext :: f CtxUTxO era -> f CtxTx era
Documentation
class ToTxContext f where Source #
A convenient type-class for transforming types in CtxUTxO
to CtxTx
.
See also ToUtxoContext
for the reverse.
toTxContext :: f CtxUTxO era -> f CtxTx era Source #
Instances
ToTxContext TxOut Source # | |
Defined in Hydra.Cardano.Api.CtxTx | |
ToTxContext TxOutDatum Source # | |
Defined in Hydra.Cardano.Api.CtxTx toTxContext :: forall (era :: k). TxOutDatum CtxUTxO era -> TxOutDatum CtxTx era Source # |