web3-0.7.1.0: Ethereum API for Haskell

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

Network.Ethereum.ABI.Codec

Description

Ethereum ABI encoding codec functions.

Synopsis

Documentation

encode :: (ABIPut a, ByteArray ba) => a -> ba Source #

Encode datatype to Ethereum ABI-encoding

decode :: (ByteArrayAccess ba, ABIGet a) => ba -> Either String a Source #

Decode datatype from Ethereum ABI-encoding

encode' :: (Generic a, Rep a ~ rep, GenericABIPut rep, ByteArray ba) => a -> ba Source #

Generic driven version of encode

decode' :: (Generic a, Rep a ~ rep, GenericABIGet rep, ByteArrayAccess ba) => ba -> Either String a Source #

Generic driven version of decode