The decorator for a method of a contract indexer to index its origination operation.
Demonstrates the method signature:
import { DbContext } from '@tezos-dappetizer/database';import { indexOrigination } from '@tezos-dappetizer/decorators';import { OriginationIndexingContext } from '@tezos-dappetizer/indexer';class YourContractIndexer { @indexOrigination() indexMyContractOrigination( initialStorage: StronglyTypedInitialStorage, dbContext: DbContext, indexingContext: OriginationIndexingContext<TContextData, TContractData>, ): void | Promise<void> { // Your indexing code. }}
This is based on ContractIndexer.indexOrigination(...).
Generated using TypeDoc
The decorator for a method of a contract indexer to index its origination operation.
Example
Demonstrates the method signature:
Remark
This is based on ContractIndexer.indexOrigination(...).