LPsLux Proposals
LRC Standards
LP-3112

Venue Evaluation and Audit

Draft

The policy under which a Lux trading interface evaluates, onboards, audits and removes the trading venues and distributed ledger trading systems it connects to, the objective factors it measures them on, and the register of venues in force.

Abstract

An interface that prices a trade has to price it somewhere. Choosing where — an order book, a request-for-quote system, a pool, an aggregator — is a choice the operator makes before the user arrives, and it determines what price exists to be shown.

This is the policy governing that choice. It defines what counts as a venue, states the factors a venue is measured on and how each is actually measured, sets what must be true before a venue becomes reachable and what causes it to stop being reachable, and keeps the register of venues in force. The staff statement of April 2026 requires such a policy and requires it be disclosed together with the venue names, so the register here is the source the disclosure is generated from.

Motivation

The statement permits an interface operator to select default venues, and permits those venues to be the operator's own. What it does not permit is for the affiliation to be silent, or for the affiliated venue to be reached on terms an unaffiliated interface could not get.

That second half is the one worth building for, because it is a property of infrastructure rather than of intent. If our own venue is reached through a private endpoint, a key nobody else can obtain, or a data feed that arrives earlier than the public one, then no disclosure repairs it and no policy describes it away. If it is reached the way anyone else would reach it — public contracts, public RPC, published indexes — then the condition holds as a mechanical fact and stays held without anyone maintaining it.

So the evaluation this policy performs is not a quality judgment dressed up with numbers. It is a record of measurable properties, kept so that a venue's presence in the interface can be explained afterwards on grounds that do not reference what the operator wanted.

Specification

What counts as a venue

A venue is any system the interface connects to or interacts with in order to price, prepare or display a route for a user's transaction. Order books, request-for-quote systems, automated market maker pools, aggregators, filler networks and bridges are all venues.

Two things that are not venues and must not be filed as one, because filing them as one is how they escape review:

An index — a subgraph, a GraphQL indexer, a price feed — reports on venues and is not one. It is nonetheless in the transaction preparation path, so it is registered here under its own heading and measured on verifiability and neutrality, which are the two factors that mean anything for a reporter.

A routing service selects among venues and returns a route. It is not a venue either. It is registered here because the interface's users are priced by it, and because a routing service that is operated by the interface operator raises the affiliation question on its own terms even though it holds no liquidity.

The factors

The statement names liquidity, latency, transparency, verifiability, neutrality, auditability and security. Each is given a measurement below, because a factor without a measurement is a word.

Liquidity — depth available at the sizes the interface actually quotes, sampled from the venue's own state rather than from a marketing figure. For a pool this is reserves and the resulting price impact at representative sizes. For a book it is resting size within a band of the touch.

Latency — the time from request to usable price, measured at the interface, distinguishing the venue's own response from the network path to it. Recorded as a distribution, because a median hides the case that costs a user money.

Transparency — whether the venue's state is readable by anyone without permission. A pool whose reserves are on chain scores fully. A book whose resting orders are visible only to participants does not, and the gap is what gets disclosed.

Verifiability — whether a third party can reproduce the price the interface displayed from public data. This is the factor that most often distinguishes venues that look alike, and it is the one that carries lp-3110 C8.

Neutrality — whether the venue treats participants alike. Concretely: priority that can be bought, tiers, co-located access, differentiated rate limits, or any order handling that depends on who is asking. A venue that offers any of these is not thereby excluded, but the fact is recorded and disclosed, and it must be recorded from the venue's documented rules rather than from its absence in ours.

Auditability — whether the venue produces a record from which a past execution can be reconstructed, and whether that record is available to someone who was not a party.

Security — whether the contracts or systems are published, whether they have been reviewed, who holds administrative authority over them, and what that authority can do to a position. The last of these is the one usually missing: an address that can pause or seize is a security property of the venue whatever the code quality.

Onboarding

A venue becomes reachable only after each factor has been measured and recorded, and only if all of the following are true.

Its price can be reproduced from public data by someone outside the operator, or the respect in which it cannot is recorded and disclosed.

The interface reaches it by a path available to anyone — public contracts over public endpoints, or a published interface with published terms of access. Where the venue is one the operator or an affiliate runs, this is the condition that carries lp-3110 C4, and it is checked by asking what a third-party interface would have to obtain that we did not.

Its administrative authority is known and written down. Who can pause it, who can change its parameters, who can reach the assets resting in it.

Its affiliation status is determined and recorded, using the statement's own definition: control, common control, or control by. Affiliation is not a defect and does not block onboarding. Unrecorded affiliation does.

The register

VenueAffiliatedReached byStatus
LX V2 / V3 pools, Lux 96369Yes — contracts deployed by the operatorPriced in the browser from the deployed contracts over public RPC (pkgs/lx/src/data/apiClients/tradingApi/luxOnchainQuote.ts)Live
LX V2 / V3 pools, Zoo 200200YesSameLive
Uniswap V2 / V3 / V4, non-Lux EVMNoSelected and priced by the routing serviceLive
Jupiter, SolanaNoJupiter's own quote interfaceLive
Across, bridge routesNoRouting serviceLive
LXPool — V4 facade over the D-Chain central limit order book, 0x…9999Yes — the operator writes the matching engineNot reached. supportsV4 gates V4 liquidity positions and is the wrong switch; the predicate that reaches the book is LUX_V4_PRECOMPILE_CHAIN_IDS, which already contains Lux mainnet. What keeps it unreached is that useV4SwapCallback has no reachable importerNot in service, for a different reason than this register used to record
Order-filling service, dex.lux.networkYes — the operator runs the domainReached. The Limit tab signs an order in the user's wallet and posts it to the service, which holds it until it fills, expires or is cancelled; the app polls it back by hash. Narrowed by a chain list and nothing elseIn service
LX filler network — Dutch and priority routingsYesReached on Ethereum mainnet through the hosted trading API's order path; behind flags on Base, Optimism, Unichain and Arbitrum OneIn service on one chain

Indexes and services in the path:

SystemAffiliatedRoleNote
Operator subgraphs, published as @luxfi/*YesPool and price data on Lux-family chainsPublished; a third party can run the same indexer against the same chain
Hosted trading APIOperator's own domain on the shipped configurationSelects the route and carries the fee on the chains off the covered pathNot in the covered price path at all — see below
Public RPC endpointsMixedChain readsRead path only on the covered chains. Off them the interface hands a signed transaction onward: to a relay on Solana, and to the order-filling service on the paths above

Three entries in this register are the ones a reviewer should read first.

The affiliated venues that are live for pricing are reached the way anyone would reach them. On Lux and Zoo the price is computed in the browser from the deployed contracts over RPC. There is no operator quote endpoint in the path, no key, and no private feed — the HTTP gateway that once sat there was removed rather than left looking like a fallback. A third-party interface reading the same contracts gets the same numbers by the same arithmetic. That is lp-3110 C4's equal-terms limb satisfied as a property of the design rather than as an assurance.

The order-filling service is in service and was never onboarded. This register previously recorded it as unreachable behind a flag. The flag it cited — LAUNCHED_LXSWAP_CHAINS behind a feature flag that resolves false — governs a code path the Limit tab never consults, so the flag was real and irrelevant. The Limit tab ships with no flag of its own. A venue that has been reachable all along has never been through the onboarding this policy says precedes reachability, and the C4 assessment for it is owed retrospectively. A pool's access terms are settled by its own public contract; an order-filling service's are settled by whoever runs it, and here that is the same operator.

The D-Chain order book is not reached, and the reason recorded here was wrong. supportsV4 gates V4 liquidity positions, not the order-book precompile. The predicate that reaches the book already contains Lux mainnet; what keeps it unreached is that the callback has no importer on any routed page. A register that names the wrong switch invites somebody to flip the right one, which is why the true reason is now recorded.

What is open about the hosted trading API is confined to the chains it serves. On the covered path — Lux 96369 and Zoo 200200 — there is no routing service in the price at all, so there is nobody to be related to and no relationship to establish. Off the covered path the host sits on the operator's own domain on the shipped configuration. What remains open is which venues that service reaches on those chains and on what terms, and that question belongs to those chains rather than to this conformance claim.

This register reaches no conclusion about the fee. What the interface charges its own users is lp-3110 C10's subject, not C4's, and the Rationale below is why. A pair-varying charge carried on a quote from a service is a C10 question about whose compensation it is, and answering it in a venue register produces a finding against the wrong clause while leaving C4's actual subject — the access path — unexamined.

Audit

Annually, and on any of these: a venue's administrative authority changes, a venue is added, a venue's access terms change, or an incident implicates a venue.

The venue auditor performs it — the office at lp-3110, held by whoever the deployment names. An audit re-measures each factor, restates the affiliation determination, and asks the question that does not fall out of the factors: would a third-party interface reaching this venue today obtain what we obtain, by a route it could take? For an unaffiliated venue the answer is usually trivial and is recorded anyway, because the register's value is that every row was asked the same thing.

Removal

A venue stops being reachable when its price can no longer be reproduced from public data, when its administrative authority becomes unknown, when its access terms cease to be available to others on the same basis, or when it fails to answer at all.

Removal is a change to the venue set and therefore to the disclosure, and it takes effect in the interface before it takes effect in the document, not after.

Records

Each measurement and each audit is retained with its date, its method, its result, and the identity of whoever performed it. Seven years.

A measurement recorded without its method is not a record. It is a number that cannot be repeated, and the point of the retention is that someone can repeat it.

Disclosure

lp-3110 C12(8) asks for the interface's venue integrations by name, together with this policy. The register above is that list, and the disclosure is generated from it so that a venue reachable but unlisted is not a possible state.

The register's "not in service" rows are disclosed as such. A user who is told the interface can reach the operator's own order book, and separately that it does not today, knows both facts. A user told only the first is misled, and a user told neither cannot evaluate what changes when it is switched on.

Open items

Retrospective onboarding of the order-filling service. Every factor measured, the affiliation determination restated, and the access-path question asked, for a venue that has been reachable since before this policy existed. Onboarding after the fact is worse than onboarding before it and better than never.

The C4 assessment for that service. What would a third-party interface have to obtain in order to post an order there, that we did not. A pool answers this from its own contract; a service answers it only from its operator, and the operator is us.

The venue set the hosted trading API reaches, off the covered path. Names, terms and affiliation for the chains that path serves. Confined to those chains, and out of scope for the conformance claim at lp-3110, which covers two.

Who performs the audit. The venue auditor's office is defined at lp-3110 and nobody holds it. A cadence with no holder is a cadence that does not run.

Rationale

Why access terms and not commercial terms

C4 asks about the terms on which the interface connects or interacts with the venue, compared against any other interface. That is a question about the path: what endpoint, what credential, what latency, what data. It is not a question about what the interface charges its own users, which is a separate condition with a separate answer.

Conflating the two is easy and it fails in a specific direction: it produces a finding of unequal terms from a fee difference, which is real but is C10's, and it produces no finding at all about the private endpoint, which is C4's and is the one that cannot be disclosed away. Keeping them apart is why this policy measures paths and says nothing about pricing.

Why an index is registered but not called a venue

A subgraph holds no liquidity and matches nothing, so calling it a venue makes the register wrong in a way that spreads: every factor that means something for a pool means nothing for an indexer, and the row fills with dashes until nobody reads it. But an indexer is squarely in the path that prepares a transaction, and lp-3110 C8 reaches it. Registering it under its own heading, measured on the two factors that apply, keeps both facts.

Security Considerations

Administrative authority over a venue is a security property of every position resting in it, and it is the factor most often left unmeasured because it is not visible in a price. A pool whose contract can be paused, or whose parameters can be changed by one address, exposes a user in ways no amount of liquidity offsets.

This is also where affiliation stops being a disclosure question and becomes a security one. Where the operator holds authority over a venue the interface routes to, the operator can affect a user's position after the user has signed. The register records who holds that authority for exactly this reason.

Copyright and related rights waived via CC0.