| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.CanonicalState.Namespace.UTxO.V0
Contents
Documentation
Key for the UTxO entry.
Instances
| Generic UtxoIn Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.UTxO.V0 Associated Types
| |||||
| Show UtxoIn Source # | |||||
| Eq UtxoIn Source # | |||||
| Ord UtxoIn Source # | |||||
| IsKey UtxoIn Source # | |||||
| type Rep UtxoIn Source # | |||||
Defined in Cardano.Ledger.CanonicalState.Namespace.UTxO.V0 type Rep UtxoIn = D1 ('MetaData "UtxoIn" "Cardano.Ledger.CanonicalState.Namespace.UTxO.V0" "cardano-ledger-canonical-state-9.9.9.9-inplace" 'True) (C1 ('MetaCons "UtxoKeyIn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxIn))) | |||||
As Utxo should represent an on chain data it's encoding should be extactly the same as on the wire protocol. But because the structure and types may not be the same in different eras we just keep a final encoding here.
Instances
| CanonicalCBOREntryEncoder "utxo/v0" (UtxoOut era) Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.UTxO.V0 Methods encodeEntry ∷ UtxoOut era → CanonicalEncoding Source # | |
| DecodeOnChain "utxo/v0" (TxOut era) ⇒ FromCanonicalCBOR "utxo/v0" (UtxoOut era) Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.UTxO.V0 Methods fromCanonicalCBOR ∷ CanonicalDecoder s (Versioned "utxo/v0" (UtxoOut era)) Source # | |
| ToCanonicalCBOR "utxo/v0" (UtxoOut era) Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.UTxO.V0 Methods toCanonicalCBOR ∷ proxy "utxo/v0" → UtxoOut era → CanonicalEncoding Source # | |
| DecodeOnChain "utxo/v0" (TxOut era) ⇒ CanonicalCBOREntryDecoder "utxo/v0" (UtxoOut era) Source # | |
Defined in Cardano.Ledger.CanonicalState.Namespace.UTxO.V0 Methods decodeEntry ∷ CanonicalDecoder s (Versioned "utxo/v0" (UtxoOut era)) Source # | |
| Show (TxOut era) ⇒ Show (UtxoOut era) Source # | |
| Eq (TxOut era) ⇒ Eq (UtxoOut era) Source # | |
Orphan instances
| (EraTxOut era, EraScript era, TxOut era ~ x) ⇒ DecodeOnChain "utxo/v0" x Source # | |
Methods decodeOnChain ∷ ByteString → CanonicalDecoder s x Source # | |