web3-0.5.3.0: Ethereum API for Haskell

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Network.Ethereum.Web3.Encoding

Description

Web3 ABI encoding data support.

Synopsis

Documentation

class ABIEncoding a where Source #

Contract ABI data codec

Minimal complete definition

toDataBuilder, fromDataParser

Methods

toDataBuilder :: a -> Builder Source #

fromDataParser :: Parser a Source #

toData :: a -> Text Source #

Encode value into abi-encoding represenation

fromData :: Text -> Maybe a Source #

Parse encoded value

Instances

ABIEncoding Bool Source # 
ABIEncoding Int Source # 
ABIEncoding Integer Source # 
ABIEncoding Word Source # 
ABIEncoding Text Source # 
ABIEncoding Address Source # 
ABIEncoding BytesD Source # 
ABIEncoding NoMethod Source # 
ABIEncoding a => ABIEncoding [a] Source # 
KnownNat n => ABIEncoding (BytesN n) Source # 
(EncodingType a, ABIEncoding a) => ABIEncoding (Singleton a) Source #