Subclass EventFilterBase
based on the amount of topics an event defines
#84
Labels
EventFilterBase
based on the amount of topics an event defines
#84
Module
ABI
📝 Description
We have only two subclasses:
AnonymousEventFilter
andEventFilter
, both of which expose filtering methods for all 4 (max) number of topics that an event can define. For eachEventFactory
implementation, use the subclass which exposes the same number of topics as the event has defined.Create a specific subclass for each number of topics an event can define:
EventFilter
: from 1 to 3 topics,topicId
occupies thetopic0
slot so only 3 are availableAnonymousEventFilter
: from 0 to 4 topics (notopicId
).The text was updated successfully, but these errors were encountered: