web3-0.8.3.0: Ethereum API for Haskell

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

Language.Solidity.Abi

Contents

Description

JSON encoded contract ABI parsers.

Synopsis

Contract ABI declarations

data Declaration Source #

Elementrary contract interface item

Constructors

DConstructor

Contract constructor

Fields

DFunction

Method

DEvent

Event

DFallback

Fallback function

Fields

data EventArg Source #

Event argument

Constructors

EventArg 

Fields

Method/Event id encoder

signature :: Declaration -> Text Source #

Take a signature by given decl, e.g. foo(uint,string)

methodId :: Declaration -> Text Source #

Generate method selector by given method Delcaration

eventId :: Declaration -> Text Source #

Generate event topic0 hash by givent event Delcaration

Solidity type parser