def usage_row

cswap-bend-cli@0.1.0.0 · swpick.bend:252

import cswap-bend-cli@0.1.0.0/swpick.bend as Swpick
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq

252# usage.json -> the lastGood object of a slot.
253def usage_row(+usage: Json.Json, +slot: String) -> Json.Json:
254  SSeq.get_or("lastGood", SSeq.get_or(slot, SSeq.accounts_of(usage), Json.JNull{}), Json.JNull{})

Uses (4)

Used by (2)