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
Description:
MortgagePoolcollects 5 % annual interest from borrowers (perINTEREST_RATE_BPS), but this interest is credited back toTotalLiquidityas 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