hevm-0.41.0: Ethereum virtual machine evaluator

Safe HaskellNone
LanguageHaskell2010

EVM.Fetch

Synopsis

Documentation

data RpcQuery a where Source #

Abstract representation of an RPC fetch request

Instances
Show (RpcQuery a) Source # 
Instance details

Defined in EVM.Fetch

Methods

showsPrec :: Int -> RpcQuery a -> ShowS #

show :: RpcQuery a -> String #

showList :: [RpcQuery a] -> ShowS #

data BlockNumber Source #

Constructors

Latest 
BlockNumber W256 
Instances
ToRPC BlockNumber Source # 
Instance details

Defined in EVM.Fetch

class ToRPC a where Source #

Methods

toRPC :: a -> String Source #

Instances
ToRPC Addr Source # 
Instance details

Defined in EVM.Fetch

Methods

toRPC :: Addr -> String Source #

ToRPC W256 Source # 
Instance details

Defined in EVM.Fetch

Methods

toRPC :: W256 -> String Source #

ToRPC BlockNumber Source # 
Instance details

Defined in EVM.Fetch

readText :: Read a => Text -> a Source #

type Fetcher = Query -> IO (EVM ()) Source #