def notice_for
cswap-bend-cli@0.1.0.0 · store.bend:285
import cswap-bend-cli@0.1.0.0/store.bend as Store
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/clock.bend as Clock
import cswap-bend-cli@0.1.0.0/store/plan.bend as SPlan
285def notice_for(+creds: String, +cfg: Json.Json, fetch: String -> IO(SPlan.Prof)) -> Act.of(String):
286 do ActM<String>:
287 now : U32 <- Act.lift(U32, Clock.now_s())
288 verify_plan(SPlan.plan_for(creds, now), ident_of(cfg), fetch)