Skip to content

[DIPS] feat: add IndexingAgreement entity and RecurringCollector mappings#330

Draft
Maikol wants to merge 3 commits intomasterfrom
feat/dips
Draft

[DIPS] feat: add IndexingAgreement entity and RecurringCollector mappings#330
Maikol wants to merge 3 commits intomasterfrom
feat/dips

Conversation

@Maikol
Copy link
Member

@Maikol Maikol commented Mar 4, 2026

No description provided.

Maikol added 3 commits March 4, 2026 17:34
Add handler for IndexingAgreementAccepted event emitted by
SubgraphService (via IndexingAgreement library). Decodes
versionTerms to populate tokensPerSecond and
tokensPerEntityPerSecond on the IndexingAgreement entity.
SubgraphService.IndexingAgreementAccepted fires before
RecurringCollector.AgreementAccepted in the same tx (lower log index).
Create the entity in the SubgraphService handler with terms, then let
the RecurringCollector handler load and update remaining fields instead
of overwriting with a new entity.
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.

1 participant