plutus-pab-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.ChainIndex.Types

Synopsis

Documentation

type ChainIndexEffects m = '[ChainIndexControlEffect, ChainIndexQueryEffect, State ChainIndexEmulatorState, LogMsg ChainIndexLog, Error ChainIndexError, m] Source #

newtype ChainIndexUrl Source #

Constructors

ChainIndexUrl BaseUrl 

Instances

Instances details
Eq ChainIndexUrl Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Show ChainIndexUrl Source # 
Instance details

Defined in Cardano.ChainIndex.Types

FromJSON ChainIndexUrl Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Methods

parseJSON :: Value -> Parser ChainIndexUrl

parseJSONList :: Value -> Parser [ChainIndexUrl]

ToJSON ChainIndexUrl Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Methods

toJSON :: ChainIndexUrl -> Value

toEncoding :: ChainIndexUrl -> Encoding

toJSONList :: [ChainIndexUrl] -> Value

toEncodingList :: [ChainIndexUrl] -> Encoding

newtype ChainIndexConfig Source #

Constructors

ChainIndexConfig 

Instances

Instances details
Eq ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Show ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Generic ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Associated Types

type Rep ChainIndexConfig :: Type -> Type Source #

Default ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

FromJSON ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Methods

parseJSON :: Value -> Parser ChainIndexConfig

parseJSONList :: Value -> Parser [ChainIndexConfig]

ToJSON ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

type Rep ChainIndexConfig Source # 
Instance details

Defined in Cardano.ChainIndex.Types

type Rep ChainIndexConfig = D1 ('MetaData "ChainIndexConfig" "Cardano.ChainIndex.Types" "plutus-pab-1.2.0.0-LtxAAjtTYeqGloVmBPlsYv" 'True) (C1 ('MetaCons "ChainIndexConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "ciBaseUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChainIndexUrl)))

data ChainIndexServerMsg Source #

Messages from the ChainIndex Server

Constructors

StartingNodeClientThread

Starting a node client thread

StartingChainIndex Int

Port number | Received transaction

ReceivedBlocksTxns 

Fields

ChainEvent ChainIndexLog 

Instances

Instances details
Show ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Generic ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Associated Types

type Rep ChainIndexServerMsg :: Type -> Type Source #

FromJSON ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Methods

parseJSON :: Value -> Parser ChainIndexServerMsg

parseJSONList :: Value -> Parser [ChainIndexServerMsg]

Pretty ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Methods

pretty :: ChainIndexServerMsg -> Doc ann

prettyList :: [ChainIndexServerMsg] -> Doc ann

ToJSON ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

ToObject ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

Methods

toObject :: TracingVerbosity -> ChainIndexServerMsg -> Object

textTransformer :: ChainIndexServerMsg -> Object -> Text

type Rep ChainIndexServerMsg Source # 
Instance details

Defined in Cardano.ChainIndex.Types

type Rep ChainIndexServerMsg = D1 ('MetaData "ChainIndexServerMsg" "Cardano.ChainIndex.Types" "plutus-pab-1.2.0.0-LtxAAjtTYeqGloVmBPlsYv" 'False) ((C1 ('MetaCons "StartingNodeClientThread" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StartingChainIndex" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :+: (C1 ('MetaCons "ReceivedBlocksTxns" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "ChainEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChainIndexLog))))