| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Wallet.Graph
Description
Support for visualisation of a blockchain as a graph.
Documentation
Instances
| Show FlowGraph Source # | |
| Generic FlowGraph Source # | |
| ToJSON FlowGraph Source # | |
Defined in Wallet.Graph Methods toEncoding :: FlowGraph -> Encoding toJSONList :: [FlowGraph] -> Value toEncodingList :: [FlowGraph] -> Encoding | |
| type Rep FlowGraph Source # | |
Defined in Wallet.Graph type Rep FlowGraph = D1 ('MetaData "FlowGraph" "Wallet.Graph" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "FlowGraph" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowGraphLinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FlowLink]) :*: S1 ('MetaSel ('Just "flowGraphNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TxRef]))) | |
A link in the flow graph.
Instances
A wrapper around the first 8 digits of a TxId.
Instances
| Eq TxRef Source # | |
| Ord TxRef Source # | |
Defined in Wallet.Graph | |
| Show TxRef Source # | |
| Generic TxRef Source # | |
| ToJSON TxRef Source # | |
Defined in Wallet.Graph Methods toEncoding :: TxRef -> Encoding toJSONList :: [TxRef] -> Value toEncodingList :: [TxRef] -> Encoding | |
| type Rep TxRef Source # | |
Defined in Wallet.Graph | |
The owner of an unspent transaction output.
Instances
| Eq UtxOwner Source # | |
| Ord UtxOwner Source # | |
Defined in Wallet.Graph | |
| Show UtxOwner Source # | |
| Generic UtxOwner Source # | |
| ToJSON UtxOwner Source # | |
Defined in Wallet.Graph Methods toEncoding :: UtxOwner -> Encoding toJSONList :: [UtxOwner] -> Value toEncodingList :: [UtxOwner] -> Encoding | |
| type Rep UtxOwner Source # | |
Defined in Wallet.Graph type Rep UtxOwner = D1 ('MetaData "UtxOwner" "Wallet.Graph" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "PubKeyOwner" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKey)) :+: (C1 ('MetaCons "ScriptOwner" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherOwner" 'PrefixI 'False) (U1 :: Type -> Type))) | |
data UtxoLocation Source #
The location of a transaction in a blockchain specified by two indices: the index of the containing block in the chain, and the index of the transaction within the block.