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

Governance-sdk: bounties and referenda #1

Merged
merged 13 commits into from
Jan 13, 2025
Merged

Governance-sdk: bounties and referenda #1

merged 13 commits into from
Jan 13, 2025

Conversation

voliva
Copy link
Contributor

@voliva voliva commented Jan 10, 2025

I'll write some docs about this, but so far governance-sdk has two sub-sdks:

  • Bounties
    • Loads descriptions of each bounty
    • Matches referenda related to the bounty
    • Looks for scheduled changes on the bounty status
    • Abstracts the different states into a TS-friendly interface
  • Referenda
    • Inlines or wraps the proposal in a preimage as needed.
    • Resolves the proposal callData regardless if it's inline or in a preimage.
    • Decides best spender track for a specific value.
    • Provides approval/support curves as functions.
    • Calculates deciding + confirming period.

@voliva voliva requested review from josepot and carlosala January 10, 2025 15:13
@voliva voliva force-pushed the vo-governance-sdk branch from 1cf355b to d099480 Compare January 13, 2025 09:41
@voliva voliva merged commit 93d5e96 into main Jan 13, 2025
1 check passed
@voliva voliva deleted the vo-governance-sdk branch January 13, 2025 09:43
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