type Snap
import cswap-bend-cli@0.1.0.0/policy/types.bend as Typesimport Base
78# What the last switch recorded (autoswitch_state.json): the headroom and
79# binding recovery of the account it left, and the trigger. `NoSnap` is a
80# record written before the snapshot existed.
81type Snap is Data:
82 NoSnap{}
83 Snap{headroom: Maybe<&2, Nat>, recovery: Maybe<&2, Nat>, trigger: Maybe<&2, Trigger>}