Providers and lists
Registration, membership, creation payment, and list charges.
Provider registration
A provider is a signing authority with an on-chain profile. InitializeProvider creates that profile at the PDA derived from b"provider", market, and provider. The provider and payer sign. The payer funds account creation.
Pass Metadata { document_hash, uri }. The hash commits to the exact document bytes. The URI contains 1–256 UTF-8 bytes without ASCII whitespace or control characters. The program stores this commitment without fetching the document.
Registration is permissionless. It does not add the provider to a routing list. update_profile requires the recorded provider authority and changes only the metadata commitment.
Provider lists
A list contains provider identities accepted by its authority. Registration remains permissionless; registration alone does not admit a provider. List entries stay sorted by raw address bytes. Capacity is 1–4,096 members.
initialize_list takes ListInit { limit, fees, maximum_payment }. The new list and authority sign. New-list creation requires an enabled payment gate, configured governance-token mint, and positive net price. This gate does not disable existing lists. The four remaining payment accounts are source, council destination, mint, and token program. Gross payment cannot exceed maximum_payment.
After list routing is enabled, the authority uses initialize_list_routing and update_routing_list to manage admission. The provider must also sign enable_policy_mirror. An authority cannot enroll a provider in policy-update work without that consent. Removing a member disables its mirror immediately. Adding it again does not restore consent automatically.
Each list has separate routing and offer accounts. Offers from unrelated lists do not increase its booking scan. The authority controls account growth. Close empty offer books and routing state before close_list. Existing bookings keep their provider and payment terms after removal.
List charges
Every list sets fee_bps from 10 through 300: a 0.1%–3% surcharge on provider usage charges. protocol_share ranges from 5,000 through 10,000: 50%–100% of that surcharge goes to the protocol side. The remainder goes to the list authority.
The authority can call configure_list_fees within these bounds. Bookings copy both values, so changes apply only to future bookings. A 1% surcharge with a 100% protocol share is a configuration choice, not a universal rate. List-creation payment is separate from this inference surcharge. See settlement arithmetic.
List metadata
A list’s optional ListMetadata PDA uses b"list_metadata" and the list address. It records the market, target list, authority, document hash, and URI.
The list authority signs initialize_list_metadata or update_list_metadata. Initialization also needs a payer. Both use Metadata. Membership and matching do not depend on profile metadata. Closing an empty list also closes its initialized profile.
The list document defines display fields. A name or image does not establish admission criteria or prove member behavior.