web3-0.9.0.0: Web3 API for Haskell.

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

Data.Solidity.Prim.Address

Contents

Description

Ethreum account address.

Synopsis

The Address type

data Address Source #

Ethereum account address

Instances
Eq Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Methods

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

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

Ord Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Show Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

IsString Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Methods

fromString :: String -> Address #

Generic Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

ToJSON Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

FromJSON Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Default Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Methods

def :: Address #

Generic Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Associated Types

type Code Address :: [[Type]] #

AbiGet Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

AbiPut Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

AbiType Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

type Rep Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

type Rep Address = D1 (MetaData "Address" "Data.Solidity.Prim.Address" "web3-0.9.0.0-6wv3rkKFlHwFfHKZvDcYhG" True) (C1 (MetaCons "Address" PrefixI True) (S1 (MetaSel (Just "unAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (UIntN 160))))
type Code Address Source # 
Instance details

Defined in Data.Solidity.Prim.Address

Hex string encoding

toHexString :: Address -> HexString Source #

Encode address to hex string

fromHexString :: HexString -> Either String Address Source #

Decode address from hex string

Derive address from public key

fromPubKey :: PublicKey -> Address Source #

Derive address from secp256k1 public key

EIP55 Mix-case checksum address encoding