What this does
This plug reads the borrow rates of two Morpho Blue markets, converts each to an APR, and computes which APR is higher along with the difference between them. It asks the caller for two parameters, current_market and target_market. It runs on demand and outputs the current_apr_is_higher flag and the apr_delta value. Comparing these rates by hand or from a stale reading risks acting on an APR gap that no longer reflects the live markets.
Actions · 11











Related plugs · 8