Skip to content

feat:Contract — Event catalog: schema versioning for NestJS indexers and explorers - #170

Merged
jhayniffy merged 2 commits into
InsurNiffy:mainfrom
YahKazo:niff
Mar 27, 2026
Merged

feat:Contract — Event catalog: schema versioning for NestJS indexers and explorers#170
jhayniffy merged 2 commits into
InsurNiffy:mainfrom
YahKazo:niff

Conversation

@YahKazo

@YahKazo YahKazo commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Events are the contract’s API to the off-chain world. Define topics/payloads for premiums, policy lifecycle, claims, votes, payouts, admin actions, and pause toggles. Each payload should include stable identifiers (claim_id, policy_id, holder addresses where appropriate) while avoiding PII and staying within Soroban payload limits. Version schemas explicitly so backends can migrate parsers without breaking production. Provide example JSON representations in tests or docs for the data team. Treat breaking event changes as semver-major contract releases. closes #18

@drips-wave

drips-wave Bot commented Mar 27, 2026

Copy link
Copy Markdown

@YahKazo 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

@jhayniffy
jhayniffy merged commit f9ad692 into InsurNiffy:main Mar 27, 2026
1 of 4 checks passed
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.

Contract — Event catalog: schema versioning for NestJS indexers and explorers

2 participants