hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.BaseApp.BaseApp

Synopsis

Documentation

type BaseAppEffs = [RawStore, Metrics, Logger, Resource, Error AppError] Source #

Concrete row of effects for the BaseApp. Note that because there does | not exist an interpreter for an untagged RawStore, you must scope | these effects before they can be interpreted.

data ScopedEff r a where Source #

Constructors

QueryScoped :: Sem (ScopedBaseApp Query r) a -> ScopedEff r a 
MempoolScoped :: Sem (ScopedBaseApp Mempool r) a -> ScopedEff r a 
ConsensusScoped :: Sem (ScopedBaseApp Consensus r) a -> ScopedEff r a 

compileToCoreEffs :: AuthTreeGetter s => forall a. Sem (ScopedBaseApp s CoreEffs) a -> Sem CoreEffs a Source #

An intermediary interpeter, bringing BaseApp down to CoreEff.