Read.active_slot: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/tui/read.bend as Read Lines 148-150 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=148&end_line=150 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/tui/num.bend as N # The live slot: the daemon's view first, else the roster's advisory field. def active_slot(+status: Json.Json, +seq: Json.Json) -> Maybe<&2, U32>: first_some(N.uint_at(f_active(), status), N.uint_at("activeAccountNumber", seq)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/tui/num.bend&name=uint_at https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&name=f_active https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/read.bend&name=first_some