Skip to content

feat: implement issues #579, #580, #581, #582 - #710

Merged
levi0005 merged 2 commits into
OpenLedger-Foundation:mainfrom
tegaReed-crypto:feature/issue-579-582
Aug 31, 2026
Merged

feat: implement issues #579, #580, #581, #582#710
levi0005 merged 2 commits into
OpenLedger-Foundation:mainfrom
tegaReed-crypto:feature/issue-579-582

Conversation

@tegaReed-crypto

Copy link
Copy Markdown
Contributor

#579: Add configurable min/max invoice face value bounds per risk tier

  • Add AmountBounds struct to shared types
  • Add set_amount_bounds/get_amount_bounds to invoice_nft
  • Check bounds in mint_invoice and list_invoice

#580: Implement multi-signature repayment approval for high-value invoices

  • Add RepaymentApproval struct and storage to financing_pool
  • Add propose_repayment, approve_repayment, execute_repayment
  • Modify repay to require approval for amounts >= threshold

#581: Add grace period logic before default marking

  • Add grace_period to financing_pool initialization and storage
  • Modify mark_default to check due_date + grace_period

#582: Implement invoice bundling contract (tranche)

  • Create new contracts/tranche contract
  • Add create_tranche, fund_tranche, get_tranche

Also fix duplicate validation functions in shared/validation.rs

closes #579
closes #580
closes #581
closes #582

…on#580, OpenLedger-Foundation#581, OpenLedger-Foundation#582

OpenLedger-Foundation#579: Add configurable min/max invoice face value bounds per risk tier
- Add AmountBounds struct to shared types
- Add set_amount_bounds/get_amount_bounds to invoice_nft
- Check bounds in mint_invoice and list_invoice

OpenLedger-Foundation#580: Implement multi-signature repayment approval for high-value invoices
- Add RepaymentApproval struct and storage to financing_pool
- Add propose_repayment, approve_repayment, execute_repayment
- Modify repay to require approval for amounts >= threshold

OpenLedger-Foundation#581: Add grace period logic before default marking
- Add grace_period to financing_pool initialization and storage
- Modify mark_default to check due_date + grace_period

OpenLedger-Foundation#582: Implement invoice bundling contract (tranche)
- Create new contracts/tranche contract
- Add create_tranche, fund_tranche, get_tranche

Also fix duplicate validation functions in shared/validation.rs
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@tegaReed-crypto 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

@levi0005
levi0005 merged commit f9cd8cb into OpenLedger-Foundation:main Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants