You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constfilter=contractInst.filters.Transfer();// TransferFilterconstlogs=awaitcontractInst.queryFilter(filter)// Overloaded for each filterlogs[0].args// before `any`, but after this feature it should be `{sender: string, receiver: string, value: BigNumber}`
I'll give this a shot while doing my next project starting probably end of this month or next month.
The text was updated successfully, but these errors were encountered:
Sounds like a good idea. You'll probably have to add a special EventFilter subtype for each event. Or make it a generic type based on the event param types, so then the new function would simply be like queryFilter<PT>(TypedEventFilter<PT>): Promise<Array<TypedEvent<PT>>>. Or another approach is it makes the resulting code easier to use 👍
I'll give this a shot while doing my next project starting probably end of this month or next month.
The text was updated successfully, but these errors were encountered: