Cido Ethereum
The ethereum implementation of the cido crate.
Ethereum specific functionality
This crate exports a procedural macro called ethereum_contract that can be used to annotate
unit structs. The following is an example of how to use the macro.
// A module should contain the macro as all the structs representing all the events and
// functions in this contract are created in the same namespace as the contract struct.
The struct annotated with #[ethereum_contract(...)] will have all the functions from the
abi added to it. They can be called after creating an instead of the struct by calling bind
async
A complete working example of using cido to index all of the uniswap-v2 events is in the examples folder under uniswap-v2.