floating / frame

System-wide Web3 for macOS, Windows and Linux
https://frame.sh
GNU General Public License v3.0
1.09k stars 151 forks source link

only show rates which have updated in the last 5 minutes #1558

Closed Jamchello closed 1 year ago

Jamchello commented 1 year ago

I think it might be better to encapsulate the rates updates and invalidation in its own module and then update the store accordingly. as is we have rates-specific logic sprinkled all over the app and that may expand in the future. let's discuss a possible way to implement this when you have a chance.

As discussed I have implemented as described here, and provided tests for the module 🔥