Clilist.list_payload: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/clilist.bend as Clilist Lines 54-56 of cswap-bend-cli@0.1.0.0/clilist.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&start_line=54&end_line=56 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/view.bend as View def list_payload(+as: List<&2, View.Acct>, models: List<&2, String>, +now: U32, +off: U32, dups: List<&2, String>, locks: List<&2, String>) -> Json.Json: with_warn("lockstepUsageWarnings", locks, with_warn("duplicateAccountWarnings", dups, Json.of_pairs([("schemaVersion", Json.JNum{"1"}), ("activeAccountNumber", active_num(as)), ("accounts", Json.arr(rows_json(as, models, now, off)))]))) Uses (11): 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/clilist.bend&name=active_num https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&name=rows_json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&name=with_warn 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=arr 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/view.bend&name=Acct