Safe Haskell | None |
---|---|
Language | Haskell2010 |
Defines a number of types that are used in Wallet.XXX modules
Synopsis
- newtype ContractInstanceId = ContractInstanceId {
- unContractInstanceId :: UUID
- contractInstanceIDs :: [ContractInstanceId]
- randomID :: IO ContractInstanceId
- data ContractActivityStatus
- parseContractActivityStatus :: Text -> Maybe ContractActivityStatus
- data Notification = Notification {}
- data NotificationError
- newtype EndpointDescription = EndpointDescription {}
- newtype EndpointValue a = EndpointValue {
- unEndpointValue :: a
Documentation
newtype ContractInstanceId Source #
Unique ID for contract instance
Instances
contractInstanceIDs :: [ContractInstanceId] Source #
A pure list of all ContractInstanceId
values. To be used in testing.
data ContractActivityStatus Source #
Instances
data Notification Source #
Instances
data NotificationError Source #
EndpointNotAvailable ContractInstanceId EndpointDescription | |
MoreThanOneEndpointAvailable ContractInstanceId EndpointDescription | |
InstanceDoesNotExist ContractInstanceId | |
NotificationJSONDecodeError EndpointDescription Value String | Indicates that the target contract does not have the expected schema TODO: SCP-2137 Not currently used. As endpoint parameter decoding happends inside the Contract and a throwError is used is decoding failed. However, still valuable to be used by the PAB to throw an error is an endpoint could not be decoded. |
Instances
newtype EndpointDescription Source #
Instances
newtype EndpointValue a Source #