plutus-contract-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Trace.Effects.RunContractPlayground

Description

A version of RunContract for use in the playground.

Synopsis

Documentation

callEndpoint :: forall effs. Member RunContractPlayground effs => Wallet -> String -> Value -> Eff effs () Source #

launchContract :: forall effs. Member RunContractPlayground effs => Wallet -> Eff effs () Source #

handleRunContractPlayground :: forall w s e effs effs2 a. (ContractConstraints s, Show e, ToJSON e, ToJSON w, Monoid w, Member ContractInstanceIdEff effs, Member (Yield (EmSystemCall effs2 EmulatorMessage a) (Maybe EmulatorMessage)) effs, Member (LogMsg EmulatorEvent') effs2, Member (Error EmulatorRuntimeError) effs2, Member (State EmulatorThreads) effs2, Member MultiAgentEffect effs2, Member (State (Map Wallet ContractInstanceId)) effs2, Member (State (Map Wallet ContractInstanceId)) effs) => NetworkId -> Contract w s e () -> RunContractPlayground ~> Eff effs Source #

Handle the RunContractPlayground effect.