Norm.spend.mk: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/usage/norm.bend as Norm Lines 120-122 of cswap-bend-cli@0.1.0.0/usage/norm.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/usage/norm.bend&start_line=120&end_line=122 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def spend.mk(used: String, limit: String, pct: String, cur: Json.Json, eu: Json.Json, +now: U32, +off: U32) -> Json.Json: with_reset(Json.of_pairs([("used", Json.JNum{used}), ("limit", Json.JNum{limit}), ("pct", Json.JNum{pct}), ("currency", cur)]), resets_of(eu), now, off) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=of_pairs https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/usage/norm.bend&name=resets_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/usage/norm.bend&name=with_reset