Skip to content

feat: analytics accumulator, slippage protection, and invoice phase state machine (#447-#450) - #469

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
leviso74:feature/insurance-pool-for-expired-invoices
Jul 27, 2026
Merged

feat: analytics accumulator, slippage protection, and invoice phase state machine (#447-#450)#469
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
leviso74:feature/insurance-pool-for-expired-invoices

Conversation

@leviso74

@leviso74 leviso74 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Implements issues
Closes #447
Closes #448
Closes #449
Closes #450

Depends on: #466 (compilation fixes)

…tate machine (Stellar-split#447-Stellar-split#450)

- Stellar-split#447: get_invoice_analytics() - per-invoice analytics with payment count, total, unique payers
- Stellar-split#448: set_slippage_tolerance() - configurable slippage tolerance in basis points
- Stellar-split#449: set_invoice_phase() / get_invoice_phase() - Draft -> Active -> Locked -> Released state machine
- Stellar-split#450: Insurance pool via insurance_premium_bps (already existed in origin/main)
- InvoiceAnalytics struct and InvoicePhase enum
- Storage keys: inv_anltc, inv_phase, slp_tol
- Error variants: SlippageExceeded, InvalidPhaseTransition
@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@leviso74 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

@Kingsman-99
Kingsman-99 merged commit 9d6560c into Stellar-split:main Jul 27, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants