web3-solidity-1.0.0.0: Solidity language for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilitynoportable
Safe HaskellNone
LanguageHaskell2010

Language.Solidity.Abi

Description

JSON encoded contract ABI parsers.

Synopsis

Contract ABI declarations

data Declaration Source #

Elementary contract interface item

Constructors

DConstructor 

Fields

DFunction 
DEvent 
DFallback 

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