Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
RootState | |
|
data IdentifiedState Source #
Unidentified | |
Identified Party |
data Connection Source #
Connection | |
|
type UTxOCheckboxForm e n = Form (Map TxIn (TxOut CtxUTxO, Bool)) e n Source #
type UTxORadioFieldForm e n = Form (TxIn, TxOut CtxUTxO) e n Source #
type ConfirmingRadioFieldForm e n = Form Bool e n Source #
data InitializingState Source #
data InitializingScreen Source #
data OpenScreen Source #
OpenHome | |
SelectingUTxO | |
SelectingUTxOToDecommit | |
EnteringAmount | |
| |
SelectingRecipient | |
| |
EnteringRecipientAddress | |
| |
ConfirmingClose | |
data SelectAddressItem Source #
ManualEntry | |
SelectAddress AddressInEra |
Instances
Show SelectAddressItem Source # | |
Defined in Hydra.TUI.Model | |
Eq SelectAddressItem Source # | |
Defined in Hydra.TUI.Model (==) :: SelectAddressItem -> SelectAddressItem -> Bool Source # (/=) :: SelectAddressItem -> SelectAddressItem -> Bool Source # | |
Pretty SelectAddressItem Source # | |
Defined in Hydra.TUI.Model pretty :: SelectAddressItem -> Doc ann prettyList :: [SelectAddressItem] -> Doc ann |
newtype ClosedState Source #
data ActiveLink Source #
ActiveLink | |
|
data ActiveHeadState Source #
selectingUTxOToDecommitFormL :: Traversal' OpenScreen (UTxORadioFieldForm (HydraEvent Tx) Name) Source #
selectingUTxOFormL :: Traversal' OpenScreen (UTxORadioFieldForm (HydraEvent Tx) Name) Source #
selectingRecipientFormL :: Traversal' OpenScreen (Form SelectAddressItem (HydraEvent Tx) Name) Source #
enteringRecipientAddressFormL :: Traversal' OpenScreen (Form AddressInEra (HydraEvent Tx) Name) Source #
enteringAmountFormL :: Traversal' OpenScreen (Form Integer (HydraEvent Tx) Name) Source #
confirmingCloseFormL :: Traversal' OpenScreen (ConfirmingRadioFieldForm (HydraEvent Tx) Name) Source #
openStateL :: Traversal' ActiveHeadState OpenScreen Source #
initializingStateL :: Traversal' ActiveHeadState InitializingState Source #
closedStateL :: Traversal' ActiveHeadState ClosedState Source #
connectedStateL :: Lens' RootState ConnectedState Source #
connectionL :: Traversal' ConnectedState Connection Source #
confirmingAbortFormL :: Traversal' InitializingScreen (ConfirmingRadioFieldForm (HydraEvent Tx) Name) Source #
commitMenuL :: Traversal' InitializingScreen (UTxOCheckboxForm (HydraEvent Tx) Name) Source #
peersL :: Lens' Connection [NodeId] Source #
meL :: Lens' Connection IdentifiedState Source #
headStateL :: Lens' Connection HeadState Source #
remainingPartiesL :: Lens' InitializingState [Party] Source #
activeLinkL :: Traversal' HeadState ActiveLink Source #
utxoL :: Lens' ActiveLink UTxO Source #
pendingUTxOToDecommitL :: Lens' ActiveLink UTxO Source #
partiesL :: Lens' ActiveLink [Party] Source #
headIdL :: Lens' ActiveLink HeadId Source #
activeHeadStateL :: Lens' ActiveLink ActiveHeadState Source #
newActiveLink :: [Party] -> HeadId -> ActiveLink Source #
isModalOpen :: RootState -> Bool Source #