WindowState

data class WindowState(val chainId: String, val window: Duration, val spent: TokenAmount)

Snapshot of recent spend used by PerWindow evaluation. Plumbed in from the treasury ledger at evaluation time, not embedded in the policy.

Constructors

Link copied to clipboard
constructor(chainId: String, window: Duration, spent: TokenAmount)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard