web3-0.7.2.0: Ethereum API for Haskell

CopyrightAlexander Krupenkin 2016-2018
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Network.Ethereum.Contract.Method

Contents

Description

Ethereum contract method support.

Synopsis

Documentation

class ABIPut a => Method a where Source #

Minimal complete definition

selector

Methods

selector :: Proxy a -> Bytes Source #

Instances

Method () Source #

Send transaction without method selection

Methods

selector :: Proxy * () -> Bytes Source #

call Source #

Arguments

:: (Method a, ABIGet b) 
=> Call

Call configuration

-> DefaultBlock

State mode for constant call (latest or pending)

-> a

Method data

-> Web3 b

Web3 wrapped result

call is used to call contract methods that have no state changing effects.

sendTx Source #

Arguments

:: Method a 
=> Call

Call configuration

-> a

method data

-> Web3 Hash 

sendTx is used to submit a state changing transaction.

Orphan instances

ABIPut () Source # 

Methods

abiPut :: Putter () Source #

ABIType () Source # 

Methods

isDynamic :: Proxy * () -> Bool Source #