cardano-ledger-core-1.17.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.TxIn

Synopsis

Documentation

newtype TxId Source #

A unique ID of a transaction, which is computable from the transaction.

Constructors

TxId 

Instances

Instances details
FromJSON TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

ToJSON TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Generic TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Associated Types

type Rep TxIdTypeType #

Methods

fromTxIdRep TxId x #

toRep TxId x → TxId #

Show TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

showsPrecIntTxIdShowS #

showTxIdString #

showList ∷ [TxId] → ShowS #

DecCBOR TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

EncCBOR TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

encCBORTxIdEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy TxIdSize Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [TxId] → Size Source #

NFData TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

rnfTxId → () #

Eq TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

(==)TxIdTxIdBool #

(/=)TxIdTxIdBool #

Ord TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

compareTxIdTxIdOrdering #

(<)TxIdTxIdBool #

(<=)TxIdTxIdBool #

(>)TxIdTxIdBool #

(>=)TxIdTxIdBool #

maxTxIdTxIdTxId #

minTxIdTxIdTxId #

HeapWords TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

heapWordsTxIdInt Source #

MemPack TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

NoThunks TxId Source # 
Instance details

Defined in Cardano.Ledger.TxIn

type Rep TxId Source # 
Instance details

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))))

data TxIn Source #

The input of a UTxO.

Constructors

TxIn !TxId !TxIx 

Instances

Instances details
ToJSON TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Generic TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Associated Types

type Rep TxInTypeType #

Methods

fromTxInRep TxIn x #

toRep TxIn x → TxIn #

Show TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

showsPrecIntTxInShowS #

showTxInString #

showList ∷ [TxIn] → ShowS #

DecCBOR TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

DecShareCBOR TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Associated Types

type Share TxIn Source #

EncCBOR TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

encCBORTxInEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy TxInSize Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [TxIn] → Size Source #

NFData TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

rnfTxIn → () #

Eq TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

(==)TxInTxInBool #

(/=)TxInTxInBool #

Ord TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

compareTxInTxInOrdering #

(<)TxInTxInBool #

(<=)TxInTxInBool #

(>)TxInTxInBool #

(>=)TxInTxInBool #

maxTxInTxInTxIn #

minTxInTxInTxIn #

HeapWords TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

heapWordsTxInInt Source #

MemPack TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

NoThunks TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

type Rep TxIn Source # 
Instance details

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 ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxId) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 TxIx)))
type Share TxIn Source # 
Instance details

Defined in Cardano.Ledger.TxIn

type Share TxIn = ()

mkTxInPartialHasCallStackTxIdIntegerTxIn Source #

Construct TxIn while throwing an error for an out of range TxIx. Make sure to use it only for testing.

data TxIx Source #

Transaction index.

Instances

Instances details
ToJSON TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Bounded TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

minBoundTxIx #

maxBoundTxIx #

Enum TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

succTxIxTxIx #

predTxIxTxIx #

toEnumIntTxIx #

fromEnumTxIxInt #

enumFromTxIx → [TxIx] #

enumFromThenTxIxTxIx → [TxIx] #

enumFromToTxIxTxIx → [TxIx] #

enumFromThenToTxIxTxIxTxIx → [TxIx] #

Generic TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep TxIxTypeType #

Methods

fromTxIxRep TxIx x #

toRep TxIx x → TxIx #

Show TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

showsPrecIntTxIxShowS #

showTxIxString #

showList ∷ [TxIx] → ShowS #

FromCBOR TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToCBOR TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toCBORTxIxEncoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxIxSize Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxIx] → Size Source #

DecCBOR TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

EncCBOR TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

encCBORTxIxEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy TxIxSize Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [TxIx] → Size Source #

NFData TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

rnfTxIx → () #

Eq TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

(==)TxIxTxIxBool #

(/=)TxIxTxIxBool #

Ord TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

compareTxIxTxIxOrdering #

(<)TxIxTxIxBool #

(<=)TxIxTxIxBool #

(>)TxIxTxIxBool #

(>=)TxIxTxIxBool #

maxTxIxTxIxTxIx #

minTxIxTxIxTxIx #

MemPack TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

NoThunks TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

type Rep TxIx Source # 
Instance details

Defined in Cardano.Ledger.BaseTypes

type Rep TxIx = D1 ('MetaData "TxIx" "Cardano.Ledger.BaseTypes" "cardano-ledger-core-1.17.0.0-inplace" 'True) (C1 ('MetaCons "TxIx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTxIx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16)))