• The decorator for a contract indexer class to select a contract for indexing based on specified filter options.

    Example

    Demonstrates the usage:

    import { contractFilter } from '@tezos-dappetizer/decorators';

    @contractFilter({ name: 'TezosDomains' })
    class YourContractIndexerByName {
    ...
    }

    @contractFilter({ anyOfAddresses: ['KT191reDVKrLxU9rjTSxg53wRqj6zh8pnHgr'] })
    class YourContractIndexerByAddress {
    ...
    }

    Remark

    This is based on ContractIndexer.shouldIndex(...).

    Parameters

    Returns ClassDecorator

Generated using TypeDoc