Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Eq ChainIndexEmulatorState Source # | |
Defined in Plutus.ChainIndex.Emulator.Handlers | |
Show ChainIndexEmulatorState Source # | |
Defined in Plutus.ChainIndex.Emulator.Handlers | |
Generic ChainIndexEmulatorState Source # | |
Defined in Plutus.ChainIndex.Emulator.Handlers | |
Semigroup ChainIndexEmulatorState Source # | |
Defined in Plutus.ChainIndex.Emulator.Handlers | |
Monoid ChainIndexEmulatorState Source # | |
type Rep ChainIndexEmulatorState Source # | |
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)))) |
diskState :: Lens' ChainIndexEmulatorState DiskState Source #
utxoIndex :: Lens' ChainIndexEmulatorState (UtxoIndex TxUtxoBalance) Source #