Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ContractReport t = ContractReport {}
- 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
- = Subscribe (Either ContractInstanceId PubKeyHash)
- | Unsubscribe (Either ContractInstanceId PubKeyHash)
Documentation
data ContractReport t Source #
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) |
Instances
Orphan instances
ToSchema UtxoIndex Source # | |
declareNamedSchema :: Proxy UtxoIndex -> Declare (Definitions Schema) NamedSchema | |
ToSchema TxId Source # | |
declareNamedSchema :: Proxy TxId -> Declare (Definitions Schema) NamedSchema | |
ToSchema TxIn Source # | |
declareNamedSchema :: Proxy TxIn -> Declare (Definitions Schema) NamedSchema | |
ToSchema TxIx Source # | |
declareNamedSchema :: Proxy TxIx -> Declare (Definitions Schema) NamedSchema | |
ToSchema AssetName Source # | |
declareNamedSchema :: Proxy AssetName -> Declare (Definitions Schema) NamedSchema | |
ToSchema Lovelace Source # | |
declareNamedSchema :: Proxy Lovelace -> Declare (Definitions Schema) NamedSchema | |
ToSchema PolicyId Source # | |
declareNamedSchema :: Proxy PolicyId -> Declare (Definitions Schema) NamedSchema | |
ToSchema PaymentPubKeyHash Source # | |
declareNamedSchema :: Proxy PaymentPubKeyHash -> Declare (Definitions Schema) NamedSchema | |
ToSchema PubKey Source # | |
declareNamedSchema :: Proxy PubKey -> Declare (Definitions Schema) NamedSchema | |
ToSchema Signature Source # | |
declareNamedSchema :: Proxy Signature -> Declare (Definitions Schema) NamedSchema | |
ToSchema Certificate Source # | |
declareNamedSchema :: Proxy Certificate -> Declare (Definitions Schema) NamedSchema | |
ToSchema TxOut Source # | |
declareNamedSchema :: Proxy TxOut -> Declare (Definitions Schema) NamedSchema | |
ToSchema Withdrawal Source # | |
declareNamedSchema :: Proxy Withdrawal -> Declare (Definitions Schema) NamedSchema | |
ToSchema DCert Source # | |
declareNamedSchema :: Proxy DCert -> Declare (Definitions Schema) NamedSchema | |
ToSchema POSIXTime Source # | |
declareNamedSchema :: Proxy POSIXTime -> Declare (Definitions Schema) NamedSchema | |
ToSchema Quantity Source # | |
declareNamedSchema :: Proxy Quantity -> Declare (Definitions Schema) NamedSchema | |
ToSchema CardanoBuildTx Source # | |
declareNamedSchema :: Proxy CardanoBuildTx -> Declare (Definitions Schema) NamedSchema | |
ToSchema ScriptHash Source # | |
declareNamedSchema :: Proxy ScriptHash -> Declare (Definitions Schema) NamedSchema | |
ToSchema LedgerBytes Source # | |
declareNamedSchema :: Proxy LedgerBytes -> Declare (Definitions Schema) NamedSchema | |
ToSchema UnbalancedTx Source # | |
declareNamedSchema :: Proxy UnbalancedTx -> Declare (Definitions Schema) NamedSchema | |
ToSchema ExportTxInput Source # | |
declareNamedSchema :: Proxy ExportTxInput -> Declare (Definitions Schema) NamedSchema | |
ToSchema ExportTx Source # | |
declareNamedSchema :: Proxy ExportTx -> Declare (Definitions Schema) NamedSchema | |
ToSchema ExportTxRedeemer Source # | |
declareNamedSchema :: Proxy ExportTxRedeemer -> Declare (Definitions Schema) NamedSchema | |
ToSchema ActiveEndpoint Source # | |
declareNamedSchema :: Proxy ActiveEndpoint -> Declare (Definitions Schema) NamedSchema | |
ToSchema ChainIndexQuery Source # | |
declareNamedSchema :: Proxy ChainIndexQuery -> Declare (Definitions Schema) NamedSchema | |
ToSchema PABReq Source # | |
declareNamedSchema :: Proxy PABReq -> Declare (Definitions Schema) NamedSchema | |
ToSchema EndpointDescription Source # | |
declareNamedSchema :: Proxy EndpointDescription -> Declare (Definitions Schema) NamedSchema | |
ToSchema ContractInstanceId Source # | |
declareNamedSchema :: Proxy ContractInstanceId -> Declare (Definitions Schema) NamedSchema | |
ToSchema ContractActivityStatus Source # | |
declareNamedSchema :: Proxy ContractActivityStatus -> Declare (Definitions Schema) NamedSchema | |
ToSchema Wallet Source # | |
declareNamedSchema :: Proxy Wallet -> Declare (Definitions Schema) NamedSchema | |
ToSchema WalletId Source # | |
declareNamedSchema :: Proxy WalletId -> Declare (Definitions Schema) NamedSchema | |
ToSchema WalletId Source # | |
declareNamedSchema :: Proxy WalletId -> Declare (Definitions Schema) NamedSchema | |
ToSchema AnnotatedTx Source # | |
declareNamedSchema :: Proxy AnnotatedTx -> Declare (Definitions Schema) NamedSchema | |
ToSchema BeneficialOwner Source # | |
declareNamedSchema :: Proxy BeneficialOwner -> Declare (Definitions Schema) NamedSchema | |
ToSchema DereferencedInput Source # | |
declareNamedSchema :: Proxy DereferencedInput -> Declare (Definitions Schema) NamedSchema | |
ToSchema SequenceId Source # | |
declareNamedSchema :: Proxy SequenceId -> Declare (Definitions Schema) NamedSchema | |
ToSchema (Hash ScriptData) Source # | |
declareNamedSchema :: Proxy (Hash ScriptData) -> Declare (Definitions Schema) NamedSchema | |
ToSchema (Digest Blake2b_160) Source # | |
declareNamedSchema :: Proxy (Digest Blake2b_160) -> Declare (Definitions Schema) NamedSchema | |
ToSchema (Hash Blake2b_256 EraIndependentTxBody) Source # | |
declareNamedSchema :: Proxy (Hash Blake2b_256 EraIndependentTxBody) -> Declare (Definitions Schema) NamedSchema |