def tool.onward

ezx@1.11.0.0 · src/lock/up.bend:1002

import ezx@1.11.0.0/src/lock/up.bend as Up
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/ledger/upgrade.bend as U

1002def tool.onward(asc: Asc, +rs: List<&2, Reply>, +tool: M.Tool, +tip: String, +tag: String, +branch: String) -> Pinned:
1003  match asc:
1004    case Asc{yes}:
1005      tool.verdict(U.judge(False{}, yes, False{}, tip, tag), rs, tool, tip, branch)
1006    case AscWait{ask}:
1007      PinWait{[ask]}
1008    case AscNo{why}:
1009      PinHalt{why}

Uses (9)

Used by (1)