Safe Haskell | None |
---|---|
Language | Haskell2010 |
Plutus.ChainIndex.Emulator.Handlers
Description
Handlers for the ChainIndexQueryEffect
and the ChainIndexControlEffect
in the emulator
Documentation
handleQuery :: forall effs. (Member (State ChainIndexEmulatorState) effs, Member (Error ChainIndexError) effs, Member (LogMsg ChainIndexLog) effs) => ChainIndexQueryEffect ~> Eff effs Source #
handleControl :: forall effs. (Member (State ChainIndexEmulatorState) effs, Member (Error ChainIndexError) effs, Member (LogMsg ChainIndexLog) effs) => ChainIndexControlEffect ~> Eff effs Source #
data ChainIndexEmulatorState Source #
Constructors
ChainIndexEmulatorState | |
Fields |
Instances
diskState :: Lens' ChainIndexEmulatorState DiskState Source #
utxoIndex :: Lens' ChainIndexEmulatorState (UtxoIndex TxUtxoBalance) Source #