Docs/API/CurbAuditHook

CurbAuditHook

classPolicies

Records every settled payment on HCS and commits the spend hold (advances the daily counter).

signature
new CurbAuditHook(deps: CurbDeps)

Runs after a tool executes: writes an immutable `executed` record to the audit topic and converts the spend hold into committed spend.

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   ·