fix(web): say the probe's request was refused, not that nothing was quoted
The pause context showed 1Click filling two QTC buys (233 and 115 QTC, 14:18 and 14:57 UTC on 2026-10-07) while every probe was refused, from $100 to $100k and against both USDCs. The panel's heading, "Will anyone quote QTC?", and its "no quote" labels claimed more than the probe shows. It now names the request (exact input, no key, paying and receiving inside NEAR Intents, against USDC on NEAR or on Ethereum) and calls an outcome a refusal of that request. It points readers to the 1Click fills in each stretch's context, which show when other requests were filled. CLAUDE.md records the distinction. Refs #45 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015tyzzRVjH9AdwGtYwsH5VC
This commit is contained in:
@@ -64,9 +64,9 @@ function stateOf(p: QuoteProbe): State {
|
||||
const RANK: Record<State, number> = { withheld: 4, quoted: 3, unquoted: 2, failed: 1, none: 0 }
|
||||
|
||||
const LEGEND: { state: State; label: string }[] = [
|
||||
{ state: 'withheld', label: 'no quote, while a solver held enough to fill it' },
|
||||
{ state: 'withheld', label: 'our request refused, while a solver held enough to fill it' },
|
||||
{ state: 'quoted', label: 'quoted' },
|
||||
{ state: 'unquoted', label: 'no quote, and no solver held enough' },
|
||||
{ state: 'unquoted', label: 'our request refused, and no solver held enough' },
|
||||
{ state: 'failed', label: 'the probe got no answer' },
|
||||
]
|
||||
|
||||
@@ -135,11 +135,21 @@ export function QuotePanel({ chain, symbol: chainSymbol }: { chain: string; symb
|
||||
return (
|
||||
<section className="panel" style={{ marginBottom: 26 }}>
|
||||
<div className="panel-head">
|
||||
<h2 className="panel-title">Will anyone quote {symbol}?</h2>
|
||||
<h2 className="panel-title">Does 1Click quote {symbol}?</h2>
|
||||
<span className="eyebrow">
|
||||
1Click, asked every minute, against what could have filled it
|
||||
one request, asked every minute, against what could have filled it
|
||||
</span>
|
||||
</div>
|
||||
<p className="panel-note" style={{ borderTop: 0 }}>
|
||||
<strong>The request:</strong> an exact-input dry quote with no key, paying and receiving
|
||||
inside NEAR Intents, {symbol} against USDC on NEAR or on Ethereum. A refusal is a refusal of
|
||||
this request, not proof nobody was quoted: 1Click filled two {symbol} buys on 7 October, at
|
||||
14:18 and 14:57 UTC, while every probe of this request was refused. A buyer paying from
|
||||
another chain or with another token, or holding a partner key, asks a different question,
|
||||
and NEAR does not show which. The 1Click fills listed under each stretch are how to tell
|
||||
when that happens.
|
||||
</p>
|
||||
|
||||
<div className="pager" style={{ justifyContent: 'flex-start' }}>
|
||||
{SPANS.map(([h, l]) => (
|
||||
<button
|
||||
@@ -240,7 +250,7 @@ export function QuotePanel({ chain, symbol: chainSymbol }: { chain: string; symb
|
||||
</th>
|
||||
<th scope="col">Answered</th>
|
||||
<th scope="col">Quoted</th>
|
||||
<th scope="col">No quote</th>
|
||||
<th scope="col">Refused</th>
|
||||
<th scope="col">…while a solver could fill</th>
|
||||
<th scope="col">No answer</th>
|
||||
<th scope="col">Median markup</th>
|
||||
@@ -282,7 +292,7 @@ export function QuotePanel({ chain, symbol: chainSymbol }: { chain: string; symb
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" className="left">
|
||||
No quote for
|
||||
Refused for
|
||||
</th>
|
||||
<th scope="col" className="left">
|
||||
From
|
||||
@@ -375,7 +385,7 @@ export function QuotePanel({ chain, symbol: chainSymbol }: { chain: string; symb
|
||||
</th>
|
||||
<th scope="col">Answered</th>
|
||||
<th scope="col">Quoted</th>
|
||||
<th scope="col">No quote while a solver could fill</th>
|
||||
<th scope="col">Refused while a solver could fill</th>
|
||||
<th scope="col">No answer</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -398,12 +408,12 @@ export function QuotePanel({ chain, symbol: chainSymbol }: { chain: string; symb
|
||||
)}
|
||||
|
||||
<p className="panel-note">
|
||||
A stretch with no quote begins with the first minute answered without a quote, and ends when
|
||||
a quote comes back. A minute the probe got no answer for is counted inside it rather than
|
||||
ending it, but more than a quarter hour without answers ends it as unobserved: claiming it
|
||||
ran on unseen would claim something nobody saw. The pool's price around each stretch is
|
||||
the probe's own reading of the pool, not anyone's quote, and a price that moved
|
||||
after a stretch is not evidence of why the stretch happened.
|
||||
A stretch begins with the first minute this request was refused, and ends when a quote comes
|
||||
back. A minute the probe got no answer for is counted inside it rather than ending it, but
|
||||
more than a quarter hour without answers ends it as unobserved: claiming it ran on unseen
|
||||
would claim something nobody saw. The pool's price around each stretch is the
|
||||
probe's own reading of the pool, not anyone's quote, and a price that moved after
|
||||
a stretch is not evidence of why the stretch happened.
|
||||
</p>
|
||||
|
||||
<p className="panel-note">
|
||||
|
||||
Reference in New Issue
Block a user