Docs/API/ApprovalTierPolicy

ApprovalTierPolicy

classPolicies

Tiered human-in-the-loop: auto-approve below autoUnder; block until a human approves at/above it. Each approval is single-use.

signature
new ApprovalTierPolicy(deps: CurbDeps)

Payments under `autoUnder` pass automatically. Higher ones open a pending approval (flagged high-value at `approveUnder`) and block until approved; the approval is consumed on use.

Parameters

NameTypeDescription
depsreqCurbDeps`{ cfg, store }`.
VERIFIABLE SPEND-CONTROL   ·   ENFORCED ON-CHAIN   ·   AGENTS CAN PAY — NOW THEY CAN’T OVERSPEND   ·   CURB × HEDERA   ·   VERIFIABLE SPEND-CONTROL   ·   ENFORCED ON-CHAIN   ·   AGENTS CAN PAY — NOW THEY CAN’T OVERSPEND   ·   CURB × HEDERA   ·