Skip to content

feat: add source field and import Kleros mainnet data#11

Merged
AugustoL merged 3 commits intoopenscan-explorer:mainfrom
AugustoL:feat/add-source-field
Mar 4, 2026
Merged

feat: add source field and import Kleros mainnet data#11
AugustoL merged 3 commits intoopenscan-explorer:mainfrom
AugustoL:feat/add-source-field

Conversation

@AugustoL
Copy link
Copy Markdown
Collaborator

@AugustoL AugustoL commented Mar 3, 2026

Summary

  • Add source field ([name, date] tuple) to all metadata schemas (address, token, app, org, rpc, event) to track data provenance
  • Backfill all existing records with ["openscan", "2026-03-03"]
  • Import ~500k Kleros mainnet address tags and enrich 107 tokens with project/link metadata
  • Update build and validation scripts to support the new field

Test plan

  • npm run validate — all 500,319 files pass
  • npm run build — source included in aggregated output
  • npm run format && npm run lint — no issues

AugustoL added 3 commits March 3, 2026 17:31
Track data provenance with a [sourceName, date] tuple on all
metadata records. Backfills existing data with ["openscan", "2026-03-03"].
Restructures event schema to support both source and topic0 keys.
Updates import-kleros to tag new records with ["kleros", date] and
build script to include source in aggregated output.
Import ~500k address tags and enrich 107 existing tokens with
project names and website links from Kleros mainnet dataset.
Update import script to use kleros-mainnet.zip filename.
@AugustoL AugustoL merged commit b6ae5c6 into openscan-explorer:main Mar 4, 2026
3 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.

2 participants