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

Implement snapshot voting #16

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Implement snapshot voting #16

merged 2 commits into from
Jan 14, 2025

Conversation

whoabuddy
Copy link
Contributor

Change applies to both core and action proposals. One caveat is we cannot use the read-only function from the trait so we have to hardcode the contract, but this pattern may be preferable since we are using templates on the backend anyway.

To put it another way, instead of initializing these contracts with the token contract, we can reference it directly since it gets deployed first. This should simplify the scripts / info needed to call it as well.

Change applies to both core and action proposals. One caveat is we cannot use the read-only function from the trait so we have to hardcode the contract, but this pattern may be preferable since we are using templates on the backend anyway.

To put it another way, instead of initializing these contracts with the token contract, we can reference it directly since it gets deployed first. This should simplify the scripts / info needed to call it as well.
@whoabuddy whoabuddy merged commit 70ba26f into main Jan 14, 2025
1 check failed
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

Successfully merging this pull request may close these issues.

1 participant