feat: add multi-currency support to scholarship treasury (#589)#908
Merged
benfoster-dev merged 1 commit intoMay 29, 2026
Merged
Conversation
|
@Arome8240 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
@Arome8240 kindly fix conflicts and instead of fixes for the issue linking to drips....use closes |
9a2f9e1 to
9b5a1c8
Compare
…n#589) - Contract: deposit() now accepts an asset: Address parameter; only USDC deposits count toward the disbursable TOTAL_KEY balance; per-asset totals tracked via DataKey::AssetDeposited; add_supported_asset / get_supported_assets / get_asset_deposited admin/query functions; DepositRecorded event includes asset field - Tests: update all deposit() call sites for new signature; add UnsupportedAsset, EURC, and per-asset tracking test cases - Frontend: DepositMore adds USDC / EURC / XLM currency selector; deposit utility passes asset contract address to Soroban call - API: treasury stats endpoint returns asset_balances[] with per-currency deposited amounts and USD-equivalent; activity events include asset_symbol - UI: Treasury dashboard shows per-currency holdings card when data present - Config: .env.example files document EURC_CONTRACT_ID and XLM_SAC_CONTRACT_ID Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9b5a1c8 to
e563bd4
Compare
Contributor
Author
|
fixed @Anuoluwapo25 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #589