bancorprotocol / contracts-solidity

Bancor Protocol Contracts
Other
840 stars 391 forks source link

Refactor LiquidityProtection #573

Closed lbeder closed 3 years ago

lbeder commented 3 years ago
  1. Update LiquidityProtection and TestLiquidityProtection syles according to the new style.
  2. Add required getters
  3. Remove the obsoleted updatingLiquidityOnly mechanism
  4. Remove the unused baseTokenAvailableSpace and networkTokenAvailableSpace functions
  5. Restore explicit constructor
  6. Remove unneeded caching of immutable state variables
  7. Update and refactor the tests accordingly