Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- apiHandler :: forall t env. PABContract t => PABAction t env () :<|> ( PABAction t env ( FullReport ( ContractDef t)) :<|> (( ContractActivationArgs ( ContractDef t) -> PABAction t env ContractInstanceId ) :<|> (( ContractInstanceId -> PABAction t env ( ContractInstanceClientState ( ContractDef t)) :<|> ( PABAction t env ( ContractSignatureResponse ( ContractDef t)) :<|> (( String -> Value -> PABAction t env ()) :<|> PABAction t env ()))) :<|> ((WalletId -> Maybe Text -> PABAction t env [ ContractInstanceClientState ( ContractDef t)]) :<|> (( Maybe Text -> PABAction t env [ ContractInstanceClientState ( ContractDef t)]) :<|> PABAction t env [ ContractSignatureResponse ( ContractDef t)])))))
- swagger :: forall t api dir. ( Server api ~ Handler Value , ToSchema ( ContractDef t)) => Server ( SwaggerSchemaUI' dir api)
- getFullReport :: forall t env. PABContract t => PABAction t env ( FullReport ( ContractDef t))
- contractSchema :: forall t env. ContractInstanceId -> PABAction t env ( ContractSignatureResponse ( ContractDef t))
Documentation
apiHandler :: forall t env. PABContract t => PABAction t env () :<|> ( PABAction t env ( FullReport ( ContractDef t)) :<|> (( ContractActivationArgs ( ContractDef t) -> PABAction t env ContractInstanceId ) :<|> (( ContractInstanceId -> PABAction t env ( ContractInstanceClientState ( ContractDef t)) :<|> ( PABAction t env ( ContractSignatureResponse ( ContractDef t)) :<|> (( String -> Value -> PABAction t env ()) :<|> PABAction t env ()))) :<|> ((WalletId -> Maybe Text -> PABAction t env [ ContractInstanceClientState ( ContractDef t)]) :<|> (( Maybe Text -> PABAction t env [ ContractInstanceClientState ( ContractDef t)]) :<|> PABAction t env [ ContractSignatureResponse ( ContractDef t)]))))) Source #
Handler for the API
swagger :: forall t api dir. ( Server api ~ Handler Value , ToSchema ( ContractDef t)) => Server ( SwaggerSchemaUI' dir api) Source #
Reports
getFullReport :: forall t env. PABContract t => PABAction t env ( FullReport ( ContractDef t)) Source #
contractSchema :: forall t env. ContractInstanceId -> PABAction t env ( ContractSignatureResponse ( ContractDef t)) Source #