Copyright | FOAM team <http://foam.space> 2018 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
Common event manipulation functions.
Synopsis
- data EventAction
- data FilterChange a = FilterChange {}
- data EventParseFailure = EventParseFailure String
- mkFilterChanges :: DecodeEvent i ni e => [Change] -> IO [FilterChange e]
- data FilterStreamState e = FilterStreamState {}
- mkBlockNumber :: JsonRpc m => DefaultBlock -> m Quantity
- pollTillBlockProgress :: JsonRpc m => Quantity -> m Quantity
Documentation
data EventAction Source #
Event callback control response
Instances
Eq EventAction Source # | |
Defined in Network.Ethereum.Contract.Event.Common (==) :: EventAction -> EventAction -> Bool # (/=) :: EventAction -> EventAction -> Bool # | |
Show EventAction Source # | |
Defined in Network.Ethereum.Contract.Event.Common showsPrec :: Int -> EventAction -> ShowS # show :: EventAction -> String # showList :: [EventAction] -> ShowS # |
data FilterChange a Source #
data EventParseFailure Source #
Instances
Show EventParseFailure Source # | |
Defined in Network.Ethereum.Contract.Event.Common showsPrec :: Int -> EventParseFailure -> ShowS # show :: EventParseFailure -> String # showList :: [EventParseFailure] -> ShowS # | |
Exception EventParseFailure Source # | |
mkFilterChanges :: DecodeEvent i ni e => [Change] -> IO [FilterChange e] Source #
data FilterStreamState e Source #
mkBlockNumber :: JsonRpc m => DefaultBlock -> m Quantity Source #
Coerce a DefaultBlock
into a numerical block number.