Skip to content

docs: add initial event schema registry for indexers#46

Merged
prodbycorne merged 1 commit into
SmartDropLabs:mainfrom
Justprotocol:Justprotocol-patch-1
Jun 27, 2026
Merged

docs: add initial event schema registry for indexers#46
prodbycorne merged 1 commit into
SmartDropLabs:mainfrom
Justprotocol:Justprotocol-patch-1

Conversation

@Justprotocol

Copy link
Copy Markdown
Contributor

Overview

As assigned in issue #32, this Pull Request introduces the initial comprehensive documentation registry for contract events (docs/events.md).

Changes Made

  • Created a single source of truth for off-chain indexers mapping out the Factory and FarmingPool event structures.
  • Documented explicit event topics, expected payload field shapes, and their corresponding Rust types (Symbol, Address, u128, u32).
  • Detailed the explicit field behaviors and data payload constraints (e.g., the 9-character symbol limit) to prevent downstream client-breaking indexer drifts.

Closes #32

@prodbycorne prodbycorne merged commit ce4fac6 into SmartDropLabs:main Jun 27, 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 event schema documentation and ensure all events have stable payloads

2 participants