Skip to content

feat(anchor): implement processAnchorRefund function#166

Merged
MissBlue00 merged 1 commit into
MissBlue00:mainfrom
omosvico:feat/process-anchor-refund
May 28, 2026
Merged

feat(anchor): implement processAnchorRefund function#166
MissBlue00 merged 1 commit into
MissBlue00:mainfrom
omosvico:feat/process-anchor-refund

Conversation

@omosvico
Copy link
Copy Markdown
Contributor

closes: #88

- Add AnchorService with processAnchorRefund(transactionId) method
- Handle full and partial refunds for failed deposit/withdrawal transactions
- Validate transaction exists and is in refundable (failed) status
- Prevent duplicate refunds on already-refunded transactions
- Add RefundResult interface (transactionId, success, amountRefunded, totalAmount, isPartialRefund, status, error, refundedAt)
- Add AnchorTransaction interface with registration support
- Export all types from package index
- Build passes with zero TypeScript errors
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

@omosvico is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@omosvico Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@MissBlue00 MissBlue00 merged commit 9e01d1e into MissBlue00:main May 28, 2026
0 of 4 checks passed
MissBlue00 added a commit that referenced this pull request May 29, 2026
feat(anchor): implement processAnchorRefund function
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.

Add processAnchorRefund function

2 participants