Safe Haskell | None |
---|---|
Language | Haskell2010 |
Plutus.PAB.Events
Synopsis
- data PABEvent t
- = UpdateContractInstanceState !(ContractActivationArgs t) !ContractInstanceId !(ContractResponse Value Value PABResp PABReq)
- | SubmitTx !CardanoTx
- | ActivateContract !(ContractActivationArgs t) !ContractInstanceId
- | StopContract !ContractInstanceId
- _UpdateContractInstanceState :: forall t. Prism' (PABEvent t) (ContractActivationArgs t, ContractInstanceId, ContractResponse Value Value PABResp PABReq)
- _SubmitTx :: forall t. Prism' (PABEvent t) CardanoTx
- _ActivateContract :: forall t. Prism' (PABEvent t) (ContractActivationArgs t, ContractInstanceId)
- _StopContract :: forall t. Prism' (PABEvent t) ContractInstanceId
Documentation
A structure which ties together all possible event types into one parent.
Constructors
UpdateContractInstanceState !(ContractActivationArgs t) !ContractInstanceId !(ContractResponse Value Value PABResp PABReq) | Update the state of a contract instance |
SubmitTx !CardanoTx | Send a transaction to the node |
ActivateContract !(ContractActivationArgs t) !ContractInstanceId | |
StopContract !ContractInstanceId |
Instances
_UpdateContractInstanceState :: forall t. Prism' (PABEvent t) (ContractActivationArgs t, ContractInstanceId, ContractResponse Value Value PABResp PABReq) Source #
_ActivateContract :: forall t. Prism' (PABEvent t) (ContractActivationArgs t, ContractInstanceId) Source #
_StopContract :: forall t. Prism' (PABEvent t) ContractInstanceId Source #