type Usage

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

import cswap-bend-cli@0.1.0.0/policy/types.bend as Types
import Base

46# One account's usage row. `five`/`seven` are None when the API sent no such
47# window. `fetched_at` is None before the first success.
48type Usage is Data:
49  Usage{slot: Nat, five: Maybe<&2, Nat>, five_reset: Maybe<&2, Nat>, seven: Maybe<&2, Nat>, seven_reset: Maybe<&2, Nat>, scoped: List<&2, Scoped>, fetched_at: Maybe<&2, Nat>, backoff_until: Nat, last_error: ErrKind, failures: Nat, next_poll_at: Maybe<&2, Nat>, poll_interval: Nat, auth_dead: Nat, held_until: Nat, claim_until: Nat, sentinel: Sentinel}

Uses (6)

Used by (124)