The type of database context. Usually DbContext, if used with standard @tezos-dappetizer/database.
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.
Indexes a difference in a big map of of the selected (see shouldIndex) contract.
Indexes an update of a big map of of the selected (see shouldIndex) contract.
Indexes an origination of the selected (see shouldIndex) contract.
Indexes a storage change of the selected (see shouldIndex) contract.
Indexes a transaction which goes to the selected (see shouldIndex) contract.
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.
If 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 true
.
The method can be async, so the returned value can be a Promise
.
Generated using TypeDoc
Provides extension points for indexing block parts related to a contract. At least one of methods must be implemented.