Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
data
ContractReport
t =
ContractReport
{
- crAvailableContracts :: [ ContractSignatureResponse t]
- crActiveContractStates :: [( ContractInstanceId , PartiallyDecodedResponse PABReq)]
-
data
ChainReport
=
ChainReport
{
- transactionMap :: Map TxId CardanoTx
- utxoIndex :: UtxoIndex
- annotatedBlockchain :: [[AnnotatedTx]]
- emptyChainReport :: ChainReport
- data FullReport t = FullReport { }
-
newtype
ContractSignatureResponse
t =
ContractSignatureResponse
{
- csrDefinition :: t
- data ContractActivationArgs t = ContractActivationArgs { }
-
data
ContractInstanceClientState
t =
ContractInstanceClientState
{
- cicContract :: ContractInstanceId
- cicCurrentState :: PartiallyDecodedResponse ActiveEndpoint
- cicWallet :: Wallet
- cicDefinition :: t
- cicStatus :: ContractActivityStatus
- cicYieldedExportTxs :: [ ExportTx ]
-
data
InstanceStatusToClient
- = NewObservableState Value
- | NewActiveEndpoints [ActiveEndpoint]
- | NewYieldedExportTxs [ ExportTx ]
- | ContractFinished ( Maybe Value )
- data CombinedWSStreamToClient
- data CombinedWSStreamToServer
Documentation
data ContractReport t Source #
ContractReport | |
|
Instances
data ChainReport Source #
ChainReport | |
|
Instances
data FullReport t Source #
Instances
newtype ContractSignatureResponse t Source #
Instances
data ContractActivationArgs t Source #
Data needed to start a new instance of a contract.
Instances
data ContractInstanceClientState t Source #
Current state of a contract instance (to be sent to external clients)
ContractInstanceClientState | |
|
Instances
data InstanceStatusToClient Source #
Status updates for contract instances streamed to client
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
InstanceUpdate ContractInstanceId InstanceStatusToClient | |
SlotChange Slot |
New slot number |
Instances
data CombinedWSStreamToServer Source #
Instructions sent to the server through the combined websocket API
Subscribe ( Either ContractInstanceId PubKeyHash ) | |
Unsubscribe ( Either ContractInstanceId PubKeyHash ) |