TypeChain
TypeChain copied to clipboard
Incomplete contract filters typing
ethers allows to filter using arrays for each event argument, for example:
erc20.filters.Transfer(null, [addr1,addr2]
But this doesn't work with Typechain since the typing for the Transfer filter is something like this:
Transfer(from?: PromiseOrValue<string> | null , to?: PromiseOrValue<string> | null, value?: null): TransferEventFilter
I am also facing this issue right now. Any progress on this?