Skip to content

feat: add multi-currency support to scholarship treasury (#589)#908

Merged
benfoster-dev merged 1 commit into
bakeronchain:mainfrom
Arome8240:feature/multi-currency-treasury-#589
May 29, 2026
Merged

feat: add multi-currency support to scholarship treasury (#589)#908
benfoster-dev merged 1 commit into
bakeronchain:mainfrom
Arome8240:feature/multi-currency-treasury-#589

Conversation

@Arome8240
Copy link
Copy Markdown
Contributor

fixes #589

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@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! 🚀

Learn more about application limits

@Anuoluwapo25
Copy link
Copy Markdown
Contributor

@Arome8240 kindly fix conflicts and instead of fixes for the issue linking to drips....use closes

@Arome8240 Arome8240 force-pushed the feature/multi-currency-treasury-#589 branch from 9a2f9e1 to 9b5a1c8 Compare May 29, 2026 13:31
…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>
@Arome8240 Arome8240 force-pushed the feature/multi-currency-treasury-#589 branch from 9b5a1c8 to e563bd4 Compare May 29, 2026 13:43
@Arome8240
Copy link
Copy Markdown
Contributor Author

fixed @Anuoluwapo25

@benfoster-dev benfoster-dev merged commit 6677c5d into bakeronchain:main May 29, 2026
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.

feat: add multi-currency support to scholarship treasury (beyond USDC)

3 participants