Summary:
As audit of the changes for new AMM and Controller with ChainSecurity has been concluded, the implementations are proposed to be used by crvUSD and LlamaLend factories. Change of implementation only affects future markets, not previous ones.
Deployed code:
Notable features:
- Leverage using aggregators is possible with mint markets (right now it is not);
- Users can allow other contracts to manage their position;
- Users can optionally specify extra health offset they start soft liquidation with (requested by users of very high leverage);
- Support for LP tokens with gauge as collateral (e.g. collateral which earns CRV emissions).