Skip to content

Add LP yield / interest accrual — liquidity providers earn nothing #28

Description

@Escelit

Description:
MortgagePool collects 5 % annual interest from borrowers (per INTEREST_RATE_BPS), but this interest is credited back to TotalLiquidity as part of repayment without any per-LP tracking. LPs deposit and withdraw at a 1:1 ratio with no yield earned. The interest simply inflates the pool balance, diluting future depositors' share.

Expected behaviour:
Implement a share-token or index-based model (similar to Compound's cToken) where LPs receive yield proportional to their contribution and time deposited.

Labels: enhancement, contracts, mortgage-pool

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions