plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Types

Synopsis

Documentation

data PABError Source #

Instances

Instances details
Eq PABError Source # 
Instance details

Defined in Plutus.PAB.Types

Show PABError Source # 
Instance details

Defined in Plutus.PAB.Types

Generic PABError Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep PABError :: Type -> Type Source #

ToJSON PABError Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON PABError Source # 
Instance details

Defined in Plutus.PAB.Types

Pretty PABError Source # 
Instance details

Defined in Plutus.PAB.Types

Methods

pretty :: PABError -> Doc ann Source #

prettyList :: [PABError] -> Doc ann Source #

type Rep PABError Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep PABError = D1 ('MetaData "PABError" "Plutus.PAB.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) ((((C1 ('MetaCons "FileNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FilePath)) :+: C1 ('MetaCons "ContractNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FilePath))) :+: (C1 ('MetaCons "ContractInstanceNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContractInstanceId)) :+: (C1 ('MetaCons "PABContractError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContractError)) :+: C1 ('MetaCons "WalletClientError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientError))))) :+: ((C1 ('MetaCons "NodeClientError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientError)) :+: (C1 ('MetaCons "BeamEffectError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BeamError)) :+: C1 ('MetaCons "RandomTxClientError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientError)))) :+: (C1 ('MetaCons "ChainIndexError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientError)) :+: (C1 ('MetaCons "WalletError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WalletAPIError)) :+: C1 ('MetaCons "ContractCommandError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))) :+: (((C1 ('MetaCons "InvalidUUIDError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "OtherError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :+: (C1 ('MetaCons "EndpointCallError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotificationError)) :+: (C1 ('MetaCons "InstanceAlreadyStopped" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContractInstanceId)) :+: C1 ('MetaCons "WalletNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Wallet))))) :+: ((C1 ('MetaCons "MissingConfigFileOption" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ContractStateNotFound" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContractInstanceId)) :+: C1 ('MetaCons "AesonDecodingError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :+: (C1 ('MetaCons "MigrationNotDoneError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "RemoteWalletWithMockNodeError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TxSenderNotAvailable" 'PrefixI 'False) (U1 :: Type -> Type))))))

data DbConfig Source #

Constructors

DbConfig 

Fields

Instances

Instances details
Eq DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Show DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Generic DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep DbConfig :: Type -> Type Source #

ToJSON DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Default DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Methods

def :: DbConfig Source #

type Rep DbConfig Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep DbConfig = D1 ('MetaData "DbConfig" "Plutus.PAB.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (C1 ('MetaCons "DbConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbConfigFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dbConfigPoolSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

defaultDbConfig :: DbConfig Source #

Default database config uses an in-memory sqlite database that is shared between all threads in the process.

data Config Source #

Instances

Instances details
Eq Config Source # 
Instance details

Defined in Plutus.PAB.Types

Show Config Source # 
Instance details

Defined in Plutus.PAB.Types

Generic Config Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep Config :: Type -> Type Source #

ToJSON Config Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON Config Source # 
Instance details

Defined in Plutus.PAB.Types

Default Config Source # 
Instance details

Defined in Plutus.PAB.Types

Methods

def :: Config Source #

type Rep Config Source # 
Instance details

Defined in Plutus.PAB.Types

newtype RequestProcessingConfig Source #

Constructors

RequestProcessingConfig 

Fields

Instances

Instances details
Eq RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Show RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Generic RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep RequestProcessingConfig :: Type -> Type Source #

ToJSON RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Default RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep RequestProcessingConfig Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep RequestProcessingConfig = D1 ('MetaData "RequestProcessingConfig" "Plutus.PAB.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'True) (C1 ('MetaCons "RequestProcessingConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestProcessingInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Second)))

data WebserverConfig Source #

Constructors

WebserverConfig 

Fields

Instances

Instances details
Eq WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Show WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Generic WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep WebserverConfig :: Type -> Type Source #

ToJSON WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

Default WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep WebserverConfig Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep WebserverConfig = D1 ('MetaData "WebserverConfig" "Plutus.PAB.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (C1 ('MetaCons "WebserverConfig" 'PrefixI 'True) ((S1 ('MetaSel ('Just "baseUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseUrl) :*: S1 ('MetaSel ('Just "staticDir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilePath))) :*: (S1 ('MetaSel ('Just "permissiveCorsPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "endpointTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Second)))))

defaultWebServerConfig :: WebserverConfig Source #

Default config for debugging.

data DevelopmentOptions Source #

Instances

Instances details
Eq DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

Show DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

Generic DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep DevelopmentOptions :: Type -> Type Source #

ToJSON DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

Default DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep DevelopmentOptions Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep DevelopmentOptions = D1 ('MetaData "DevelopmentOptions" "Plutus.PAB.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (C1 ('MetaCons "DevelopmentOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "pabRollbackHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "pabResumeFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Point)))

data Source Source #

The source of a PAB event, used for sharding of the event stream

Instances

Instances details
Eq Source Source # 
Instance details

Defined in Plutus.PAB.Types

Show Source Source # 
Instance details

Defined in Plutus.PAB.Types

data ChainOverview Source #

Instances

Instances details
Eq ChainOverview Source # 
Instance details

Defined in Plutus.PAB.Types

Show ChainOverview Source # 
Instance details

Defined in Plutus.PAB.Types

Generic ChainOverview Source # 
Instance details

Defined in Plutus.PAB.Types

Associated Types

type Rep ChainOverview :: Type -> Type Source #

ToJSON ChainOverview Source # 
Instance details

Defined in Plutus.PAB.Types

FromJSON ChainOverview Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep ChainOverview Source # 
Instance details

Defined in Plutus.PAB.Types

type Rep ChainOverview = D1 ('MetaData "ChainOverview" "Plutus.PAB.Types" "plutus-pab-0.1.0.0-1vc1rt5g5zvBlHvXKfwLQ7" 'False) (C1 ('MetaCons "ChainOverview" 'PrefixI 'True) (S1 ('MetaSel ('Just "chainOverviewBlockchain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Blockchain) :*: (S1 ('MetaSel ('Just "chainOverviewUnspentTxsById") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map TxId Tx)) :*: S1 ('MetaSel ('Just "chainOverviewUtxoIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UtxoIndex))))