Can a Pricing Update Change an Existing VRF Request?
Reconcile D20DAO request fees on Arc and Robinhood Chain. Distinguish stored fee and refund snapshots from current quotes, excess credit and live settlement settings.
An existing request keeps its charged fee and refund ratio
Under D20DAO's current Arc and Robinhood coordinator rules, a later pricing update does not reprice the fee already escrowed for an existing request. A later refund-ratio update likewise does not replace that request's stored ratio.
This matters when an application opens a request, then displays today's pricing settings beside its historical record. A different current quote is not an additional amount owed for that request. Read the request's own snapshots for reconciliation. That protection is specific: it does not mean every service setting is frozen at request creation.
The snapshot begins at creation, not at an estimate
Both coordinators calculate the required fee inside request creation using the callback allowance, current pricing parameters and that transaction's block base fee. They reject insufficient payment and store the charged fee with the request. They also copy the then-current refundBps into its record.
A browser quote does not create that snapshot or reserve a price. A pending transaction has not necessarily created a request either. If pricing changes before inclusion, the requesting call uses the settings active when it executes. Retain the successful creation receipt and returned request ID before describing an amount as the recorded service fee.
Use the per-request readers for historical amounts
requestFeePaid(requestId) returns the escrowed service fee. requestRefundBps(requestId) returns the refund ratio copied at creation. These views are available on both current coordinators. Retain the chain and coordinator alongside the ID so the lookup identifies the correct request.
By contrast, pricing() describes current quote parameters and refundBps() gives the ratio for new requests. Neither is a substitute for the per-request readers. A UI should distinguish current quote, recorded service fee and stored refund ratio rather than placing them under one ambiguous price label.
Apply the stored ratio only when the refund is eligible
For a hypothetical request with a stored ratio of 9,000 basis points, a later global change to 6,000 does not change its eligible expiry refund to 60%. Its stored ratio remains 90%. The current refund calculation multiplies the escrowed fee by that stored ratio, divides by 10,000 and rounds down in native base units. This is an illustration, not a current fee quotation.
Eligibility remains separate: the request must be unfulfilled, not already refunded, and past its deadline. A failed callback after accepted proof does not qualify. Refund settlement requires a transaction; a displayed estimate is not evidence of payment.
Separate escrow from excess payment and transaction gas
The value supplied to the coordinator can exceed its required fee. That excess becomes credit for the fixed refund address; it is not added to requestFeePaid. Applying the expiry ratio to the entire supplied value would count that excess incorrectly.
Keep the charged fee, excess credit and network transaction gas as separate amounts. Arc contract requests use native USDC; Robinhood Chain requests use ETH. An application's own charges also need their own record. The expiry refund calculation covers the stored service fee, not gas or an application's unrelated payment obligations.
Do not assume the keeper allocation is frozen too
The current fulfillment implementations settle from the request's stored fee, but calculate the keeper's share using keeperFeeBps at fulfillment. Recipient selection also follows the then-current keeper or committer authorization rules. Those live settings are different from the stored customer-facing fee and refund ratio.
A change to the internal keeper allocation therefore does not imply the request was charged again. If your application reports service-side settlement, retain its actual settlement events and applicable configuration. Do not infer the historical split from today's settings or assume the request's refund snapshot freezes every administrative value.
Preserve a request-specific accounting record
Retain the creation receipt, request identity, charged fee, stored refund ratio, fixed recipient and separately recorded excess. Add acceptance or refund events when settlement occurs. PricingChanged and RefundBpsChanged explain configuration updates, but they should not overwrite an existing request's snapshots in your database.
These conclusions describe the reviewed implementation rules. The coordinators are upgradeable, so verify the implementation and relevant history when reviewing actual receipts. Source publication alone is not proof of which code a proxy executed. Missing historical data should remain unresolved rather than being replaced with today's quote.
Use acceptance cases across configuration changes
Use these requirements when implementing request accounting. They are proposed cases, not executed test results:
- Create a request, change pricing, and reconcile its original charged fee rather than a fresh quote.
- Change the global refund ratio and preserve each existing request's recorded ratio.
- Keep an unconfirmed estimate distinct from the successful creation receipt.
- Exclude excess credit and transaction gas from the stored-fee refund calculation.
- Report keeper allocation separately without treating live settlement settings as new customer charges.