web3-0.6.0.0: Ethereum API for Haskell

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

Network.Ethereum.Web3.Address

Description

Ethereum address type, render and parser.

Synopsis

Documentation

data Address Source #

Ethereum account address

Instances

Eq Address Source # 

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Ord Address Source # 
Show Address Source # 
IsString Address Source # 

Methods

fromString :: String -> Address #

Generic Address Source # 

Associated Types

type Rep Address :: * -> * #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

ToJSON Address Source # 
FromJSON Address Source # 
ABIEncoding Address Source # 
type Rep Address Source # 
type Rep Address = D1 (MetaData "Address" "Network.Ethereum.Web3.Address" "web3-0.6.0.0-45FzcRUPCX9CwPtRdKwGnS" True) (C1 (MetaCons "Address" PrefixI True) (S1 (MetaSel (Just Symbol "unAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))

fromText :: Text -> Either String Address Source #

Parse Address from text string

toText :: Address -> Text Source #

Render Address to text string

zero :: Address Source #

Null address