Skip to content

feat(invoice): add early repayment support with partial discount refund#53

Open
Oyintarede wants to merge 2 commits into
TrusTrove:mainfrom
Oyintarede:feat_invoice
Open

feat(invoice): add early repayment support with partial discount refund#53
Oyintarede wants to merge 2 commits into
TrusTrove:mainfrom
Oyintarede:feat_invoice

Conversation

@Oyintarede

@Oyintarede Oyintarede commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Closes #8


Adds repay_early to invoice contract and receive_repayment_with_refund to pool contract. Implements pro-rata discount refund and unit tests for 25%, 50%, 75% of term. All invoice tests pass locally.

@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

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

@K1NGD4VID

Copy link
Copy Markdown
Contributor

Fix Ci error @Oyintarede

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.

feat(invoice): add early repayment support with partial discount refund

2 participants