ekonomia-tech / protocol-alpha

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

Coordinate `PHOTWAPOracle` && `PriceController` wrt TWAP `period` #60

Open steve0xp opened 1 year ago

steve0xp commented 1 year ago

It is required that the PriceController and PHOTWAPOracle have synced period variables. The PriceController calls stabilize() in a time frame respective of the PHOTWAPOracle period. Care has to be taken to ensure that if/when the PHOTWAPOracle period var is set, that the PriceController also syncs up with this new change.