What this does
This plug computes the available liquidity of a Morpho Blue market by subtracting its borrowed assets from its supplied assets. It asks the caller for the morpho_market to measure at execution time. It fires whenever the caller runs it, reading the market's live totals at that moment. Reading these totals by hand or from a cached figure risks reporting liquidity that no longer matches the market's current supplied and borrowed state.
Actions · 4




Related plugs · 8