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 :: DefaultBlock -> Web3 Quantity
- pollTillBlockProgress :: Quantity -> Web3 Quantity
Documentation
data EventAction Source #
Event callback control response
ContinueEvent | Continue to listen events |
TerminateEvent | Terminate event listener |
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 :: DefaultBlock -> Web3 Quantity Source #
Coerce a DefaultBlock
into a numerical block number.