Module

Network.Ethereum.Web3.Contract

Package
purescript-web3
Repository
f-o-a-m/purescript-web3

#EventFilter Source

class EventFilter a  where

Members

#event Source

event :: forall ni i a e. DecodeEvent i ni a => Filter -> (a -> ReaderT Change (Web3 e) EventAction) -> Web3 e Unit

run event' one block at a time.

#event' Source

event' :: forall ni i a e. DecodeEvent i ni a => Filter -> Int -> (a -> ReaderT Change (Web3 e) EventAction) -> Web3 e Unit

Takes a Filter and a handler, as well as a windowSize. It runs the handler over the eventLogs using reduceEventStream. If no TerminateEvent is thrown, it then transitions to polling.

#CallMethod Source

class CallMethod (selector :: Symbol) a b  where

Members

Instances

#TxMethod Source

class TxMethod (selector :: Symbol) a  where

Class paramaterized by values which are ABIEncodable, allowing the templating of of a transaction with this value as the payload.

Members

Instances