def gated.go
import cswap-bend-cli@0.1.0.0/usage/gate.bend as Gateimport Base
159def gated.go(+slot: String, +email: String, +snapshot: String, +root: String) -> IO(Gated):
160 IO.bind(Result<&1, &1, U32 & String, String>, Gated, IO.get_env("CSWAP_CONSUME_TIMEOUT_MS"),
161 t => gated.locked(slot, email, snapshot, root, timeout.of(t)))