| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Playground.Schema
Description
This module handles exposing a Contract API to the Plutus Playground frontend.
In practice this means having a way of turning the Contract's effect
rows into a Schema declaration, by using an EndpointToSchema
instance.
|
Documentation
class EndpointToSchema (s :: Row Type) Source #
Minimal complete definition
Instances
| EndpointToSchema (Empty :: Row Type) Source # | |
Defined in Playground.Schema Methods | |
| (ToSchema params, KnownSymbol label, EndpointToSchema ('R bs)) => EndpointToSchema ('R ((label :-> (EndpointValue params, ActiveEndpoint)) ': bs)) Source # | |
Defined in Playground.Schema Methods | |