dethcrypto / dethcrypto/TypeChain

Incomplete contract filters typing

Open
#780 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.8k
Forks
376
PR merge metrics
No merged PRs in 30d

Description

`ethers` allows to filter using arrays for each event argument, for example:

```ts
erc20.filters.Transfer(null, [addr1,addr2]
```
But this doesn't work with Typechain since the typing for the `Transfer` filter is something like this:

```ts
Transfer(from?: PromiseOrValue | null , to?: PromiseOrValue | null, value?: null): TransferEventFilter
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.