Expand description
Shared types for the settlement/tariff protocol (#1399).
These types are the MIT-licensed protocol surface that
cyberdione-product (and any other consumer) links against. The AGPL
service implementation in hyprstream::services::pay consumes these traits
and provides the real settlement-store + ledger-credit path.
Structs§
- Issue
Request - A request to issue credits from a verified settlement (#1399, PAY-06).
- Issue
Response - The response from an issuance request.
- Tariff
Quote - A server-owned priced quote with a finite maximum quantum.
- Tariff
Request - A tariff quote request — the product asks “what does this cost?” and the server owns the price, catalog, and ceiling (#1399, PAY-00 #3).
- UnitRef
- A resource unit reference — the unit names its issuer (INV-1 from the ledger crate). Carried in the protocol so a tariff quote can name the exact credit unit that will be issued.