def spend_json

cswap-bend-cli@0.1.0.0 · view.bend:206

import cswap-bend-cli@0.1.0.0/view.bend as View
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

206def spend_json(+s: Json.Json, +now: U32, +off: U32) -> Json.Json:
207  with_cell(reset_field(s, Json.of_pairs([("used", jv("used", s)), ("limit", jv("limit", s)), ("pct", jv("pct", s)), ("currency", jv("currency", s))])), fresh(s, now, off))

Uses (9)

Used by (1)