You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, the reserve cash does not contribute to market liquidity. There is a mismatch between the implementation in the interbtc loans pallet and that in Compound v2. This PR further documents the issue and is an initial attempt at fixing the problem.
Expected behavior
Without the reserve contributing to protocol liquidity, the add_reserves extrinsic has no utility and should be removed. Otherwise, the reserve should serve as a way for protocol governance to add exit liquidity for redeemers in case 100% utilization is achieved.
Describe the bug
Currently, the reserve cash does not contribute to market liquidity. There is a mismatch between the implementation in the interbtc
loans
pallet and that in Compound v2. This PR further documents the issue and is an initial attempt at fixing the problem.Also see my questions in the Compound Discord:
Expected behavior
Without the reserve contributing to protocol liquidity, the
add_reserves
extrinsic has no utility and should be removed. Otherwise, the reserve should serve as a way for protocol governance to add exit liquidity for redeemers in case 100% utilization is achieved.Context
See these associated code TODOs:
interbtc/crates/loans/src/lib.rs
Line 1149 in f0a0144
interbtc/crates/loans/src/lib.rs
Line 1721 in f0a0144
The text was updated successfully, but these errors were encountered: