plutus-pab-executables-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Run.PSGenerator

Synopsis

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

data PabBridge Source #

Instances

Instances details
HasBridge PabBridge Source # 
Instance details

Defined in Plutus.PAB.Run.PSGenerator

pabTypes :: [SumType 'Haskell] Source #

PAB's list of types that includes common types.

generateAPIModule Source #

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').