Skip to content

feat(#3277): handle drep voting power list on frontend#3281

Merged
MSzalowski merged 1 commit into
developfrom
feat/3277-handle-drep-voting-power-list-query-on-frontendn
Mar 26, 2025
Merged

feat(#3277): handle drep voting power list on frontend#3281
MSzalowski merged 1 commit into
developfrom
feat/3277-handle-drep-voting-power-list-query-on-frontendn

Conversation

@MSzalowski
Copy link
Copy Markdown
Contributor

List of changes

  • handle drep voting power list on frontend

Checklist

  • related issue
  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the changelog
  • I have added tests that prove my fix is effective or that my feature works

@MSzalowski MSzalowski requested a review from Ryun1 as a code owner March 26, 2025 12:05
@MSzalowski MSzalowski linked an issue Mar 26, 2025 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@MSzalowski
Copy link
Copy Markdown
Contributor Author

@nebojsact So the API call on the pdf level should be pretty simple. I am passing the fetchDRepVotingPowerList into the PDF and the only thing you need to do is execute it as such:

const result = await fetchDRepVotingPowerList(["identifier1", "identifier2"])

As a result, you'll have an array of dreps that were found for the provided identifiers, their view, encoded hash, votingPower and givenName.

givenName can be null if it does not exist.

@MSzalowski MSzalowski force-pushed the feat/3277-handle-drep-voting-power-list-query-on-frontendn branch from e97ae56 to 2ab9c3f Compare March 26, 2025 12:12
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

2 similar comments
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@MSzalowski MSzalowski force-pushed the feat/3277-handle-drep-voting-power-list-query-on-frontendn branch from 2ab9c3f to 6e84a37 Compare March 26, 2025 12:20
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

3 similar comments
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@MSzalowski MSzalowski force-pushed the feat/3277-handle-drep-voting-power-list-query-on-frontendn branch from 6e84a37 to af2e776 Compare March 26, 2025 12:47
@MSzalowski MSzalowski merged commit ce11d8d into develop Mar 26, 2025
@MSzalowski MSzalowski deleted the feat/3277-handle-drep-voting-power-list-query-on-frontendn branch March 26, 2025 12:47
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

2 similar comments
@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

✅ All checks succeeded

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.

Handle DRep voting power list query on frontendn

2 participants