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 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.
Optional
Readonly
nameThe explicit name used to easily identify the indexer, for example in error messages.
Optional
indexIndexes a difference in a big map of the selected (see shouldIndex) contract.
Optional
indexIndexes an update of a big map of the selected (see shouldIndex) contract.
Optional
indexIndexes an event emitted by the selected (see shouldIndex) contract.
Optional
indexIndexes an origination of the selected (see shouldIndex) contract.
Optional
indexIndexes a storage change of the selected (see shouldIndex) contract.
Optional
indexIndexes a transaction which goes to the selected (see shouldIndex) contract.
Optional
shouldDynamically selects a contract for indexing (remaining index*()
methods) by this indexer.
Firstly, the selective indexing is evaluated based on Dappetizer 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.
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
.
The contract to be evaluated whether it should be indexed. Its details are resolved lazily as you need them.
The database context but it must execute only readonly queries so that it does not interfere with block indexing.
Generated using TypeDoc
Provides extension points for indexing block parts related to a contract. At least one of methods must be implemented.