def log_accts

cswap-bend-cli@0.1.0.0 · daemon/tick.bend:247

import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tick
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/policy/types.bend as T
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G
import cswap-bend-cli@0.1.0.0/daemon/view.bend as V

247def log_accts(+es: List<&2, G.Ent>, +us: List<&2, T.Usage>, +rows: Json.Json, +now: U32, +ms: List<&2, String>) -> List<&2, Json.Json>:
248  match es:
249    case Nil{}:
250      []
251    case Con{e, t}:
252      log_push(V.usage_for(us, V.slot_nat_of(V.ent_slot(e))), e, rows, now, ms, log_accts(t, us, rows, now, ms))

Uses (10)

Used by (1)