def pick.hr

cswap-bend-cli@0.1.0.0 · policy/pick.bend:372

import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pick
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

372# Most headroom first, then earliest time, then sequence order.
373def pick.hr(+as: List<&2, T.Account>, +rk: Rk, +f: Fam) -> Pm:
374  pick.hr.at(maxall(as, rk, f, 0n), as, rk, f)

Uses (7)

Used by (1)