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