playground-common-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Playground.Interpreter.Util

Synopsis

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.