One way to pay: the readable terms, plus the exact requirement the backend
quoted them from.
The backend matches a payment by deep-equalling the requirement echoed back
against the one it advertised, so it has to survive the trip to the signing
step untouched. Pairing it with the terms it was narrowed from is what makes
that automatic: filtering a quote's FeeQuote.accepts does exactly
what it looks like, and an option can be handed to another process — quoting,
signing and spending are three jobs that need not share a machine.
One way to pay: the readable terms, plus the exact requirement the backend quoted them from.
The backend matches a payment by deep-equalling the requirement echoed back against the one it advertised, so it has to survive the trip to the signing step untouched. Pairing it with the terms it was narrowed from is what makes that automatic: filtering a quote's FeeQuote.accepts does exactly what it looks like, and an option can be handed to another process — quoting, signing and spending are three jobs that need not share a machine.