ContractsVendorRegistry

VendorRegistry

VendorRegistry is one shared contract that stores a separate vendor list for every wallet. Wallet owners manage their list through the wallet’s addVendor, blockVendor and removeVendor functions. One wallet can never read into or change another wallet’s list; test_attack_registryNamespacesAreIsolatedPerWallet checks this.

What it stores per vendor

FieldMeaning
StatusApproved or blocked.
CategoryAPI, COMPUTE, DATA, SUBCONTRACTING or OTHER.
Per-payment capOptional. The most one payment to this vendor can be.
Metadata hashOptional. A hash of your own off-chain notes about the vendor.

A payment to a blocked vendor is denied, or freezes the wallet when the policy’s freezeOnBlockedVendor is on. See Vendors.