plutus-pab-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Events.Contract

Synopsis

Documentation

The events that compiled Plutus contracts are concerned with. For each type of event there is a request constructor in ContractRequest and a response constructor in ContractResponse.

newtype ContractInstanceId #

Constructors

ContractInstanceId 

Fields

Instances

Instances details
Eq ContractInstanceId 
Instance details

Defined in Wallet.Types

Ord ContractInstanceId 
Instance details

Defined in Wallet.Types

Show ContractInstanceId 
Instance details

Defined in Wallet.Types

Generic ContractInstanceId 
Instance details

Defined in Wallet.Types

Associated Types

type Rep ContractInstanceId :: Type -> Type Source #

FromJSON ContractInstanceId 
Instance details

Defined in Wallet.Types

Methods

parseJSON :: Value -> Parser ContractInstanceId

parseJSONList :: Value -> Parser [ContractInstanceId]

Pretty ContractInstanceId 
Instance details

Defined in Wallet.Types

Methods

pretty :: ContractInstanceId -> Doc ann

prettyList :: [ContractInstanceId] -> Doc ann

ToJSON ContractInstanceId 
Instance details

Defined in Wallet.Types

FromJSONKey ContractInstanceId 
Instance details

Defined in Wallet.Types

Methods

fromJSONKey :: FromJSONKeyFunction ContractInstanceId

fromJSONKeyList :: FromJSONKeyFunction [ContractInstanceId]

ToJSONKey ContractInstanceId 
Instance details

Defined in Wallet.Types

Methods

toJSONKey :: ToJSONKeyFunction ContractInstanceId

toJSONKeyList :: ToJSONKeyFunction [ContractInstanceId]

ToSchema ContractInstanceId 
Instance details

Defined in Plutus.PAB.Webserver.Types

Methods

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

FromHttpApiData ContractInstanceId 
Instance details

Defined in Plutus.PAB.Instances

ToHttpApiData ContractInstanceId 
Instance details

Defined in Plutus.PAB.Instances

ToParamSchema ContractInstanceId 
Instance details

Defined in Plutus.PAB.Instances

StructuredLog ContractInstanceId Source # 
Instance details

Defined in Cardano.BM.Data.Tracer.Extras

Methods

toStructuredLog :: ContractInstanceId -> KeyMap Value Source #

type Rep ContractInstanceId 
Instance details

Defined in Wallet.Types

type Rep ContractInstanceId = D1 ('MetaData "ContractInstanceId" "Wallet.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'True) (C1 ('MetaCons "ContractInstanceId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unContractInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data IterationID #

Instances

Instances details
Enum IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Eq IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Num IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Ord IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Show IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Generic IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Associated Types

type Rep IterationID :: Type -> Type Source #

Semigroup IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Monoid IterationID 
Instance details

Defined in Plutus.Contract.Resumable

FromJSON IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Methods

parseJSON :: Value -> Parser IterationID

parseJSONList :: Value -> Parser [IterationID]

Pretty IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Methods

pretty :: IterationID -> Doc ann

prettyList :: [IterationID] -> Doc ann

ToJSON IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Methods

toJSON :: IterationID -> Value

toEncoding :: IterationID -> Encoding

toJSONList :: [IterationID] -> Value

toEncodingList :: [IterationID] -> Encoding

FromJSONKey IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Methods

fromJSONKey :: FromJSONKeyFunction IterationID

fromJSONKeyList :: FromJSONKeyFunction [IterationID]

ToJSONKey IterationID 
Instance details

Defined in Plutus.Contract.Resumable

Methods

toJSONKey :: ToJSONKeyFunction IterationID

toJSONKeyList :: ToJSONKeyFunction [IterationID]

ToSchema IterationID 
Instance details

Defined in Plutus.PAB.Events.ContractInstanceState

Methods

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

StructuredLog IterationID Source # 
Instance details

Defined in Cardano.BM.Data.Tracer.Extras

Methods

toStructuredLog :: IterationID -> KeyMap Value Source #

type Rep IterationID 
Instance details

Defined in Plutus.Contract.Resumable

type Rep IterationID = D1 ('MetaData "IterationID" "Plutus.Contract.Resumable" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'True) (C1 ('MetaCons "IterationID" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))