Docs/API/CounterpartyAllowlistPolicy

CounterpartyAllowlistPolicy

classPolicies

Blocks payments to any account not on the allowlist.

signature
new CounterpartyAllowlistPolicy(deps: CurbDeps)

Checks every recipient against the store’s allowlist and records the decision on HCS.

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   ·