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

Add more, customizable, events #1

Open
NoahSaso opened this issue Jan 14, 2023 · 0 comments
Open

Add more, customizable, events #1

NoahSaso opened this issue Jan 14, 2023 · 0 comments

Comments

@NoahSaso
Copy link
Member

Right now, it only sends messages on proposal creation.

We probably also want to notify when it passes or fails. This may be difficult since proposals can expire without an event, and the indexer only sends webhooks on events. A solution to this may be the indexer sending a webhook when a vote is cast that switches the proposal to pass or fail, and for all proposals that pass or fail upon expiration, maybe Cloudflare Workers let us schedule an event to fire in the future (which we can schedule upon proposal creation based on its expiration time).

The events being sent should be configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant