web3-0.7.3.0: Ethereum API for Haskell

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

Network.Ethereum.ABI.Prim.Bytes

Contents

Description

Ethereum ABI bytes and bytesN types.

Synopsis

Documentation

data Bytes #

Simplest Byte Array

Instances
Eq Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

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

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

Ord Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

compare :: Bytes -> Bytes -> Ordering #

(<) :: Bytes -> Bytes -> Bool #

(<=) :: Bytes -> Bytes -> Bool #

(>) :: Bytes -> Bytes -> Bool #

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

max :: Bytes -> Bytes -> Bytes #

min :: Bytes -> Bytes -> Bytes #

Show Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

IsString Bytes # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

fromString :: String -> Bytes #

Semigroup Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

(<>) :: Bytes -> Bytes -> Bytes #

sconcat :: NonEmpty Bytes -> Bytes #

stimes :: Integral b => b -> Bytes -> Bytes #

Monoid Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

mempty :: Bytes #

mappend :: Bytes -> Bytes -> Bytes #

mconcat :: [Bytes] -> Bytes #

ToJSON Bytes # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

FromJSON Bytes # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

NormalForm Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

toNormalForm :: Bytes -> () #

NFData Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

rnf :: Bytes -> () #

ByteArray Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

allocRet :: Int -> (Ptr p -> IO a) -> IO (a, Bytes) #

ByteArrayAccess Bytes 
Instance details

Defined in Data.ByteArray.Bytes

Methods

length :: Bytes -> Int #

withByteArray :: Bytes -> (Ptr p -> IO a) -> IO a #

copyByteArrayToPtr :: Bytes -> Ptr p -> IO () #

ABIGet Bytes # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

abiGet :: Get Bytes #

ABIPut Bytes # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

abiPut :: Putter Bytes #

ABIType Bytes # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

isDynamic :: Proxy Bytes -> Bool #

(KnownNat n, n <= 32) => IsString (BytesN n) # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

fromString :: String -> BytesN n #

(KnownNat n, n <= 32) => ToJSON (BytesN n) # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

(KnownNat n, n <= 32) => FromJSON (BytesN n) # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

(KnownNat n, n <= 32) => ABIGet (BytesN n) # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

abiGet :: Get (BytesN n) #

(KnownNat n, n <= 32) => ABIPut (BytesN n) # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

abiPut :: Putter (BytesN n) #

n <= 32 => ABIType (BytesN n) # 
Instance details

Defined in Network.Ethereum.ABI.Prim.Bytes

Methods

isDynamic :: Proxy (BytesN n) -> Bool #

Orphan instances

IsString Bytes # 
Instance details

Methods

fromString :: String -> Bytes #

ToJSON Bytes # 
Instance details

FromJSON Bytes # 
Instance details

ABIGet ByteString # 
Instance details

ABIGet Bytes # 
Instance details

Methods

abiGet :: Get Bytes #

ABIPut ByteString # 
Instance details

ABIPut Bytes # 
Instance details

Methods

abiPut :: Putter Bytes #

ABIType ByteString # 
Instance details

ABIType Bytes # 
Instance details

Methods

isDynamic :: Proxy Bytes -> Bool #

(KnownNat n, n <= 32) => IsString (BytesN n) # 
Instance details

Methods

fromString :: String -> BytesN n #

(KnownNat n, n <= 32) => ToJSON (BytesN n) # 
Instance details

(KnownNat n, n <= 32) => FromJSON (BytesN n) # 
Instance details

(KnownNat n, n <= 32) => ABIGet (BytesN n) # 
Instance details

Methods

abiGet :: Get (BytesN n) #

(KnownNat n, n <= 32) => ABIPut (BytesN n) # 
Instance details

Methods

abiPut :: Putter (BytesN n) #

n <= 32 => ABIType (BytesN n) # 
Instance details

Methods

isDynamic :: Proxy (BytesN n) -> Bool #