Skip to content

Export getSubInfo from contract.ts to use it to compose custom log filter #4930

Open
@tornadocontrib

Description

@tornadocontrib

Ethers Version

6.x

Search Terms

No response

Describe the Problem

Would be great if the function could be exported from https://github.com/ethers-io/ethers.js/blob/main/src.ts/contract/contract.ts#L464.

Otherwise I should only copy the full code to make custom filter to listen events on multiple contract addresses

https://github.com/tornadocontrib/tornado-scripts/blob/main/src/batch.ts#L37

Code Snippet

Contract ABI

Errors

Environment

No response

Environment (Other)

No response

Metadata

Metadata

Assignees

Labels

investigateUnder investigation and may be a bug.v6Issues regarding v6

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions