web3-ethereum-1.0.0.0: Ethereum support for Haskell Web3 library.
CopyrightFOAM team <http://foam.space> 2018
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Network.Ethereum.Contract.Event.SingleFilter

Description

Contract event filters.

Synopsis

Documentation

event :: (DecodeEvent i ni e, JsonRpc m) => Filter e -> (e -> ReaderT Change m EventAction) -> m () Source #

Run one block at a time.

eventMany :: (DecodeEvent i ni e, JsonRpc m) => Filter e -> Integer -> (e -> ReaderT Change m EventAction) -> m () Source #

eventMany take s a filter, a window size, and a handler.

It runs the handler over the results of eventLogs results using reduceEventStream. If no TerminateEvent action is thrown and the toBlock is not yet reached, it then transitions to polling.

eventNoFilter :: (DecodeEvent i ni e, JsonRpc m) => Filter e -> (e -> ReaderT Change m EventAction) -> m () Source #