hydra-tui-0.19.0: TUI for managing a Hydra node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.TUI.Model

Documentation

data Connection Source #

Constructors

Connection 

Fields

type UTxOCheckboxForm e n = Form (Map TxIn (TxOut CtxUTxO, Bool)) e n Source #

type UTxORadioFieldForm e n = Form (TxIn, TxOut CtxUTxO) e n Source #

data HeadState Source #

Constructors

Idle 
Active 

data ActiveLink Source #

Constructors

ActiveLink 

Fields

type Name = Text Source #

enteringRecipientAddressFormL :: Traversal' OpenScreen (Form AddressInEra (HydraEvent Tx) Name) Source #

nodeHostL :: Lens' RootState Host Source #

peersL :: Lens' Connection [NodeId] Source #

utxoL :: Lens' ActiveLink UTxO Source #

partiesL :: Lens' ActiveLink [Party] Source #

headIdL :: Lens' ActiveLink HeadId Source #

newActiveLink :: [Party] -> HeadId -> ActiveLink Source #