Skip to content

Conversation

@Doordashcon
Copy link
Contributor

@Doordashcon Doordashcon commented Nov 21, 2025

resolves #7961

Indroduction

This PR enables the treasury request payment from a category of assets (i.e. USD* stablecoins) instead of just a specific asset_kind, distributing the amount across available assets within that category on payout. Extending SpendAsset to support category based requests, configuring PaymentState to handle multiple payment executions on payout, introducing AssetCategoryManager for defining category membership and performing balance checks and maintaining backward compatibility for single asset spend requests and payout.

TODO

  • Runtime implementation of AssetCategoryManager
  • Payment optimization strategies(i.e. percentage payouts across available assets)
  • Documentation
  • Migration
  • XCM?

@Doordashcon Doordashcon marked this pull request as ready for review January 26, 2026 09:08
@Doordashcon Doordashcon requested a review from a team as a code owner January 26, 2026 09:08
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.

Improve Treasury payout of stables

1 participant