def accounts_of

cswap-bend-cli@0.1.0.0 · daemon/view.bend:78

import cswap-bend-cli@0.1.0.0/daemon/view.bend as View
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G

78def accounts_of(+es: List<&2, G.Ent>) -> List<&2, T.Account>:
79  match es:
80    case Nil{}:
81      []
82    case Con{G.Ent{s, e, o, c, a}, t}:
83      a <> accounts_of(t)

Uses (3)

Used by (3)