ekonomia-tech / protocol-alpha

Alpha version of a DeFi stablecoin protocol
GNU General Public License v3.0
4 stars 0 forks source link

Modify Module Manager + Modify Price Controller #57

Closed nmimran99 closed 1 year ago

nmimran99 commented 1 year ago

Price Controller alignment with the modular architecture.

Main changes:

  1. PriceController.sol - calls moduleManager to mint and burn
  2. PriceController.t.sol - tests aligned to accommodate new architecture.
  3. ModuleManager.sol - added to param to mint and from param to burn. Also renamed removeModule to deprecateModule.
  4. ModuleManager.t.sol - overall tests changes to accommodate new parameters and reorganize tests.
davekaj commented 1 year ago

closing in favour of #58 and #59 which is this exact PR just split in 2