def ent_one
cswap-bend-cli@0.1.0.0 · daemon/gather.bend:81
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as Gather
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq
import cswap-bend-cli@0.1.0.0/daemon/state.bend as St
81def ent_one(+root: String, +seq: Json.Json, +slot: String, +st: Json.Json) -> Act.of(Ent):
82 do ActM<Ent>:
83 creds : String <- cred_of(root, seq, slot)
84 ok : Bool <- has_config(root, seq, slot)
85 return ent_of(slot, SSeq.get_or(slot, SSeq.accounts_of(seq), Json.JNull{}), creds, ok, mem_str(slot, St.quarantined_slots(st)))