event_reader.conversion

Documentation for eth_defi.event_reader.conversion Python module.

Raw log event data conversion helpers.

Functions

convert_int256_bytes_to_int(bytes32, *[, signed])

Convert raw bytes32 from log data to addresses ints.

convert_jsonrpc_value_to_int(val)

Convert hex string or int to int.

convert_uint256_bytes_to_address(raw)

Convert raw uin256 from log data to addresses.

convert_uint256_hex_string_to_address(hex)

Convert raw uin256 from log data to address.

convert_uint256_string_to_address(bytes32)

Convert raw uint256 from log data to address.

convert_uint256_string_to_int(bytes32, *[, ...])

Convert raw uint256 from log data to int.

decode_data(data)

Split data of a log to uin256 results