Skip to content

Conversation

@popenta
Copy link
Contributor

@popenta popenta commented Feb 10, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds outcome parsing support for additional delegation-related operations so consumers can extract returned amounts from transaction logs.

Changes:

  • Added outcome parsers for claimRewards, delegate, unDelegate, and reDelegateRewards.
  • Added extractAmount() helper to decode amounts from event topics.
  • Added unit tests covering the new parsers.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/delegation/delegationTransactionsOutcomeParser.ts Implements new delegation outcome parsers and amount extraction logic.
src/delegation/delegationTransactionsOutcomeParser.spec.ts Adds tests for the new parser methods and expected decoded amounts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

radumojic
radumojic previously approved these changes Feb 10, 2026
@popenta popenta merged commit dcb94ae into main Feb 11, 2026
5 checks passed
@popenta popenta deleted the add-missing-parsers-delegation branch February 11, 2026 08:18
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