type Snap

cswap-bend-cli@0.1.0.0 · policy/types.bend:78

import cswap-bend-cli@0.1.0.0/policy/types.bend as Types
import 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>}

Uses (3)

Used by (5)