Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Handlers | |
|
Instances
Forall (Output s) Eq => Eq (Handlers s) Source # | |
Forall (Output s) Show => Show (Handlers s) Source # | |
(AllUniqueLabels (Output s), Forall (Output s) FromJSON) => FromJSON (Handlers s) Source # | |
Defined in Plutus.Contract.Schema parseJSON :: Value -> Parser (Handlers s) parseJSONList :: Value -> Parser [Handlers s] | |
Forall (Output s) ToJSON => ToJSON (Handlers s) Source # | |
Defined in Plutus.Contract.Schema toEncoding :: Handlers s -> Encoding toJSONList :: [Handlers s] -> Value toEncodingList :: [Handlers s] -> Encoding | |
Forall (Output s) Pretty => Pretty (Handlers s) Source # | |
Defined in Plutus.Contract.Schema pretty :: Handlers s -> Doc ann prettyList :: [Handlers s] -> Doc ann |
handlerArgument :: Forall (Output s) ToJSON => Handlers s -> Value Source #
Instances
Forall (Input s) Eq => Eq (Event s) Source # | |
Forall (Input s) Show => Show (Event s) Source # | |
(AllUniqueLabels (Input s), Forall (Input s) FromJSON) => FromJSON (Event s) Source # | |
Defined in Plutus.Contract.Schema parseJSON :: Value -> Parser (Event s) parseJSONList :: Value -> Parser [Event s] | |
Forall (Input s) ToJSON => ToJSON (Event s) Source # | |
Defined in Plutus.Contract.Schema toEncoding :: Event s -> Encoding toJSONList :: [Event s] -> Value toEncodingList :: [Event s] -> Encoding | |
Forall (Input s) Pretty => Pretty (Event s) Source # | |
Defined in Plutus.Contract.Schema prettyList :: [Event s] -> Doc ann |
initialise :: forall (s :: Row *) l a. (KnownSymbol l, AllUniqueLabels (Output s), HasType l a (Output s)) => a -> Handlers s Source #
type EmptySchema = Empty Source #