[INCLUDED IN GAUGE] Unripe λ → λ Conversions
Summary
Introduce the ability for users to convert unripe assets into their ripe counterpart.
Problem
Currently, the only way to redeem unripe assets is by withdrawing from the silo, and calling chop(). This creates an inefficiency in which users wanting to redeem early lose the opportunity cost associated with grown stalk. In light of the unripe seed rewards changing, allowing users to redeem their unripe assets without losing stalk allows farmers to weigh stalk growth vs higher redemption %.
Proposed Solution
-
Add new convert type in
LibDataConvert:heavy_check_mark: -
Modified
LibConvertto include new convert type :heavy_check_mark: -
Implemented
LibChopand modifiedchop(...)and_getPenalizedUnderlying(...)to useLibChop:heavy_check_mark: -
Implemented
LibChopConvertwith theconvertUnripeBeansToBeans(...)andgetBeanAmountOut(...)functions which wrapLibChopfunctions :heavy_check_mark: -
Added tests to challenge the new convert functionallity. :heavy_check_mark:
Deploy request for beanstalk-ui rejected.
| Name | Link |
|---|---|
| Latest commit | e4a54739a69f640ff1228a8800a9b9e0fe74afb5 |
Deploy request for basin rejected.
| Name | Link |
|---|---|
| Latest commit | e4a54739a69f640ff1228a8800a9b9e0fe74afb5 |