Skip to content

Conversation

@Subarna-Singh
Copy link
Contributor

Closes #OPDATA-5112

https://smartcontract-it.atlassian.net/browse/OPDATA-5112

Description

Extend the Superstate external adapter to expose a single endpoint that returns NAV per share, AUM, and NAV date in one call (as opposed to the current separate endpoints) to conform the response to Data Streams conventions for v9 schema.

Changes

Modified result.data

Steps to Test

yarn test packages/source/superstate

Quality Assurance

  • If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant infra-k8s configuration file.
  • If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant adapter-secrets configuration file.
  • If a new adapter was made, or a new endpoint was added, update the test-payload.json file with relevant requests.
  • The branch naming follows git flow (feature/x, chore/x, release/x, hotfix/x, fix/x) or is created from Jira.
  • This is related to a maximum of one Jira story or GitHub issue.
  • Types are safe (avoid TypeScript/TSLint features like any and disable, instead use more specific types).
  • All code changes have 100% unit and integration test coverage. If testing is not applicable or too difficult to justify doing, the reasoning should be documented explicitly in the PR.

@changeset-bot
Copy link

changeset-bot bot commented Nov 26, 2025

🦋 Changeset detected

Latest commit: 3194245

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@chainlink/superstate-adapter Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Subarna-Singh Subarna-Singh marked this pull request as ready for review November 26, 2025 10:40
@Subarna-Singh Subarna-Singh merged commit 3ddd7ce into main Nov 27, 2025
16 checks passed
@Subarna-Singh Subarna-Singh deleted the OPDATA-5112-Superstate-EA branch November 27, 2025 18:59
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