Safe Haskell | None |
---|---|
Language | Haskell2010 |
Request handlers for contract instance runners.
Synopsis
- data ContractInstanceMsg t
- = ProcessFirstInboxMessage ContractInstanceId (Response PABResp)
- | SendingContractStateMessages ContractInstanceId IterationID [Request PABReq]
- | LookingUpStateOfContractInstance
- | CurrentIteration IterationID
- | InboxMessageDoesntMatchIteration IterationID IterationID
- | InboxMessageMatchesIteration
- | InvokingContractUpdate
- | ObtainedNewState
- | ContractLog ContractInstanceId Value
- | UpdatedContract ContractInstanceId IterationID
- | LookingUpContract (ContractDef t)
- | InitialisingContract (ContractDef t) ContractInstanceId
- | InitialPABResp (PartiallyDecodedResponse PABReq)
- | ActivatedContractInstance (ContractDef t) Wallet ContractInstanceId
- | RunRequestHandler ContractInstanceId Int
- | RunRequestHandlerDidNotHandleAnyEvents
- | StoringSignedTx CardanoTx
- | CallingEndpoint String ContractInstanceId Value
- | ProcessContractInbox ContractInstanceId
- | HandlingRequest RequestHandlerLogMsg
- | HandlingRequests ContractInstanceId [Request PABReq]
- | BalancingTx TxBalanceMsg
- | NotificationFailed NotificationError
Documentation
data ContractInstanceMsg t Source #
Log messages about the contract instance
ProcessFirstInboxMessage ContractInstanceId (Response PABResp) | |
SendingContractStateMessages ContractInstanceId IterationID [Request PABReq] | |
LookingUpStateOfContractInstance | |
CurrentIteration IterationID | |
InboxMessageDoesntMatchIteration IterationID IterationID | |
InboxMessageMatchesIteration | |
InvokingContractUpdate | |
ObtainedNewState | |
ContractLog ContractInstanceId Value | |
UpdatedContract ContractInstanceId IterationID | |
LookingUpContract (ContractDef t) | |
InitialisingContract (ContractDef t) ContractInstanceId | |
InitialPABResp (PartiallyDecodedResponse PABReq) | |
ActivatedContractInstance (ContractDef t) Wallet ContractInstanceId | |
RunRequestHandler ContractInstanceId Int | |
RunRequestHandlerDidNotHandleAnyEvents | |
StoringSignedTx CardanoTx | |
CallingEndpoint String ContractInstanceId Value | |
ProcessContractInbox ContractInstanceId | |
HandlingRequest RequestHandlerLogMsg | |
HandlingRequests ContractInstanceId [Request PABReq] | |
BalancingTx TxBalanceMsg | |
NotificationFailed NotificationError |