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

feat: dispatch as Treasury or AAVEManager from OpenGov #973

Draft
wants to merge 8 commits into
base: opengov
Choose a base branch
from

Conversation

vgantchev
Copy link
Contributor

This PR introduces pallet-dispatcher - enabling specific OpenGov tracks to dispatch Runtime calls as predefined origins

The PR also introduces the first two dispatchables:

  • dispatch_as_treasury_manager - allows the TreasuryManager track to dispatch calls as the Treasury account on Hydration (7L53bUTBopuwFt3mKUfmkzgGLayYa1Yvn1hAg9v5UMrQzTfh)
  • dispatch_as_aave_manager - allows the AaveManager track to dispatch calls as the Money Market authority on Hydration (add addr)

TODO:

  • Satisfy Rust compiler :)
  • Add account of the AAVE Manager
  • Create a new OpenGov origin/track called Economic Parameters, and hook it up with the AAVE manager
  • Final benchmarks and tests

@vgantchev vgantchev mentioned this pull request Dec 16, 2024
6 tasks
Copy link

Crate versions that have not been updated:

  • hydradx-runtime: v275.0.0

New crates:

  • pallet-dispatcher: v1.0.0

Runtime version has not been increased.

@vgantchev vgantchev changed the title feat: pallet-dispatcher feat: dispatch as Treasury or AAVEManager from OpenGov Dec 16, 2024
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