def add_token3

cswap-bend-cli@0.1.0.0 · store/ops.bend:155

import cswap-bend-cli@0.1.0.0/store/ops.bend as Ops
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/io.bend as SIo

155def add_token3(+root: String, +token: String, +email0: Maybe<&2, String>, +slot0: Maybe<&2, U32>, +assume_yes: Bool) -> Act.of(String):
156  do ActM<String>:
157    SIo.setup_dirs(root)
158    +ts : String <- SIo.now_iso()
159    seq : Json.Json <- SIo.ensure_seq(root, ts)
160    add_token4(root, token, email0, slot0, assume_yes, ts, seq)

Uses (13)

Used by (1)