mafoc-0.0.0.1
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mafoc.Indexers.Datum

Documentation

data Datum #

Instances

Instances details
Show Datum # 
Instance details

Defined in Mafoc.Indexers.Datum

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

Indexer Datum # 
Instance details

Defined in Mafoc.Indexers.Datum

Associated Types

data Runtime Datum #

data Event Datum #

data State Datum #

Methods

description :: Text #

parseCli :: Parser Datum #

toEvents :: Runtime Datum -> State Datum -> BlockInMode CardanoMode -> (State Datum, [Event Datum]) #

initialize :: Datum -> Trace IO Text -> IO (State Datum, LocalChainsyncRuntime, Runtime Datum) #

persistMany :: Runtime Datum -> [Event Datum] -> IO () #

checkpoint :: Runtime Datum -> State Datum -> (SlotNo, Hash BlockHeader) -> IO () #

Show (Event Datum) # 
Instance details

Defined in Mafoc.Indexers.Datum

data Event Datum # 
Instance details

Defined in Mafoc.Indexers.Datum

data Event Datum = Event {}
data Runtime Datum # 
Instance details

Defined in Mafoc.Indexers.Datum

data State Datum # 
Instance details

Defined in Mafoc.Indexers.Datum

toEventsPrim :: SlotNo -> [Tx era] -> [Event Datum] #

sqliteInit :: Connection -> String -> IO () #

sqliteInsert :: Connection -> String -> [Event Datum] -> IO () #