Skip to content

feat(pegged-swap): introduce PeggedPrice#65

Open
krboktv wants to merge 10 commits into
masterfrom
feat/pegged-swap-price
Open

feat(pegged-swap): introduce PeggedPrice#65
krboktv wants to merge 10 commits into
masterfrom
feat/pegged-swap-price

Conversation

@krboktv
Copy link
Copy Markdown
Member

@krboktv krboktv commented May 21, 2026

Change Summary

What does this PR change?
In this PR we introduce PeggedPrice domain class in order to calculate current spot price by the given reserves and linear width and calculate one reserve taking into account spot price, linear width and the second reserve

Related Issue/Ticket:

Testing & Verification

How was this tested?

  • Unit tests
  • Integration tests
  • Manual testing (describe steps)
  • Verified on staging

Risk Assessment

Risk Level:

  • Low - Minor changes, no operational impact
  • Medium - Moderate changes, limited impact, standard rollback available
  • High - Significant changes, potential operational impact, complex rollback

Risks & Impact

@krboktv krboktv marked this pull request as ready for review May 21, 2026 13:44
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.

1 participant