-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Implement Filter
's builder methods on alloy_contract::Event
#824
Comments
the internal filter can be modified with |
I see, but you need unnecessary mutability |
migrated this, as contract codegen is performed in I am not convinced that we actually want an constructor |
In that case if we want to do this it should be builder methods on alloy contract event that just delegate to the underlying filter? |
that sounds right to me |
Filter
's builder methods on alloy_contract::Event
Component
contract
Describe the feature you would like
It would be nice to have method like
event_filter_with_address::<Event>(address: impl Into<ValueOrArray<Address>>)
. For example, you want to subscribe to all DEXs like uniswap.alloy/crates/contract/src/event.rs
Lines 32 to 45 in c6c91cc
Additional context
No response
The text was updated successfully, but these errors were encountered: