Absurd Chainlink prices, weekend FX hours, and the breakers meant to catch both
We continued the Mento V3 contest on Cantina.
Lesson Summary:
- Can Chainlink return an absurd price? If so, it is recorded as
lastValidPrice, which is a problem; - What happens on weekends? It's a FX, so, will the protocol be shut down on weekends or what? - No valid price will be available, but the system will be `live`;
- Audit the whole adapter (as it's in-scope) and then get back to see if it makes any problem in the Bold part;
- Check market hours breaker - understand how it decides if the market should be closed or not;
- What is the trading mode?
- Study
BreakerBox.