Importu.put_spend2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/importu.bend as Importu Lines 139-144 of cswap-bend-cli@0.1.0.0/importu.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&start_line=139&end_line=144 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def put_spend2(m: Maybe<&2, Json.Json>, +now: U32, +off: U32, acc: Result<&2, &2, String, Json.Json>) -> Result<&2, &2, String, Json.Json>: match m: case None{}: acc case Some{+s}: put.res("spend", spend.of(s, window(s, "spend", now, off)), acc) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result 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/importu.bend&name=put.res https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&name=spend.of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&name=window https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json