Provides extension points for indexing block parts related to a contract. At least one of methods must be implemented.
The type of your custom data that flows in
indexingContext through all indexers for a block.
See IndexingCycleHandler.createContextData for more details.
The type of your custom data associated with the contract that flows in
indexingContext through this indexer.
See shouldIndex method for more details.
The explicit name used to easily identify the indexer, for example in error messages.
Dynamically selects a contract for indexing (remaining
index*() methods) by this indexer.
Firstly, the selective indexing is evaluated based on the config file.
If this method is not implemented, then all contracts are selected.
Also, it associates returned value as your custom data with the contract.
Then the data flows in
indexingContext through this indexer for all blocks being indexed.
The contract to be evaluated whether it should be indexed. Its details are resolved lazily as you need them.
false, then the contract will not be indexed.
Otherwise, your custom data to be associated with the contract if it should be indexed.
If you do not care about the data, then just return
The method can be async, so the returned value can be a
Generated using TypeDoc