plutus-pab-1.2.0.0
Safe Haskell None
Language Haskell2010

Plutus.PAB.Db.Beam

Synopsis

Documentation

runBeamStoreAction :: forall a b. ( ToJSON a, FromJSON a, HasDefinitions a, Typeable a) => DBConnection -> 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 configured database.