def decide.none
cswap-bend-cli@0.1.0.0 · policy/decide.bend:304
import cswap-bend-cli@0.1.0.0/policy/decide.bend as Decide
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T
304
305def decide.none(+t: T.Trigger, +ars: Maybe<&2, Nat>, +as: List<&2, T.Account>, +active: Nat, +us: List<&2, T.Usage>, +now: Nat, +cfg: T.Config) -> T.Decision:
306 match cfg:
307 case T.Config{thr, ms, stg, iv, cd, hy, ttl, ut, ia}:
308 api.gate(ia && trig.not_cf(t), t, as, active, none.cf(t, ars, as, active, us, now, ms))