Skip to content

Add Soroban contract event indexer and on-chain history source metadata#66

Merged
ritik4ever merged 2 commits intoritik4ever:mainfrom
anoncon:feat/issue-43-contract-event-indexer
Feb 21, 2026
Merged

Add Soroban contract event indexer and on-chain history source metadata#66
ritik4ever merged 2 commits intoritik4ever:mainfrom
anoncon:feat/issue-43-contract-event-indexer

Conversation

@anoncon
Copy link
Contributor

@anoncon anoncon commented Feb 21, 2026

Summary

  • Emit structured contract events for create_portfolio, deposit, and execute_rebalance.
  • Add Soroban contract event indexer service to ingest and persist on-chain events.
  • Extend rebalance history storage with on-chain metadata and source flags.
  • Expose filtered history by portfolioId, timestamp range, and source.
  • Add indexer status and manual sync endpoint.
  • Update UI history badges to distinguish On-chain vs Simulated vs Off-chain entries.

Validation

  • Backend TypeScript compile passed.
  • Queue tests passed.
  • Database tests added for on-chain metadata/filtering/dedup; full run blocked locally by native better-sqlite3 binary mismatch.

Closes #43

@vercel
Copy link

vercel bot commented Feb 21, 2026

@ritik4ever is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ritik4ever ritik4ever merged commit 0c2856e into ritik4ever:main Feb 21, 2026
1 check failed
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.

Add contract event indexer for on-chain source-of-truth history

2 participants