This plug reads the borrow rates of two Morpho Blue markets, converts each to an APR, and computes the difference between them. It asks the caller for a current_market and a target_market to compare. It runs on demand each time the caller executes it, producing a flag for whether the current APR is higher and the numeric APR delta. Comparing these rates by hand or from a stale reading can misstate which market carries the higher borrowing cost.
Actions · 11
Getborrowrateof
Reads a Morpho Blue market's current borrow rate as a per-second rate and an APY.
Usewhere
borrow_rate_per_secondis
Composes another plug inside this one.
Setto
Assigns a value to a named variable that later steps reference.
Getborrowrateof
Reads a Morpho Blue market's current borrow rate as a per-second rate and an APY.
Usewhere
borrow_rate_per_secondis
Composes another plug inside this one.
Setto
Assigns a value to a named variable that later steps reference.
Usewhere
value_1is
value_2is
Composes another plug inside this one.
Setto
Assigns a value to a named variable that later steps reference.
Setto
Assigns a value to a named variable that later steps reference.
Bubble
Surfaces a value as an output of this plug.
Bubble
Surfaces a value as an output of this plug.
Related plugs · 8
Not ready to run as it stands: it waits on values or a position of your own.