| Safe Haskell | None |
|---|---|
| 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
The input of a UTxO.
Instances
| ToJSON TxIn Source # | |||||
| ToJSONKey TxIn Source # | |||||
Defined in Cardano.Ledger.TxIn | |||||
| DecCBOR TxIn Source # | |||||
| DecShareCBOR TxIn Source # | |||||
| EncCBOR TxIn Source # | |||||
| NFData TxIn Source # | |||||
Defined in Cardano.Ledger.TxIn | |||||
| Generic TxIn Source # | |||||
Defined in Cardano.Ledger.TxIn Associated Types
| |||||
| Show TxIn Source # | |||||
| Eq TxIn Source # | |||||
| Ord TxIn Source # | |||||
| MemPack TxIn Source # | |||||
| NoThunks TxIn Source # | |||||
| type Share 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))) | |||||
mkTxInPartial ∷ HasCallStack ⇒ TxId → Integer → TxIn Source #
txInToText ∷ TxIn → Text Source #
Transaction index.
Instances
| ToJSON TxIx Source # | |||||
| FromCBOR TxIx Source # | |||||
| ToCBOR TxIx Source # | |||||
| DecCBOR TxIx Source # | |||||
| EncCBOR TxIx Source # | |||||
| NFData TxIx Source # | |||||
Defined in Cardano.Ledger.BaseTypes | |||||
| Bounded TxIx Source # | |||||
| Enum TxIx Source # | |||||
| Generic TxIx Source # | |||||
Defined in Cardano.Ledger.BaseTypes Associated Types
| |||||
| Show TxIx Source # | |||||
| 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 | |||||