verbs.utils#

Ethereum ABI and numerical utilities

Functions

cache_from_file

Loads a cache from a JSON file and converts the loaded cache JSON data into compatible env compatible format

cache_from_json

Convert a cache JSON data into env compatible format

cache_to_json

Convert a request cache to a JSON compatible data-structure

encode_args

ABI encode arguments

encode_function_args

Encode function arguments and prepend the function selector

events_to_dataframe

Convert a list of event tuples to a Pandas dataframe

hex_to_bytes

Convert a hex string to bytes

int_to_address

Convert an integer into address bytes

process_contract

Compile a solidity contract and return its abi and bytecode