Safe Haskell | None |
---|---|
Language | Haskell2010 |
Handlers for the
ChainIndexQueryEffect
and the
ChainIndexControlEffect
Documentation
handleQuery :: ( Member ( State ChainIndexState ) effs, Member ( BeamEffect Sqlite ) effs, Member ( Error ChainIndexError ) effs, Member ( LogMsg ChainIndexLog ) effs) => ChainIndexQueryEffect ~> Eff effs Source #
handleControl :: forall effs. ( Member ( State ChainIndexState ) effs, Member ( Reader Depth ) effs, Member ( BeamEffect Sqlite ) effs, Member ( Error ChainIndexError ) effs, Member ( LogMsg ChainIndexLog ) effs) => ChainIndexControlEffect ~> Eff effs Source #
restoreStateFromDb :: Member ( BeamEffect Sqlite ) effs => Eff effs ChainIndexState Source #
getResumePoints :: Member ( BeamEffect Sqlite ) effs => Eff effs [ ChainPoint ] Source #
type ChainIndexState = UtxoIndex TxUtxoBalance Source #