Query editor
-- pons: daily platform fees collected into the Pons fee escrows, in USD---- Fee wallets. Recon (docs/notes/robinhood-schema.md, 2026-08-03 addendum, section 12) resolved ONE-- escrow, 0xbc39B6502E1a6Ab36E4A5c5026A35F08342A0A9c (PonsV2FeeEscrow). The Task 6 build found that-- wallet was only deployed 2026-07-30 04:00:16 and received its first token transfer 2026-07-31, so-- on its own it yields a four-day series and cannot cover the July launchpad run at all. The-- missing V1 escrow was recovered live on 2026-08-03: 0x736d76699c26d0d966744cae304c000d471f7f35,-- deployed 2026-07-13 21:29:02 by the SAME deployer (0xda4bcee76b29efec9697fcf663601c2042043968)-- one second before PonsLaunchFactory 0xA5aAb3F0c6EeadF30Ef1D3Eb997108E976351feB, carrying 745,483-- inbound token transfers across 171,486 distinct tokens from 2026-07-13 22:33 onward. This query-- sums BOTH escrows, which is what makes the series line up with the published fee curve.---- Mechanism. Pons takes its cut on BOTH sides of a swap, so this query sums two legs and they turn-- out to be roughly equal in size:-- (a) the quote side, WETH transferred into either escrow, priced off prices.usd WETH per the-- Task 1 fallback pattern (see sql/index_b_holder_inflow_daily.sql). On 7/21 this leg was-- 350.37 WETH = 674,638 USD across 28,726 transfers. The native-ETH sub-leg of (a) is kept-- for completeness but measured zero: neither escrow has ever received a nonzero-value-- native ETH trace, so all quote-side fees arrive already wrapped.-- (b) the base side, every other ERC20 transferred into either escrow (the sweepFees leg,-- confirmed on real SPCX, AAPL, TSLA sweepFees transfers), priced off a chain-wide dex.trades-- volume-weighted price for that token. On 7/21 this leg was 648,032 USD.-- Per-token identity on dex.trades is reliable on this chain per docs/notes/robinhood-schema.md-- sections 3 and 10; per-pool identity is not, but this query does not need pool identity.---- Pricing. Leg (b) prices each sweep at the token's same-HOUR chain-wide VWAP, falling back to the-- same-DAY VWAP when that hour saw no indexed trade in the token. The day fallback lifts priced-- coverage from about 50 percent of sweeps to 97 percent on the busiest day (7/21: 47,294 of-- 48,838) while moving that day's leg-(b) total only about 5 percent, which shows the remaining-- unpriced sweeps are untraded dust rather than hidden value. Sweeps in tokens that never traded on-- a Dune-indexed venue stay unpriced and are undercounted, so every figure here is a FLOOR.---- robinhood.traces column names (value, error, "to") were VERIFIED live on 2026-08-03 against-- information_schema; the parked schema-risk assumption is resolved.---- Cross-check against DefiLlama (protocol slug pons, adapter ponsdotfamily).-- 2026-08-05 fix (audit I7): this block was a typed table last read 2026-08-03 and had already gone-- a day stale against DefiLlama's own live series by the time of the 2026-08-04 audit (DefiLlama-- carried 2026-08-03 at dailyFees 345,317 USD and dailyRevenue 85,713 USD, sourced from the audit-- doc's own read of api.llama.fi/summary/fees/pons?dataType=dailyFees). DuneSQL has no HTTP fetch-- into DefiLlama's API, so this cross-check cannot become a live query without a Dune dataset upload-- of that series; until that exists, the anchor values below are re-dated and the 8/03 anchor is-- added even though no fresh escrow measurement was taken against it in this fix pass (re-run this-- query and update the "measured" side for 8/03 the next time it executes).-- DefiLlama dailyFees = the gross 1 percent swap fee on Pons-launched tokens plus 0.0005 ETH per-- launch. Measured here vs that anchor, read 2026-08-03 unless noted:-- 7/21 (peak) 1,322,670 USD measured vs 1,535,814 USD anchor, minus 13.9 percent-- 8/01 444,113 USD measured vs 388,464 USD anchor, plus 14.3 percent-- 8/02 414,282 USD measured vs 349,070 USD anchor, plus 18.7 percent-- 8/03 not re-measured this pass vs 345,317 USD anchor (dailyFees), read 2026-08-05 from-- the audit doc; re-run this query and fill in the measured side before citing it-- All measured days sit inside the plus or minus 20 percent tolerance. For reference DefiLlama also-- publishes dailyRevenue (the protocol-retained cut only): 450,179 USD on 7/21, 94,607 USD on 8/01,-- 85,713 USD on 8/03. This query runs above dailyRevenue because escrow inflow holds the creator-- share too before it is distributed.with escrows (address) as (values (0x736d76699c26d0d966744cae304c000d471f7f35),(0xbc39B6502E1a6Ab36E4A5c5026A35F08342A0A9c)),weth_px as (