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

Simplify token definition #17

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Simplify token definition #17

merged 3 commits into from
Jan 14, 2025

Conversation

whoabuddy
Copy link
Contributor

Since it's one dao per token and we're using templates, we can specify the token ahead of time rather than initializing it. This reduces the need to check and provide the token with some calls, and will require syncing up the related templates next.

Breaking change: this updates trait signatures, will need to redeploy on testnet/mainnet

This simplifies the code we have to test per dao, and we can insert this contract reference using the templates when generating, so the init was an extra step that wasn't needed. Every dao is focused around one token, so we can directly reference it and let other values change, like which treasury is compared for voting.
@whoabuddy whoabuddy merged commit 86248e8 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