Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
createIgnoreSql :: MonadIO m => Entity User -> OnChainAddress 'Fund -> OnChainAddress 'Gain -> OnChainAddress 'Refund -> UTCTime -> Privacy -> ReaderT SqlBackend m (Entity SwapIntoLn) Source #
updateWaitingPeerSql :: MonadIO m => SwapIntoLnId -> SwapCap -> ReaderT SqlBackend m () Source #
updateWaitingChanSql :: MonadIO m => SwapIntoLnId -> ReaderT SqlBackend m () Source #
updateExpiredSql :: (MonadIO m, KatipContext m) => SwapIntoLnId -> ReaderT SqlBackend m () Source #
updateSucceededSql :: MonadIO m => SwapIntoLnId -> ReaderT SqlBackend m () Source #
getSwapsWaitingPeerSql :: MonadIO m => ReaderT SqlBackend m [(Entity SwapIntoLn, Entity User)] Source #
getSwapsWaitingChanSql :: MonadIO m => ReaderT SqlBackend m [(Entity SwapIntoLn, Entity User)] Source #
getSwapsAboutToExpirySql :: MonadIO m => ReaderT SqlBackend m [Entity SwapIntoLn] Source #
updateSucceededWithoutInvoiceSql :: MonadIO m => SwapIntoLnId -> ReaderT SqlBackend m () Source #
getByUuidSql :: MonadIO m => Uuid 'SwapIntoLnTable -> ReaderT SqlBackend m (Maybe SwapInfo) Source #
getByFundAddressSql :: MonadIO m => OnChainAddress 'Fund -> ReaderT SqlBackend m (Maybe (Entity SwapIntoLn)) Source #
withLockedRowSql :: MonadIO m => SwapIntoLnId -> (SwapStatus -> Bool) -> (SwapIntoLn -> ReaderT SqlBackend m a) -> ReaderT SqlBackend m (Either (Entity SwapIntoLn) a) Source #
SwapInfo | |
|