Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Transaction
NB: transaction witnesses are stored separately
UnsafeTx | |
|
Instances
ToJSON Tx Source # | |
Generic Tx Source # | |
Show Tx Source # | |
FromCBOR Tx Source # | |
ToCBOR Tx Source # | |
DecCBOR Tx Source # | |
EncCBOR Tx Source # | |
NFData Tx Source # | |
Defined in Cardano.Chain.UTxO.Tx | |
Buildable Tx Source # | |
Eq Tx Source # | |
Ord Tx Source # | |
type Rep Tx Source # | |
Defined in Cardano.Chain.UTxO.Tx type Rep Tx = D1 ('MetaData "Tx" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.0.1.0-inplace" 'False) (C1 ('MetaCons "UnsafeTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "txInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxIn)) :*: (S1 ('MetaSel ('Just "txOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxOut)) :*: S1 ('MetaSel ('Just "txAttributes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxAttributes)))) |
type TxAttributes = Attributes () Source #
Represents transaction attributes: map from 1-byte integer to arbitrary-type value. To be used for extending transaction with new fields via softfork.
Transaction arbitrary input
TxInUtxo TxId Word16 | TxId = Which transaction's output is used | Word16 = Index of the output in transaction's outputs |
Instances
ToJSON TxIn Source # | |
Generic TxIn Source # | |
Show TxIn Source # | |
FromCBOR TxIn Source # | |
ToCBOR TxIn Source # | |
DecCBOR TxIn Source # | |
EncCBOR TxIn Source # | |
NFData TxIn Source # | |
Defined in Cardano.Chain.UTxO.Tx | |
Buildable TxIn Source # | |
Eq TxIn Source # | |
Ord TxIn Source # | |
HeapWords TxIn Source # | |
type Rep TxIn Source # | |
Defined in Cardano.Chain.UTxO.Tx type Rep TxIn = D1 ('MetaData "TxIn" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.0.1.0-inplace" 'False) (C1 ('MetaCons "TxInUtxo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16))) |
Transaction output
Instances
ToJSON TxOut Source # | |
Generic TxOut Source # | |
Show TxOut Source # | |
FromCBOR TxOut Source # | |
ToCBOR TxOut Source # | |
DecCBOR TxOut Source # | |
EncCBOR TxOut Source # | |
NFData TxOut Source # | |
Defined in Cardano.Chain.UTxO.Tx | |
Buildable TxOut Source # | |
Eq TxOut Source # | |
Ord TxOut Source # | |
HeapWords TxOut Source # | |
type Rep TxOut Source # | |
Defined in Cardano.Chain.UTxO.Tx type Rep TxOut = D1 ('MetaData "TxOut" "Cardano.Chain.UTxO.Tx" "cardano-ledger-byron-1.0.1.0-inplace" 'False) (C1 ('MetaCons "TxOut" 'PrefixI 'True) (S1 ('MetaSel ('Just "txOutAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "txOutValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Lovelace))) |