Problem Statement
Today: linear (utilisation / 50). Realistic lending uses piecewise jump rates.
Why it matters
Competitive with industry expectations.
Technical Context
Replace with kink at 80%, slope 2x above kink; configurable per pool.
Expected Outcome
Kink-based rate curve.
Acceptance Criteria
- Property tests around kink.
- SDK helpers.
- Docs show formula.
- Backwards compatible default.
- Kani harness.
Implementation Notes
Math refactor.
Files or modules likely to be affected
contracts/lending/src/lib.rs.
Dependencies
None.
Difficulty level
HARD.
Estimated effort
L (~1 week).
Problem Statement
Today: linear
(utilisation / 50). Realistic lending uses piecewise jump rates.Why it matters
Competitive with industry expectations.
Technical Context
Replace with kink at 80%, slope 2x above kink; configurable per pool.
Expected Outcome
Kink-based rate curve.
Acceptance Criteria
Implementation Notes
Math refactor.
Files or modules likely to be affected
contracts/lending/src/lib.rs.Dependencies
None.
Difficulty level
HARD.
Estimated effort
L (~1 week).