Skip to content
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 Request: Async contractRegister event handlers #481

Open
0xulver opened this issue Mar 18, 2025 · 1 comment
Open

Feature Request: Async contractRegister event handlers #481

0xulver opened this issue Mar 18, 2025 · 1 comment
Assignees
Labels

Comments

@0xulver
Copy link

0xulver commented Mar 18, 2025

Hey Envio team!

It would be great if we can get Async contractRegister event handlers.

The use case I have is indexing a money market that can dynamically deploy new pools that need to get indexed.
It would be best to use the dynamic contract registration.

My problem is that the event emitted is a generic "ProxyCreated" event that does not tell you the type of contract and it can be different ones.

A solution could be to make an async call to check which functions exist on the contract but this requires an async event handler which is not supported yet!

Appreciate your great work and looking forward to seeing more features getting added.

@DZakh
Copy link
Member

DZakh commented Mar 18, 2025

Thank you for the suggestion. This is definitely a powerful feature; I'll let you know when we start working on it 👍

@DZakh DZakh self-assigned this Mar 28, 2025
@DZakh DZakh added the Feature label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants