plutus-contract-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Trace.Effects.EmulatorControl

Synopsis

Documentation

agentState :: forall effs. Member EmulatorControl effs => Wallet -> Eff effs WalletState Source #

chainState :: forall effs. Member EmulatorControl effs => Eff effs ChainState Source #

discardWallets :: forall effs. Member EmulatorControl effs => (Wallet -> Bool) -> Eff effs () Source #

handleEmulatorControl :: forall effs effs2. (Member (State EmulatorThreads) effs, Member (State EmulatorState) effs, Member (Error EmulatorRuntimeError) effs, Member MultiAgentControlEffect effs, Member (Yield (EmSystemCall effs2 EmulatorMessage) (Maybe EmulatorMessage)) effs) => SlotConfig -> EmulatorControl ~> Eff effs Source #

Interpret the EmulatorControl effect in the MultiAgentEffect and scheduler system calls.