marlowe-runtime-0.0.5: Runtime system for running Marlowe financial contracts on the Cardano Computation Layer
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Marlowe.Runtime.Sync.Database.PostgreSQL.GetTransactions

Documentation

getTransactions :: ContractId -> Transaction (Maybe SomeTransactions) Source #

findConsumer :: Map TxOutRef (Transaction 'V1) -> TxOutRef -> Maybe (Transaction 'V1, Maybe TxOutRef) Source #

addPayouts :: Map TxId (Map TxOutRef (Payout v)) -> Transaction v -> Transaction v Source #

processPayoutRows :: Vector PayoutRow -> Map TxId (Map TxOutRef (Payout 'V1)) Source #

groupByKey :: Ord k => (a -> k) -> [a] -> [(k, [a])] Source #