| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Plutus.PAB.Run.PSGenerator
Synopsis
- class HasPSTypes a where
- pabBridge :: BridgePart
- data PabBridge
- pabBridgeProxy :: Proxy PabBridge
- pabTypes :: [SumType 'Haskell]
- pabSettings :: Settings
- generateAPIModule :: forall a. (Typeable a, HasPSTypes a) => Proxy a -> FilePath -> IO ()
Documentation
class HasPSTypes a where Source #
List of types linked to contract type a that need to be available in
Purescript.
Minimal complete definition
Nothing
pabBridge :: BridgePart Source #
PAB's main bridge that includes common bridges
Instances
| HasBridge PabBridge Source # | |
Defined in Plutus.PAB.Run.PSGenerator Methods | |
Arguments
| :: forall a. (Typeable a, HasPSTypes a) | |
| => Proxy a | |
| -> FilePath | Output directory of PS files |
| -> IO () |
Use the Proxy for specifying a when generating PS functions for the
webserver using a specific Builtin (ex. generate 'Builtin Marlowe' instead
of 'Builtin a').