Wildcard Indexing ⁂
Index the whole chain by event signature without specifying exact contract addresses.
Here's an example of indexing all ERC20 Transfer events. No need to change the config file. Simply add the wildcard: true option to the second argument in your handler:
ERC20.Transfer.handler(
async ({ event, context }) => {},
{
wildcard: true,
}
)
Final touches implemented #171, #197
Event Filtering
Filter events by indexed parameters. Simplify your handler's logic or get new indexing possibilities when joined with the Wildcard Indexing feature:
UniswapV3Factory.PoolCreated.handler(async ({ event, context }) => {},
{
wildcard: true,
eventFilters: [{ token0: DAI_ADDRESS }, { token1: DAI_ADDRESS }],
},
);
Both Wildcard Indexing and Event Filters are currently only supported with HyperSync. We are working on adding support for RPC mode in the following versions.
Implemented
Fuel Merge
The fuel ecosystem indexer is integrated into the main repository code. This was a huge refactoring which came with a big list of benefits and a big list of opportunities.
If you use envio@x.x.x-fuel version, you can switch to envio@2.3.0 and get:
- Now Fuel and Evm reuse the same code. This gives V2 API, much better test coverage, and many improvements/fixes compared to
envio@x.x.x-fuel - Support for
raw_eventsconfiguration - Support for Wildcard Indexing
- Public repository
- Active development and maintenance
Talking about opportunities, this unblocks:
- Adding support for
Mint/Burn/Call/TransferIn/TransferOutevents - Indexer became more modular and library-like, simplifying the integration of new ecosystems in the future
Implemented #186, #190, #192, #193, #194, #196, #202