Type alias AllocationPolicy

AllocationPolicy: ((lots, at) => CreditLotRow[])

Orders the lots a new hold may take; lots it leaves out are not used. The ledger hands it only the scope's lots that isLotEligible admits at at, so no ordering can fund a hold from an expired, disputed, closed or spent lot.

Type declaration