Tick.source_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tick Lines 223-232 of cswap-bend-cli@0.1.0.0/daemon/tick.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/tick.bend&start_line=223&end_line=232 import Base import cswap-bend-cli@0.1.0.0/policy/types.bend as T # "usage-endpoint" or "header-probe" when this tick fetched the account (a # setup-token is read by the probe), "cache" otherwise. def source_of(+attempted_now: Bool, +k: T.AcctKind) -> String: match attempted_now k: case False{} _: "cache" case True{} T.SetupToken{}: "header-probe" case True{} _: "usage-endpoint" Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/policy/types.bend&name=AcctKind