def last_switch_at
import cswap-bend-cli@0.1.0.0/daemon/state.bend as Stateimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
149# lastSwitchAt as seconds, None when absent or not a number.
150def last_switch_at(+st: Json.Json) -> Maybe<&2, U32>:
151 last2(Json.get("lastSwitchAt", st))