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

Data.Solidity.Prim.Address

Description

Ethreum account address.

Synopsis

The Address type

data Address Source #

Ethereum account address

Instances

Instances details
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-solidity-1.0.0.0-2ybWlRB3kpe7EwB7C227Bk" '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