hifi-finance / hifi

Monorepo implementing the Hifi fixed-rate, fixed-term lending protocol
https://app.hifi.finance
Other
106 stars 15 forks source link

[proxy-target] Provide alternatives to AMM functions #32

Closed PaulRBerg closed 3 years ago

PaulRBerg commented 3 years ago

When the pool expires, some AMM functions are not available anymore. E.g getQuoteForSellingUnderlying, for which there should be an alternative like removeLiquidityAndRedeemHToken.

As spotted by @defi-david in #30.

PaulRBerg commented 3 years ago

Done in https://github.com/hifi-finance/hifi/commit/472627dc9b72d7d50b7cae1de9de89c569bcc3e0.