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

[Multi-Asset Treasury] Implement treasury pallet to be more generic #201

Open
tonyalaribe opened this issue Mar 14, 2023 · 0 comments
Open
Assignees
Labels
I5-enhancement An additional feature request. T1-FRAME This PR/Issue is related to core FRAME, the framework.

Comments

@tonyalaribe
Copy link
Contributor

tonyalaribe commented Mar 14, 2023

Motivation

The treasury pallet can be made generic over asset classes, and support spends on arbitrary asset classes which might be in the possession of the treasury.

Request

To do this, the treasury pallet can be implemented over the Pay trait (paritytech/substrate#13603) and over the Exchange Oracle trait (#202) to allow us have a pallet that can be implemented to support spends on any supported asset class, and not just the natively supported asset class.
Doing this means the treasury pallet does not need to be tied to the fungibles or fungible traits and can be more flexible in how payments are made with the treasury pot, or even where said funds are held.

This is a step towards #98
More info about the larger plan is on this post: #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I5-enhancement An additional feature request. T1-FRAME This PR/Issue is related to core FRAME, the framework.
Projects
Status: To Do
Development

No branches or pull requests

4 participants