Skip to content

feat: added pegout report endpoint#661

Merged
gsoares85 merged 1 commit intofeature/addPeginReportEndpointfrom
feature/addPegoutReportEndpoint
Mar 21, 2025
Merged

feat: added pegout report endpoint#661
gsoares85 merged 1 commit intofeature/addPeginReportEndpointfrom
feature/addPegoutReportEndpoint

Conversation

@gsoares85
Copy link
Copy Markdown
Contributor

###What
Added a new endpoint under management API to return a financial report over the pegouts.

Number of Quotes Finalized -> Only the ones with the status RegisterPegOutSucceeded
Minimum and maximum Value for the quotes
Average Value
Total Call Fess
Average Call Fess
Already added the average call fees since we have plans to move to a percentage fee

Task
https://rsklabs.atlassian.net/browse/GBI-2539

@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link
Copy Markdown
Collaborator

@Luisfc68 Luisfc68 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks fine, but I'd like to remind a couple things:

  • Now we're adding tests to the http handlers as well so they should be included in the PRs too
  • These reports endpoint don't consider the gas fee nor the actual gas cost of the different transactions. This will make their results inaccurate, specially in the long term

@gsoares85 gsoares85 merged commit f520c75 into feature/addPeginReportEndpoint Mar 21, 2025
5 checks passed
@gsoares85 gsoares85 deleted the feature/addPegoutReportEndpoint branch March 21, 2025 14:52
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.

3 participants