def last2
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
142def last2(+m: Maybe<&2, Json.Json>) -> Maybe<&2, U32>:
143 match m:
144 case Some{Json.JNum{t}}:
145 U32.read(first_part(t))
146 case _:
147 None{}