Define a configurable price feed trait/interface:
- Read market price of the stablecoin from an external feed account
- Check feed freshness against a configurable staleness threshold
- Return an error / pause rate updates if feed is stale
This interface should be swappable for testing (mock feed) and production (real oracle account).
Depends on: LEZ price feed infrastructure being available.
Define a configurable price feed trait/interface:
This interface should be swappable for testing (mock feed) and production (real oracle account).
Depends on: LEZ price feed infrastructure being available.