Expand description
Common types and helpers shared across the crate, including error types and Ethereum event parsing.
Structs§
- Ethereum
Event - The data type for an Ethereum event emitted by a smart contract
Enums§
- Ethereum
Data Type - A single primitive data type. This is used for example for the entries of Ethereum events.
- Ethereum
Query Error - An error that occurs when validating a JSON-RPC response.
- Ethereum
Service Error - An error that occurs while accessing or parsing data from an Ethereum node.
Functions§
- event_
name_ from_ expanded - Converts an entry named
Event(type1 indexed,type2 indexed)intoEvent(type1,type2).event_name_expandedis needed for parsing the obtained log. - parse_
log - Parses a
loginto anEthereumEventusing the expanded event signatureevent_name_expanded(e.g.MyEvent(type1 indexed,type2)).