def fetch.pre
import cswap-bend-cli@0.1.0.0/usage.bend as Usageimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/usage/gate.bend as UGate
155def fetch.pre(g: UGate.Gated, gate: UGate.Gate, +cred: String, +o: Json.Json, +token: String, +active: Bool, +now: U32, +off: U32) -> IO(Fetched):
156 match g:
157 case UGate.Gated{c, e, consumed, acct}:
158 pre.got(c, e, consumed, gate, cred, o, token, active, now, off)