• Experimental

    The decorator for a smart rollup indexer class to select a smart rollup for indexing based on specified filter options.

    Example

    Demonstrates the usage:

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

    @smartRollupFilter({ name: 'TezosDomains' })
    class YourSmartRollupIndexerByName {
    ...
    }

    @smartRollupFilter({ anyOfAddresses: ['KT191reDVKrLxU9rjTSxg53wRqj6zh8pnHgr'] })
    class YourSmartRollupIndexerByAddress {
    ...
    }

    Remark

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

    Parameters

    Returns ClassDecorator

Generated using TypeDoc