Problem Statement
A borrower requesting 100 cannot accept 50 from one lender.
Why it matters
Liquidity fragmentation.
Technical Context
Allow fractional offers + automated best-of matching.
Expected Outcome
Partial accept.
Acceptance Criteria
- Matching algorithm documented.
- Tests.
- Kani harness.
- SDK.
Implementation Notes
Order-book logic.
Files or modules likely to be affected
contracts/lending/src/lib.rs.
Dependencies
None.
Difficulty level
MEDIUM.
Estimated effort
L (~3 days).
Problem Statement
A borrower requesting 100 cannot accept 50 from one lender.
Why it matters
Liquidity fragmentation.
Technical Context
Allow fractional offers + automated best-of matching.
Expected Outcome
Partial accept.
Acceptance Criteria
Implementation Notes
Order-book logic.
Files or modules likely to be affected
contracts/lending/src/lib.rs.Dependencies
None.
Difficulty level
MEDIUM.
Estimated effort
L (~3 days).