Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype TxId = TxId {}
- data TxIn = TxIn !TxId !TxIx
- mkTxInPartial ∷ HasCallStack ⇒ TxId → Integer → TxIn
- txInToText ∷ TxIn → Text
- data TxIx
Documentation
A unique ID of a transaction, which is computable from the transaction.
Instances
FromJSON TxId Source # | |
ToJSON TxId Source # | |
Generic TxId Source # | |
Show TxId Source # | |
DecCBOR TxId Source # | |
EncCBOR TxId Source # | |
NFData TxId Source # | |
Defined in Cardano.Ledger.TxIn | |
Eq TxId Source # | |
Ord TxId Source # | |
HeapWords TxId Source # | |
NoThunks TxId Source # | |
type Rep TxId Source # | |
Defined in Cardano.Ledger.TxIn type Rep TxId = D1 ('MetaData "TxId" "Cardano.Ledger.TxIn" "cardano-ledger-core-1.17.0.0-inplace" 'True) (C1 ('MetaCons "TxId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SafeHash EraIndependentTxBody)))) |
The input of a UTxO.
Instances
ToJSON TxIn Source # | |
ToJSONKey TxIn Source # | |
Defined in Cardano.Ledger.TxIn | |
Generic TxIn Source # | |
Show TxIn Source # | |
DecCBOR TxIn Source # | |
EncCBOR TxIn Source # | |
NFData TxIn Source # | |
Defined in Cardano.Ledger.TxIn | |
Eq TxIn Source # | |
Ord TxIn Source # | |
HeapWords TxIn Source # | |
NoThunks TxIn Source # | |
type Rep TxIn Source # | |
Defined in Cardano.Ledger.TxIn type Rep TxIn = D1 ('MetaData "TxIn" "Cardano.Ledger.TxIn" "cardano-ledger-core-1.17.0.0-inplace" 'False) (C1 ('MetaCons "TxIn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxId) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 TxIx))) |
mkTxInPartial ∷ HasCallStack ⇒ TxId → Integer → TxIn Source #
txInToText ∷ TxIn → Text Source #
Transaction index.
Instances
ToJSON TxIx Source # | |
Bounded TxIx Source # | |
Enum TxIx Source # | |
Defined in Cardano.Ledger.BaseTypes | |
Generic TxIx Source # | |
Show TxIx Source # | |
FromCBOR TxIx Source # | |
ToCBOR TxIx Source # | |
DecCBOR TxIx Source # | |
EncCBOR TxIx Source # | |
NFData TxIx Source # | |
Defined in Cardano.Ledger.BaseTypes | |
Eq TxIx Source # | |
Ord TxIx Source # | |
NoThunks TxIx Source # | |
type Rep TxIx Source # | |
Defined in Cardano.Ledger.BaseTypes |