| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Playground.Interpreter.Util
Synopsis
- stage :: forall w s a. (ContractConstraints s, ToJSON w, Monoid w) => Contract w s Text a -> ByteString -> ByteString -> Either PlaygroundError EvaluationResult
- renderInstanceTrace :: [ContractInstanceTag] -> EmulatorEventFoldM effs Text
Documentation
stage :: forall w s a. (ContractConstraints s, ToJSON w, Monoid w) => Contract w s Text a -> ByteString -> ByteString -> Either PlaygroundError EvaluationResult Source #
Evaluate a JSON payload from the Playground frontend against a given contract schema.
renderInstanceTrace :: [ContractInstanceTag] -> EmulatorEventFoldM effs Text Source #