This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Below is an example for faster JSON-RPC event fetcher. | |
It skips a lot of steps, like converting raw binary values to corresponding numbers (float, ints), | |
looking up ABI labels and building `AttributedDict` object. | |
The resulting Event dictitionary is generated faster, but harder to use and you need to know what you are doing. | |
""" | |
def _fetch_events_for_all_contracts( |