Skip to content

feat: add path payment slippage calculator - #539

Open
karagozemin wants to merge 1 commit into
RevenantLabs:mainfrom
karagozemin:feat/513-path-payment-slippage
Open

karagozemin wants to merge 1 commit into
RevenantLabs:mainfrom
karagozemin:feat/513-path-payment-slippage

Conversation

@karagozemin

Copy link
Copy Markdown
Contributor

Closes #513

Summary

  • validate a settled transaction hash and load path-payment operations from Horizon
  • distinguish strict-send minimum-destination and strict-receive maximum-send bounds
  • calculate exact slippage with integer-safe seven-decimal arithmetic
  • render intermediate path assets and distinct not-found/no-path/malformed/rate-limit outcomes
  • add the complete 35-file feature slice and focused coverage

Verification

  • npm run verify:features -- path-payment-slippage-calculator
  • npx eslint features/path-payment-slippage-calculator (0 errors)
  • npx vitest run features/path-payment-slippage-calculator (18 tests passed)
  • npx tsc --noEmit

Copilot AI balanced review requested due to automatic review settings October 22, 2026 13:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

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.

[Payments] Path Payment Slippage Calculator

2 participants