| Copyright | FOAM team <http://foam.space> 2018 | 
|---|---|
| License | BSD3 | 
| Maintainer | mail@akru.me | 
| Stability | experimental | 
| Portability | unportable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.Ethereum.Contract.Event.Common
Description
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
Constructors
| ContinueEvent | |
| TerminateEvent | 
Instances
| Eq EventAction Source # | |
| Defined in Network.Ethereum.Contract.Event.Common | |
| Show EventAction Source # | |
| Defined in Network.Ethereum.Contract.Event.Common Methods showsPrec :: Int -> EventAction -> ShowS # show :: EventAction -> String # showList :: [EventAction] -> ShowS # | |
data FilterChange a Source #
Constructors
| FilterChange | |
| Fields | |
data EventParseFailure Source #
Constructors
| EventParseFailure String | 
Instances
| Show EventParseFailure Source # | |
| Defined in Network.Ethereum.Contract.Event.Common Methods showsPrec :: Int -> EventParseFailure -> ShowS # show :: EventParseFailure -> String # showList :: [EventParseFailure] -> ShowS # | |
| Exception EventParseFailure Source # | |
| Defined in Network.Ethereum.Contract.Event.Common Methods toException :: EventParseFailure -> SomeException # | |
mkFilterChanges :: DecodeEvent i ni e => [Change] -> IO [FilterChange e] Source #
data FilterStreamState e Source #
Constructors
| FilterStreamState | |
| Fields | |
mkBlockNumber :: JsonRpc m => DefaultBlock -> m Quantity Source #
Coerce a DefaultBlock into a numerical block number.