cardano-ledger-byron-1.0.2.0: The blockchain layer of Cardano during the Byron era
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Chain.UTxO.UTxO

Synopsis

Documentation

newtype UTxO Source #

Constructors

UTxO 

Instances

Instances details
Generic UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Associated Types

type Rep UTxOTypeType Source #

Methods

fromUTxORep UTxO x Source #

toRep UTxO x → UTxO Source #

Show UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

showsPrecIntUTxOShowS Source #

showUTxOString Source #

showList ∷ [UTxO] → ShowS Source #

FromCBOR UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

ToCBOR UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

toCBORUTxOEncoding Source #

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

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

DecCBOR UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

EncCBOR UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

encCBORUTxOEncoding Source #

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

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

NFData UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

rnfUTxO → () Source #

Eq UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

(==)UTxOUTxOBool Source #

(/=)UTxOUTxOBool Source #

HeapWords UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

heapWordsUTxOInt Source #

NoThunks UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

type Rep UTxO Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

type Rep UTxO = D1 ('MetaData "UTxO" "Cardano.Chain.UTxO.UTxO" "cardano-ledger-byron-1.0.2.0-inplace" 'True) (C1 ('MetaCons "UTxO" 'PrefixI 'True) (S1 ('MetaSel ('Just "unUTxO") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CompactTxIn CompactTxOut))))

data UTxOError Source #

Instances

Instances details
Show UTxOError Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

FromCBOR UTxOError Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

ToCBOR UTxOError Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

toCBORUTxOErrorEncoding Source #

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

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

DecCBOR UTxOError Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

EncCBOR UTxOError Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

encCBORUTxOErrorEncoding Source #

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

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

Eq UTxOError Source # 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

fromBalances ∷ [(Address, Lovelace)] → UTxO Source #

Create a UTxO from a list of initial balances

fromTxOutTxOutUTxO Source #

Construct a UTxO from a TxOut. This UTxO is a singleton with a TxIn that references an address constructed by hashing the TxOut address. This means it is not guaranteed (or likely) to be a real address.

toListUTxO → [(TxIn, TxOut)] Source #

memberTxInUTxOBool Source #

(<|)Set TxInUTxOUTxO Source #

(</|)Set TxInUTxOUTxO Source #