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

Hydra.TUI.Handlers

Synopsis

Documentation

handleEvent :: CardanoClient -> Client Tx IO -> BrickEvent Name (HydraEvent Tx) -> EventM Name RootState () Source #

AppEvent handlers

partyCommitted :: Party -> UTxO -> EventM n ActiveLink () Source #

VtyEvent handlers

handleVtyEventsHeadState :: CardanoClient -> Client Tx IO -> Event -> EventM Name HeadState () Source #

handleVtyEventsActiveLink :: CardanoClient -> Client Tx IO -> Event -> EventM Name ActiveLink () Source #

handleVtyEventsActiveHeadState :: CardanoClient -> Client Tx IO -> UTxO -> Event -> EventM Name ActiveHeadState () Source #

handleVtyEventsInitializingScreen :: CardanoClient -> Client Tx IO -> Event -> EventM Name InitializingScreen () Source #

handleVtyEventsOpen :: CardanoClient -> Client Tx IO -> UTxO -> Event -> EventM Name OpenScreen () Source #

handleVtyEventsFanoutPossible :: Client Tx IO -> Event -> EventM Name s () Source #

handleVtyEventsFinal :: Client Tx IO -> Event -> EventM Name s () Source #

handleVtyEventsConnection :: CardanoClient -> Client Tx IO -> Event -> EventM Name Connection () Source #

scroll :: Direction -> EventM Name LogState () Source #

myAvailableUTxO :: NetworkId -> VerificationKey PaymentKey -> UTxO -> Map TxIn (TxOut CtxUTxO) Source #

mkMyAddress :: CardanoClient -> Client Tx IO -> Address ShelleyAddr Source #