plutus-chain-index-core-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

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 #

Instances

Instances details
Eq ChainIndexEmulatorState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.Handlers

Show ChainIndexEmulatorState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.Handlers

Generic ChainIndexEmulatorState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.Handlers

Associated Types

type Rep ChainIndexEmulatorState :: Type -> Type Source #

Semigroup ChainIndexEmulatorState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.Handlers

Monoid ChainIndexEmulatorState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.Handlers

type Rep ChainIndexEmulatorState Source # 
Instance details

Defined in Plutus.ChainIndex.Emulator.Handlers

type Rep ChainIndexEmulatorState = D1 ('MetaData "ChainIndexEmulatorState" "Plutus.ChainIndex.Emulator.Handlers" "plutus-chain-index-core-1.2.0.0-KXwe88sWnh3Kg9uXBYztrS" 'False) (C1 ('MetaCons "ChainIndexEmulatorState" 'PrefixI 'True) (S1 ('MetaSel ('Just "_diskState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DiskState) :*: S1 ('MetaSel ('Just "_utxoIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (UtxoIndex TxUtxoBalance))))