zksync_eth_watch 29.4.0-non-semver-compat

ZKsync Ethereum watcher
docs.rs failed to build zksync_eth_watch-29.4.0-non-semver-compat
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: zksync_eth_watch-28.1.0-non-semver-compat

ZKsync Era Eth Watcher

This crate contains an implementation of the ZKsync Era Eth Watcher component, which fetches the changes from the corresponding L1 contract.

Overview

Internally, Eth Watcher contains event processors, each of which provides a relevant topic (i.e., a bytes32 Solidity event selector) and is responsible for processing the corresponding events. Besides events, processors have access to the L1 client (to query more info) and to the node Postgres (to persist processing results). Examples of processors are:

Eth Watcher combines topics from the processors into a single filter and periodically queries L1 for the corresponding events. The fetched events are partitioned per processor and fed to them in succession.