Read the sorted list the way the loop reads it, then decide (MK-048).
The walk is bounded by maxIterations, matching the contract's own parameter, so a long list
cannot turn a preview into an unbounded read. That bound is the same reason getBorrowingPower
carries one (MK-010).
Not a single block snapshot: the price is read outside the batch that uses it. The full
statement is on MathDeps in math/deps.ts (MK-013, MK-093).
Read the sorted list the way the loop reads it, then decide (MK-048).
The walk is bounded by
maxIterations, matching the contract's own parameter, so a long list cannot turn a preview into an unbounded read. That bound is the same reasongetBorrowingPowercarries one (MK-010).Not a single block snapshot: the price is read outside the batch that uses it. The full statement is on
MathDepsinmath/deps.ts(MK-013, MK-093).