Module

Network.Ethereum.Web3.Contract

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

#EventAction Source

data EventAction

Represents a flag to continue or discontinue listening to the filter

Constructors

Instances

#EventFilter Source

class (ABIEncoding a) <= EventFilter a  where

Members

#event Source

event :: forall a e p. IsAsyncProvider p => EventFilter a => Address -> (a -> ReaderT Change (Web3 p e) EventAction) -> Web3 p e (Fiber (eth :: ETH | e) Unit)

Start listening to events eminating from the given address and caught by the filter, using the handler to process the data and decide whether to continue

#Method Source

class (ABIEncoding a) <= Method a  where

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

Members

Instances

#_sendTransaction Source

_sendTransaction :: forall u e a p. IsAsyncProvider p => ABIEncoding a => EtherUnit u => Maybe Address -> Address -> u -> a -> Web3 p e HexString

#_call Source

_call :: forall e b a p. IsAsyncProvider p => ABIEncoding a => ABIEncoding b => Address -> Maybe Address -> CallMode -> a -> Web3 p e b