Read.snap_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/tui/read.bend as Read Lines 258-259 of cswap-bend-cli@0.1.0.0/tui/read.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&start_line=258&end_line=259 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 import cswap-bend-cli@0.1.0.0/tui/model.bend as M def snap_of(+version: String, +live: Bool, +now: U32, +off: U32, +seq: Json.Json, +cache: Json.Json, +status: Json.Json, +settings: Json.Json, +log_t: String) -> M.Snap: M.Snap{now, off, hdr_of(version, live, status, settings), accts(SSeq.seq_nums(seq), seq, cache, status, active_slot(status, seq), now), log_lines(String.lines(log_t))} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.lines 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/store/seq.bend&name=seq_nums https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/model.bend&name=Snap https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&name=accts https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&name=active_slot https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&name=hdr_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&name=log_lines