plutus-pab-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Events.ContractInstanceState

Synopsis

Documentation

data PartiallyDecodedResponse v Source #

Constructors

PartiallyDecodedResponse 

Fields

Instances

Instances details
Functor PartiallyDecodedResponse Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Foldable PartiallyDecodedResponse Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Traversable PartiallyDecodedResponse Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Eq v => Eq (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Show v => Show (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Generic (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Associated Types

type Rep (PartiallyDecodedResponse v) :: Type -> Type Source #

FromJSON v => FromJSON (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Methods

parseJSON :: Value -> Parser (PartiallyDecodedResponse v)

parseJSONList :: Value -> Parser [PartiallyDecodedResponse v]

Pretty v => Pretty (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Methods

pretty :: PartiallyDecodedResponse v -> Doc ann

prettyList :: [PartiallyDecodedResponse v] -> Doc ann

ToJSON v => ToJSON (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

ToSchema v => ToSchema (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Methods

declareNamedSchema :: Proxy (PartiallyDecodedResponse v) -> Declare (Definitions Schema) NamedSchema

ToJSON v => StructuredLog (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Cardano.BM.Data.Tracer.Extras

Methods

toStructuredLog :: PartiallyDecodedResponse v -> KeyMap Value Source #

type Rep (PartiallyDecodedResponse v) Source # 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

type Rep (PartiallyDecodedResponse v) = D1 ('MetaData "PartiallyDecodedResponse" "Plutus.PAB.Events.ContractInstanceState" "plutus-pab-1.2.0.0-LtxAAjtTYeqGloVmBPlsYv" 'False) (C1 ('MetaCons "PartiallyDecodedResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Request v]) :*: S1 ('MetaSel ('Just "logs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LogMessage Value])) :*: (S1 ('MetaSel ('Just "lastLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LogMessage Value]) :*: (S1 ('MetaSel ('Just "err") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "observableState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))))

fromResp :: ContractResponse Value Value s v -> PartiallyDecodedResponse v Source #

hasActiveRequests :: forall w s e a. ContractResponse w e s a -> Bool Source #

Whether the instance has any active requests

Orphan instances

ToSchema Value Source # 
Instance details

Methods

declareNamedSchema :: Proxy Value -> Declare (Definitions Schema) NamedSchema

ToSchema LogLevel Source # 
Instance details

Methods

declareNamedSchema :: Proxy LogLevel -> Declare (Definitions Schema) NamedSchema

ToSchema IterationID Source # 
Instance details

Methods

declareNamedSchema :: Proxy IterationID -> Declare (Definitions Schema) NamedSchema

ToSchema RequestID Source # 
Instance details

Methods

declareNamedSchema :: Proxy RequestID -> Declare (Definitions Schema) NamedSchema

ToSchema (LogMessage Value) Source # 
Instance details

Methods

declareNamedSchema :: Proxy (LogMessage Value) -> Declare (Definitions Schema) NamedSchema

ToSchema o => ToSchema (Request o) Source # 
Instance details

Methods

declareNamedSchema :: Proxy (Request o) -> Declare (Definitions Schema) NamedSchema