The decorator for a method of a contract indexer to index diffs of the specified big map.
Demonstrates the method signature:
import { DbContext } from '@tezos-dappetizer/database';import { indexBigMapDiff } from '@tezos-dappetizer/decorators';import { BigMapDiff, BigMapDiffIndexingContext } from '@tezos-dappetizer/indexer';class YourContractIndexer { @indexBigMapDiff({ name: 'ledger' }) indexLedgerDiff( bigMapDiff: BigMapDiff, dbContext: DbContext, indexingContext: BigMapDiffIndexingContext<TContextData, TContractData>, ): void | PromiseLike<void> { // Your indexing code. }}
This is based on ContractIndexer.indexBigMapDiff(...).
Optional
Generated using TypeDoc
The decorator for a method of a contract indexer to index diffs of the specified big map.
Example
Demonstrates the method signature:
Remark
This is based on ContractIndexer.indexBigMapDiff(...).