Skip to content

TokenLimit

Defined in: src/policy/spending-policy.ts:29

Per-token spend limits. A token absent from the policy’s perToken is NOT allowed.

Properties

cumulativeCap?

readonly optional cumulativeCap?: bigint

Defined in: src/policy/spending-policy.ts:34

Optional total across the session. undefined = uncapped. MUST be >= maxPerSign.


maxPerSign

readonly maxPerSign: bigint

Defined in: src/policy/spending-policy.ts:32

Max value per single signature, token base units. Generalizes maxAmountPerSign (threat 1.14).


token

readonly token: `0x${string}`

Defined in: src/policy/spending-policy.ts:30