Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #