[bug] useContractEvent callback args does not behave like ethers contract.on(<event>, callback) #530
Unanswered
the-vampiire
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
Package Version
0.4.3
Current Behavior
EventFilter
as arg for event (requires it to be a string event name)Expected Behavior
contract.on(eventName/eventFilter, callback)
EventFilter
argSteps To Reproduce
the latter typing issue appears to be due to overloading in the typechain defs:
when i comment out the string overload it stops complaining.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions