The decorator for a contract indexer class to select a contract for indexing based on specified filter options.
Demonstrates the usage:
import { contractFilter } from '@tezos-dappetizer/decorators';@contractFilter({ name: 'TezosDomains' })class YourContractIndexerByName { ...}@contractFilter({ anyOfAddresses: ['KT191reDVKrLxU9rjTSxg53wRqj6zh8pnHgr'] })class YourContractIndexerByAddress { ...}
This is based on ContractIndexer.shouldIndex(...).
Generated using TypeDoc
The decorator for a contract indexer class to select a contract for indexing based on specified filter options.
Example
Demonstrates the usage:
Remark
This is based on ContractIndexer.shouldIndex(...).