Devnet · Checking

Quantum QLi Help

Product guide · current implementation

White PaperDevnet video ↗

Quantum QLi Help / Operations

On this page

QLi Data Engine

The data engine reuses the same verified Meteora DBC reader as the Flywheel (loadFlywheelPool, readFlywheelBalances): the pool account must be owned by the DBC program and its creator must equal the owner's signed-in wallet.

What is recorded

FieldSourceNotes
creator, pool, base/quote mintDBC virtual pool + configCreator mismatch refuses the read
migration flagvirtualPool.isMigrated
claimable creator feescreatorQuoteFee, creatorBaseFeebase units
curve progressquoteReserve / migrationQuoteThresholdUnknown when either is unreadable; this is the curve's virtual accounting, not an actual liquidity figure
wallet SOL, own-token balance, supplyRPC confirmed reads
slotgetSlot("confirmed") before readsObservation is "at or after" that slot

Each observation stores provider name (never a key or URL query), mode (scheduled or live), slot and time. No price, APY, volume or reserve value is invented.

Ordering and duplicates

Observations are unique per pool and slot; a read at a slot not newer than the last recorded slot is dropped. Reads use confirmed commitment, so a later fork could differ; alerts and proposals carry their slot as evidence and every action is re-read live in Flywheel before building. Outages are recovered by processing overdue pools on the next run; intermediate states during an outage are not reconstructed.

Rules

Threshold arithmetic uses integer lamports (toBaseUnits on a fixed 9-decimal string). Alerts and proposals are deduplicated by rule within the owner's cooldown window (default 6 hours) to prevent spam.

Server RPC

The worker uses a server-managed endpoint only: QLI_AGENT_RPC_MAINNET / QLI_AGENT_RPC_DEVNET when set to an allowlisted HTTPS host, otherwise the public Solana endpoints (which may rate-limit or refuse mainnet reads). User input never selects the worker endpoint.

docs/qli-data-engine.mdCurrent code · demo boundaries stated explicitly
31 topics · Operations3 / 31