cardano-ledger-byron-0.1.0.0: The blockchain layer of Cardano during the Byron era
Safe Haskell None
Language Haskell2010

Cardano.Chain.UTxO.UTxO

Synopsis

Documentation

newtype UTxO Source #

Instances

Instances details
Eq UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Show UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Generic UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Associated Types

type Rep UTxO :: Type -> Type Source #

NFData UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

ToCBOR UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

FromCBOR UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

HeapWords UTxO Source #
Instance details

Defined in Cardano.Chain.UTxO.UTxO

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-0.1.0.0-1U5kXR8zMRrE7QjCz70XVD" ' True ) ( C1 (' MetaCons "UTxO" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unUTxO") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Map CompactTxIn CompactTxOut ))))

fromBalances :: [( Address , Lovelace )] -> UTxO Source #

Create a UTxO from a list of initial balances

fromTxOut :: TxOut -> UTxO 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.