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
| Field | Meaning |
|---|---|
| Status | Approved or blocked. |
| Category | API, COMPUTE, DATA, SUBCONTRACTING or OTHER. |
| Per-payment cap | Optional. The most one payment to this vendor can be. |
| Metadata hash | Optional. 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.