plutus-ledger-1.2.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Ledger.Tx.Orphans

Orphan instances

Generic TxId Source # 
Instance details

Associated Types

type Rep TxId :: Type -> Type Source #

Methods

from :: TxId -> Rep TxId x Source #

to :: Rep TxId x -> TxId Source #

Generic TxIn Source # 
Instance details

Associated Types

type Rep TxIn :: Type -> Type Source #

Methods

from :: TxIn -> Rep TxIn x Source #

to :: Rep TxIn x -> TxIn Source #

Generic TxIx Source # 
Instance details

Associated Types

type Rep TxIx :: Type -> Type Source #

Methods

from :: TxIx -> Rep TxIx x Source #

to :: Rep TxIx x -> TxIx Source #

Serialise TxId Source # 
Instance details

Methods

encode :: TxId -> Encoding

decode :: Decoder s TxId

encodeList :: [TxId] -> Encoding

decodeList :: Decoder s [TxId]

Serialise TxIn Source # 
Instance details

Methods

encode :: TxIn -> Encoding

decode :: Decoder s TxIn

encodeList :: [TxIn] -> Encoding

decodeList :: Decoder s [TxIn]

Serialise TxIx Source # 
Instance details

Methods

encode :: TxIx -> Encoding

decode :: Decoder s TxIx

encodeList :: [TxIx] -> Encoding

decodeList :: Decoder s [TxIx]

Pretty TxId Source # 
Instance details

Methods

pretty :: TxId -> Doc ann #

prettyList :: [TxId] -> Doc ann #

Pretty TxIn Source # 
Instance details

Methods

pretty :: TxIn -> Doc ann #

prettyList :: [TxIn] -> Doc ann #

FromJSON (Tx BabbageEra) Source # 
Instance details

Methods

parseJSON :: Value -> Parser (Tx BabbageEra)

parseJSONList :: Value -> Parser [Tx BabbageEra]

ToJSON (Tx BabbageEra) Source # 
Instance details

Methods

toJSON :: Tx BabbageEra -> Value

toEncoding :: Tx BabbageEra -> Encoding

toJSONList :: [Tx BabbageEra] -> Value

toEncodingList :: [Tx BabbageEra] -> Encoding

Pretty (TxOutDatum ctx era) => Pretty (TxOut ctx era) Source # 
Instance details

Methods

pretty :: TxOut ctx era -> Doc ann #

prettyList :: [TxOut ctx era] -> Doc ann #

Pretty (TxOutDatum CtxTx era) Source # 
Instance details

Methods

pretty :: TxOutDatum CtxTx era -> Doc ann #

prettyList :: [TxOutDatum CtxTx era] -> Doc ann #

Pretty (TxOutDatum CtxUTxO era) Source # 
Instance details

Methods

pretty :: TxOutDatum CtxUTxO era -> Doc ann #

prettyList :: [TxOutDatum CtxUTxO era] -> Doc ann #