Easily listen to events from multiple contracts using go-ethereum bindings!
The usage of this tool is exactly the same as
abigen. It is expected that bindings for a contract exist before running this tool.
Once the tool has been built
go build, you can simply generate the log aggregate bindings as follows:
abigen --abi contracts/ERC20.json --pkg contracts --type Token --out pkg/contracts/token.go eth-log-aggregator --abi contracts/ERC20.json --pkg contracts --type Token --out pkg/contracts/token_watcher.go
This is limited to go bindings