plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Db.Beam

Synopsis

Documentation

runBeamStoreAction :: forall a b. (ToJSON a, FromJSON a, HasDefinitions a, Typeable a) => Pool Connection -> Trace IO (PABLogMsg (Builtin a)) -> Eff '[ContractStore (Builtin a), LogMsg (PABMultiAgentMsg (Builtin a)), DelayEffect, IO] b -> IO (Either PABError b) Source #

Run the ContractStore and ContractDefinitionStore effects on the SQLite database.