| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Plutus.PAB.Webserver.Types
Synopsis
- data ContractReport t = ContractReport {}
- data ChainReport = ChainReport {
- transactionMap :: Map TxId Tx
- utxoIndex :: UtxoIndex
- annotatedBlockchain :: [[AnnotatedTx]]
- emptyChainReport :: ChainReport
- data FullReport t = FullReport {}
- data ContractSignatureResponse t = ContractSignatureResponse {
- csrDefinition :: t
- csrSchemas :: [FunctionSchema FormSchema]
- data ContractActivationArgs t = ContractActivationArgs {}
- data ContractInstanceClientState t = ContractInstanceClientState {}
- data InstanceStatusToClient
- data CombinedWSStreamToClient
- data CombinedWSStreamToServer
Documentation
data ContractReport t Source #
Constructors
| ContractReport | |
Instances
data ChainReport Source #
Constructors
| ChainReport | |
Fields
| |
Instances
data FullReport t Source #
Constructors
| FullReport | |
Fields | |
Instances
data ContractSignatureResponse t Source #
Constructors
| ContractSignatureResponse | |
Fields
| |
Instances
data ContractActivationArgs t Source #
Data needed to start a new instance of a contract.
Constructors
| ContractActivationArgs | |
Instances
data ContractInstanceClientState t Source #
Current state of a contract instance (to be sent to external clients)
Constructors
| ContractInstanceClientState | |
Instances
data InstanceStatusToClient Source #
Status updates for contract instances streamed to client
Constructors
| NewObservableState Value | The observable state of the contract has changed. |
| NewActiveEndpoints [ActiveEndpoint] | The set of active endpoints has changed. |
| NewYieldedExportTxs [ExportTx] | Partial txs that need to be balanced, signed and submitted by an external client. |
| ContractFinished (Maybe Value) | Contract instance is done with an optional error message. |
Instances
data CombinedWSStreamToClient Source #
Data sent to the client through the combined websocket API
Constructors
| InstanceUpdate ContractInstanceId InstanceStatusToClient | |
| SlotChange Slot | New slot number |
Instances
data CombinedWSStreamToServer Source #
Instructions sent to the server through the combined websocket API
Constructors
| Subscribe (Either ContractInstanceId PubKeyHash) | |
| Unsubscribe (Either ContractInstanceId PubKeyHash) |