Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
AlonzoTx | |
|
Instances
Generic (AlonzoTx era) | |
(Era era, Show (TxBody era), Show (TxAuxData era), Show (Script era), Show (TxWits era)) ⇒ Show (AlonzoTx era) | |
(Era era, EncCBOR (TxBody era), EncCBOR (TxAuxData era), EncCBOR (TxWits era)) ⇒ ToCBOR (AlonzoTx era) | |
(Typeable era, DecCBOR (Annotator (TxBody era)), DecCBOR (Annotator (TxWits era)), DecCBOR (Annotator (TxAuxData era))) ⇒ DecCBOR (Annotator (AlonzoTx era)) | |
(Era era, EncCBOR (TxBody era), EncCBOR (TxAuxData era), EncCBOR (TxWits era)) ⇒ EncCBOR (AlonzoTx era) | |
(Tx era ~ AlonzoTx era, AlonzoEraTx era) ⇒ EqRaw (AlonzoTx era) | |
(Era era, NFData (TxWits era), NFData (TxAuxData era), NFData (TxBody era)) ⇒ NFData (AlonzoTx era) | |
Defined in Cardano.Ledger.Alonzo.Tx | |
(Era era, Eq (TxBody era), Eq (TxWits era), Eq (TxAuxData era)) ⇒ Eq (AlonzoTx era) | |
(Era era, NoThunks (TxWits era), NoThunks (TxAuxData era), NoThunks (TxBody era)) ⇒ NoThunks (AlonzoTx era) | |
type Rep (AlonzoTx era) | |
Defined in Cardano.Ledger.Alonzo.Tx type Rep (AlonzoTx era) = D1 ('MetaData "AlonzoTx" "Cardano.Ledger.Alonzo.Tx" "cardano-ledger-alonzo-1.13.0.0-inplace" 'False) (C1 ('MetaCons "AlonzoTx" 'PrefixI 'True) ((S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxBody era)) :*: S1 ('MetaSel ('Just "wits") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxWits era))) :*: (S1 ('MetaSel ('Just "isValid") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IsValid) :*: S1 ('MetaSel ('Just "auxiliaryData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe (TxAuxData era)))))) |
data BabbageTxBody era where Source #
pattern BabbageTxBody ∷ BabbageEraTxBody era ⇒ Set TxIn → Set TxIn → Set TxIn → StrictSeq (Sized (TxOut era)) → StrictMaybe (Sized (TxOut era)) → StrictMaybe Coin → StrictSeq (TxCert era) → Withdrawals → Coin → ValidityInterval → StrictMaybe (Update era) → Set (KeyHash 'Witness) → MultiAsset → StrictMaybe ScriptIntegrityHash → StrictMaybe TxAuxDataHash → StrictMaybe Network → BabbageTxBody era |
Instances
module Cardano.Ledger.Alonzo.Tx
Orphan instances
AlonzoEraTx BabbageEra Source # | |
EraSegWits BabbageEra Source # | |
type TxSeq BabbageEra = (r ∷ Type) Source # | |
EraTx BabbageEra Source # | |
type Tx BabbageEra = (r ∷ Type) Source # type TxUpgradeError BabbageEra Source # mkBasicTx ∷ TxBody BabbageEra → Tx BabbageEra Source # bodyTxL ∷ Lens' (Tx BabbageEra) (TxBody BabbageEra) Source # witsTxL ∷ Lens' (Tx BabbageEra) (TxWits BabbageEra) Source # auxDataTxL ∷ Lens' (Tx BabbageEra) (StrictMaybe (TxAuxData BabbageEra)) Source # sizeTxF ∷ SimpleGetter (Tx BabbageEra) Integer Source # wireSizeTxF ∷ SimpleGetter (Tx BabbageEra) Word32 Source # validateNativeScript ∷ Tx BabbageEra → NativeScript BabbageEra → Bool Source # getMinFeeTx ∷ PParams BabbageEra → Tx BabbageEra → Int → Coin Source # upgradeTx ∷ Tx (PreviousEra BabbageEra) → Either (TxUpgradeError BabbageEra) (Tx BabbageEra) Source # |