| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.TxIn
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.
Constructors
| TxId | |
Fields | |
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 # | |
| MemPack 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.19.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 # | |
| DecShareCBOR TxIn Source # | |
| EncCBOR TxIn Source # | |
| NFData TxIn Source # | |
Defined in Cardano.Ledger.TxIn | |
| Eq TxIn Source # | |
| Ord TxIn Source # | |
| MemPack 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.19.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))) | |
| type Share TxIn Source # | |
mkTxInPartial ∷ HasCallStack ⇒ TxId → Integer → TxIn Source #
txInToText ∷ TxIn → Text Source #
Transaction index.
Instances
| ToJSON TxIx Source # | |
| Bounded TxIx Source # | |
| Enum TxIx Source # | |
| 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 # | |
| MemPack TxIx Source # | |
| NoThunks TxIx Source # | |
| Random TxIx Source # | |
| Uniform TxIx Source # | |
Defined in Cardano.Ledger.BaseTypes Methods uniformM ∷ StatefulGen g m ⇒ g → m TxIx Source # | |
| UniformRange TxIx Source # | |
| type Rep TxIx Source # | |
Defined in Cardano.Ledger.BaseTypes | |