This release makes some bug fixes and two main changes:
- eToken whitelisting: now the withdrawals also check the whitelist. Also, the different operations (deposit, withdrawal, transfer sent, transfer received) can be whitelisted or not independently. This allows us to have eTokens that are freely tradeable but need to be sent to a whitelisted user for withdrawal.
- Loss Propagation Limits: Premiums accounts now have the possibility of setting absolute limits in the amount of money they can borrow from eTokens.
What's Changed
* Whitelisting per operation by gnarvaja in https://github.com/ensuro/ensuro/pull/128
* New view functions to access (un)scaled balances by gnarvaja in https://github.com/ensuro/ensuro/pull/124
* Upgrade of Python dependencies by gnarvaja in https://github.com/ensuro/ensuro/pull/131
* Revert on exceeded withdraw by gnarvaja in https://github.com/ensuro/ensuro/pull/132
* Improve test coverage by gnarvaja in https://github.com/ensuro/ensuro/pull/134
* Fix fundsAvailableToLock function by gnarvaja in https://github.com/ensuro/ensuro/pull/133
* Change LPManualWhitelist _whitelistAddress argument from calldata to memory by gnpar in https://github.com/ensuro/ensuro/pull/136
* Add beta release option by gnpar in https://github.com/ensuro/ensuro/pull/137
* Loss Propagation Limits by gnarvaja in https://github.com/ensuro/ensuro/pull/135
* Parametrized tests using 6 or 18 decimals by gnarvaja in https://github.com/ensuro/ensuro/pull/138
* Fixes and improvements to JS scripts by gnarvaja in https://github.com/ensuro/ensuro/pull/139
* Migration contract for 2.0 whitelist by gnarvaja in https://github.com/ensuro/ensuro/pull/140
**Full Changelog**: https://github.com/ensuro/ensuro/compare/v2.0.1...v2.1.0