Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data NodeClientEvent Source #
TxSubmit TxId Lovelace | A transaction has been added to the pool of pending transactions. The value is the fee of the transaction. |
Instances
_TxSubmit :: Iso' NodeClientEvent (TxId, Lovelace) Source #
data NodeClientState Source #
NodeClientState | |
|
Instances
Eq NodeClientState Source # | |
Defined in Wallet.Emulator.NodeClient (==) :: NodeClientState -> NodeClientState -> Bool Source # (/=) :: NodeClientState -> NodeClientState -> Bool Source # | |
Show NodeClientState Source # | |
Defined in Wallet.Emulator.NodeClient |
clientSlot :: Lens' NodeClientState Slot Source #
clientIndex :: Lens' NodeClientState AddressMap Source #
data ChainClientNotification Source #
BlockValidated Block | |
SlotChanged Slot |
Instances
Eq ChainClientNotification Source # | |
Defined in Wallet.Emulator.NodeClient | |
Show ChainClientNotification Source # | |
Defined in Wallet.Emulator.NodeClient |
data NodeClientControlEffect r where Source #
clientNotify :: forall effs. Member NodeClientControlEffect effs => ChainClientNotification -> Eff effs () Source #
type NodeClientEffs = '[ChainEffect, State NodeClientState, LogMsg NodeClientEvent] Source #
handleNodeControl :: Members NodeClientEffs effs => Eff (NodeClientControlEffect ': effs) ~> Eff effs Source #
handleNodeClient :: Members NodeClientEffs effs => Eff (NodeClientEffect ': effs) ~> Eff effs Source #