Skip to content

feat(pegged-swap): implement linearWidthFromSymmetricRangePercent#69

Merged
krboktv merged 2 commits into
masterfrom
feat/pegged-swap-linear-width-calculator
Jun 5, 2026
Merged

feat(pegged-swap): implement linearWidthFromSymmetricRangePercent#69
krboktv merged 2 commits into
masterfrom
feat/pegged-swap-linear-width-calculator

Conversation

@krboktv

@krboktv krboktv commented Jun 4, 2026

Copy link
Copy Markdown
Member

Change Summary

What does this PR change?
In this PR we implement a function to derive the linearWidth from symmetric range: A = (1 - X) / (2 * X), where X is the percent fraction for symmetric range

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 merged commit b00f975 into master Jun 5, 2026
@krboktv krboktv deleted the feat/pegged-swap-linear-width-calculator branch June 5, 2026 07:53
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