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
#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
sendTx :: forall u e p. IsAsyncProvider p => EtherUnit u => Maybe Address -> Address -> u -> a -> Web3 p e HexString
Send a transaction for given contract 'Address', value and input data
call :: forall b e p. IsAsyncProvider p => ABIEncoding b => Address -> Maybe Address -> CallMode -> a -> Web3 p e b
Constant call given contract 'Address' in mode and given input data
Instances
(ABIEncoding a) => Method a
#_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
- Modules
- Network.
Ethereum. Web3 - Network.
Ethereum. Web3. Api - Network.
Ethereum. Web3. Contract - Network.
Ethereum. Web3. JsonRPC - Network.
Ethereum. Web3. Provider - Network.
Ethereum. Web3. Solidity - Network.
Ethereum. Web3. Solidity. AbiEncoding - Network.
Ethereum. Web3. Solidity. Bytes - Network.
Ethereum. Web3. Solidity. EncodingType - Network.
Ethereum. Web3. Solidity. Int - Network.
Ethereum. Web3. Solidity. Size - Network.
Ethereum. Web3. Solidity. Tuple - Network.
Ethereum. Web3. Solidity. UInt - Network.
Ethereum. Web3. Solidity. Vector - Network.
Ethereum. Web3. Types - Network.
Ethereum. Web3. Types. BigNumber - Network.
Ethereum. Web3. Types. EtherUnit - Network.
Ethereum. Web3. Types. Sha3 - Network.
Ethereum. Web3. Types. Types - Network.
Ethereum. Web3. Types. Utils
Event filter structure used by low-level subscription methods